/* ============================================
   RejuvaStrength - Wellness & Recovery
   Premium Health-Focused Design System
   Deep Forest Green / Charcoal / Stone
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Primary - Deep Forest Green (Trust, Strength, Wellness) */
    --primary-50: #f0f7f4;
    --primary-100: #d9eae2;
    --primary-200: #b5d4c7;
    --primary-300: #87b8a3;
    --primary-400: #5d9a7e;
    --primary-500: #40916c;
    --primary-600: #2d6a4f;
    --primary-700: #1b4332;
    --primary-800: #143d2e;
    --primary-900: #0d2818;
    
    /* Accent - Sage Green (Muted, Calm) */
    --accent-50: #f5f7f3;
    --accent-100: #e8ede0;
    --accent-200: #d1dac4;
    --accent-300: #a8b896;
    --accent-400: #87a96b;
    --accent-500: #6b8e4e;
    --accent-600: #55703d;
    --accent-700: #42552f;
    --accent-800: #343d26;
    --accent-900: #2a3220;
    
    /* Neutrals - Warm Stone / Charcoal */
    --neutral-50: #faf9f7;
    --neutral-100: #f5f3ef;
    --neutral-200: #e8e5e0;
    --neutral-300: #d4cfc7;
    --neutral-400: #9c958b;
    --neutral-500: #6b6459;
    --neutral-600: #4a433a;
    --neutral-700: #3d3730;
    --neutral-800: #2d2822;
    --neutral-900: #1a1a1a;
    
    /* Semantic */
    --success: #2d6a4f;
    --warning: #b8860b;
    --error: #b91c1c;
    --info: #2d6a4f;
    
    /* Focus ring for accessibility */
    --focus-ring: rgba(45, 106, 79, 0.2);
    
    /* Typography - Professional, Calm, Wellness */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing - Airy, premium */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius - Subtle, consistent */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows - Soft, warm */
    --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.04);
    --shadow-md: 0 4px 12px rgba(26, 26, 26, 0.06), 0 2px 4px rgba(26, 26, 26, 0.03);
    --shadow-lg: 0 12px 24px -4px rgba(26, 26, 26, 0.08), 0 6px 12px -2px rgba(26, 26, 26, 0.04);
    --shadow-xl: 0 24px 48px -8px rgba(26, 26, 26, 0.1), 0 12px 24px -4px rgba(26, 26, 26, 0.05);
    --shadow-glow: 0 0 48px rgba(45, 106, 79, 0.12);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    --transition-spring: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    overflow-x: hidden;
    padding-top: 118px;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 110px;
    }
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--primary-800);
    color: rgba(255, 255, 255, 0.95);
    padding: 10px var(--space-lg);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.announcement-bar p {
    margin: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.25rem); }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

/* Container System */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    box-sizing: border-box;
}

.container--wide {
    max-width: 1440px;
    padding: 0 var(--space-2xl);
}

.container--narrow {
    max-width: 720px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    .container--wide {
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 480px) {
    .container,
    .container--wide {
        padding: 0 var(--space-md);
    }
}

/* ============================================
   HEADER - Minimal Full-Width Layout
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-xl);
    min-width: 0;
}

.header-content .mobile-menu-toggle {
    flex-shrink: 0;
}

.header-content .logo {
    flex-shrink: 0;
}

.header-content .nav {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.header-content .header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .header .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .header-content {
        height: 64px;
        gap: var(--space-md);
        justify-content: space-between;
    }
    
    .header-content .mobile-menu-toggle {
        order: 1;
        flex-shrink: 0;
    }
    
    .header-content .logo {
        order: 2;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .header-content .nav {
        display: none;
    }
    
    .header-content .nav.active {
        display: flex;
    }
    
    .header-content .header-actions {
        order: 3;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        height: 60px;
    }
    
    .announcement-bar {
        font-size: 12px;
        padding: var(--space-xs) var(--space-md);
    }
    
    body {
        padding-top: 64px;
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    min-width: 0;
    flex-shrink: 1;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    box-shadow: 0 2px 8px rgba(45, 106, 79, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo:hover .logo-icon {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(45, 106, 79, 0.3);
}

.logo-icon .icon.logo-icon-svg,
.logo-icon .logo-icon-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.logo-brand {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 0 5px 0;
}

.logo-tagline {
    font-size: 10px;
    font-weight: 500;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

@media (max-width: 480px) {
    .logo-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .logo-icon .icon.logo-icon-svg,
    .logo-icon .logo-icon-svg {
        width: 18px;
        height: 18px;
    }
    
    .logo-brand {
        font-size: 14px;
    }
    
    .logo-tagline {
        font-size: 8px;
    }
}

/* Navigation */
.nav {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--neutral-600);
    text-decoration: none;
    position: relative;
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-700);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--neutral-700);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

