/* ==========================================================================
   NatureWell - Master Design System & Responsive Stylesheet
   Pure CSS - Zero Dependencies - Fluidity from Smartwatch to 8K Displays
   ========================================================================== */

:root {
    /* Brand Color Palette */
    --primary: #134e35;
    --primary-light: #166534;
    --primary-dark: #0d2218;
    --primary-hover: #0f402b;
    --emerald-accent: #15803d;
    --emerald-bright: #22c55e;
    --emerald-subtle: #eaf5ee;
    
    --gold: #c59b27;
    --gold-light: #dfb141;
    --gold-subtle: #fdf8eb;
    --gold-border: #e9d5a1;

    --bg-body: #f8faf9;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f3;

    --text-primary: #102219;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --border-light: #e2e8f0;
    --border-subtle: #edf2f0;

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 14px rgba(16, 34, 25, 0.08);
    --shadow-lg: 0 10px 30px rgba(16, 34, 25, 0.12);
    --shadow-xl: 0 20px 45px rgba(16, 34, 25, 0.16);

    /* Fluid Typography via clamp() */
    --font-xs: clamp(0.6875rem, 0.62rem + 0.3vw, 0.875rem);
    --font-sm: clamp(0.78125rem, 0.72rem + 0.35vw, 1rem);
    --font-base: clamp(0.875rem, 0.8rem + 0.45vw, 1.15rem);
    --font-md: clamp(1rem, 0.92rem + 0.55vw, 1.35rem);
    --font-lg: clamp(1.15rem, 1.05rem + 0.8vw, 1.75rem);
    --font-xl: clamp(1.4rem, 1.2rem + 1.2vw, 2.25rem);
    --font-2xl: clamp(1.75rem, 1.45rem + 1.8vw, 3rem);
    --font-hero: clamp(2rem, 1.6rem + 2.5vw, 4.5rem);

    /* Fluid Spacing via clamp() */
    --space-2xs: clamp(0.2rem, 0.15rem + 0.25vw, 0.4rem);
    --space-xs: clamp(0.35rem, 0.25rem + 0.4vw, 0.75rem);
    --space-sm: clamp(0.6rem, 0.45rem + 0.7vw, 1.25rem);
    --space-md: clamp(0.9rem, 0.7rem + 1vw, 2rem);
    --space-lg: clamp(1.35rem, 1rem + 1.6vw, 3.2rem);
    --space-xl: clamp(1.8rem, 1.4rem + 2.5vw, 5rem);

    /* Container Fluid Bounds */
    --container-width: min(94vw, 1480px);
    --container-padding: clamp(0.75rem, 0.5rem + 1.2vw, 2.5rem);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 4K, 8K & Projector Screen Adaptations */
@media (min-width: 2160px) {
    :root {
        --container-width: min(90vw, 2800px);
        font-size: 18px;
    }
}
@media (min-width: 3840px) {
    :root {
        --container-width: min(88vw, 4600px);
        font-size: 24px;
    }
}
@media (min-width: 7680px) {
    :root {
        --container-width: min(85vw, 8000px);
        font-size: 34px;
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--font-base);
    line-height: 1.55;
    color: var(--text-primary);
    background-color: var(--bg-body);
    overflow-x: hidden;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

ul, ol {
    list-style: none;
}

.container {
    width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ==========================================================================
   Announcement Top Bar
   ========================================================================== */
.top-bar {
    background-color: #0b2e1e;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-xs);
    padding: clamp(0.35rem, 0.25rem + 0.3vw, 0.6rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.75rem);
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-bar-item svg {
    width: clamp(12px, 10px + 0.25vw, 16px);
    height: clamp(12px, 10px + 0.25vw, 16px);
    fill: currentColor;
}

.top-bar-right a:hover {
    color: var(--gold-light);
}

/* ==========================================================================
   Main Storefront Header
   ========================================================================== */
.main-header {
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(0.6rem, 0.4rem + 0.5vw, 1rem);
    padding-bottom: clamp(0.6rem, 0.4rem + 0.5vw, 1rem);
    gap: var(--space-sm);
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.brand-logo-img {
    height: clamp(38px, 30px + 1.2vw, 60px);
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 0.8rem + 1vw, 2.2rem);
}

.nav-link {
    font-size: var(--font-sm);
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.4rem 0.2rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 0.4rem + 0.5vw, 1.2rem);
}

.search-bar-wrap {
    position: relative;
    width: clamp(160px, 120px + 10vw, 360px);
}

.search-input {
    width: 100%;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: clamp(0.4rem, 0.3rem + 0.3vw, 0.65rem) clamp(0.75rem, 0.5rem + 0.5vw, 1.2rem);
    padding-right: 2.2rem;
    font-size: var(--font-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.search-input:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(19, 78, 53, 0.12);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.4rem, 0.25rem + 0.4vw, 0.9rem);
}

.action-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(34px, 28px + 0.6vw, 44px);
    height: clamp(34px, 28px + 0.6vw, 44px);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    background: var(--bg-muted);
    transition: all var(--transition-fast);
}

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

.action-btn svg {
    width: clamp(16px, 14px + 0.3vw, 22px);
    height: clamp(16px, 14px + 0.3vw, 22px);
    fill: currentColor;
}

.badge-count {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    border-radius: 50%;
    text-align: center;
    border: 2px solid #fff;
}

.menu-toggle {
    display: none;
}

/* ==========================================================================
   Hero Banner Section
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #092c1d 0%, #10422c 50%, #0d3824 100%);
    color: #fff;
    overflow: hidden;
    padding: clamp(2rem, 1.5rem + 3vw, 5rem) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/login background.png') center/cover no-repeat;
    opacity: 0.28;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.5rem);
}

.hero-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: var(--font-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-light);
    text-transform: uppercase;
    background: rgba(197, 155, 39, 0.18);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(197, 155, 39, 0.35);
}

.hero-title {
    font-size: var(--font-hero);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-title span {
    color: var(--gold-light);
}

.hero-desc {
    font-size: var(--font-md);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #147a46;
    background: linear-gradient(135deg, #188d52 0%, #0e6136 100%);
    color: #fff;
    font-weight: 600;
    font-size: var(--font-sm);
    padding: clamp(0.6rem, 0.45rem + 0.4vw, 0.9rem) clamp(1.2rem, 0.9rem + 0.9vw, 2.2rem);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(24, 141, 82, 0.35);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1ba05d 0%, #116f3e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 141, 82, 0.45);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.8rem);
    flex-wrap: wrap;
    margin-top: clamp(0.5rem, 0.3rem + 0.5vw, 1.2rem);
    padding-top: clamp(0.75rem, 0.5rem + 0.5vw, 1.2rem);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--font-xs);
    color: rgba(255, 255, 255, 0.88);
}

.hero-trust-item svg {
    width: 16px;
    height: 16px;
    fill: var(--gold-light);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-display-img {
    width: 100%;
    max-height: clamp(240px, 180px + 14vw, 480px);
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-base);
}

.hero-visual:hover .hero-display-img {
    transform: scale(1.02);
}

/* ==========================================================================
   Category Section ("Shop by Category")
   ========================================================================== */
.section-wrap {
    padding: clamp(2rem, 1.5rem + 2.5vw, 4.5rem) 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: clamp(1rem, 0.8rem + 1vw, 2rem);
    gap: var(--space-xs);
}

.section-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.view-all-link {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.view-all-link:hover {
    color: var(--emerald-bright);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(0.5rem, 0.35rem + 0.5vw, 1.25rem);
}

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

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

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: clamp(0.5rem, 0.3rem + 0.4vw, 1rem);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.category-card:hover {
    transform: translateY(-4px);
}

.cat-circle {
    width: clamp(75px, 60px + 3vw, 120px);
    height: clamp(75px, 60px + 3vw, 120px);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.5rem;
    border: 2px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.category-card:hover .cat-circle {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(19, 78, 53, 0.15);
}

.cat-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.cat-name {
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ==========================================================================
   Featured Products & Promo Layout
   ========================================================================== */
.featured-layout {
    display: grid;
    grid-template-columns: 1fr clamp(260px, 220px + 8vw, 360px);
    gap: var(--space-md);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(0.5rem, 0.35rem + 0.5vw, 1rem);
}

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

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

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

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: clamp(0.6rem, 0.45rem + 0.5vw, 1rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(19, 78, 53, 0.25);
}

.product-badge-wrap {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
}

.badge-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.badge-bestseller {
    background: #0f402b;
    color: #fff;
}

.product-image-box {
    width: 100%;
    height: clamp(120px, 95px + 4vw, 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
    overflow: hidden;
}

.product-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-base);
}

.product-card:hover .product-image-box img {
    transform: scale(1.06);
}

.product-title {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 0.35rem;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: var(--font-xs);
    color: var(--gold);
}

.stars {
    display: inline-flex;
    gap: 1px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: var(--font-md);
    font-weight: 700;
    color: #0f3d29;
}

.price-original {
    font-size: var(--font-xs);
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-pill {
    background: #e6f7ec;
    color: #106f3e;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
}

.btn-add-cart {
    width: 100%;
    background: #115736;
    color: #ffffff;
    font-size: var(--font-xs);
    font-weight: 600;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all var(--transition-fast);
}

.btn-add-cart:hover {
    background: #0b3d25;
}

.btn-add-cart svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Promo Banners Column */
.promo-column {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 0.5rem + 0.6vw, 1.25rem);
}

.promo-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: clamp(140px, 120px + 5vw, 220px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1rem, 0.75rem + 0.8vw, 1.75rem);
    color: #fff;
    box-shadow: var(--shadow-md);
    background-size: cover;
    background-position: center;
}

.promo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 34, 24, 0.88) 0%, rgba(13, 34, 24, 0.45) 100%);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 85%;
}

