/* ============================================
   GadgetVault - Main Stylesheet
   Dark Luxury Tech Theme
   ============================================ */

:root {
    --primary: #FF6B35;
    --primary-dark: #e85520;
    --accent: #00D4FF;
    --bg: #0A0A0F;
    --bg2: #111118;
    --bg3: #1a1a25;
    --surface: #16161F;
    --border: #2a2a3a;
    --text: #F0F0F5;
    --text-muted: #8888A0;
    --text-dim: #555568;
    --gradient: linear-gradient(135deg, #FF6B35, #FF3CAC);
    --gradient2: linear-gradient(135deg, #00D4FF, #7B2FFF);
    --glow: 0 0 30px rgba(255, 107, 53, 0.3);
    --radius: 16px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    font-size: 16px;
}

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

html, body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syne', sans-serif;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: var(--gradient);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.announce-scroll {
    display: flex;
    gap: 60px;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.announce-scroll span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== NAVBAR ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 12px var(--primary));
}

.logo-text strong { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 4px;
    flex: 1;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text);
    background: var(--bg3);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border);
        z-index: 999;
        gap: 12px;
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    @keyframes slideDown {
        from { transform: translateY(-10px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover {
    color: var(--text);
    background: var(--bg3);
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Search Bar */
.search-bar {
    display: none;
    padding: 12px 24px;
    border-top: 1px solid var(--border);
}

.search-bar.open { display: block; }

.search-inner {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
}

.search-inner input {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
}

.search-inner input:focus { border-color: var(--primary); }

.search-submit {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.orb1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: 100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,53,0.15);
    border: 1px solid rgba(255,107,53,0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text);
    border-radius: var(--radius);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; font-family: 'Syne', sans-serif; font-weight: 800; }
.stat span { font-size: 0.8rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mockup {
    width: 260px;
    height: 520px;
    background: var(--bg3);
    border-radius: 40px;
    border: 2px solid var(--border);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow), 0 0 80px rgba(255,107,53,0.1);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg2);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-mini {
    padding: 20px;
    text-align: center;
    position: relative;
}

.mini-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.mini-img { font-size: 4rem; margin-bottom: 12px; }

.mini-name {
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.mini-price { color: var(--primary); font-weight: 700; font-size: 1.1rem; }

.floating-tag {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    backdrop-filter: blur(10px);
}

.tag1 { top: 20%; left: -60px; animation: float-tag 4s ease-in-out infinite; }
.tag2 { top: 50%; right: -50px; animation: float-tag 5s ease-in-out infinite 1s; }
.tag3 { bottom: 20%; left: -50px; animation: float-tag 6s ease-in-out infinite 2s; }

@keyframes float-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(255,107,53,0.1);
    padding: 6px 14px;
    border-radius: 100px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    flex: 1;
}

.see-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-left: auto;
    transition: gap 0.2s;
}

.see-all:hover { text-decoration: underline; }

/* ===== CATEGORIES ===== */
.categories-section {
    padding: 80px 0;
    background: var(--bg2);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--primary);
    background: var(--bg3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255,107,53,0.15);
}

.cat-icon { font-size: 2.2rem; margin-bottom: 10px; }
.cat-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* ===== PRODUCTS GRID ===== */
.products-section { padding: 80px 0; }
.new-arrivals { background: var(--bg2); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    group: true;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--glow);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}

