/* 
 * vKeybo - Premium PC Store Design System
 * Updated with Green Theme & Apple-inspired aesthetics
 */

/* ==================== CSS Variables ==================== */
:root {
    /* Colors - Updated with Green Theme */
    --color-bg: #ffffff;
    --color-bg-secondary: #f5f5f7;
    --color-bg-tertiary: #e8e8ed;
    --color-bg-card: #ffffff;
    --color-bg-elevated: #f5f5f7;
    --color-bg-dark: #1d1d1f;
    
    --color-text-primary: #1d1d1f;
    --color-text-secondary: #515154;
    --color-text-tertiary: #86868b;
    --color-text-light: #ffffff;
    
    /* Green Theme Colors */
    --color-green: #22c55e;
    --color-green-dark: #16a34a;
    --color-green-light: rgba(34, 197, 94, 0.1);
    
    --color-accent: #22c55e;
    --color-accent-hover: #16a34a;
    --color-accent-light: rgba(34, 197, 94, 0.1);
    --color-accent-orange: #ff6b35;
    --brand-purple: #a855f7;
    --brand-purple-dark: #9333ea;
    --wts-accent-cyan: #00e6c8;
    
    --color-success: #34c759;
    --color-warning: #ff9500;
    --color-error: #ff3b30;
    
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-light: rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius - Updated for rounder buttons */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    
    /* Container */
    --container-max: 1200px;
}

/* ==================== Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background: #000000;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) #000000;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: #000000;
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
}

.footer-brand-strip {
    margin-top: auto;
}

body > style,
body > script {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-accent-hover);
}

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

/* ==================== Layout ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

.bg-light {
    background: var(--color-bg-secondary);
}

.section-padding.bg-light {
    position: relative;
    z-index: 2;
}

/* ==================== Section Titles - H2 Left Alignment ==================== */
.section-title-left {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-align: left;
    margin-bottom: var(--spacing-2xl);
    letter-spacing: -0.025em;
}

@media (max-width: 768px) {
    .section-title-left {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-xl);
    }
}

/* ==================== Navigation - Transparent Style ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-transparent {
    background: transparent;
    border-bottom: none;
}

.nav-solid {
    background: #ffffff;
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.nav-transparent .nav-link,
.nav-transparent .nav-cart,
.nav-transparent .btn-ghost,
.nav-transparent .nav-toggle {
    color: #fff;
}

.nav-solid .nav-link,
.nav-solid .nav-cart,
.nav-solid .btn-ghost,
.nav-solid .nav-toggle {
    color: #1d1d1f;
}

.nav-solid .nav-link:hover,
.nav-solid .nav-cart:hover {
    color: #6739B7;
}

.nav-solid .nav-link.active {
    color: #6739B7;
}

.nav-solid .nav-icon-img {
    filter: brightness(0);
}

.nav-solid .nav-link:hover .nav-icon-img,
.nav-solid .nav-link.active .nav-icon-img {
    filter: brightness(0);
}

.nav-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    height: 60px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    gap: var(--spacing-md);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    justify-self: start;
    min-width: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    justify-self: end;
    justify-content: flex-end;
    min-width: 0;
}

.nav-logo-center {
    position: static;
    transform: none;
    justify-self: center;
}

.nav-logo-center .logo-img {
    height: 36px;
    width: auto;
    display: block;
    /* Preserve brand colors from asset — do not force white */
}

.nav-transparent .logo-img,
.nav-solid .logo-img {
    filter: none;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    overflow: visible;
}

.nav-icon-img {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
}

.nav-link:hover .nav-icon-img,
.nav-link.active .nav-icon-img {
    filter: brightness(0) invert(1);
}

.nav-link-support {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 1;
    padding: 0;
}

.nav-link-support .nav-support-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 6px 10px;
    border-radius: var(--radius-full);
    transition: background 0.2s;
}

.nav-cart:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-cart svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-cart-label {
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-green);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { margin-bottom: 5px; }
.nav-toggle span:nth-child(3) { margin-top: 5px; }

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-inner {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
    
    .nav-left {
        justify-self: start;
    }
    
    .nav-logo-center {
        justify-self: center;
        display: flex;
        justify-content: center;
        width: 100%;
        min-width: 0;
    }
    
    .nav-right {
        justify-self: end;
        flex-wrap: nowrap;
    }
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #000000;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 32px;
    width: auto;
}

.mobile-close-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
    color: #ffffff;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-links {
    flex: 1;
    list-style: none;
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--spacing-md) 0;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    overflow: visible;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-nav-link .nav-icon-img {
    filter: brightness(0) invert(1);
}

