/* ==========================================================================
   HERBANUSA E-COMMERCE TEMPLATE - STYLE.CSS
   Premium & Conversion-Focused Design System for Indonesian Herbal Market
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- Design Tokens / Variables --- */
:root {
    /* Primary Colors (Organic & Trust) */
    --primary-950: #193c30;
    --primary-900: #244d3d;
    --primary-800: #1b4d37;
    --primary-700: #225c42;
    --primary-600: #2e7d59;
    --primary-500: #3b9c70;
    --primary-100: #e0eadd;
    --primary-200: #c8d8c5;
    --primary-300: #a3bda0;
    --primary-50: #eaf0e9;

    /* Accent Colors (Premium Rempah & Gold) */
    --accent-gold: #c49a42;
    --accent-gold-hover: #b58f4f;
    --accent-gold-light: #f7f2e8;
    --accent-gold-dark: #8e6d36;

    /* Neutrals (Warm Cream & Charcoal) */
    --neutral-50: #ffffff;
    --neutral-100: #f6f8f5;
    --neutral-200: #e0e6df;
    --neutral-300: #cbd4c9;
    --neutral-400: #b8af9e;
    --neutral-500: #647063;
    --neutral-505: #cbd4c9;
    --neutral-600: #526152;
    --neutral-700: #415242;
    --neutral-800: #334335;
    --neutral-900: #223127;

    /* Utility Colors */
    --white: #ffffff;
    --black: #000000;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #376c87;
    --whatsapp-green: #25d366;
    --whatsapp-green-hover: #20ba5a;

    /* Gradients */
    --gradient-hero: #eaf0e9;
    --gradient-primary: linear-gradient(135deg, #143d2c 0%, #1b4d37 100%);
    --gradient-gold: linear-gradient(135deg, #c8a261 0%, #8e6d36 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);

    /* Typography */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Border Radius */
    --radius-xs: 0.25rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 0.875rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(28, 24, 19, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 24, 19, 0.08), 0 2px 4px -1px rgba(28, 24, 19, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(20, 61, 44, 0.08), 0 8px 10px -6px rgba(20, 61, 44, 0.05);
    --shadow-xl: 0 20px 35px -5px rgba(20, 61, 44, 0.12);
    --shadow-gold: 0 10px 20px -5px rgba(200, 162, 97, 0.3);
    --shadow-whatsapp: 0 8px 20px rgba(37, 211, 102, 0.35);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Safe Area for Mobile Sticky Bar */
    --mobile-nav-height: 70px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--neutral-50);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY PRESETS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--neutral-800);
}

.text-muted {
    color: var(--neutral-500);
}

.text-gold {
    color: var(--accent-gold);
}

.text-center { text-align: center; }

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-12 { grid-template-columns: repeat(12, 1fr); }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   BUTTONS & FORMS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary-900);
    color: var(--white);
    border: 2px solid var(--primary-900);
}

.btn-primary:hover {
    background-color: var(--primary-800);
    border-color: var(--primary-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent-gold);
    color: var(--white);
    border: 2px solid var(--accent-gold);
}

.btn-accent:hover {
    background: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    background-color: var(--primary-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
    border: 2px solid var(--whatsapp-green);
    box-shadow: var(--shadow-whatsapp);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-green-hover);
    border-color: var(--whatsapp-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* Forms styling */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-800);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    background-color: var(--white);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(46, 125, 89, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* ==========================================================================
   ANNOUNCEMENT BAR & HEADER
   ========================================================================== */
.announcement-bar {
    background-color: var(--primary-950);
    color: var(--neutral-100);
    font-size: 0.825rem;
    text-align: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    z-index: 1000;
    position: relative;
}

.announcement-bar a {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 600;
}

.site-header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.site-header.scrolled {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: var(--shadow-md);
}

.header-main {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--primary-900);
}

.logo-leaf {
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo span {
    color: var(--accent-gold);
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--neutral-800);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-900);
}

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

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

/* Search bar */
.header-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.header-search input {
    width: 100%;
    background-color: var(--neutral-100);
    padding: 0.65rem 1rem 0.65rem 2.75rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.header-search input:focus {
    background-color: var(--white);
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 156, 112, 0.1);
}

.search-btn {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-500);
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.action-btn {
    color: var(--primary-900);
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.5rem;
    border-radius: var(--radius-full);
}

.action-btn:hover {
    background-color: var(--neutral-100);
    color: var(--accent-gold);
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--error);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

.mobile-toggle {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(59, 156, 112, 0.05);
    border-radius: var(--radius-full);
    filter: blur(50px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-100);
    color: var(--primary-900);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--accent-gold);
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: var(--neutral-700);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust-badges {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.5rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-900);
}

.trust-badge-item svg {
    color: var(--accent-gold);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-circle {
    position: absolute;
    width: 450px;
    height: 450px;
    background-color: var(--neutral-100);
    border-radius: var(--radius-full);
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dashed var(--accent-gold);
}

.hero-image-wrapper img {
    position: relative;
    z-index: 2;
    max-width: 95%;
    filter: drop-shadow(0 20px 30px rgba(28, 24, 19, 0.15));
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-card-1 {
    bottom: 40px;
    left: 0;
}

.floating-card-2 {
    top: 40px;
    right: 0;
}

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

/* ==========================================================================
   USPs (UNIQUES SELLING POINTS)
   ========================================================================== */
.usps-section {
    background-color: var(--primary-950);
    color: var(--white);
    padding: 3rem 0;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.usp-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(200, 162, 97, 0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.usp-text h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
}

.usp-text p {
    color: var(--neutral-400);
    font-size: 0.825rem;
}

/* ==========================================================================
   CATEGORIES GRID
   ========================================================================== */
.category-circle-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.category-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    flex: 1;
    min-width: 150px;
}

.category-circle-img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    background-color: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.category-circle-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(20, 61, 44, 0.4);
    opacity: 0;
    transition: var(--transition-base);
}

.category-circle-item:hover .category-circle-img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.category-circle-item:hover .category-circle-img::after {
    opacity: 1;
}

.category-circle-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-900);
    text-align: center;
    transition: var(--transition-fast);
}

.category-circle-item:hover h4 {
    color: var(--accent-gold-dark);
}

/* ==========================================================================
   PRODUCT CARDS & GRID
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-100);
}

/* Badges overlay */
.product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-badge {
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

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

.badge-featured {
    background-color: var(--accent-gold);
    color: var(--white);
}

.badge-bpom {
    background-color: var(--primary-800);
    color: var(--white);
}

.wishlist-btn-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    color: var(--neutral-500);
    transition: all 0.2s ease;
    padding: 0;
}