.mobile-menu-toggle .icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.mobile-menu-toggle .close-icon {
    display: none;
}

.mobile-menu-toggle.active .menu-icon {
    display: none;
}

.mobile-menu-toggle.active .close-icon {
    display: block;
}

.mobile-menu-toggle.active {
    border-color: var(--primary-600);
    color: var(--primary-600);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Cart Icon */
.cart-icon {
    position: relative;
    cursor: pointer;
    background: var(--neutral-100);
    border: 2px solid var(--neutral-200);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    text-decoration: none;
}

.cart-icon:hover {
    background: var(--primary-600);
    border-color: var(--primary-600);
}

.cart-icon:hover .icon {
    fill: white;
}

.cart-icon .icon {
    width: 20px;
    height: 20px;
    fill: var(--neutral-700);
    transition: fill var(--transition-fast);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-600);
    color: white;
    border-radius: var(--radius-full);
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(45, 106, 79, 0.3);
}

/* Responsive Header - Mobile Nav */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 90vw);
        height: 100vh;
        height: 100dvh;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: -4px 0 24px rgba(26, 26, 26, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        align-items: stretch;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav::before {
        content: 'Menu';
        display: block;
        padding: var(--space-xl) var(--space-xl) var(--space-md);
        font-size: 18px;
        font-weight: 600;
        color: var(--neutral-900);
        border-bottom: 1px solid var(--neutral-200);
    }
    
    .nav-link {
        padding: var(--space-lg) var(--space-xl);
        font-size: 17px;
        font-weight: 500;
        border-bottom: 1px solid var(--neutral-100);
        transition: background var(--transition-fast);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--primary-50);
        color: var(--primary-700);
    }
    
    .nav-link:active {
        background: var(--primary-100);
    }
    
    .header-actions {
        gap: var(--space-md);
    }
    
    .cart-icon {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }
    
    .cart-icon {
        width: 38px;
        height: 38px;
    }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    background: #fff;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--neutral-200);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--neutral-500);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.breadcrumb-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.8;
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    color: var(--neutral-300);
}

.breadcrumb-separator svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-current {
    color: var(--neutral-700);
    font-weight: 600;
}

@media (max-width: 480px) {
    .breadcrumb {
        padding: var(--space-sm) 0;
    }
    
    .breadcrumb-list {
        font-size: 13px;
    }
}

/* ============================================
   HERO SECTION - Centered Overlay Layout
   ============================================ */
.hero {
    position: relative;
    min-height: 70vh;
    min-height: 70dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-overlay .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13, 40, 24, 0.6) 0%, rgba(13, 40, 24, 0.75) 100%);
    pointer-events: none;
}

.hero-content--centered {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    padding: var(--space-2xl);
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-200);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .highlight {
    color: var(--primary-300);
    font-weight: 700;
}

.hero-content--centered .hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--primary-500);
    color: white;
    border: none;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cta-button:hover {
    background: var(--primary-400);
    color: white;
}

.cta-button-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-content--centered {
        padding: var(--space-xl) var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
    }
}

/* ============================================
   PRODUCTS SECTION - Full-Width Layout
   ============================================ */
.products-section {
    background: var(--neutral-50);
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: left;
    margin-bottom: var(--space-3xl);
}

.section-header-centered {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header-centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--primary-600);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
}

.section-divider {
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.section-divider span {
    color: var(--primary-600);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    border-left: 4px solid var(--primary-600);
    line-height: 1.3;
    word-wrap: break-word;
}

.section-header-centered .section-title {
    padding-left: 0;
    border-left: none;
}

.section-subtitle {
    color: var(--neutral-500);
    font-size: 1rem;
    margin-top: var(--space-sm);
    max-width: 560px;
}

@media (max-width: 768px) {
    .products-section .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
    
    .section-header {
        margin-bottom: var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: var(--space-2xl) 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Products Grid - 4 columns on desktop */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
    min-width: 0;
}

/* Home page grid wrapper */
.products-grid-bento {
    grid-template-columns: repeat(4, 1fr);
}

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

@media (max-width: 768px) {
    .products-grid,
    .products-grid-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

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

/* Product Card - Base */
.product-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-base);
    position: relative;
    min-width: 0;
}

/* Product Card - Tile Style (Home & Shop) */
.product-card--tile {
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    background: #fff;
}

.product-card--tile:hover {
    border-color: var(--primary-300);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.08);
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Product Image - Square aspect */
.product-card--tile .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--neutral-100);
}