.mobile-nav-link.active {
    color: var(--color-green);
}

.mobile-nav-link.active svg {
    color: var(--color-green);
}

.mobile-nav-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Desktop Only */
.desktop-only {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* ==================== Buttons - Green Theme with Radius ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-green {
    background: var(--color-green);
    color: #fff;
}

.btn-green:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.35);
    color: #fff;
}

.btn-primary {
    background: var(--color-green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-green-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.btn-outline:hover {
    background: var(--color-green);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline-light:hover {
    background: var(--color-bg-secondary);
}

.mobile-nav-footer .btn-outline-light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav-footer .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: inherit;
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    opacity: 0.7;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

.btn-link {
    color: var(--color-green);
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

/* ==================== Hero Banner Section ==================== */
.hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    background-color: #0f0f0f;
}

.hero-banner-bg img,
.hero-banner-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-banner-bg video {
    position: absolute;
    top: 0;
    left: 0;
}

.build-hero-banner {
    min-height: 78vh;
}

@media (max-width: 900px) {
    .build-hero-banner {
        min-height: 50vh;
    }
}

@media (max-width: 480px) {
    .build-hero-banner {
        min-height: 40vh;
    }
}

.build-hero-content {
    padding-top: 100px;
    padding-bottom: 56px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: 120px 0 80px;
}

.hero-text-center {
    max-width: 800px;
    margin: 0 auto;
}

.hero-welcome {
    display: block;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.hero-welcome-keybo {
    display: block;
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: var(--spacing-lg);
    line-height: 1.15;
}

.hero-welcome-keybo .welcome-muted {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-right: 0.35em;
}

.hero-welcome-keybo .keybo-key {
    color: var(--color-green);
}

.hero-welcome-keybo .keybo-bo {
    color: var(--brand-purple);
}

.hero-brand {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 4px;
}

.brand-key {
    color: #fff;
}

.brand-bo {
    color: var(--color-green);
}

.brand-gaming {
    display: block;
    color: var(--color-accent-orange);
    font-size: 0.6em;
    letter-spacing: 8px;
    margin-top: var(--spacing-sm);
}

.hero-tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-2xl);
}

.hero-tagline-lead {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-right: 0.35em;
}

.typing-text {
    color: #34a853;
    font-weight: 700;
    border-right: 2px solid #34a853;
    padding-right: 4px;
    animation: blink 0.7s step-end infinite;
}

.typing-text.typing-text--green {
    color: var(--color-green);
    border-right-color: var(--color-green);
}

@media (prefers-reduced-motion: reduce) {
    .typing-text {
        animation: none;
        border-right: none;
    }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Hero — home video overlay (VKEYBO WORKSTATION reference) */
.hero-home-variant .hero-banner-content {
    padding-top: clamp(96px, 12vh, 132px);
    padding-bottom: 72px;
}

.hero-home-copy {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-home-micro {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.85rem;
    text-align: center;
}

.hero-headline-cluster {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto 1.1rem;
    padding: 0.75rem 0 1rem;
}



.hero-headline-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.25em 0.4em;
    margin: 0;
    font-family: 'Montserrat', var(--font-primary), sans-serif;
    font-weight: 800;
    font-size: clamp(1.45rem, 6.5vw, 4.75rem);
    line-height: 1.05;
    text-align: center;
}


.hero-vkeybo-text {
    display: inline-block;
    letter-spacing: 0.03em;
}

.hero-vkeybo-v {
    color: #39d07a;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.hero-vkeybo-keybo {
    color: #5F259F;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.hero-workstation {
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-home-tagline {
    font-family: var(--font-primary);
    font-size: clamp(0.95rem, 2.5vw, 1.3rem);
    font-weight: bold;
    color: #efefef;
    margin: 0 0 1.65rem;
    text-align: center;
    line-height: 1.45;
}

.hero-home-streaming {
    color: #34a853;
    font-weight: 700;
    font-style: italic;
}

.hero-home-variant .hero-banner-stack {
    gap: 0;
}

.hero-home-cta {
    margin-top: 0.15rem;
}

@media (max-width: 640px) {
    .hero-headline-row {
        flex-direction: column;
        align-items: center;
        gap: 0.4em;
    }
}

/* Hero: suggestion cards above headline (on video) */
.hero-banner-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.hero-suggestions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 4px;
}

.hero-suggestion-card {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-suggestion-card:hover {
    background: rgba(255, 255, 255, 0.17);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.hero-suggestion-img {
    width: 72px;
    min-width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

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

.hero-suggestion-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hero-suggestion-title {
    font-size: 0.8125rem;
    font-weight: 700;
}

.hero-suggestion-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
}

.hero-suggestion-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-suggestion-bar {
    display: inline-block;
    width: 28px;
    height: 3px;
    background: #00e6c8;
    border-radius: 1px;
}

@media (max-width: 900px) {
    .hero-suggestions {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ==================== Ways to Shop — Logitech editorial-cards style ==================== */
.editorial-cards.wts-section {
    --wts-teal: #00cfc4;
    --wts-gray-750: #9ca3af;
    --wts-text: #1a1a1a;
    --wts-muted: #4b5563;
    position: relative;
    background: #ffffff;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
    overflow: visible;
}

@media (max-width: 1023px) {
    .editorial-cards.wts-section {
        overflow-x: hidden;
    }
}

.wts-editorial-heading-wrap,
.wts-carousel-outer {
    position: relative;
}

.wts-section-title {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.wts-carousel-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .wts-carousel-inner {
        padding: 0 var(--spacing-md);
    }
}

/* Logitech-style spaced layout: A=5, gap, B=2, gap, C=3 */
.wts-card-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-areas: "A A A A A . B B . C C C";
    column-gap: clamp(0.5rem, 1.5vw, 1rem);
    row-gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
}

.wts-editorial-card {
    min-width: 0;
}

.wts-card-a {
    grid-area: A;
}

.wts-card-b {
    grid-area: B;
}

.wts-card-c {
    grid-area: C;
}

/* lg: stagger like Logitech — center column sits highest */
@media (min-width: 1024px) {
    .wts-card-a {
        margin-top: 6rem;
    }

    .wts-card-b {
        margin-top: 0;
    }

    .wts-card-c {
        margin-top: 4rem;
    }
}

/* 4:5 media tile + group hover zoom */
.wts-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--wts-gray-750);
    border-radius: 10px;
    overflow: hidden;
}

.wts-media-link {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

.wts-media-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 207, 196, 0.45);
    border-radius: 10px;
}

.wts-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.group:hover .wts-img-zoom,
.wts-media-link:hover .wts-img-zoom {
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .wts-img-zoom,
    .group:hover .wts-img-zoom,
    .wts-media-link:hover .wts-img-zoom {
        transform: none;
        transition: none;
    }

    .wts-card-a,
    .wts-card-b,
    .wts-card-c {
        transform: none !important;
    }
}

/* heading3 + body-18 */
.wts-heading3 {
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--wts-text);
    margin: 1.5rem 0 0;
    line-height: 1.25;
}

.wts-rich-text {
    max-width: 708px;
    margin: 1rem 0 0;
}

.wts-rich-text p {
    font-size: 1.125rem;
    line-height: 1.55;
    color: var(--wts-muted);
    margin: 0;
}

.wts-cta-row {
    margin-top: 1rem;
}

/* CTA dash — short teal bar under link (Logitech cta-link-dash) */
.cta-link.cta-link-dash {
    position: relative;
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wts-text);
    text-decoration: none;
    padding-bottom: 6px;
    transition: color 0.2s ease;
}

.cta-link-dash::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 3px;
    background: var(--wts-teal);
    border-radius: 1px;
    transition: width 0.25s ease, background 0.2s ease;
}