.wishlist-btn-overlay:hover {
    color: var(--error, #ef4444);
    border-color: #fca5a5;
    background-color: var(--white);
    transform: scale(1.1);
}

.wishlist-btn-overlay.active {
    color: var(--error, #ef4444);
    border-color: #fca5a5;
    background-color: var(--white);
}

.wishlist-btn-overlay svg {
    width: 18px;
    height: 18px;
}

.wishlist-btn-overlay.active svg {
    fill: currentColor;
}

.btn-wishlist-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 1.25rem;
    height: 48px;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-md, 8px);
    background: var(--white);
    color: var(--neutral-700);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wishlist-detail:hover {
    color: var(--error, #ef4444);
    border-color: #fca5a5;
    background: #fef2f2;
}

.btn-wishlist-detail.active {
    color: var(--error, #ef4444);
    border-color: #fca5a5;
    background: #fef2f2;
}

.btn-wishlist-detail.active svg {
    fill: currentColor;
}

.wishlist-count {
    position: absolute;
    top: -1px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding-inline: 3px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: white;
    font-size: 10px;
    border: 2px solid white;
    display: none;
    font-weight: 700;
    line-height: 1;
}

.product-image-container {
    background-color: var(--neutral-100);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    transition: var(--transition-slow);
    max-height: 100%;
    object-fit: contain;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.quick-view-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    background-color: rgba(20, 61, 44, 0.95);
    color: var(--white);
    text-align: center;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.product-card:hover .quick-view-overlay {
    bottom: 0;
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    margin-bottom: 0.35rem;
}

.product-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
    line-height: 1.4;
}

.product-title a:hover {
    color: var(--accent-gold);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #ffc107;
    display: flex;
    font-size: 0.85rem;
}

.reviews-count {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
}

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

.price-discounted {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--neutral-400);
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.product-actions .btn {
    padding: 0.65rem;
    border-radius: var(--radius-sm);
    flex: 1;
}

.product-actions .btn-cart-add {
    background-color: var(--primary-50);
    border: 1px solid var(--primary-100);
    color: var(--primary-900);
}

.product-actions .btn-cart-add:hover {
    background-color: var(--primary-900);
    color: var(--white);
}

/* ==========================================================================
   FLASH SALE COUNTDOWN
   ========================================================================== */
.flash-sale-section {
    background: var(--gradient-primary);
    color: var(--white);
    overflow: hidden;
}

.flash-sale-section h2, .flash-sale-section h3 {
    color: var(--white);
}

.flash-sale-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 4rem;
}

.countdown-box {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2.5rem 0;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-width: 80px;
    text-align: center;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-label {
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neutral-300);
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.testimonial-section {
    background-color: var(--neutral-100);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--neutral-200);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--neutral-800);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.testimonial-author-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.testimonial-author-info p {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: var(--neutral-300);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--primary-900);
    width: 25px;
}

/* ==========================================================================
   BLOG / ARTICLES CARD & LAYOUT
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

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

.blog-card-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--primary-900);
    color: var(--white);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.blog-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--neutral-500);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 1rem;
}

.blog-card-title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--primary-900);
}

.blog-card-title a:hover {
    color: var(--accent-gold);
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.blog-card-readmore {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-800);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.blog-card-readmore:hover {
    color: var(--accent-gold);
    gap: 0.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--neutral-900);
    color: var(--neutral-300);
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 3px solid var(--accent-gold);
}

.site-footer h3, .site-footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.site-footer p {
    color: var(--neutral-400);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-btn:hover {
    background-color: var(--accent-gold);
    color: var(--white);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: var(--neutral-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 0.25rem;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    position: relative;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 0.85rem 3rem 0.85rem 1.25rem;
    border-radius: var(--radius-full);
}

.newsletter-form button {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-gold);
    color: var(--neutral-900);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background-color: var(--white);
}

.payments-and-shipping h5 {
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-body);
    margin-bottom: 0.75rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge-row img {
    height: 22px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 5px;
    border-radius: var(--radius-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--neutral-505);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   COLLECTION / SHOP PAGE STYLES
   ========================================================================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
}

.breadcrumbs a:hover {
    color: var(--primary-900);
}

.breadcrumbs svg {
    color: var(--neutral-400);
}

.collection-banner {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    text-align: center;
}

.collection-banner h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.collection-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.filter-sidebar {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: fit-content;
}

.filter-widget {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1.5rem;
}

.filter-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.filter-widget h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--primary-900);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-900);
}

.filter-range {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.range-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.range-inputs input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    text-align: center;
}

.collection-controls {
    margin-bottom: 2rem;
}

.collection-results-count {
    font-size: 0.9rem;
    color: var(--neutral-700);
}

.collection-sorting select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-full);
    background-color: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid var(--neutral-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.page-num.active, .page-num:hover {
    background-color: var(--primary-900);
    color: var(--white);
    border-color: var(--primary-900);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   ========================================================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main-img {
    background-color: var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 3rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neutral-200);
    overflow: hidden;
}

.gallery-main-img img {
    max-height: 100%;
    object-fit: contain;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-thumb {
    background-color: var(--neutral-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: var(--accent-gold);
    background-color: var(--white);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-brand {
    font-weight: 700;
    color: var(--accent-gold-dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.product-detail-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-rating .reviews-text {
    font-size: 0.9rem;
    color: var(--neutral-600);
}

.product-detail-price {
    background-color: var(--primary-50);
    border: 1px dashed var(--primary-100);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-price-actual {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-900);
}

.detail-price-compare {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--neutral-400);
}

.detail-badge-save {
    background-color: var(--error);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.product-meta-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.meta-item-row {
    display: flex;
    gap: 1rem;
}

.meta-item-label {
    font-weight: 700;
    width: 120px;
    color: var(--neutral-700);
}

.meta-item-value {
    color: var(--neutral-900);
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--success);
}

.product-variants {
    margin-bottom: 2rem;
}

.variants-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.variants-grid {
    display: flex;
    gap: 0.75rem;
}

.variant-btn {
    border: 1px solid var(--neutral-300);
    background-color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.variant-btn.active, .variant-btn:hover {
    border-color: var(--primary-900);
    background-color: var(--primary-50);
    color: var(--primary-900);
}

.quantity-and-buy {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quantity-input-box {
    display: flex;
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    height: 48px;
    align-items: center;
    background-color: var(--white);
}

.qty-btn {
    width: 40px;
    height: 100%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600);
}

.qty-btn:hover {
    color: var(--primary-900);
}

.qty-input {
    width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.buy-actions-wrapper {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.buy-actions-wrapper .btn {
    height: 48px;
    padding: 0 1.5rem;
}

.product-trust-badges-inline {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.5rem;
}

.trust-badge-inline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.trust-badge-inline-item svg {
    color: var(--accent-gold);
}

/* Detail Description Tabs */
.product-tabs-wrapper {
    margin-bottom: 4rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--neutral-200);
    margin-bottom: 2rem;
    gap: 2rem;
}