.product-card--tile .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card--tile:hover .product-image img {
    transform: scale(1.03);
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--primary-600);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* Product Info - Left accent strip */
.product-card--tile .product-info {
    margin: var(--space-lg);
    background: #fff;
}

.product-category {
    display: inline-block;
    color: var(--primary-700);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-900);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

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

.original-price {
    color: var(--neutral-400);
    text-decoration: line-through;
    font-size: 13px;
}

.sale-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-600);
}

/* Add to Cart Button - Full width in tile */
.product-card--tile .add-to-cart {
    margin: 0 var(--space-lg) var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    background: var(--neutral-100);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-card--tile .add-to-cart:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

/* Loading State */
.loading {
    text-align: center;
    padding: var(--space-3xl);
    color: var(--neutral-500);
}

/* Animation for products */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    margin-bottom: var(--space-3xl);
}

.about-section p {
    margin-bottom: var(--space-md);
}

/* ============================================
   FOOTER - Horizontal Strip Layout
   ============================================ */
.footer {
    background: var(--primary-900);
    color: var(--neutral-300);
}

.footer-main {
    padding: var(--space-3xl) 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
}

.footer-brand {
    flex: 0 1 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.footer-logo-icon .icon.logo-icon-svg,
.footer-logo-icon .logo-icon-svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    stroke: none;
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 14px;
    color: var(--neutral-400);
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--neutral-400);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--primary-300);
}

.footer-contact .footer-address,
.footer-contact p {
    font-size: 14px;
    color: var(--neutral-400);
    margin: 0 0 var(--space-sm);
    line-height: 1.5;
}

.footer-contact a {
    color: var(--primary-300);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--neutral-700);
}

.footer-bottom .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-md);
}

.footer-bottom p {
    margin: 0;
    color: var(--neutral-500);
    font-size: 13px;
    justify-self: start;
}

.footer-bottom .scroll-top {
    justify-self: center;
    grid-column: 2;
}

/* Scroll Top Button */
.scroll-top {
    background: var(--primary-600);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.scroll-top:hover {
    background: var(--primary-500);
    transform: translateY(-2px);
}

.scroll-top .icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.scroll-top {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .footer-grid {
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: var(--space-2xl) 0;
    }
    .footer-grid {
        flex-direction: column;
        gap: var(--space-xl);
    }
    .footer-brand {
        flex: 1 1 100%;
    }
    .footer-bottom .container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .footer-bottom p {
        justify-self: center;
    }

    .footer-bottom .scroll-top {
        grid-column: 1;
    }
}

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

/* ============================================
   CART MODAL
   ============================================ */
.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    overflow-y: auto;
    box-sizing: border-box;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: min(85vh, calc(100vh - 2 * var(--space-md)));
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
    animation: modalSlideIn 0.3s ease;
    margin: auto;
    min-height: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.cart-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--neutral-900);
    margin: 0;
}

.close-modal {
    background: var(--neutral-100);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
    transition: all var(--transition-fast);
}

.close-modal:hover {
    background: var(--neutral-200);
    color: var(--neutral-900);
}

.cart-modal-body {
    padding: var(--space-lg);
    overflow-y: auto;
    flex: 1;
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--neutral-100);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--neutral-200);
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-xs);
}

.cart-item-details p {
    font-size: 13px;
    color: var(--neutral-500);
    margin-bottom: var(--space-sm);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--neutral-700);
    transition: all var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
    color: var(--primary-700);
}

.quantity {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.remove-btn {
    background: var(--error);
    color: white;
    border: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: var(--space-sm);
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    background: #DC2626;
}

.empty-cart {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    color: var(--neutral-500);
}

.cart-total {
    padding: var(--space-md) 0;
    border-top: 2px solid var(--neutral-200);
    text-align: right;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
}

.cart-modal-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--neutral-200);
    display: flex;
    gap: var(--space-md);
    justify-content: flex-end;
}