.cta-link-dash:hover {
    color: #000;
}

.cta-link-dash:hover::after {
    width: 2.75rem;
    background: #00b8ae;
}

.cta-link-dash:focus-visible {
    outline: 2px solid var(--wts-teal);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Mobile: horizontal scroll carousel (Logitech max-lg) */
@media (max-width: 1023px) {
    .wts-carousel-inner {
        max-width: none;
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }

    .wts-card-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: clamp(1.5rem, 4vw, 2rem);
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-left: var(--spacing-md);
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        grid-template-areas: none;
    }

    .wts-editorial-card {
        flex: 0 0 min(82vw, 340px);
        scroll-snap-align: start;
    }

    .wts-card-a,
    .wts-card-b,
    .wts-card-c {
        margin-top: 0 !important;
        transform: none !important;
    }
}

/* Ways to Shop — Numbered Descriptions */
.wts-descriptions {
    padding: clamp(3rem, 6vw, 5rem) 0 0;
    max-width: 680px;
}

.wts-desc-item {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.wts-desc-title {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.wts-desc-num {
    font-weight: 400;
    color: #1d1d1f;
}

.wts-desc-text {
    font-size: 0.9375rem;
    color: #86868b;
    line-height: 1.65;
    margin: 0;
    padding-left: 1.25rem;
}

/* ==================== Features Icons Strip ==================== */
.features-icons-strip {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}

.features-strip-band {
    background: #f3f4f6;
}

.features-icons-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.features-icons-row-cards {
    gap: var(--spacing-md);
}

.feature-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
}

.feature-card-white {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-lg) var(--spacing-md);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card-white:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-card-highlight .feature-icon-24h {
    background: linear-gradient(145deg, #ff7a35 0%, #ff5722 100%);
    border-radius: 50%;
    width: 58px;
    height: 58px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.45);
}

.feature-24h-badge {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.feature-sub-muted {
    min-height: 1em;
    display: inline-block;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.feature-icon.orange {
    color: var(--color-accent-orange);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-icon-text strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.feature-icon-text span {
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    line-height: 1.35;
}

/* Kryptronix-style: soft bob + icon emphasis (see kryptronix.in feature row) */
@keyframes feature-icon-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.06); }
}

@keyframes feature-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes feature-icon-krypto {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    55% { transform: translateY(-2px); }
}

.feature-icon-anim[data-anim="float"] {
    animation: feature-icon-krypto 2.6s ease-in-out infinite;
}

.feature-icon-anim[data-anim="pulse"] {
    animation: feature-icon-pulse 1.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .feature-card-white:hover {
        transform: none;
    }
    .feature-icon-anim[data-anim="float"],
    .feature-icon-anim[data-anim="pulse"] {
        animation: none;
    }
}

.section-title-brand .st-green {
    color: var(--color-green);
}

.section-title-brand .st-purple {
    color: var(--brand-purple);
}

@media (max-width: 1024px) {
    .features-icons-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .features-icons-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-icon-box:last-child {
        grid-column: span 2;
    }
}

/* ==================== 3 Card Style - Apple Like ==================== */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .card-grid-3 {
        grid-template-columns: 1fr;
    }
}

