/**
 * ChairDesko - Premium Sustainable Furniture CSS
 * Warm, eco-conscious, modern Indian aesthetic
 */

/* ============================================
   CSS VARIABLES - Brand Colors
   ============================================ */
:root {
    /* Primary Colors - Earthy Bark Brown */
    --color-primary: #4B3621;
    --color-primary-light: #6D523B;
    --color-primary-dark: #2D1D12;

    /* Secondary Colors - Deep Forest Green */
    --color-secondary: #1E2F23;
    --color-secondary-light: #3A5340;
    --color-secondary-dark: #121D16;

    /* Neutrals - Misty Forest Air */
    --color-beige: #E6EAE6;
    --color-cream: #F2F4F2;
    --color-sand: #D9DED9;

    /* Text */
    --color-text: #1A211C;
    --color-text-light: #4A534D;
    --color-text-muted: #7A847E;

    /* Accents */
    --color-gold: #D4AF37;
    /* Sunlight Dappling */
    --color-success: #3A5340;
    --color-error: #C86A6A;

    /* Shadows & Effects - Misty Green Tint */
    --shadow-sm: 0 2px 8px rgba(30, 47, 35, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 47, 35, 0.12);
    --shadow-lg: 0 8px 32px rgba(30, 47, 35, 0.16);

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Nunito Sans', 'Lato', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
.btn {
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: fixed;
    /* Changed from sticky to fixed to float over hero */
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1540px;
    z-index: 1000;
    border-radius: 100px;
    /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

/* Logo image sizing to prevent layout breakage */
.logo img {
    display: block;
    max-height: 38px;
    height: auto;
    max-width: 220px;
    width: auto;
    object-fit: contain;
}

/* Ensure logo container aligns with nav items */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 576px) {
    .header {
        top: 0.5rem;
        width: calc(100% - 1.5rem);
    }

    .navbar {
        padding: 0.2rem 0.75rem;
    }

    .logo img {
        max-height: 24px;
        max-width: 120px;
    }

    /* Adjust hamburger button for thinner bar */
    .mobile-menu-btn {
        padding: 0.3rem !important;
        font-size: 1.1rem !important;
    }
}

/* Make hero CTA buttons stack on small screens to avoid overlap */
@media (max-width: 768px) {
    .hero-content .btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
    }

    .hero-content .btn+.btn {
        margin-top: 0.75rem;
    }

    .hero-content .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

/* Phone specific: make hero buttons smaller and thinner */
@media (max-width: 576px) {
    .hero-content .btn {
        padding: 0.45rem 1rem;
        font-size: 0.95rem;
        border-width: 1px;
    }

    .hero-content .btn-primary {
        padding: 0.5rem 1rem;
    }

    .hero-content .btn-secondary {
        padding: 0.45rem 0.9rem;
    }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
}

.btn-lg {
    padding: 0.85rem 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Global Hero Button Override for Premium Vibe */
.hero-content .btn-primary {
    background: #2C2C2C !important;
    border-color: #2C2C2C !important;
    color: #fff !important;
    border-radius: 4px;
    /* Sophisticated slightly rounded corner */
    transition: all 0.4s ease;
}

.hero-content .btn-primary:hover {
    background: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-content .btn-secondary {
    background: transparent !important;
    border: 1px solid #2C2C2C !important;
    color: #2C2C2C !important;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.hero-content .btn-secondary:hover {
    background: #2C2C2C !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Hero-specific button styling: pill shape and white-outline secondary */
.hero-content .btn {
    border-radius: 9999px;
}

.hero-content .btn-primary {
    background: var(--Color-primary, var(--color-primary));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.hero-content .btn-secondary {
    background: transparent;
    color: #6B5842;
    border: 2px solid #8B7355;
}

.hero-content .btn-secondary:hover {
    background: rgba(139, 115, 85, 0.1);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--color-cream);
}

/* Ensure hero background covers full screen on mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-video,
    .hero-bg-image {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        background-size: cover;
        background-position: center;
        position: fixed;
        top: 0;
        left: 0;
    }
}

/* Hide decorative SVG used previously */
.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Static hero background image (preferred when uploaded) */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    color: #fff;
}

.hero-title {
    color: #FFFFFF !important;
    /* White Heading */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: none !important;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    /* White with 80% opacity */
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
    text-shadow: none !important;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    animation-fill-mode: both;
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
        /* Clear the fixed header */
        align-items: flex-start;
        /* Start content higher to avoid bottom strip */
        padding-bottom: 120px;
    }

    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
        letter-spacing: -0.5px;
        margin-top: 2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.4 !important;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem !important;
    }
}

/* Hero Feature Strip */
.feature-strip {
    background: #000;
    color: #fff;
    padding: 1.25rem 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 20;
}

.feature-strip-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: #fff;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

@media (max-width: 992px) {
    .feature-strip-inner {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
}

.section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

/* Reveal-on-Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

@media (max-width: 576px) {
    .feature-strip {
        padding: 0.75rem 0;
    }

    .feature-strip-inner {
        flex-wrap: nowrap;
        justify-content: space-evenly;
        padding: 0 0.25rem;
        gap: 0.25rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.15rem;
        width: 25%;
    }

    .feature-item i {
        font-size: 1.1rem;
    }

    .feature-item span {
        font-size: 0.6rem;
        line-height: 1.1;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.hero-title {
    margin-bottom: var(--spacing-md);
    color: #FFFFFF !important;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8) !important;
    /* White with 80% opacity */
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.product-card .btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
    padding: 0.6rem 1rem;
    /* Slightly more compact */
}

@media (max-width: 576px) {
    .product-card .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

/* Show 1 product per row on phone screens */
@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 47, 35, 0.05);
    /* Lighter base shadow */
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(30, 47, 35, 0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    /* Unified landscape aspect ratio for desktop */
    background: var(--color-beige);
}

@media (max-width: 576px) {
    .product-image {
        padding-top: 60% !important;
        /* Shorter aspect ratio to reduce card height */
    }
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-secondary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .product-badge {
        top: 6px;
        left: 6px;
        padding: 0.15rem 0.4rem;
        font-size: 0.6rem;
    }
}

.product-info {
    padding: 0.85rem 1rem;
    /* Consistently tight desktop padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    /* Slightly smaller global title */
    margin-bottom: 0.5rem;
    color: var(--color-text);
    line-height: 1.3;
}

@media (max-width: 576px) {
    .product-info {
        padding: 0.5rem !important;
        /* Extremely tight padding */
    }

    .product-title {
        font-size: 0.95rem !important;
        /* Smaller title */
        margin-bottom: 0.2rem !important;
        line-height: 1.2 !important;
    }

    .product-category {
        font-size: 0.65rem !important;
        margin-bottom: 0.1rem !important;
    }

    .product-price {
        margin-bottom: 0.25rem !important;
    }

    .product-price .price-current {
        font-size: 1.1rem !important;
    }

    .product-info .d-grid {
        margin-top: 0.4rem !important;
        gap: 0.25rem !important;
    }

    .product-card .btn {
        padding: 0.4rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
}

/* Category card image styling */
.category-card .category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .category-img {
        height: 140px;
        /* Adjusted to prevent text overlap */
    }
}

/* Ensure category card image fills top of card */
.category-card .card {
    overflow: hidden;
}

.category-image-wrap {
    width: 100%;
}

.category-card .card-body {
    padding-top: 0.75rem;
}

.category-card {
    display: block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card .card {
    transition: all 0.4s inherit;
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-card:hover .card {
    box-shadow: 0 12px 28px rgba(30, 47, 35, 0.1) !important;
}

.category-image-wrap {
    overflow: hidden;
    border-radius: 8px;
}

.category-img {
    transition: transform 0.6s ease;
}

.category-card:hover .category-img {
    transform: scale(1.05);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.price-current {
    font-family: var(--font-body);
    /* More modern look than display for price */
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}

.price-original {
    display: none;
    /* Hide crossed-out original price on all devices */
}

.eco-badge {
    display: none;
    /* Hide CO₂ saved badges on all devices */
}

/* ============================================
   SUSTAINABILITY SECTION
   ============================================ */
.sustainability-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    margin: var(--spacing-xl) 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.impact-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Perfect Box Shape */
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-md);
    background-color: var(--color-secondary);
    transition: transform 0.4s ease;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.impact-card .impact-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.impact-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.impact-number {
    font-family: var(--font-body);
    /* Modern cleaner font */
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff !important;
    display: block;
    margin-bottom: 0.1rem;
    line-height: 1;
    letter-spacing: -1px;
}

.impact-label {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Mobile Adjustments for Impact Section */
@media (max-width: 576px) {
    .sustainability-section {
        padding: 1.5rem 1rem !important;
        /* Fixed: Reduced from 4rem to stop horizontal overflow */
        margin: 2rem auto !important;
        width: 95% !important;
        max-width: calc(100% - 1.5rem);
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .impact-card {
        padding: 0.5rem;
        aspect-ratio: 1 / 1 !important;
        /* Fixed: Forced perfect square shape */
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .impact-number {
        font-size: 1.15rem;
        margin-bottom: 0.1rem;
    }

    .impact-label {
        font-size: 0.5rem;
        letter-spacing: 0.1px;
        line-height: 1.2;
        max-width: 85px;
        /* Keeps text within the box */
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-column h4 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        min-height: 100vh;
        height: 100vh;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .footer-column {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links {
        padding-left: 0;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer .newsletter-form {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Fix category text visibility on mobile - add separation from hero */
.section:first-of-type {
    margin-top: 2rem;
    padding-top: 3rem;
}

.category-card {
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.category-card .card-body {
    padding: 1rem;
}

.category-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
    font-weight: 600;
}

.category-card .text-muted.small {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}