.tab-nav-btn {
    padding: 1rem 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-500);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.tab-nav-btn.active, .tab-nav-btn:hover {
    color: var(--primary-900);
}

.tab-nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-gold);
}

.tab-panel {
    display: none;
    line-height: 1.8;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-panel p {
    margin-bottom: 1.25rem;
}

.tab-panel ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Sticky Mobile Add to Cart */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
    padding: 0.75rem 1.5rem;
    display: none;
    z-index: 998;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.sticky-mobile-bar-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-mobile-bar-img {
    width: 45px;
    height: 45px;
    background-color: var(--neutral-100);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
}

.sticky-mobile-bar-title {
    font-size: 0.85rem;
    font-weight: 700;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-mobile-bar-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-900);
}

/* Reviews List Styles */
.reviews-summary-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
}

.rating-average-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--neutral-200);
    padding-right: 3rem;
}

.rating-average-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-bars-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.rating-bar-label {
    width: 60px;
    font-weight: 600;
}

.rating-bar-bg {
    flex: 1;
    height: 8px;
    background-color: var(--neutral-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background-color: #ffc107;
    border-radius: var(--radius-full);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--primary-100);
    color: var(--primary-900);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.review-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.725rem;
    color: var(--success);
    font-weight: 600;
}

.reviewer-date {
    font-size: 0.8rem;
    color: var(--neutral-500);
}

.review-comment {
    font-size: 0.95rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

/* ==========================================================================
   CART PAGE STYLES
   ========================================================================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
}

.cart-table-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.cart-table-header {
    display: grid;
    grid-template-columns: 3.5fr 1.5fr 1.5fr 1.5fr;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1rem;
    font-weight: 700;
    color: var(--primary-900);
    font-size: 0.9rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 3.5fr 1.5fr 1.5fr 1.5fr;
    align-items: center;
    border-bottom: 1px solid var(--neutral-200);
    padding: 1.5rem 0;
}

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

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-product-img {
    width: 80px;
    height: 80px;
    background-color: var(--neutral-100);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neutral-200);
}

.cart-product-img img {
    max-height: 100%;
    object-fit: contain;
}

.cart-product-details h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cart-product-details p {
    font-size: 0.825rem;
    color: var(--neutral-500);
}

.cart-price-cell {
    font-weight: 600;
}

.cart-subtotal-cell {
    font-weight: 700;
    color: var(--primary-900);
}

.cart-action-cell {
    text-align: right;
}

.btn-remove-item {
    color: var(--neutral-400);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-remove-item:hover {
    color: var(--error);
}

.cart-summary-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.cart-summary-card h3 {
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 1px solid var(--neutral-200);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
}

.promo-code-box {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.promo-code-box .form-control {
    padding: 0.65rem 1rem;
}

.promo-code-box .btn {
    padding: 0.65rem 1.5rem;
    border-radius: var(--radius-md);
}

/* Empty Cart View */
.empty-cart-container {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
}

.empty-cart-icon {
    font-size: 4rem;
    color: var(--neutral-300);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   CHECKOUT PAGE STYLES
   ========================================================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
}

.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-step-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.step-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 32px;
    height: 32px;
    background-color: var(--primary-900);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-title-row h3 {
    margin: 0;
    font-size: 1.35rem;
}

/* Courier select grid */
.courier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.courier-card {
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.courier-card.active, .courier-card:hover {
    border-color: var(--primary-900);
    background-color: var(--primary-50);
}

.courier-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-900);
}

.courier-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--neutral-700);
}

/* Payment select grid */
.payment-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-row {
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.payment-method-row.active, .payment-method-row:hover {
    border-color: var(--primary-900);
    background-color: var(--primary-50);
}

.payment-radio {
    margin-top: 0.25rem;
    accent-color: var(--primary-900);
    width: 18px;
    height: 18px;
}

.payment-details h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.payment-details p {
    font-size: 0.825rem;
    color: var(--neutral-500);
}

.order-summary-sidebar {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.order-summary-sidebar h3 {
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-item-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
}

.summary-item-inline-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-item-inline-img {
    width: 50px;
    height: 50px;
    background-color: var(--neutral-100);
    border-radius: var(--radius-xs);
    padding: 0.25rem;
}

.summary-item-inline-title {
    font-size: 0.85rem;
    font-weight: 700;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-inline-qty {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.summary-item-inline-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-900);
}

/* ==========================================================================
   BLOG / ARTICLE DETAIL PAGE
   ========================================================================== */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-header-category {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold-dark);
    font-size: 0.825rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.article-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--neutral-600);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-author img {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
}

.article-featured-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--neutral-800);
}

.article-content h2, .article-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    border-left: 4px solid var(--accent-gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.35rem;
    color: var(--primary-900);
}

.article-tags-share {
    border-top: 1px solid var(--neutral-200);
    border-bottom: 1px solid var(--neutral-200);
    padding: 1.5rem 0;
    margin: 3rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.tag-btn {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.825rem;
}

.tag-btn:hover {
    background-color: var(--primary-900);
    color: var(--white);
}

.article-share {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ==========================================================================
   CUSTOMER DASHBOARD PAGE STYLES
   ========================================================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

.dashboard-sidebar-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.dashboard-user-info {
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background-color: var(--primary-100);
    color: var(--primary-900);
    font-size: 2rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    border: 2px solid var(--accent-gold);
    overflow: hidden;
}

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

.dashboard-username {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-900);
    margin-bottom: 0.25rem;
}

.dashboard-role {
    font-size: 0.8rem;
    color: var(--neutral-500);
    font-weight: 600;
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dashboard-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--neutral-700);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dashboard-menu-item:hover, .dashboard-menu-item.active {
    background-color: var(--primary-50);
    color: var(--primary-900);
}

.dashboard-menu-item svg {
    color: var(--neutral-500);
    transition: var(--transition-fast);
}

.dashboard-menu-item:hover svg, .dashboard-menu-item.active svg {
    color: var(--primary-900);
}

.dashboard-content-card {
    background-color: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    min-height: 500px;
}

.dashboard-tab-panel {
    display: none;
}

.dashboard-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.dashboard-tab-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
    padding-bottom: 0.75rem;
}