.promo-title {
    font-size: var(--font-lg);
    font-weight: 800;
    line-height: 1.2;
}

.promo-subtitle {
    font-size: var(--font-xs);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.btn-promo {
    align-self: flex-start;
    margin-top: 0.4rem;
    background: #fff;
    color: var(--primary);
    font-size: var(--font-xs);
    font-weight: 700;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition-fast);
}

.btn-promo:hover {
    background: var(--gold-light);
    color: #fff;
}

/* ==========================================================================
   Trust / Value Proposition Strip
   ========================================================================== */
.value-strip {
    background: var(--emerald-subtle);
    padding: clamp(1.2rem, 0.8rem + 1vw, 2.2rem) 0;
    border-top: 1px solid rgba(19, 78, 53, 0.08);
    border-bottom: 1px solid rgba(19, 78, 53, 0.08);
}

.value-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 130px + 5vw, 240px), 1fr));
    gap: var(--space-sm);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.value-icon-box {
    width: clamp(38px, 32px + 0.6vw, 48px);
    height: clamp(38px, 32px + 0.6vw, 48px);
    border-radius: var(--radius-full);
    background: #fff;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.value-icon-box svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.value-text h4 {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.value-text p {
    font-size: var(--font-xs);
    color: var(--text-muted);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background: #092215;
    color: rgba(255, 255, 255, 0.8);
    padding-top: clamp(2.5rem, 1.8rem + 2.5vw, 5rem);
    font-size: var(--font-sm);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
    gap: var(--space-md);
    padding-bottom: clamp(2rem, 1.5rem + 1.8vw, 3.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-img {
    height: clamp(40px, 32px + 1vw, 56px);
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-col h5 {
    font-size: var(--font-sm);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.9rem;
    letter-spacing: 0.03em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(2px);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.social-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all var(--transition-fast);
}

.social-icon-btn:hover {
    background: var(--gold-light);
    color: #092215;
}

.social-icon-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.newsletter-form {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.8rem;
    color: #fff;
    font-size: var(--font-xs);
}

.newsletter-input:focus {
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.12);
}

.btn-subscribe {
    background: #147a46;
    color: #fff;
    font-size: var(--font-xs);
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-subscribe:hover {
    background: #199455;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: clamp(1rem, 0.8rem + 0.5vw, 1.5rem) 0;
    font-size: var(--font-xs);
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Interactive Cart Modal / Drawer
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(90vw, 420px);
    background: #fff;
    z-index: 1000;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

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

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--bg-muted);
    border-radius: var(--radius-sm);
    padding: 0.3rem;
}

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

.cart-item-title {
    font-size: var(--font-sm);
    font-weight: 600;
    line-height: 1.25;
}

.cart-item-price {
    font-size: var(--font-xs);
    color: var(--primary);
    font-weight: 700;
}

.cart-drawer-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-md);
    font-weight: 700;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .featured-layout {
        grid-template-columns: 1fr;
    }
    
    .promo-column {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-tag {
        align-self: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust-row {
        justify-content: center;
    }

    .nav-menu {
        display: none; /* Controlled by mobile drawer */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: var(--radius-sm);
        background: var(--bg-muted);
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Smartwatch & Micro Devices (<= 340px) */
@media (max-width: 340px) {
    :root {
        --container-padding: 0.4rem;
    }

    .top-bar {
        display: none;
    }

    .search-bar-wrap {
        display: none;
    }

    .brand-logo-img {
        height: 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .cat-circle {
        width: 55px;
        height: 55px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