.product-badge.new { background: var(--accent); color: var(--bg); }
.product-badge.sale { background: #FF3CAC; }

.product-img {
    width: 100%;
    height: 220px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.action-btn:hover { background: var(--primary); border-color: var(--primary); }

.product-info { padding: 16px; }

.product-brand {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating { display: flex; gap: 4px; align-items: center; margin-bottom: 12px; }
.stars { color: #FFB800; font-size: 0.85rem; }
.rating-count { font-size: 0.75rem; color: var(--text-muted); }

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.price-current {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
}

.price-original {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-decoration: line-through;
}

.price-discount {
    font-size: 0.75rem;
    color: #00C48C;
    font-weight: 700;
}

.btn-cart {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cart:hover {
    background: var(--gradient);
    border-color: transparent;
    color: white;
}

/* ===== BRANDS ===== */
.brands-section {
    padding: 60px 0;
    overflow: hidden;
}

.brands-scroll {
    display: flex;
    gap: 40px;
    animation: scroll-left 20s linear infinite;
    padding: 20px 0;
}

.brand-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color 0.3s;
    letter-spacing: -0.5px;
}

.brand-logo:hover { color: var(--primary); }

/* ===== PROMO BANNER ===== */
.promo-banner {
    margin: 0;
    padding: 80px 24px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.promo-content { position: relative; z-index: 1; }

.promo-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.promo-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.promo-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 400px;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: white;
    color: var(--primary);
    border-radius: var(--radius);
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.promo-visual { font-size: 6rem; position: relative; z-index: 1; animation: float 4s ease-in-out infinite; }

/* ===== FEATURES ===== */
.features-section { padding: 80px 0; background: var(--bg2); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== NEWSLETTER ===== */
.newsletter-section { padding: 80px 0; }

.newsletter-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(255,107,53,0.08) 100%);
}

.nl-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.nl-content p { color: var(--text-muted); }

.nl-form {
    display: flex;
    gap: 12px;
    flex: 1;
    min-width: 300px;
}

.nl-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
}

.nl-form input:focus { border-color: var(--primary); }

.nl-form button {
    padding: 14px 28px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.nl-form button:hover { transform: translateY(-2px); box-shadow: var(--glow); }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 16px 0 24px;
    max-width: 280px;
}

.social-links { display: flex; gap: 12px; flex-wrap: wrap; }

.social-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.2s;
}

.social-link:hover { color: var(--primary); }

.footer-col h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-col a, .footer-col p {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

.payment-icons span {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

/* ===== CART SIDEBAR ===== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    background: var(--bg2);
    border-left: 1px solid var(--border);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open { transform: translateX(0); }

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 { font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 700; }
.cart-header button { background: none; border: none; color: var(--text); font-size: 1.2rem; cursor: pointer; }

.cart-items { flex: 1; overflow-y: auto; padding: 24px; }

.cart-empty { text-align: center; color: var(--text-muted); padding: 40px 0; font-size: 0.9rem; }

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-img {
    width: 64px;
    height: 64px;
    background: var(--bg3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; }
.cart-item-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 24px; height: 24px; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.8rem; }
.qty-val { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1rem;
}

.cart-total strong { font-family: 'Syne', sans-serif; font-size: 1.3rem; color: var(--primary); }

.full-width { display: block; text-align: center; }

/* ===== WHATSAPP BTN ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 900;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-btn:hover { transform: scale(1.1); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary); border-color: var(--primary); }

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .hero-content { gap: 40px; }
}

@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-top: 40px; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

@media (max-width: 900px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-box { flex-direction: column; text-align: center; padding: 40px 20px; gap: 30px; }
    .nl-form { width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-inner { gap: 16px; padding: 0 16px; }
    .logo-text { font-size: 1.2rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    .promo-banner { flex-direction: column; text-align: center; padding: 60px 20px; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .social-links { justify-content: center; }
    
    .cart-sidebar { width: 100%; max-width: 100%; }
}

@media (max-width: 580px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 12px; }
    .product-name { font-size: 0.8rem; }
    .price-current { font-size: 0.95rem; }
    .btn-cart { padding: 10px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns button, .hero-btns a { width: 100%; justify-content: center; }
    
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column-reverse; text-align: center; gap: 20px; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
    
    .nl-form { flex-direction: column; }
    .nl-form button { width: 100%; }
    
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .see-all { margin-left: 0; }
}

/* Prevent zoom leakage from absolute elements */
[class*="orb"], [class*="tag"], [class*="badge"] {
    max-width: 100vw;
}