/* Dashboard Summary Cards */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--primary-100);
    color: var(--primary-900);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h5 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-500);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-900);
}

/* Orders History Table */
.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.orders-table th, .orders-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-200);
}

.orders-table th {
    font-weight: 700;
    color: var(--primary-900);
    background-color: var(--neutral-50);
}

.orders-table td {
    font-size: 0.95rem;
}

.order-status-badge {
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.status-pending { background-color: var(--warning); color: var(--white); }
.status-processing { background-color: var(--info); color: var(--white); }
.status-shipping { background-color: var(--accent-gold); color: var(--white); }
.status-completed { background-color: var(--success); color: var(--white); }

/* Edit Address Cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.address-card {
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.address-card.primary {
    border-color: var(--primary-900);
    background-color: var(--primary-50);
}

.address-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: var(--primary-900);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
}

.address-card h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.address-card p {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.address-actions {
    display: flex;
    gap: 1rem;
}

.address-action-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-900);
    cursor: pointer;
}

.address-action-link:hover {
    color: var(--accent-gold-dark);
}

/* ==========================================================================
   GLOBAL TRANSITIONS, UTILITIES & ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-900);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Large Tablets & Small Laptops (up to 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .hero-content h1 { font-size: 2.75rem; }
    .hero-grid { gap: 2rem; }
    .hero-image-circle { width: 350px; height: 350px; }

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

    .collection-layout { grid-template-columns: 240px 1fr; }
    .product-detail-layout { gap: 2.5rem; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .dashboard-layout { grid-template-columns: 240px 1fr; }
}

/* Portrait Tablets & Large Phones (up to 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: var(--mobile-nav-height); /* Safe margin for sticky bottom bar */
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .main-nav {
        display: none; /* Hide standard nav on mobile */
    }

    .header-search {
        display: none; /* Hide header search, will show on mobile drawer if needed */
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-wrapper {
        order: 1;
        margin-bottom: 2rem;
    }

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

    .hero-trust-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .category-circle-grid {
        justify-content: center;
    }

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

    .flash-sale-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .countdown-box {
        justify-content: center;
    }

    .testimonials-slider {
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

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

    .collection-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        display: none; /* Sidebar filters hidden by default on mobile, triggered by a button */
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .quantity-and-buy {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-actions-wrapper {
        width: 100%;
    }

    .sticky-mobile-bar {
        display: flex;
    }

    .reviews-summary-grid {
        grid-template-columns: 1fr;
    }

    .rating-average-box {
        border-right: none;
        border-bottom: 1px solid var(--neutral-200);
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        position: relative;
        padding: 1.5rem;
        border: 1px solid var(--neutral-200);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
    }

    .cart-product-cell {
        flex-direction: column;
        text-align: center;
    }

    .cart-price-cell, .cart-subtotal-cell, .cart-action-cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--neutral-100);
        padding-top: 0.75rem;
        font-size: 0.95rem;
    }

    .cart-price-cell::before { content: 'Harga: '; font-weight: 600; color: var(--neutral-500); }
    .cart-subtotal-cell::before { content: 'Subtotal: '; font-weight: 700; color: var(--neutral-500); }
    .cart-action-cell::before { content: 'Hapus: '; font-weight: 600; color: var(--neutral-500); }

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

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Small Mobile Phones (up to 480px) */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }

    .hero-content h1 { font-size: 2.25rem; }
    .hero-image-circle { width: 280px; height: 280px; }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* HerbaNusa storefront refinement. Shared by all page variants. */
body { line-height: 1.65; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; }
h4, h5, h6 { letter-spacing: -0.015em; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #9a7325; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { max-width: 1280px; padding-inline: 40px; }
.section-padding { padding-block: 76px; }
.section-header { text-align: left; max-width: none; margin: 0 0 32px; }
.section-header h2 { padding: 0; margin-bottom: 10px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-header h2::after, .hero-section::before { display: none; }
.section-header p { max-width: 62ch; font-size: 0.95rem; }
.announcement-bar { background: var(--primary-900); padding: 9px 20px; letter-spacing: 0; font-size: 0.75rem; }
.announcement-bar a { color: #f0d591; text-underline-offset: 3px; }
.site-header { border-bottom: 1px solid var(--neutral-200); box-shadow: none; }
.site-header.scrolled { padding: 0; box-shadow: 0 4px 20px #244d3d0a; }
.header-main { height: 88px; gap: 26px; }
.logo { gap: 0; white-space: nowrap; font-size: 1.65rem; letter-spacing: -0.07em; flex-shrink: 0; }
.logo .logo-leaf { margin-right: 9px; color: var(--primary-900); }
.logo span { color: inherit; }
.main-nav { gap: 24px; flex-shrink: 0; }
.nav-link { font-size: 0.82rem; white-space: nowrap; }
.nav-link::after { background: var(--primary-900); }
.header-search { max-width: 245px; min-width: 120px; }
.header-search input { font-size: 0.78rem; border: 1px solid var(--neutral-200); border-radius: 6px; padding-block: 12px; }
.header-actions { gap: 8px; flex-shrink: 0; }
.action-btn { min-width: 40px; min-height: 40px; justify-content: center; }
.cart-count { position: absolute; top: -1px; right: -3px; min-width: 17px; height: 17px; padding-inline: 3px; border-radius: 50%; align-items: center; justify-content: center; background: var(--primary-900); color: white; font-size: 10px; border: 2px solid white; }
.btn { border-radius: 6px; font-size: 0.85rem; min-height: 46px; padding: 12px 22px; box-shadow: none; font-weight: 600; }
.btn:hover { transform: none; box-shadow: none; }
.btn-primary { background: var(--primary-900); }
.btn-whatsapp { color: var(--primary-900); background: white; border: 1px solid var(--neutral-300); box-shadow: none; }
.btn-whatsapp:hover { color: var(--primary-900); background: var(--primary-50); border-color: var(--primary-900); box-shadow: none; }
.btn-accent { color: var(--primary-950); }
.hero-section { padding: 44px 0 52px; background: var(--primary-50); }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; text-align: left; }
.hero-content { padding: 20px 0; }
.hero-content .hero-badge { padding: 0; background: none; border: none; border-radius: 0; font-size: 0.8rem; color: var(--neutral-600); font-weight: 500; margin-bottom: 20px; }
.hero-content h1 { font-size: clamp(2.5rem, 4.1vw, 3.8rem); line-height: 1.1; max-width: 12ch; margin-bottom: 24px; }
.hero-content h1 span { color: inherit; }
.hero-content p { font-size: 1rem; line-height: 1.8; max-width: 49ch; margin-bottom: 26px; }
.hero-actions { gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-trust-badges { gap: 24px; padding-top: 22px; }
.trust-badge-item { font-size: 0.75rem; font-weight: 500; }
.trust-badge-item svg { color: var(--primary-700); flex-shrink: 0; }
.hero-image-wrapper { display: block; border-radius: 90px 12px 12px 12px; overflow: hidden; isolation: isolate; }
.hero-image-circle { display: none; }
.hero-image-wrapper > img { width: 100%; max-width: none; height: 510px; object-fit: cover; filter: none; animation: none; border-radius: 0; }
.hero-image-caption { position: absolute; z-index: 3; bottom: 0; inset-inline: 0; padding: 20px 24px; background: #193c30ed; color: white; display: flex; flex-direction: column; gap: 3px; }
.hero-image-caption span { font-family: var(--font-heading); font-size: 1.3rem; }
.hero-image-caption a { font-size: 0.75rem; color: #dbe6d8; text-decoration: underline; text-underline-offset: 4px; }
.floating-card { border-radius: 6px; box-shadow: none; backdrop-filter: none; bottom: 20px; left: 20px; }
.usps-section { background: white; border-bottom: 1px solid var(--neutral-200); padding: 27px 0; }
.usp-grid { gap: 24px; }
.usp-icon { background: var(--primary-50); color: var(--primary-900); width: 40px; height: 40px; border-radius: 10px; }
.usp-text h4 { color: var(--primary-900); font-size: 0.8rem; }
.usp-text p { color: var(--neutral-500); font-size: 0.71rem; }
.category-circle-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.category-circle-item { min-width: 0; align-items: stretch; gap: 12px; }
.category-circle-img { width: 100%; height: 140px; border: 0; border-radius: 10px; box-shadow: none; }
.category-circle-img img { width: 100%; height: 100%; object-fit: cover; }
.category-circle-item h4 { font-size: 0.85rem; text-align: left; }
.category-circle-item:hover .category-circle-img { transform: none; box-shadow: none; }
.category-circle-img::after { display: none; }
.products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { border-radius: 10px; box-shadow: none; border-color: var(--neutral-200); }
.product-card:hover { transform: none; box-shadow: none; border-color: var(--primary-300); }
.product-image-container { padding: 0; aspect-ratio: 1.1; }
.product-image-container img { width: 100%; height: 100%; object-fit: cover; }
.product-card:hover .product-image-container img { transform: none; }
.product-info { padding: 20px; }
.product-image-wrap { aspect-ratio: 1.1; background: var(--neutral-100); overflow: hidden; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-content .product-rating .count { font-size: 0.7rem; color: var(--neutral-500); }
.product-content .product-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 18px; }
.price-current { font-weight: 700; color: var(--primary-900); }
.price-original { font-size: 0.75rem; color: var(--neutral-500); text-decoration: line-through; }
.product-content > .btn { margin-top: auto; }
.product-card > .product-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: white; color: var(--primary-900); }
.product-category, .product-badge, .product-detail-brand, .article-header-category { text-transform: none; letter-spacing: 0; }
.product-category { color: var(--neutral-600); font-size: 0.72rem; }
.product-title { letter-spacing: -0.015em; line-height: 1.5; font-size: 0.95rem; }
.product-badge { border-radius: 4px; font-size: 0.65rem; font-weight: 600; }
.badge-sale { background: #9c4537; }
.badge-featured { background: #efdeb3; color: #604716; }
.product-actions { gap: 8px; }
.product-actions .btn { min-width: 0; padding: 9px 11px; font-size: 0.72rem; min-height: 40px; }
.price-actual { font-size: 1.1rem; }
.flash-sale-section { background: var(--primary-900); }
.flash-sale-grid { gap: 64px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flash-sale-grid > * { min-width: 0; }
.flash-sale-grid .product-card { max-width: 100%; }
.flash-sale-content { max-width: 520px; }
.flash-sale-content h2 { font-size: 2.6rem; }
.flash-sale-content .hero-badge { border-radius: 4px; text-transform: none; font-size: 0.75rem; }
.countdown-box { gap: 12px; }
.countdown-item { background: #ffffff0d; border: 1px solid #ffffff26; border-radius: 6px; min-width: 58px; }
.countdown-number { font-family: var(--font-body); color: #f0d591; font-size: 1.55rem; }
.countdown-label { text-transform: none; letter-spacing: 0; }
.blog-card { box-shadow: none; border-radius: 10px; }
.blog-card:hover { box-shadow: none; }
.blog-card:hover img { transform: none; }
.blog-card-title { font-size: 1.08rem; letter-spacing: -0.02em; }
.blog-card-excerpt { font-size: 0.87rem; }
.testimonial-card { box-shadow: none; border: 1px solid var(--neutral-200); }
.testimonial-text { font-style: normal; }
.site-footer { background: var(--primary-950); border-top: none; }
.site-footer p, .site-footer li, .footer-bottom { color: #cbd8cd; }
.site-footer .logo, .site-footer .logo span { color: white; }
.footer-top { gap: 40px; padding-block: 60px 44px; }
.footer-links h4, .footer-newsletter h4 { font-family: var(--font-body); font-size: 0.9rem; }
.newsletter-form input { min-width: 0; width: 100%; border-radius: 6px; }
.newsletter-form button { border-radius: 4px; }
.collection-banner { background: var(--primary-50); padding: 40px; border-radius: 12px; text-align: left; }
.collection-banner h1 { color: var(--primary-900); font-size: clamp(2rem, 3vw, 2.7rem); }
.collection-banner p { color: var(--neutral-600); max-width: 64ch; margin: 12px 0 0; }
.collection-banner[style] h1, .collection-banner[style] p { color: white; }
.breadcrumb { font-size: 0.75rem; flex-wrap: wrap; }
.collection-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
.collection-layout:has(> main:first-child) { grid-template-columns: minmax(0, 1fr) 260px; }
.collection-layout > main, .dashboard-layout > *, .checkout-layout > *, .cart-layout > *, .grid > * { min-width: 0; }
.filter-sidebar { background: var(--neutral-100); padding: 22px; border-radius: 10px; }
.filter-widget h4 { font-family: var(--font-body); font-size: 0.85rem; }
.filter-checkbox-label { font-size: 0.78rem; }
.range-inputs input { width: 100%; min-width: 0; font-size: 0.75rem; }
.collection-controls { flex-wrap: wrap; gap: 14px; }
.collection-results-count { font-size: 0.8rem; }
.filter-toggle { display: none; }
.catalog-empty { padding: 40px 20px; background: var(--neutral-100); border-radius: 10px; text-align: center; }
.catalog-empty p { margin: 10px auto 20px; }
.gallery-main-img { border-radius: 12px; background: var(--neutral-100); box-shadow: none; }
.gallery-main-img img { object-fit: cover; border-radius: 6px; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-thumb { width: 100%; min-width: 0; }
.product-detail-title { font-size: clamp(2rem, 3vw, 2.8rem); }
.product-detail-rating { flex-wrap: wrap; }
.reviews-text { font-size: 0.78rem; }
.product-detail-price { flex-wrap: wrap; gap: 12px; }
.buy-actions-wrapper { flex-wrap: wrap; min-width: 0; }
.tabs-nav { overflow-x: auto; }
.tab-nav-btn { white-space: nowrap; font-size: 0.85rem; }
.article-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.article-content { max-width: 68ch; margin-inline: auto; }
.dashboard-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
.dashboard-sidebar-card, .dashboard-content-card, .checkout-step-card, .order-summary-sidebar, .cart-summary { box-shadow: none; border-radius: 10px; }
.dashboard-content-card { padding: 32px; }
.dashboard-menu-item { font-size: 0.85rem; }
.dashboard-stats-grid { gap: 14px; }
.stat-card { padding: 18px; gap: 12px; }
.stat-icon { flex-shrink: 0; }
.stat-info h5 { font-size: 0.75rem; }
.orders-table-wrapper { max-width: 100%; }
.orders-table th, .orders-table td { padding: 14px 12px; font-size: 0.8rem; }
.status-pending { background: #fff0cc; color: #795411; }
.status-shipping { background: #e5edf7; color: #365877; }
.status-completed { background: #e6efe4; color: #365a35; }
.form-control { border-radius: 6px; }
.summary-item-inline-left { min-width: 0; }
.summary-item-inline-img { flex-shrink: 0; }
.summary-item-inline-title { white-space: normal; line-height: 1.4; }
.summary-item-inline-price { white-space: nowrap; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; background: var(--primary-950); color: white; padding: 16px 22px; border-radius: 8px; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 32px); font-size: 0.85rem; }
.toast a { color: #f0d591; text-decoration: underline; margin-left: 12px; }
.animate-on-scroll { opacity: 1; transform: none; transition: none; }
@media (max-width: 1100px) {
    .container { padding-inline: 28px; }
    .header-main { gap: 18px; }
    .main-nav { gap: 18px; }
    .header-search { display: none; }
    .hero-grid { gap: 36px; }
    .hero-image-wrapper > img { height: 480px; }
    .product-actions { flex-wrap: wrap; }
    .product-actions .btn { flex: 1 1 auto; }
    .dashboard-stats-grid { grid-template-columns: 1fr; }
    .collection-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
    body { padding-bottom: 0; }
    body:has(.sticky-mobile-bar) { padding-bottom: 80px; }
    .container { padding-inline: 20px; }
    .section-padding { padding-block: 48px; }
    .announcement-bar { font-size: 0.67rem; padding: 8px 20px; }
    .header-main { height: 72px; gap: 8px; }
    .logo { font-size: 1.45rem; }
    .header-actions { gap: 2px; }
    .main-nav.active-mobile { display: flex; position: absolute; top: 100%; left: 0; width: 100%; padding: 16px 20px 24px; background: white; border-bottom: 1px solid var(--neutral-200); box-shadow: 0 12px 18px #244d3d10; flex-direction: column; gap: 4px; }
    .main-nav.active-mobile .nav-link { padding-block: 12px; }
    .main-nav .mobile-search { display: flex; }
    .mobile-search input { border: 1px solid var(--neutral-300); padding: 10px; min-width: 0; flex: 1; border-radius: 6px; }
    .mobile-search button { padding: 10px; color: var(--primary-900); font-weight: 600; }
    .hero-section { padding-block: 28px 32px; }
    .hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
    .hero-content { order: 0; padding: 0; }
    .hero-content h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); max-width: 15ch; }
    .hero-content p { font-size: 0.9rem; }
    .hero-content .hero-badge { font-size: 0.72rem; margin-bottom: 16px; }
    .hero-actions { justify-content: flex-start; gap: 10px; margin-bottom: 22px; }
    .hero-actions .btn { padding-inline: 15px; font-size: 0.77rem; }
    .hero-trust-badges { justify-content: flex-start; gap: 16px; padding-top: 18px; }
    .hero-image-wrapper { order: 1; margin: 0; border-radius: 50px 8px 8px 8px; }
    .hero-image-wrapper > img { height: 330px; }
    .hero-image-caption { padding: 15px 20px; }
    .usps-section { padding-block: 24px; }
    .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .usp-item { gap: 9px; align-items: flex-start; }
    .usp-icon { width: 30px; height: 30px; flex-shrink: 0; }
    .usp-text h4 { font-size: 0.7rem; }
    .usp-text p { font-size: 0.65rem; }
    .category-circle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 14px; }
    .category-circle-img { height: 100px; }
    .category-circle-item h4 { font-size: 0.72rem; }
    .products-grid, .collection-layout .products-grid[style] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
    .product-info { padding: 13px; }
    .product-content { padding: 13px; }
    .product-content > .btn { padding-inline: 8px; font-size: 0.75rem; }
    .product-title { font-size: 0.82rem; }
    .product-badges { top: 8px; left: 8px; }
    .product-badge { font-size: 0.55rem; padding: 4px 6px; }
    .product-rating { flex-wrap: wrap; gap: 4px; }
    .reviews-count { font-size: 0.65rem; }
    .product-price-row { flex-wrap: wrap; gap: 4px; }
    .price-actual { font-size: 0.95rem; }
    .price-discounted { font-size: 0.7rem; }
    .product-actions { flex-direction: column; gap: 6px; }
    .product-actions .btn { width: 100%; font-size: 0.67rem; padding-inline: 5px; }
    .flash-sale-grid { text-align: left; gap: 30px; grid-template-columns: minmax(0, 1fr); }
    .countdown-item { min-width: 52px; padding: 10px; }
    .countdown-box { justify-content: flex-start; }
    .grid.grid-2, .collection-layout, .collection-layout:has(> main:first-child), .dashboard-layout { grid-template-columns: minmax(0, 1fr); }
    .grid.grid-2[style] { gap: 28px !important; }
    .blog-grid[style] { grid-template-columns: minmax(0, 1fr) !important; }
    .collection-banner { padding: 28px 22px; }
    .collection-banner p { font-size: 0.85rem; }
    .filter-toggle { display: inline-flex; width: fit-content; }
    .filter-sidebar.is-open { display: block; }
    .collection-layout > main + .filter-sidebar { display: block; }
    .collection-sorting { display: flex; align-items: center; width: 100%; }
    .collection-sorting select { flex: 1; min-width: 0; }
    .dashboard-layout { gap: 22px; }
    .dashboard-sidebar-card { padding: 20px; }
    .dashboard-user-info { display: none; }
    .dashboard-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .dashboard-menu-item { font-size: 0.74rem; padding: 10px; }
    .dashboard-menu-item svg { flex-shrink: 0; width: 18px; }
    .dashboard-content-card { padding: 20px; }
    .dashboard-tab-title { font-size: 1.55rem; }
    .dashboard-content-card .info-card-grid { grid-template-columns: minmax(0, 1fr); }
    .dashboard-content-card .profile-form-section { padding: 18px; }
    .dashboard-content-card .flex-between { flex-wrap: wrap; gap: 12px; }
    .order-summary-sidebar, .checkout-step-card, .cart-summary { padding: 20px; position: static; }
    .cart-product-cell { flex-direction: row; text-align: left; }
    .dashboard-content-card .cart-item-row[style] { grid-template-columns: minmax(0, 1fr) !important; padding: 14px; }
    .article-header { text-align: left; margin-bottom: 24px; }
    .article-meta-row { justify-content: flex-start; flex-wrap: wrap; gap: 10px; }
    .article-content { font-size: 1rem; }
    .article-tags { flex-wrap: wrap; }
    .footer-top { gap: 32px; padding-block: 40px 32px; }
    .footer-bottom { align-items: flex-start; text-align: left; font-size: 0.72rem; }
    .footer-bottom-links { flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .toast { bottom: 90px; }
    .back-to-top { right: 18px; bottom: 90px; }
}
.mobile-search { display: none; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 12px 20px; background: white; color: var(--primary-900); z-index: 3000; border: 1px solid var(--primary-900); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.status-pending[style] { color: white; }
@media (max-width: 360px) {
    .container { padding-inline: 16px; }
    .hero-actions .btn { width: 100%; }
    .header-actions > .action-btn:first-child { display: none; }
    .hero-trust-badges { gap: 8px; }
    .trust-badge-item { font-size: 0.67rem; }
}
/* ==========================================
   CART DRAWER STYLES
   ========================================== */
body.drawer-open {
    overflow: hidden;
}

.cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(25, 60, 48, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

body.drawer-open .cart-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 420px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--white, #ffffff);
    box-shadow: -8px 0 32px rgba(25, 60, 48, 0.16);
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--neutral-200, #e0e6df);
    background: var(--white, #ffffff);
}

.cart-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-drawer-title {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-900, #244d3d);
    margin: 0;
}

.cart-drawer-count {
    color: var(--primary-600, #2e7d59);
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--neutral-200, #e0e6df);
    background: var(--neutral-100, #f6f8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600, #526152);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.cart-drawer-close:hover {
    background: var(--primary-50, #eaf0e9);
    color: var(--primary-900, #244d3d);
    border-color: var(--primary-200, #c8d8c5);
}

.cart-drawer-shipping {
    padding: 12px 24px;
    background: var(--primary-50, #eaf0e9);
    border-bottom: 1px solid var(--primary-100, #e0eadd);
}

.cart-drawer-shipping-copy {
    font-size: 0.8rem;
    color: var(--primary-900, #244d3d);
    margin-bottom: 8px;
    line-height: 1.4;
}

.cart-drawer-shipping-copy strong {
    font-weight: 600;
    color: var(--primary-900, #244d3d);
}

.cart-drawer-shipping-bar-bg {
    height: 6px;
    background: var(--primary-200, #c8d8c5);
    border-radius: 999px;
    overflow: hidden;
}

.cart-drawer-shipping-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-600, #2e7d59) 0%, var(--accent-gold, #c49a42) 100%);
    border-radius: 999px;
    transition: width 0.35s ease;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    overscroll-behavior: contain;
}

.cart-drawer-items {
    display: flex;
    flex-direction: column;
}

.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--neutral-200, #e0e6df);
}

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

.cart-drawer-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--neutral-200, #e0e6df);
    background: var(--neutral-100, #f6f8f5);
}

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

.cart-drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.cart-drawer-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.cart-drawer-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neutral-900, #223127);
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-drawer-item-remove {
    background: none;
    border: none;
    padding: 4px;
    color: var(--neutral-400, #b8af9e);
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-drawer-item-remove:hover {
    color: var(--error, #ef4444);
    background: #fee2e2;
}

.cart-drawer-item-variant {
    font-size: 0.78rem;
    color: var(--neutral-500, #647063);
    margin-top: 2px;
}

.cart-drawer-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.cart-drawer-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--neutral-300, #cbd4c9);
    border-radius: 6px;
    overflow: hidden;
    background: var(--neutral-50, #ffffff);
}

.drawer-qty-btn {
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-700, #415242);
    transition: background 0.15s ease;
    padding: 0;
}

.drawer-qty-btn:hover {
    background: var(--neutral-200, #e0e6df);
}

.drawer-qty-val {
    min-width: 26px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neutral-900, #223127);
    user-select: none;
}

.cart-drawer-item-price {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-900, #244d3d);
}

.cart-drawer-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--neutral-200, #e0e6df);
    background: var(--neutral-100, #f6f8f5);
}

.cart-drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cart-drawer-subtotal-row .subtotal-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-700, #415242);
}

.cart-drawer-subtotal-row .subtotal-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-900, #244d3d);
}

.cart-drawer-notice {
    font-size: 0.76rem;
    color: var(--neutral-500, #647063);
    margin: 0 0 16px 0;
    line-height: 1.4;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-drawer-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
}

.cart-drawer-actions .btn-view-cart {
    border-color: var(--neutral-300, #cbd4c9);
    color: var(--neutral-700, #415242);
    background: var(--white, #ffffff);
}

.cart-drawer-actions .btn-view-cart:hover {
    background: var(--neutral-200, #e0e6df);
    color: var(--neutral-900, #223127);
}

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 44px 16px;
    min-height: 280px;
}

.cart-drawer-empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-50, #eaf0e9);
    color: var(--primary-600, #2e7d59);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.cart-drawer-empty h4 {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 1.15rem;
    color: var(--primary-900, #244d3d);
    margin: 0 0 8px 0;
}

.cart-drawer-empty p {
    font-size: 0.85rem;
    color: var(--neutral-600, #526152);
    margin: 0 0 20px 0;
    max-width: 260px;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100%;
    }
    .cart-drawer-header,
    .cart-drawer-shipping,
    .cart-drawer-body,
    .cart-drawer-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==========================================
   WISHLIST DRAWER STYLES
   ========================================== */
body.wishlist-open {
    overflow: hidden;
}

.wishlist-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(25, 60, 48, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

body.wishlist-open .wishlist-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.wishlist-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 420px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: var(--white, #ffffff);
    box-shadow: -8px 0 32px rgba(25, 60, 48, 0.16);
    display: flex;
    flex-direction: column;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.wishlist-open .wishlist-drawer {
    transform: translateX(0);
}

.wishlist-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--neutral-200, #e0e6df);
    background: var(--white, #ffffff);
}

.wishlist-drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-drawer-title {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-900, #244d3d);
    margin: 0;
}

.wishlist-drawer-count {
    color: #dc2626;
    font-weight: 600;
    font-size: 0.95rem;
}

.wishlist-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--neutral-200, #e0e6df);
    background: var(--neutral-100, #f6f8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-600, #526152);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.wishlist-drawer-close:hover {
    background: var(--primary-50, #eaf0e9);
    color: var(--primary-900, #244d3d);
    border-color: var(--primary-200, #c8d8c5);
}

.wishlist-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    overscroll-behavior: contain;
}

.wishlist-drawer-items {
    display: flex;
    flex-direction: column;
}

.wishlist-drawer-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--neutral-200, #e0e6df);
    align-items: center;
}

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

.wishlist-drawer-footer {
    padding: 18px 24px;
    border-top: 1px solid var(--neutral-200, #e0e6df);
    background: var(--neutral-100, #f6f8f5);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wishlist-drawer-footer .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 480px) {
    .wishlist-drawer {
        width: 100%;
    }
    .wishlist-drawer-header,
    .wishlist-drawer-body,
    .wishlist-drawer-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* ---- Herbal Custom Content Page & Rich Text ---- */
.page-main-section .page-header h1 { font-family: 'Fraunces', Georgia, serif !important; font-size: clamp(2.2rem, 4.2vw, 3.2rem) !important; color: var(--primary-900, #244d3d); line-height: 1.15; }
.page-content, .page-content.rich-text, .page-content.rte, .page-content.prose, .rich-text, .rte, .prose { max-width: 760px; margin-inline: auto; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16.5px; line-height: 1.85; color: var(--neutral-800, #334335); word-break: break-word; }
.page-content > *:first-child, .rich-text > *:first-child, .rte > *:first-child, .prose > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.page-content > *:last-child, .rich-text > *:last-child, .rte > *:last-child, .prose > *:last-child { margin-bottom: 0 !important; }
.page-content h1, .rich-text h1, .rte h1, .prose h1 { font-family: 'Fraunces', serif; font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; margin-top: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; color: var(--primary-900, #244d3d); }
.page-content h2, .rich-text h2, .rte h2, .prose h2 { font-family: 'Fraunces', serif; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin-top: clamp(2rem, 3.8vw, 2.75rem); margin-bottom: 0.95rem; color: var(--primary-900, #244d3d); }
.page-content h3, .rich-text h3, .rte h3, .prose h3 { font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.35; font-weight: 600; margin-top: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; color: var(--primary-900, #244d3d); }
.page-content h4, .rich-text h4, .rte h4, .prose h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 1.35rem; margin-bottom: 0.5rem; color: var(--primary-900, #244d3d); }
.page-content p, .rich-text p, .rte p, .prose p { margin-top: 0; margin-bottom: 1.5rem; line-height: 1.85; color: var(--neutral-800, #334335); }
.page-content ul, .page-content ol, .rich-text ul, .rich-text ol, .rte ul, .rte ol, .prose ul, .prose ol { margin-top: 0; margin-bottom: 1.65rem; padding-left: 1.75rem; color: var(--neutral-800, #334335); }
.page-content li, .rich-text li, .rte li, .prose li { margin-bottom: 0.6rem; line-height: 1.8; }
.page-content li:last-child, .rich-text li:last-child, .rte li:last-child, .prose li:last-child { margin-bottom: 0; }
.page-content blockquote, .rich-text blockquote, .rte blockquote, .prose blockquote { margin: 1.85rem 0; padding: 1.1rem 1.6rem; border-left: 3px solid var(--accent-gold, #c49a42); background: var(--accent-gold-light, #f7f2e8); border-radius: 0 4px 4px 0; font-family: 'Fraunces', serif; font-style: italic; font-size: 1.15rem; line-height: 1.65; color: var(--primary-900, #244d3d); }
.page-content blockquote p:last-child, .rich-text blockquote p:last-child, .rte blockquote p:last-child, .prose blockquote p:last-child { margin-bottom: 0; }
.page-content img, .rich-text img, .rte img, .prose img { max-width: 100%; height: auto; border-radius: 8px; margin-block: 1.75rem; display: block; }
.page-content hr, .rich-text hr, .rte hr, .prose hr { border: 0; height: 1px; background: var(--neutral-200, #e0e6df); margin: 2.5rem 0; }
.page-content a, .rich-text a, .rte a, .prose a { color: var(--primary-600, #2e7d59); text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.page-content a:hover, .rich-text a:hover, .rte a:hover, .prose a:hover { color: var(--primary-900, #244d3d); }
.page-content table, .rich-text table, .rte table, .prose table { width: 100%; border-collapse: collapse; margin-block: 2rem; font-size: 0.95rem; }
.page-content th, .page-content td, .rich-text th, .rich-text td, .rte th, .rte td, .prose th, .prose td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--neutral-200, #e0e6df); text-align: left; }
.page-content th, .rich-text th, .rte th, .prose th { font-family: 'Fraunces', serif; font-weight: 600; color: var(--primary-900, #244d3d); border-bottom: 2px solid var(--primary-900, #244d3d); }



.page-main-section .page-header { text-align: center; }
.page-main-section .page-header h1 { text-align: center; margin-inline: auto; }
.page-main-section .breadcrumbs, .page-main-section .breadcrumb { display: flex; justify-content: center; align-items: center; text-align: center; margin-inline: auto; }