.product-card-apple {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: block;
}

.product-card-apple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrap {
    position: relative;
    padding: var(--spacing-xl) 0;
}

.card-color-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: var(--spacing-md);
}

.card-color-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.card-image-wrap img {
    max-height: 200px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
}

.card-info-apple {
    padding-top: var(--spacing-md);
}

.card-label-new {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.card-info-apple h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.cat-title-green {
    color: var(--color-green-dark);
}

.cat-title-purple {
    color: var(--brand-purple-dark);
}

.card-info-apple p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-md);
}

.card-price-info {
    margin-bottom: var(--spacing-lg);
}

.card-price-info .price-from {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.card-price-info .price-emi {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-tertiary);
}

.card-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

/* ==================== Info Cards Grid (4th Section) ==================== */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .info-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.info-card-label.blue {
    color: #0071e3;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.info-card p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-lg);
}

.info-card-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-secondary);
    padding: var(--spacing-md);
}

.info-card-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.info-card-image.multi {
    display: flex;
    gap: var(--spacing-sm);
}

.info-card-image.multi img {
    width: 50%;
    height: 100px;
}

.info-card-image.icons {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.setup-icons {
    display: flex;
    gap: var(--spacing-lg);
}

.setup-icons svg {
    width: 40px;
    height: 40px;
    color: #0071e3;
}

.info-plus-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--color-text-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 300;
}

/* ==================== Products Grid ==================== */
.products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
    .products-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-row {
        grid-template-columns: 1fr;
    }
}

.product-card-modern {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: block;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card-modern:hover .product-img-wrap img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 6px 14px;
    background: var(--color-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.product-badge.sale {
    background: var(--color-error);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-tertiary);
}

.product-placeholder svg {
    width: 64px;
    height: 64px;
}

/* Add Button */
.add-btn {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 44px;
    height: 44px;
    background: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s;
}

.add-btn svg {
    width: 20px;
    height: 20px;
}

.product-card-modern:hover .add-btn {
    opacity: 1;
    transform: scale(1);
}

.add-btn:hover {
    background: var(--color-green-dark);
    transform: scale(1.1);
}

.product-info-modern {
    padding: var(--spacing-lg);
}

.product-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-green);
    font-weight: 600;
}

.product-info-modern h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 6px 0;
}

