/*
Theme Name: Gadgetz — High-Tech & Trending Gadgets
Theme URI: https://gadgetz.ma
Author: Gadgetz Team
Author URI: https://gadgetz.ma
Description: Premium high-conversion WooCommerce theme designed for Gadgets, High-Tech, Electronics, and Trending Viral E-Commerce in Morocco. Features One-Page COD Fast Checkout, Popup Checkout, Quantity Packs, Inline Upsells, Flash Deals Timers, and WhatsApp Order Confirmation.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gadgetz-theme
Tags: e-commerce, electronics, gadgets, custom-colors, woocommerce, translation-ready, rtl-language-support
*/

:root {
    --gadgetz-primary: #2563eb;
    --gadgetz-primary-hover: #1d4ed8;
    --gadgetz-accent: #00b8b1;
    --gadgetz-purple: #9333ea;
    --gadgetz-success: #10b981;
    --gadgetz-dark: #0f172a;
    --gadgetz-dark-card: #1e293b;
    --gadgetz-light: #f8fafc;
    --gadgetz-border: #e2e8f0;
    --gadgetz-text: #0f172a;
    --gadgetz-muted: #64748b;
    --gadgetz-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --gadgetz-radius: 12px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--gadgetz-font);
    background-color: var(--gadgetz-light);
    color: var(--gadgetz-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gadgetz-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Flash Countdown Timer */
.gadgetz-countdown-bar {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.gadgetz-timer-digits {
    display: inline-flex;
    gap: 4px;
    font-family: monospace;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Product Card */
.gadgetz-product-card {
    background: #ffffff;
    border: 1px solid var(--gadgetz-border);
    border-radius: var(--gadgetz-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gadgetz-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.gadgetz-badge-flash {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    text-transform: uppercase;
}

/* Brand Logo (Desktop & Mobile) */
.gadgetz-navbar {
    height: 70px;
}

.gadgetz-brand {
    display: flex;
    align-items: center;
    max-height: 50px;
    min-width: 0;
}

.gadgetz-brand img,
.gadgetz-logo,
.custom-logo,
.custom-logo-link img {
    max-height: 44px !important;
    height: 44px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .gadgetz-navbar {
        height: 60px;
    }

    .gadgetz-brand img,
    .gadgetz-logo,
    .custom-logo,
    .custom-logo-link img {
        max-height: 36px !important;
        height: 36px !important;
        max-width: 150px !important;
    }
}