.cart-modal .btn-primary,
.cart-modal .btn-secondary {
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cart-modal .btn-primary {
    background: var(--primary-600);
    color: white;
}

.cart-modal .btn-primary:hover {
    background: var(--primary-700);
}

.cart-modal .btn-secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.cart-modal .btn-secondary:hover {
    background: var(--neutral-200);
}

@media (max-width: 768px) {
    .cart-modal-content {
        max-height: 90vh;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cart-item-image {
        width: 100%;
        max-width: 200px;
        height: 150px;
    }
    
    .cart-modal-footer {
        flex-direction: column;
    }
    
    .cart-modal .btn-primary,
    .cart-modal .btn-secondary {
        width: 100%;
    }
}

/* ============================================
   CONTACT & POLICY STYLES
   ============================================ */

/* Contact Info */
.contact-info {
    margin: var(--space-lg) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.contact-details h4 {
    margin: 0 0 var(--space-xs);
    font-size: 16px;
    color: var(--neutral-800);
}

.contact-details p {
    margin: 0;
    color: var(--neutral-600);
}

.contact-details a {
    color: var(--neutral-700);
    transition: color var(--transition-fast);
}

.contact-details a:hover {
    color: var(--primary-600);
}

/* Policy Header */
.policy-header {
    background: var(--primary-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
    border-left: 4px solid var(--primary-600);
}

.policy-header p {
    margin: var(--space-xs) 0;
    font-size: 14px;
    color: var(--neutral-600);
}

.policy-header strong {
    color: var(--neutral-800);
}

/* About List */
.about-list {
    padding-left: 0;
    list-style: none;
}

.about-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
}

.about-list li strong {
    color: var(--neutral-800);
}

/* Policy Highlight */
.policy-highlight {
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-left: 4px solid var(--primary-600);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.policy-highlight .highlight-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-highlight .highlight-icon .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.policy-highlight .highlight-content h4 {
    margin: 0 0 var(--space-sm);
    font-size: 16px;
    color: var(--neutral-800);
}

.policy-highlight .highlight-content p {
    margin: 0;
    font-size: 14px;
    color: var(--neutral-600);
}

@media (max-width: 768px) {
    .policy-highlight {
        flex-direction: column;
        text-align: center;
    }
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
}

.contact-card {
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    transition: all var(--transition-base);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-icon .icon {
    width: 28px;
    height: 28px;
    fill: white;
}

.contact-card-content h2 {
    font-size: 1.25rem;
    color: var(--neutral-800);
    margin-bottom: var(--space-sm);
}

.contact-card-content p {
    color: var(--neutral-600);
    margin: 0;
}

.contact-card-content a {
    color: var(--neutral-700);
    font-weight: 500;
}

.contact-card-content a:hover {
    color: var(--primary-600);
}

/* Business Hours */
.business-hours {
    margin: var(--space-lg) 0;
}

.hours-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--neutral-50);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-600);
}

.hours-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hours-icon .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.hours-content h4 {
    margin: 0 0 var(--space-sm);
    font-size: 18px;
    color: var(--neutral-800);
}

.hours-content p {
    margin: var(--space-xs) 0;
    color: var(--neutral-600);
    font-size: 14px;
}

/* Response Grid */
.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.response-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.response-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
}

.response-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.response-icon .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.response-content h4 {
    margin: 0 0 var(--space-xs);
    font-size: 16px;
    color: var(--neutral-800);
}

.response-content p {
    margin: 0;
    color: var(--neutral-600);
    font-size: 14px;
}

/* Quick Links */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.quick-link {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-base);
}

.quick-link:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.quick-link-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.quick-link:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-icon .icon {
    width: 20px;
    height: 20px;
    fill: white;
}

.quick-link-content h4 {
    margin: 0 0 var(--space-xs);
    font-size: 16px;
    color: var(--neutral-800);
}

.quick-link-content p {
    margin: 0;
    color: var(--neutral-600);
    font-size: 14px;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.method-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.method-item:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.method-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.method-item:hover .method-icon {
    transform: scale(1.05);
}

.method-icon .icon {
    width: 22px;
    height: 22px;
    fill: white;
}

.method-content h4 {
    margin: 0 0 var(--space-sm);
    font-size: 18px;
    color: var(--neutral-800);
}

.method-content p {
    margin: 0 0 var(--space-xs);
    color: var(--neutral-600);
    font-size: 14px;
}

.method-content a {
    color: var(--neutral-700);
    font-weight: 500;
}

.method-content a:hover {
    color: var(--primary-600);
}

.response-time {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--neutral-200);
    font-style: italic;
}

@media (max-width: 768px) {
    .contact-grid,
    .response-grid,
    .quick-links,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .hours-item,
    .response-item,
    .quick-link,
    .method-item {
        flex-direction: column;
        text-align: center;
    }
}