.product-info-modern p {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-md);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.price-now {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.price-was {
    font-size: 0.9375rem;
    color: var(--color-text-tertiary);
    text-decoration: line-through;
}

/* ==================== CTA Section Dark ==================== */
/* Full-width image strip above home CTA — show full image (no crop) */
.pre-cta-image-section {
    width: 100%;
    overflow: hidden;
    background: #f5f5f7;
}

.pre-cta-image-inner {
    margin: 0;
    line-height: 0;
    width: 100%;
    max-width: 100%;
}

.pre-cta-image-inner img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.cta-section-dark {
    background: #1d1d1f;
    padding: 100px 0;
}

.cta-content-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
}

.cta-content-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--spacing-md);
}

.cta-content-center p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.cta-features-row {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.cta-feat {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.cta-feat svg {
    width: 20px;
    height: 20px;
    color: var(--color-green);
}

.cta-section-dark .cta-feat svg {
    animation: feature-icon-float 3s ease-in-out infinite;
}

.cta-section-dark .cta-feat:nth-child(2) svg {
    animation-delay: 0.4s;
}

.cta-section-dark .cta-feat:nth-child(3) svg {
    animation-delay: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
    .cta-section-dark .cta-feat svg {
        animation: none;
    }
}

/* ==================== Footer brand strip ==================== */
.footer-brand-strip {
    background: #000;
    padding: 18px 20px;
    text-align: center;
}

.footer-brand-strip-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Full-bleed language bar (matches logo purple edge-to-edge) */
.footer-language-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    background: rgba(168, 85, 247, 0.92);
    padding: 14px 20px;
    text-align: center;
}

.language-btn-on-purple {
    color: rgba(255, 255, 255, 0.95);
}

.language-btn-on-purple svg {
    stroke: currentColor;
    opacity: 0.95;
}

.footer-strip-logo {
    height: 34px;
    width: auto;
    display: block;
    filter: none;
}

/* ==================== Footer Dark Style ==================== */
.footer-dark {
    background: #000000;
    color: #fff;
    padding: 60px 0 30px;
    box-shadow: 0 50vh 0 50vh #000000;
}

.footer-top {
    text-align: center;
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-2xl);
}

.footer-logo-img img,
.footer-logo-natural {
    height: 40px;
    width: auto;
    filter: none;
    margin: 0 auto;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg) var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 1024px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #22c55e;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    font-size: 0.8125rem;
    color: #ffffff;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #22c55e;
}

.footer-language {
    text-align: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.language-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-bottom-dark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .footer-bottom-dark {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-social-dark {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social-dark a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s;
}

.footer-social-dark a:hover {
    color: #fff;
}

/* ==================== WhatsApp Float Button ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ==================== Flash Messages ==================== */
.flash-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    animation: slideDown 0.3s ease-out;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.flash-message.success .flash-content {
    border-left: 4px solid var(--color-green);
}

.flash-message.error .flash-content {
    border-left: 4px solid var(--color-error);
}

.flash-message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.flash-message.success svg {
    color: var(--color-green);
}

.flash-message.error svg {
    color: var(--color-error);
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-tertiary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ==================== Products Page Styles ==================== */
.products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
}

.products-filters {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-primary);
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 150px;
}

.filter-select:hover,
.filter-select:focus {
    border-color: var(--color-green);
    outline: none;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* ==================== Cards ==================== */
.card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    display: block;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 6px 14px;
    background: var(--color-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.card-badge.sale {
    background: var(--color-error);
}

.card-content {
    padding: var(--spacing-lg);
}

.card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-green);
    margin-bottom: var(--spacing-xs);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.card-description {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-md);
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

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

.card-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* ==================== Form Styles ==================== */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-green);
    box-shadow: 0 0 0 3px var(--color-green-light);
}

/* ==================== Empty State ==================== */
.empty-state {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-xl);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    color: var(--color-text-tertiary);
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.empty-state-text {
    color: var(--color-text-tertiary);
    margin-bottom: var(--spacing-xl);
}

/* ==================== Utilities ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mt-5 { margin-top: var(--spacing-2xl); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }
.mb-5 { margin-bottom: var(--spacing-2xl); }

/* ==================== Alerts ==================== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9375rem;
}

.alert-success {
    background: var(--color-green-light);
    color: var(--color-green-dark);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: rgba(255, 59, 48, 0.1);
    color: var(--color-error);
    border: 1px solid rgba(255, 59, 48, 0.2);
}

/* ==================== Scrollbar ==================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: #000000;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-corner {
    background: #000000;
}

/* ==================== Selection ==================== */
::selection {
    background: var(--color-green);
    color: #fff;
}
