/* --- CSS DESIGN SYSTEM TOKEN DEFINITIONS --- */
:root {
    /* Color Palette Archetypes */
    --primary-green: #b0584a;
    --primary-green-hover: #96453a;
    --secondary-green-soft: #f9efe9;
    --accent-gold: #dda15e;
    --bg-cream-pure: #fdf8f5;
    --bg-cream-light: #f9f1ec;
    --text-dark: #33262a;
    --text-muted: #6e5b60;
    --white: #ffffff;
    --border-color-soft: rgba(176, 88, 74, 0.08);
    --container-max-width: 1200px;
    --section-padding-space: 100px;
    --transition-smooth-curves: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --luxury-shadow-sm: 0 4px 20px rgba(51, 38, 42, 0.03);
    --luxury-shadow-md: 0 12px 36px rgba(51, 38, 42, 0.06);
    --border-radius-card: 16px;
    --border-radius-pill: 100px;
    --green-deep: #5e2b33;
    --green-mid: #8c4238;
    --green-accent: #c06b50;
    --green-light: #db9878;
    --green-pale: #f7e2d8;
    --green-mist: #faf0ea;
    --cream: #fdf9f5;
    --warm-white: #ffffff;
    --gold: #c8a96e;
    --text-dark: #2e2023;
    --text-mid: #5a4348;
    --text-muted: #93797f;
    --border: #eed9cd;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* --- BASE STYLING SETUP --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Figtree", sans-serif;
    background-color: var(--bg-cream-pure);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Scales */
h1,
h2,
h3,
h4,
h5,
.editorial-font {
    font-family: "Prata", serif;
    font-weight: 700;
    color: var(--text-dark);
}

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

button {
    font-family: inherit;
}

/* Structural Components */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.section-padding {
    padding-top: var(--section-padding-space);
    padding-bottom: var(--section-padding-space);
}

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

.text-primary {
    color: var(--primary-green);
}

/* Reusable Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.view-all-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Reusable Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-pill);
    transition: var(--transition-smooth-curves);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(176, 88, 74, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
    padding: 0.73rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: 1.5px solid var(--green-deep);
    transition:
        background 0.2s,
        color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* --- 1. ANNOUNCEMENT BAR --- */
.announcement-bar {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: none;
}

.announcement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.announcement-container i {
    margin-right: 4px;
}

.announcement-container .divider {
    opacity: 0.3;
}

/* --- 1B. HEADER BANNER --- */
.header-banner {
    background-color: var(--secondary-cream);
    padding: 14px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color-soft);
}

.header-banner-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.header-banner p {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
}

.header-banner i {
    margin-right: 6px;
    color: var(--primary-green);
}

.header-banner a {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header-banner a:hover {
    color: var(--accent-gold);
}

/* --- 2. STICKY HEADER --- */
.main-header {
    position: fixed;
    /* top: 40px; */
    /* Offset for announcement bar height */
    left: 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color-soft);
    z-index: 1000;
    transition: var(--transition-smooth-curves);
}

.main-header.scrolled {
    top: 0;
    background-color: rgba(251, 249, 246, 0.95);
    box-shadow: var(--luxury-shadow-sm);
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: block;
    max-width: 170px;
}

.logo img {
    width: 100%;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.dropdown-icon {
    font-size: 10px;
    opacity: 0.6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-icon-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 6px;
    position: relative;
    transition: var(--transition-smooth-curves);
}

.action-icon-btn:hover {
    color: var(--primary-green);
}

.cart-btn-container {
    display: flex;
    align-items: center;
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
}

/* --- 3. HERO SECTION --- */
.hero-section {
    background: linear-gradient(180deg, #fdf8f5 0%, #f9f1ec 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: block;
    position: relative;
    z-index: 2;
    padding-top: 180px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: clamp(44px, 5vw, 64px);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-content {
    max-width: 50%;
}

.hero-title span {
    font-style: italic;
    font-weight: 400;
    color: var(--primary-green);
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    border-top: 1px solid var(--border-color-soft);
    padding-top: 24px;
}

.hero-feat-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    width: calc(50% - 12.5px);
}

.hero-feat-item i {
    color: var(--primary-green);
    font-size: 30px;
}

.hero-section {
    position: relative;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: right;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slider .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-slider .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    margin: 0 5px;
    transition:
        background 0.2s,
        width 0.2s;
}

.hero-slider .owl-dots .owl-dot.active {
    background: var(--primary-green);
    width: 24px;
    border-radius: 4px;
}

/* --- 4. FEATURE STRIP --- */
.feature-strip {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color-soft);
    padding: 32px 0;
}

.strip-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.strip-icon {
    font-size: 24px;
    color: var(--primary-green);
    background-color: var(--secondary-green-soft);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strip-text h4 {
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.strip-text p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- 5. SHOP BY CATEGORY --- */
.categories-section {
    background: var(--green-mist);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-title-centered {
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 440px;
    text-align: center;
    margin: 0 auto 2.5rem;
}

.view-all-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-mid);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 20px;
    transition:
        background 0.2s,
        color 0.2s;
    white-space: nowrap;
}

.view-all-link:hover {
    background: var(--green-mist);
    border-color: var(--green-accent);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
}

.category-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    border: 1px solid var(--border);
    background: var(--cream);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 60, 30, 0.1);
}

.category-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--green-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.category-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 50%,
            rgba(30, 60, 30, 0.15));
    pointer-events: none;
}

.category-card-body {
    padding: 0.85rem 1rem;
}

.category-card-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.category-card-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Hover States for Category Items */
.category-card:hover .category-img-container {
    transform: translateY(-6px);
    box-shadow: var(--luxury-shadow-md);
}

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

.category-card:hover h3 {
    color: var(--primary-green);
}

/* --- 6. BEST SELLERS PRODUCT CARD SLIDER --- */
#bestsellers {
    background: #fff;
}

.products-section {
    background: var(--cream);
}

.products-slider-wrap {
    position: relative;
}

/* .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  } */
.product-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(30, 60, 30, 0.1);
}

.product-card-img {
    aspect-ratio: 1;
    background: var(--green-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    font-size: 4rem;
}

/* Ebook cover — replaces <img> with a CSS-drawn card */
.product-card-img.ebook-cover {
    background: linear-gradient(150deg, #33161c 0%, #5e2b33 45%, #8c4238 100%);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.ebook-cover-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px 18px;
    gap: 10px;
    height: 100%;
}

.ebook-cover-brand {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ebook-cover-title {
    font-family: "Prata", serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
}

.ebook-cover-tagline {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

.product-card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 60, 30, 0.03);
    transition: background 0.2s;
}

.product-card:hover .product-card-img-overlay {
    background: rgba(30, 60, 30, 0.06);
}

.product-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: var(--green-deep);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.sale {
    background: #c0392b;
}

.product-badge.new {
    background: var(--green-accent);
}

.wishlist-btn {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--warm-white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    z-index: 2;
    transition:
        color 0.2s,
        border-color 0.2s;
}

.wishlist-btn:hover {
    color: #c0392b;
    border-color: #c0392b;
}

.product-card-body {
    padding: 1rem 10px;
}

.product-stars {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.35rem;
}

.stars {
    color: var(--gold);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

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

.product-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.product-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.price-new {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: var(--green-deep);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-add-cart:hover {
    background: var(--green-mid);
}

.slider-arrows {
    display: flex;
    gap: 0.5rem;
}

.slider-arrow {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: var(--warm-white);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.2s;
    cursor: pointer;
}

.slider-arrow:hover {
    border-color: var(--green-accent);
    color: var(--green-deep);
    background: var(--green-mist);
}

/* --- 7. WHY CHOOSE True Wellness --- */
.why-section {
    background: var(--green-mist);
}

.why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.why-person-img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 0.85;
    background: linear-gradient(160deg, #f2cdb9, #dba183);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7rem;
    position: relative;
    overflow: hidden;
}

.why-promise-card {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(30, 60, 30, 0.1);
    min-width: 200px;
}

.why-promise-title {
    font-family: "Prata", serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    font-size: 0.78rem;
}

.promise-item:last-child {
    margin-bottom: 0;
}

.promise-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--green-mist);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-accent);
    font-size: 0.75rem;
}

.promise-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.78rem;
}

.promise-sub {
    color: var(--text-muted);
    font-size: 0.71rem;
}

.why-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.why-desc {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.why-checklist {
    list-style: none;
    margin-bottom: 1.5rem;
}

.why-checklist li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: var(--text-mid);
    padding: 0.4rem 0;
}

.why-checklist li i {
    color: var(--green-accent);
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--green-deep);
    color: #fff;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    border: none;
    transition:
        background 0.2s,
        transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--green-mid);
    transform: translateY(-1px);
}

/* --- 8. TESTIMONIALS SECTION --- */
.reviews-section {
    background: var(--warm-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.review-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    position: relative;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 60, 30, 0.07);
}

.review-quote-icon {
    font-size: 2.5rem;
    color: var(--green-pale);
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.review-text {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-mid);
    font-family: var(--font-display);
    flex-shrink: 0;
}

.review-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
}

.review-stars {
    color: var(--gold);
    font-size: 0.78rem;
}

.reviews-section .owl-dots {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 2rem;
}

.reviews-section .owl-dots .owl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    transition:
        background 0.2s,
        width 0.2s;
}

.reviews-section .owl-dots .owl-dot.active {
    background: var(--green-accent);
    width: 24px;
    border-radius: 4px;
}

.review-quote-icon {
    color: #8c4238;
    margin: 0;
}

/* --- 10. ECO TRUST BRAND BENEFITS STRIP --- */
.brand-benefits-strip {
    background-color: var(--secondary-green-soft);
    border-top: 1px solid var(--border-color-soft);
    border-bottom: 1px solid var(--border-color-soft);
    padding: 24px 0;
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.benefit-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- 11. PREMIUM CONVERSION FOOTER --- */
.main-footer {
    background-color: #46242b;
    color: #e6dee0;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    /* grid-template-columns: 1.2fr repeat(3, 0.6fr) 1.2fr; */
    grid-template-columns: 1.2fr repeat(2, 1fr) 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: block;
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    width: 100%;
}

.brand-description {
    font-size: 14px;
    color: #b3a0a4;
    margin-bottom: 24px;
}

.social-links-row {
    display: flex;
    gap: 12px;
}

.social-links-row a {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.social-links-row a:hover {
    background-color: var(--primary-green);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    font-size: 14px;
    color: #b3a0a4;
}

.footer-links-list a:hover {
    color: var(--white);
    padding-left: 2px;
}

.newsletter-col p {
    font-size: 14px;
    color: #b3a0a4;
    margin-bottom: 20px;
}

.newsletter-input-group {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-pill);
    padding: 4px;
}

.newsletter-field {
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--white);
    font-size: 14px;
    flex-grow: 1;
}

.newsletter-field:focus {
    outline: none;
}

.newsletter-field::placeholder {
    color: #7e6d72;
}

.newsletter-submit-btn {
    background-color: var(--white);
    color: var(--primary-green);
    border: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth-curves);
}

.newsletter-submit-btn:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Legal Footer Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    font-size: 13px;
    color: #92787e;
}

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

.legal-links {
    display: flex;
    gap: 24px;
}

/* --- RESPONSIVE ADAPTABILITY MATRIX --- */

/* Tablets Viewport (1024px down) */
@media (max-width: 1024px) {
    :root {
        --section-padding-space: 80px;
    }

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

    .newsletter-col {
        grid-column: span 4;
        max-width: 480px;
    }

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

    .category-card:last-child {
        display: none;
        /* Hide fifth card smoothly to preserve symmetric grid rows */
    }

    .why-choose-container {
        grid-template-columns: 1.2fr 1.8fr;
    }

    .why-choose-center-img {
        display: none;
    }
}

/* Mobile Architecture Switch (768px down) */
@media (max-width: 980px) {

    .main-header {
        top: 0;
        /* Align directly flush */
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--bg-cream-pure);
        flex-direction: column;
        padding: 40px;
        gap: 24px;
        transition: var(--transition-smooth-curves);
        box-shadow: var(--luxury-shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .hero-features {
        max-width: 440px;
        margin: 0 auto;
    }

    .strip-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-slider-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-track {
        grid-template-columns: 1fr;
    }

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

    .blog-intro-card {
        position: static;
        text-align: center;
    }

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

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

    .newsletter-col {
        grid-column: span 2;
    }

    .why-person-img {
        max-width: 100%;
    }

    .why-person-img img {
        width: 100%;
    }



}

/* --- CART DRAWER --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background-color: var(--white);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

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

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

.cart-drawer-title {
    font-family: "Prata", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-title i {
    font-size: 20px;
    color: var(--primary-green);
}

.cart-drawer-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-drawer-close:hover {
    background: var(--green-mist);
    color: var(--text-dark);
    border-color: var(--primary-green);
}

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

.cart-empty {
    text-align: center;
    padding: 40px 20px;
}

.cart-empty i {
    font-size: 48px;
    color: var(--border);
    margin-bottom: 16px;
}

.cart-empty p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.cart-empty .btn-shop-now {
    background: var(--green-deep);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cart-empty .btn-shop-now:hover {
    background: var(--green-mid);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

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

.cart-item-image {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--green-mist);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cart-item-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    margin-top: auto;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.quantity-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    background: var(--green-mist);
}

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

.subtotal-label {
    font-size: 15px;
    color: var(--text-mid);
}

.subtotal-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-checkout-btn {
    width: 100%;
    background: var(--green-deep);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-checkout-btn:hover {
    background: var(--green-mid);
}

.cart-continue-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: var(--primary-green);
    text-decoration: underline;
    cursor: pointer;
}

.cart-continue-link:hover {
    color: var(--green-mid);
}

.category-card-img img,
.product-card-img img {
    width: 100%;
}

/* Hidden src carrier for the ebook — the CSS cover is the visual */
.product-card-img img.ebook-thumb {
    display: none;
}

/* Restore ebook image inside the cart drawer */
.cart-item-image img[src$="wellness-guide-ebook.svg"] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Checkout Page Specific Styles */
.checkout-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #fdf8f5 0%, #f9f1ec 100%);
    min-height: 100vh;
}

.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-muted);
}

.checkout-breadcrumb a {
    color: var(--text-muted);
}

.checkout-breadcrumb a:hover {
    color: var(--primary-green);
}

.checkout-breadcrumb i {
    font-size: 10px;
}

.checkout-breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.checkout-title {
    font-size: clamp(32px, 4vw, 44px);
    margin-bottom: 40px;
    color: var(--text-dark);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.checkout-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.checkout-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-card-title {
    font-family: "Prata", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-card-title i {
    color: var(--primary-green);
    font-size: 18px;
}

.checkout-card-title .step-number {
    width: 28px;
    height: 28px;
    background: var(--green-deep);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Figtree", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.checkout-card-change {
    font-size: 13px;
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 500;
}

.checkout-card-change:hover {
    text-decoration: underline;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(176, 88, 74, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-error {
    display: none;
    color: #d32f2f;
    font-size: 0.775rem;
    margin-top: 5px;
    font-weight: 500;
}

.form-input.input-error,
.form-select.input-error {
    border-color: #d32f2f !important;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1) !important;
}

.form-select {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237a8c7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.saved-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding: 12px;
    background: var(--green-mist);
    border-radius: var(--radius-sm);
}

.saved-info i {
    color: var(--green-accent);
}

.shipping-method {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.shipping-option:hover {
    border-color: var(--primary-green);
}

.shipping-option.selected {
    border-color: var(--primary-green);
    background: var(--green-mist);
}

.shipping-option input[type="radio"] {
    display: none;
}

.shipping-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shipping-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipping-option.selected .shipping-radio {
    border-color: var(--primary-green);
}

.shipping-option.selected .shipping-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
}

.shipping-option-details h4 {
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.shipping-option-details p {
    font-size: 12px;
    color: var(--text-muted);
}

.shipping-option-price {
    font-weight: 600;
    color: var(--text-dark);
}

.shipping-option-price.free {
    color: var(--green-accent);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.payment-option:hover {
    border-color: var(--primary-green);
}

.payment-option.selected {
    border-color: var(--primary-green);
    background: var(--green-mist);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-radio {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-option.selected .payment-radio {
    border-color: var(--primary-green);
}

.payment-option.selected .payment-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
}

.payment-icon {
    width: 48px;
    height: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.payment-option-label {
    font-weight: 500;
    color: var(--text-dark);
}

.card-fields {
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease;
}

/* Order Summary Sidebar */
.order-summary {
    position: sticky;
    top: 120px;
}

.order-summary-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--luxury-shadow-md);
}

.order-summary-title {
    font-family: "Prata", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.order-item {
    display: flex;
    gap: 12px;
}

.order-item-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--green-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order-item-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.order-item-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.order-item-qty {
    font-size: 12px;
    color: var(--text-muted);
}

.order-item-price {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    text-align: right;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

.order-summary-row.label {
    color: var(--text-muted);
}

.order-summary-row.value {
    color: var(--text-dark);
    font-weight: 500;
}

.order-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.order-summary-total .amount {
    font-size: 24px;
    color: var(--primary-green);
}

.place-order-btn {
    width: 100%;
    background: var(--green-deep);
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.place-order-btn:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.secure-checkout i {
    color: var(--green-accent);
}

.guarantees {
    /* display: flex; */
    display: none;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.guarantee-item i {
    font-size: 14px;
    color: var(--primary-green);
}

/* Privacy Policy Page Specific Styles */
.policy-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #fdf8f5 0%, #f9f1ec 100%);
    min-height: calc(100vh - 200px);
}

.policy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.policy-header {
    text-align: center;
    margin-bottom: 48px;
}

.policy-title {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.policy-meta {
    font-size: 14px;
    color: var(--text-muted);
}

.policy-meta strong {
    color: var(--text-dark);
}

.policy-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.policy-section {
    margin-bottom: 36px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: "Prata", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.policy-section p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 16px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.policy-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.6;
}

.policy-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

.policy-section a {
    color: var(--primary-green);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--green-mid);
}

.contact-box {
    background: var(--green-mist);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.contact-box h3 {
    font-family: "Prata", serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-box p {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 8px;
}

.contact-box p:last-child {
    margin-bottom: 0;
}

.contact-box a {
    color: var(--primary-green);
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-green);
}

/* Thank You Page Specific Styles */
.thankyou-page {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(180deg, #fdf8f5 0%, #f9f1ec 100%);
    min-height: calc(100vh - 200px);
}

.thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.thankyou-icon {
    width: 100px;
    height: 100px;
    background: var(--green-mist);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hero readability: keep all copy inside a high-contrast safe column. */
@media (min-width: 981px) {
    .hero-image-wrapper::after {
        background: linear-gradient(90deg, rgba(253, 248, 245, 0) 38%, rgba(253, 248, 245, 0.9) 55%, #fdf8f5 72%, #fdf8f5 100%);
    }

    .hero-container {
        max-width: none;
        padding-right: clamp(48px, 6vw, 120px);
    }

    .hero-content {
        width: min(590px, 42vw);
        max-width: 590px;
        color: #3b252a;
    }

    .hero-content .section-eyebrow {
        color: #6b3038;
        font-size: 0.78rem;
        font-weight: 700;
    }

    .hero-title {
        max-width: 590px;
        margin-bottom: 24px;
        font-size: clamp(46px, 3.8vw, 66px);
        line-height: 0.98;
        overflow-wrap: normal;
    }

    .hero-title span {
        display: block;
        margin-top: 8px;
        font-size: 0.88em;
        line-height: 1.02;
    }

    .hero-description {
        max-width: 560px;
        margin-bottom: 26px;
        color: #5d4a4f;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-cta-group {
        margin-bottom: 26px;
    }

    .hero-features {
        max-width: 560px;
        padding-top: 22px;
        color: #3b252a;
    }

    .hero-feat-item {
        color: #3b252a;
        font-size: 0.9rem;
    }
}

@media (min-width: 981px) and (max-width: 1280px) {
    .hero-content {
        width: 46vw;
    }

    .hero-title {
        font-size: clamp(42px, 4.5vw, 56px);
    }

    .hero-description {
        font-size: 0.94rem;
    }
}

.thankyou-icon i {
    font-size: 48px;
    color: var(--green-accent);
}

.thankyou-title {
    font-size: clamp(36px, 5vw, 52px);
    margin-bottom: 16px;
    color: var(--text-dark);
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thankyou-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.order-number {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 32px;
    margin-bottom: 48px;
    animation: fadeInUp 0.5s ease-out 0.4s both;
}

.order-number-label {
    font-size: 16px;
    color: #009688;
    font-weight: 600;
}


.order-number-value {
    font-family: "Prata", serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.order-details-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: left;
    margin-bottom: 48px;
    animation: fadeInUp 0.5s ease-out 0.5s both;
}

.order-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.order-detail-item h4 {
    font-family: "Figtree", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #009688;
    margin-bottom: 8px;
}

.order-detail-item p {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 4px;
}

.order-detail-item span {
    font-size: 13px;
    color: var(--text-muted);
}

.order-summary-section {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-top: 32px;
}

.order-summary-title {
    font-family: "Prata", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--green-mist);
    flex-shrink: 0;
}

.order-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
    text-align: left;
}

.order-item-info .name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
}

.order-item-info .qty {
    font-size: 13px;
    color: var(--text-muted);
}

.order-item-info .price {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    text-align: right;
}

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

.order-total-row .label {
    font-size: 15px;
    color: var(--text-muted);
}

.order-total-row .amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

.thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s ease-out 0.6s both;
    align-items: center;
}

.btn-continue-shopping {
    background: var(--green-deep);
    color: #fff;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-continue-shopping:hover {
    background: var(--green-mid);
    transform: translateY(-2px);
}

.btn-track-order {
    background: transparent;
    color: var(--primary-green);
    padding: 16px 32px;
    border: 1.5px solid var(--primary-green);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-track-order:hover {
    background: var(--primary-green);
    color: #fff;
    transform: translateY(-2px);
}

.support-note {
    margin-top: 48px;
    padding: 24px;
    background: #eedbd2;
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.5s ease-out 0.7s both;
}

.support-note h4 {
    font-family: "Prata", serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.support-note p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.support-note a {
    color: var(--primary-green);
    font-weight: 500;
}

.support-note a:hover {
    text-decoration: underline;
}

/* --- ORDER PROCESSING OVERLAY --- */
.order-processing-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 42, 26, 0.55);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.order-processing-overlay.active {
    display: flex;
}

.order-processing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 52px 44px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(26, 42, 26, 0.22);
    animation: overlayCardIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes overlayCardIn {
    from {
        opacity: 0;
        transform: scale(0.88) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.processing-spinner {
    width: 58px;
    height: 58px;
    border: 4px solid var(--green-pale, #f7e2d8);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.85s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-icon {
    font-size: 3.2rem;
    color: var(--primary-green);
    margin-bottom: 18px;
    animation: successPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes successPop {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.processing-title {
    font-family: "Prata", serif;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.processing-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.btn-continue-shopping {
    display: inline-block;
    margin-top: 0;
    padding: 12px 28px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.25s ease;
}

.btn-continue-shopping:hover {
    background: var(--primary-green-hover);
    color: var(--white);
}

/* --- FAQ PAGE STYLES --- */
.faq-header {
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.faq-header img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.faq-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--green-deep);
    line-height: 1;
}

.faq-header p {
    color: var(--green-deep);
    font-size: 1.1rem;
}

.faq-header .container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, calc(-50% + 50px));
}

.faq-header .container .faq-hero-container {
    max-width: 550px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color-soft);
    padding-bottom: 0.5rem;
    color: var(--primary-green);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--luxury-shadow-sm);
    transition: var(--transition-smooth-curves);
}

.faq-item:hover {
    box-shadow: var(--luxury-shadow-md);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-question i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- SEARCH MODAL --- */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    animation: fadeIn 0.3s ease;
}

.search-modal.active {
    display: flex;
    align-items: center;
}

.search-modal-content {
    background-color: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: var(--luxury-shadow-md);
}

.search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-smooth-curves);
}

.search-close:hover {
    color: var(--text-dark);
}

.search-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.search-modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.search-modal-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    font-size: 16px;
    border: 2px solid var(--border-color-soft);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth-curves);
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.search-suggestions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color-soft);
}

.search-suggestions h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    padding: 8px 16px;
    background-color: var(--bg-cream-light);
    border-radius: var(--border-radius-pill);
    font-size: 13px;
    color: var(--text-dark);
    transition: var(--transition-smooth-curves);
}

.search-tag:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* --- LOGIN SIDEBAR --- */
.login-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.login-sidebar.active {
    display: block;
}

.login-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.login-sidebar-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 380px;
    height: 100%;
    background-color: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    animation: slideInRight 0.3s ease;
    display: flex;
    flex-direction: column;
}

.login-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    transition: var(--transition-smooth-curves);
}

.login-close:hover {
    color: var(--text-dark);
}

.login-sidebar-header {
    padding: 48px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border-color-soft);
}

.login-logo {
    max-width: 140px;
    margin-bottom: 12px;
}

.login-sidebar-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.login-options {
    flex: 1;
    padding: 16px 0;
    overflow-y: auto;
}

.login-option {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    gap: 16px;
    transition: var(--transition-smooth-curves);
    border-left: 3px solid transparent;
}

.login-option:hover {
    background-color: var(--bg-cream-light);
    border-left-color: var(--primary-green);
}

.login-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bg-cream-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary-green);
}

.login-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.login-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.login-option>.fa-chevron-right {
    color: var(--text-muted);
    font-size: 12px;
}

.login-sidebar-footer {
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--border-color-soft);
}

.login-sidebar-footer p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.login-signup-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-signup-link:hover {
    color: var(--accent-gold);
}

/* Sign Up Panel */
.login-signup-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.login-signup-panel.active {
    display: flex;
}

.login-back-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 16px;
    transition: var(--transition-smooth-curves);
}

.login-back-btn:hover {
    color: var(--primary-green);
}

.login-signup-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-signup-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.login-signup-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.login-signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color-soft);
    border-radius: var(--radius-md);
    font-size: 14px;
    transition: var(--transition-smooth-curves);
    font-family: inherit;
}

.login-input-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

.login-submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth-curves);
    margin-top: 8px;
}

.login-submit-btn:hover {
    background-color: var(--primary-green-hover);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border-color-soft);
}

.login-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.login-google-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--border-color-soft);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth-curves);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-google-btn:hover {
    border-color: var(--text-dark);
}

.login-google-btn i {
    font-size: 18px;
}

.login-terms {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.login-terms a {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Login Panel */
.login-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.login-forgot {
    text-align: right;
    margin-top: -8px;
}

.login-forgot a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-forgot a:hover {
    color: var(--primary-green);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-form .login-input-group {
    margin-bottom: 4px;
}

.login-form .login-forgot {
    margin-top: 4px;
    margin-bottom: 8px;
}

/* Forgot Password Panel */
.forgot-password-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.forgot-password-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

    .hero-float-pill {
        display: none;
    }

    .why-promise-card {
        position: static;
        transform: none;
        margin-top: 1.5rem;
    }

    .why-visual-wrap {
        flex-direction: column;
    }

    .strip-container {
        max-width: 600px;
    }

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

    .order-summary {
        position: static;
        order: -1;
    }
}

@media (max-width: 980px) {
    .announcement-bar {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .trust-bar-inner {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

    .why-inner {
        grid-template-columns: 1fr;
    }

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

    .nav-links {
        display: none;
    }

    .trust-item+.trust-item {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 1rem;
    }

    .trust-badges-grid {
        gap: 1.2rem;
    }

    .hero-content {
        max-width: 100%;
        position: relative;
        z-index: 4;
    }

    .hero-image-wrapper:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: rgba(94, 43, 51, 0.4);
    }

    .hero-image-wrapper img {
        object-position: center;
    }

    .hero-cta-group {
        flex-wrap: Wrap;
    }

    .hero-title,
    .hero-title span,
    .hero-description {
        color: #fff;
    }

    .hero-content .btn-secondary {
        color: #fff;
        border-color: #fff;
    }

    .hero-feat-item,
    .hero-feat-item i {
        color: #fff;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        max-width: 580px;
    }

    .checkout-page {
        padding-top: 80px;
    }

    .checkout-card {
        padding: 24px;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }

    .guarantees {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .policy-page {
        padding-top: 80px;
    }

    .policy-card {
        padding: 32px 24px;
    }

    .policy-section h2 {
        font-size: 22px;
    }

    .thankyou-page {
        padding-top: 80px;
    }

    .order-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .order-detail-item {
        text-align: center;
    }

    .order-number {
        flex-direction: column;
        gap: 8px;
    }

    .thankyou-actions {
        flex-direction: column;
    }

    .btn-continue-shopping,
    .btn-track-order {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-container {
        padding-top: 140px;
        padding-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .why-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .why-visual-wrap {
        width: 100%;
    }

    .faq-header img {
        height: 400px;
        object-position: left;
    }

    .search-modal-content {
        max-width: 90%;
    }
}

/* --- MEGAMENU --- */
.nav-item {
    position: relative;
}

.nav-item.has-megamenu>.nav-link {
    position: relative;
    z-index: 1;
}

.megamenu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(30, 60, 30, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
    pointer-events: none;
}

.main-header.scrolled .megamenu {
    top: 76px;
}

/* .nav-item.has-megamenu:hover > .megamenu,
.nav-item.has-megamenu:focus-within > .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
} */

.nav-item.has-megamenu .megamenu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .3s ease;
}

.nav-item.has-megamenu.active .megamenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* --- NORMAL DROPDOWN --- */
.nav-item.has-dropdown {
    position: relative;
}

.nav-item.has-dropdown>.nav-link {
    position: relative;
    z-index: 1;
}

.nav-item.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 200px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(30, 60, 30, 0.12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
    pointer-events: none;
    list-style: none;
    margin: 0;
}

.nav-item.has-dropdown:hover>.dropdown,
.nav-item.has-dropdown:focus-within>.dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-item.has-dropdown .dropdown li {
    margin: 0;
}

.nav-item.has-dropdown .dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-mid);
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-item.has-dropdown .dropdown li a:hover {
    background: var(--green-mist);
    color: var(--primary-green);
    padding-left: 24px;
}

/* Mobile normal dropdown */
@media (max-width: 980px) {
    .nav-item.has-dropdown .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 0;
        list-style: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        pointer-events: auto;
        z-index: auto;
        width: 100%;
    }

    .nav-item.has-dropdown:hover>.dropdown,
    .nav-item.has-dropdown:focus-within>.dropdown {
        transform: translateX(0) translateY(0);
    }

    .nav-item.has-dropdown.active .dropdown {
        /* max-height controlled by JavaScript */
    }

    .nav-item.has-dropdown .dropdown li {
        margin: 0;
        list-style: none;
    }

    .nav-item.has-dropdown .dropdown li a {
        display: block;
        width: 100%;
        padding: 12px 20px;
        color: var(--text-dark);
        font-size: 14px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .nav-item.has-dropdown .dropdown li a:hover {
        background: var(--green-mist);
        color: var(--primary-green);
        padding-left: 24px;
    }
}

.megamenu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.megamenu-col h4 {
    font-family: "Figtree", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.megamenu-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.megamenu-col ul li {
    margin-bottom: 10px;
}

.megamenu-col ul li a {
    font-size: 14px;
    color: var(--text-mid);
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.megamenu-col ul li a:hover {
    color: var(--primary-green);
    padding-left: 4px;
}

.megamenu-banner {
    display: flex;
    background: linear-gradient(135deg,
            var(--green-deep) 0%,
            var(--green-mid) 100%);
    border-radius: var(--radius-lg);
    margin-top: 0;
    overflow: hidden;
}

.banner-content {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-tag {
    display: inline-block;
    background: var(--green-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 12px;
    display: none;
}

.banner-content h5 {
    font-family: "Prata", serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--green-deep);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

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

.banner-image {
    width: 200px;
    flex-shrink: 0;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Categories Megamenu */
.megamenu-cats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease;
}

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

.cat-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--green-mist);
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cat-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Mobile Megamenu */
@media (max-width: 980px) {
    .megamenu {
        display: block;
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        pointer-events: auto;
        z-index: auto;
    }

    .nav-item.has-megamenu.active .megamenu {
        max-height: 500px;
    }

    .megamenu-container {
        padding: 16px 0 0 0;
    }

    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .megamenu-col h4 {
        font-size: 12px;
        margin-bottom: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .megamenu-col h4::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 10px;
        transition: transform 0.3s ease;
    }

    .megamenu-col.expanded h4::after {
        transform: rotate(180deg);
    }

    .megamenu-col ul {
        display: none;
        padding-left: 12px;
    }

    .megamenu-col.expanded ul {
        display: block;
    }

    .megamenu-banner {
        display: none;
    }

    /* Mobile Categories Megamenu */
    .megamenu-cats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cat-card .cat-img {
        aspect-ratio: 1.2;
    }

    .cat-card span {
        font-size: 12px;
    }

    /* Mobile nav item dropdown toggle */
    .nav-item.has-megamenu>.nav-link .dropdown-icon {
        transition: transform 0.3s ease;
    }

    .nav-item.has-megamenu.active>.nav-link .dropdown-icon {
        transform: rotate(180deg);
    }

    .faq-header .container .faq-hero-container {
        max-width: 315px;
    }
}

/* Tiny Screen Breakpoint (480px down) */
@media (max-width: 480px) {
    .section-header {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .strip-container {
        grid-template-columns: 1fr;
    }

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

    .category-card:last-child {
        display: block;
    }

    .product-slider-container {
        grid-template-columns: 1fr;
    }

    .why-choose-container {
        grid-template-columns: 1fr;
    }

    .brand-promise-card {
        padding: 24px;
    }

    .benefits-container {
        justify-content: center;
    }

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

    .newsletter-col {
        grid-column: span 1;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* --- CTA BANNER SECTION --- */
.cta-banner-section {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/hero-image1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(94, 43, 51, 0.85);
    /* Deep green overlay */
    z-index: 2;
}

.relative-z {
    position: relative;
    z-index: 3;
}

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

.cta-banner-content h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.25rem;
}

.cta-banner-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-banner-content .btn-primary {
    background: var(--white);
    color: var(--green-deep);
}

.cta-banner-content .btn-primary:hover {
    background: var(--accent-gold);
    color: var(--white);
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.5rem;
    }
}

.faq-contact-list {
    padding-left: 20px;
}

nav#navMenu>div:nth-of-type(2) {
    display: none;
}

nav#navMenu>a:nth-of-type(1),
nav#navMenu>a:nth-of-type(2),
nav#navMenu>a:nth-of-type(4) {
    display: none;
}


@media (max-width: 980px) {
    .main-header {
        background-color: rgba(251, 249, 246, 0.95);
    }

    .thankyou-icon {
        margin: 32px auto;
    }
}

@media (max-width:845px) {
    .benefits-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }
}




@media (min-width:1000px) and (max-width:1199px) {
    .product-name {
        font-weight: 600;
        font-size: 0.88rem;
        color: var(--text-dark);
        margin-bottom: 0.15rem;
        min-height: 46px;
    }
}

/* ============================================================
   RESTYLE LAYER — Rose & Terracotta spa edition
   (skin-site identity: distinct from the green essentials site
   and the purple weight-loss site)
   ============================================================ */

/* Typography rhythm */
body {
    letter-spacing: 0.01em;
}

h1,
h2,
h3,
.section-title,
.hero-title,
.checkout-title,
.thankyou-title {
    font-family: "Prata", serif;
    font-weight: 400;
    letter-spacing: 0.005em;
}

/* Anchor sections clear the sticky header */
section[id],
[id="bestsellers"],
[id="categories"],
[id="reviews"],
[id="why"] {
    scroll-margin-top: 110px;
}

/* Header: ivory bar with a hairline rose rule */
.main-header {
    background: rgba(253, 248, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(176, 88, 74, 0.14);
    box-shadow: none;
}

.nav-link {
    font-family: "Figtree", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

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

/* Buttons: soft-square terracotta, uppercase tracking */
.btn-primary,
.banner-btn,
.place-order-btn,
.login-submit-btn,
.btn-continue-shopping {
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.82rem;
    background: var(--primary-green);
    box-shadow: 0 10px 24px rgba(176, 88, 74, 0.22);
}

.btn-primary:hover,
.banner-btn:hover,
.place-order-btn:hover,
.btn-continue-shopping:hover {
    background: #7c3a34;
    box-shadow: 0 12px 28px rgba(124, 58, 52, 0.28);
}

.btn-secondary,
.btn-track-order {
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.82rem;
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-secondary:hover,
.btn-track-order:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-add-cart {
    border-radius: 10px;
    border: 1.5px solid var(--green-accent);
    background: transparent;
    color: var(--green-mid);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.btn-add-cart:hover {
    background: var(--green-accent);
    border-color: var(--green-accent);
    color: var(--white);
}

/* Hero: blush wash + framed imagery */
.hero-section {
    background: linear-gradient(135deg, #fdf3ee 0%, #fbe9e0 55%, #f7ddd2 100%);
}

.hero-slide {
    background: transparent;
}

.hero-title {
    color: #5e2b33;
}

.hero-title em,
.hero-title span {
    color: var(--primary-green);
    font-style: italic;
}

.hero-image-wrapper {
    border-radius: 24px 24px 160px 24px;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 48px rgba(94, 43, 51, 0.16);
}

.hero-img {
    border-radius: 0;
}

/* Feature strip: deep rosewood band */
.feature-strip {
    background: #5e2b33;
}

.feature-strip .strip-icon,
.feature-strip i {
    color: #e9b98c;
}

.feature-strip .strip-text h4,
.feature-strip h4 {
    color: #fdf3ee;
}

.feature-strip .strip-text p,
.feature-strip p {
    color: rgba(253, 243, 238, 0.72);
}

/* Section titles: centered flourish rule */
.section-title {
    color: #5e2b33;
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--green-accent), transparent);
}

/* Category cards: arched portraits — signature skincare motif */
.category-card {
    background: transparent;
    border: none;
    box-shadow: none;
}

.category-card-img,
.category-card img {
    border-radius: 999px 999px 20px 20px;
}

.category-card-img {
    border: 1px solid var(--border);
    background: #fbe9e0;
    overflow: hidden;
}

.category-card:hover .category-card-img {
    box-shadow: 0 18px 36px rgba(176, 88, 74, 0.18);
}

/* Product cards: flat ivory with blush border */
.product-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: none;
    transition: var(--transition-smooth-curves);
}

.product-card:hover {
    border-color: var(--green-accent);
    box-shadow: 0 16px 36px rgba(176, 88, 74, 0.14);
    transform: translateY(-4px);
}

.product-card-img {
    background: #fbf1ec;
}

.price-new {
    color: var(--primary-green);
    font-weight: 700;
}

.product-badge {
    background: var(--primary-green);
    color: #fff;
    border-radius: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Section background rhythm: alternating blush panels */
.categories-section {
    background: var(--bg-cream-pure);
}

.products-section {
    background: linear-gradient(180deg, #fdf8f5 0%, #fbeee7 100%);
}

.why-section {
    background: #fdf8f5;
}

.reviews-section {
    background: linear-gradient(180deg, #fbeee7 0%, #fdf8f5 100%);
}

.reviews-section .review-card,
.review-card {
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: none;
}

/* Carousel controls */
.customNextBtn,
.customPrevBtn {
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
    border-radius: 10px;
}

.customNextBtn:hover,
.customPrevBtn:hover {
    background: var(--primary-green);
    color: #fff;
}

/* Cart drawer + badge */
.cart-badge {
    background: var(--primary-green);
}

.cart-checkout-btn {
    background: var(--primary-green);
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cart-checkout-btn:hover {
    background: #7c3a34;
}

/* Checkout & thank-you accents */
.checkout-card,
.order-details-card,
.order-summary-card {
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: none;
}

.step-number {
    background: var(--primary-green);
}

.thankyou-icon {
    background: var(--primary-green);
    box-shadow: 0 14px 32px rgba(176, 88, 74, 0.28);
}

/* Footer: deep rosewood */
.main-footer {
    background: #46242b;
}

.main-footer .footer-links-list a:hover,
.main-footer a:hover {
    color: #e9b98c;
}

.footer-bottom {
    background: #3a1d23;
}

/* Force-close menus after a link inside them is clicked */
.megamenu.menu-hidden,
.dropdown.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
}

/* ============================================================
   RESTYLE LAYER 2 — structural layout
   (new page anatomy: split hero, floating feature card,
   staggered categories, rosewood why-panel, banner footer)
   ============================================================ */

/* --- Header: two-tier centered masthead (desktop) --- */
@media (min-width: 981px) {
    .main-header .header-container {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 14px 24px 0;
        position: relative;
    }

    .main-header .nav-menu {
        order: 3;
        gap: 40px;
        padding: 8px 0 12px;
    }

    .main-header .header-actions {
        position: absolute;
        right: 24px;
        top: 20px;
    }

    .main-header .logo {
        margin: 0 auto;
    }
}

/* --- Hero: overlay slider becomes an editorial split --- */
.hero-slide {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 170px 24px 110px;
    min-height: 0;
}

.hero-image-wrapper {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 540px;
    order: 2;
    border-radius: 320px 320px 28px 28px;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: 0 30px 60px rgba(94, 43, 51, 0.18);
}

.hero-image-wrapper::after {
    content: none;
}

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

.hero-container {
    order: 1;
    padding: 0;
    max-width: none;
}

.hero-content {
    max-width: 100%;
}

@media (min-width: 981px) {
    .hero-content {
        padding: 38px 42px 34px;
        background: rgba(255, 253, 250, 0.94);
        border: 1px solid rgba(94, 43, 51, 0.12);
        border-radius: 28px;
        box-shadow: 0 24px 60px rgba(94, 43, 51, 0.1);
    }

    .hero-content .section-eyebrow {
        margin-bottom: 16px;
    }

    .hero-description {
        margin-bottom: 28px;
    }

    .hero-cta-group {
        margin-bottom: 30px;
    }
}

.hero-title {
    font-size: clamp(40px, 4.6vw, 62px);
}

.hero-features {
    border-top: 1px dashed rgba(176, 88, 74, 0.35);
}

/* soft decorative blob behind the hero image */
.hero-section::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -140px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(219, 152, 120, 0.25), transparent 70%);
    pointer-events: none;
}

.hero-slider .owl-dots {
    justify-content: flex-start;
    padding-left: 24px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    left: 0;
    right: 0;
}

@media (max-width: 980px) {
    .hero-slide {
        grid-template-columns: 1fr;
        padding: 130px 20px 90px;
        gap: 1.6rem;
    }

    .hero-image-wrapper {
        order: 1;
        height: 300px;
        border-radius: 200px 200px 20px 20px;
    }

    .hero-container {
        order: 2;
    }
}

/* --- Feature strip: floating rosewood card overlapping the hero --- */
.feature-strip {
    background: transparent;
    border-bottom: none;
    padding: 0;
    position: relative;
    z-index: 5;
    margin-top: -64px;
}

.feature-strip .strip-container {
    background: #5e2b33;
    border-radius: 22px;
    padding: 30px 36px;
    box-shadow: 0 24px 48px rgba(94, 43, 51, 0.24);
}

@media (max-width: 980px) {
    .feature-strip {
        margin-top: -40px;
    }

    .feature-strip .strip-container {
        padding: 24px;
        margin: 0 20px;
    }
}

/* --- Section headers: left-aligned titles with side rule --- */
.section-header .section-title {
    padding-bottom: 16px;
}

.section-header .section-title::after {
    left: 0;
    transform: none;
    width: 48px;
    background: var(--green-accent);
}

/* --- Categories: staggered grid rhythm --- */
.categories-grid {
    align-items: start;
}

@media (min-width: 769px) {
    .categories-grid .category-card:nth-child(even) {
        transform: translateY(34px);
    }

    .categories-grid .category-card:nth-child(even):hover {
        transform: translateY(30px);
    }

    .categories-section .container {
        padding-bottom: 40px;
    }
}

/* --- Why: full-bleed mist section becomes a rosewood panel --- */
.why-section {
    background: transparent;
}

.why-inner {
    background: linear-gradient(150deg, #5e2b33 0%, #46242b 100%);
    border-radius: 32px;
    padding: 72px 64px;
    max-width: var(--container-max-width);
}

.why-inner .why-text {
    order: 2;
}

.why-inner .why-visual-wrap {
    order: 1;
}

.why-inner .why-title {
    color: #fdf3ee;
}

.why-inner .why-desc {
    color: rgba(253, 243, 238, 0.78);
}

.why-inner .why-checklist li {
    color: rgba(253, 243, 238, 0.92);
}

.why-inner .why-checklist li i {
    color: #e9b98c;
}

.why-inner .btn-primary {
    background: #e9b98c;
    color: #46242b;
    box-shadow: none;
}

.why-inner .btn-primary:hover {
    background: #f2cdb9;
    color: #46242b;
}

@media (max-width: 980px) {
    .why-inner {
        padding: 44px 24px;
        border-radius: 24px;
    }
}

/* --- Reviews: alternating tones with a gentle stagger --- */
.review-slider .review-card {
    border-radius: 24px;
    background: var(--warm-white);
}

@media (min-width: 981px) {
    .review-slider .owl-item:nth-child(even) .review-card {
        background: #f7e2d8;
        margin-top: 28px;
    }
}

/* --- Ebook cover: rosewood gradient (replaces green) --- */
.product-card-img.ebook-cover {
    background: linear-gradient(150deg, #33161c 0%, #5e2b33 45%, #8c4238 100%);
}

/* --- Footer: centered brand banner above link columns --- */
.footer-grid {
    grid-template-columns: repeat(3, 1fr);
}

.footer-grid .brand-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 36px;
    margin-bottom: 12px;
}

.footer-grid .brand-description {
    max-width: 520px;
}

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

/* Two-tier header: drop fixed megamenu below the taller masthead */
@media (min-width: 981px) {
    .megamenu {
        top: 110px;
    }
}

/* ============================================================
   RESTYLE LAYER 3 — section-level layouts
   (Best Sellers mosaic, Why breakout panel, Reviews spotlight)
   ============================================================ */

/* --- Best Sellers: carousel becomes an editorial mosaic grid --- */
.products-section .slider-arrow {
    display: none;
}

.products-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.products-mosaic .product-card {
    margin: 0;
}

.products-mosaic .product-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.products-mosaic .product-card:first-child .product-card-img {
    aspect-ratio: auto;
    flex: 1;
    min-height: 360px;
}

.products-mosaic .product-card:first-child .product-name {
    font-family: "Prata", serif;
    font-size: 1.45rem;
}

.products-mosaic .product-card:first-child .price-new {
    font-size: 1.3rem;
}

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

    .products-mosaic .product-card:first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .products-mosaic .product-card:first-child .product-card-img {
        min-height: 280px;
    }
}

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

    .products-mosaic .product-card:first-child {
        grid-column: auto;
    }
}

/* --- Why: image breaks out of the rosewood panel, checklist becomes glass tiles --- */
.why-inner {
    grid-template-columns: 0.9fr 1.1fr;
    overflow: visible;
}

.why-inner .why-visual-wrap {
    margin-top: -150px;
}

.why-inner .why-person-img {
    max-width: 380px;
    aspect-ratio: 0.8;
    border-radius: 260px 260px 24px 24px;
    border: 8px solid #fdf8f5;
    overflow: hidden;
    box-shadow: 0 26px 52px rgba(94, 43, 51, 0.25);
}

.why-inner .why-person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-inner .why-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.why-inner .why-checklist li {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 14px 16px;
}

.why-inner .why-promise-card {
    right: -10px;
}

@media (max-width: 980px) {
    .why-inner .why-visual-wrap {
        margin-top: 0;
    }

    .why-inner .why-checklist {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .why-inner .why-promise-card {
        position: static;
        transform: none;
        margin-top: 16px;
    }
}

/* --- Reviews: spotlight quote + stacked cards --- */
.reviews-editorial {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.reviews-editorial .review-card {
    margin: 0;
    border-radius: 20px;
}

.reviews-editorial .review-card:first-child {
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(160deg, #5e2b33 0%, #46242b 100%);
    border: none;
    padding: 3rem 2.6rem;
}

.reviews-editorial .review-card:first-child .review-quote-icon {
    font-size: 4.5rem;
    color: #e9b98c;
    margin-bottom: 0;
}

.reviews-editorial .review-card:first-child .review-text {
    font-family: "Prata", serif;
    font-size: 1.35rem;
    line-height: 1.55;
    color: #fdf3ee;
}

.reviews-editorial .review-card:first-child .review-name {
    color: #fdf3ee;
}

.reviews-editorial .review-card:first-child .review-avatar {
    background: #e9b98c;
    color: #46242b;
}

@media (max-width: 900px) {
    .reviews-editorial {
        grid-template-columns: 1fr;
    }

    .reviews-editorial .review-card:first-child {
        grid-row: auto;
        padding: 2.2rem 1.8rem;
    }

    .reviews-editorial .review-card:first-child .review-text {
        font-size: 1.1rem;
    }
}

/* Clickable product cards (shop/product detail pages) */
.product-card[data-slug] .product-card-img,
.product-card[data-slug] .product-name {
    cursor: pointer;
}

.product-name a {
    color: inherit;
    text-decoration: none;
}

/* Final header alignment override: logo left, navigation centered, actions right. */
@media (min-width: 981px) {
    .main-header .header-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 20px 24px;
    }

    .main-header .nav-menu {
        order: initial;
        padding: 0;
    }

    .main-header .header-actions {
        position: static;
    }
}

.main-header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 170px;
    width: 170px;
    height: 42px;
    max-width: 170px;
    margin: 0;
    line-height: 0;
}

.main-header .logo img,
.main-header .logo .logo-img {
    display: block;
    width: 170px;
    height: auto;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 720px) {
    .main-header .logo {
        flex-basis: 145px;
        width: 145px;
        height: 36px;
    }

    .main-header .logo img,
    .main-header .logo .logo-img {
        width: 145px;
        max-height: 36px;
    }
}

/* Search is intentionally disabled for this storefront. */
.action-icon-btn[aria-label="Search"],
.search-modal {
    display: none !important;
}

/* Give the product-label wordmark enough contrast on light and dark surfaces. */
.main-header .logo img,
.main-header .logo .logo-img,
.login-logo {
    filter: brightness(0) saturate(100%) invert(20%) sepia(24%) saturate(786%) hue-rotate(301deg) brightness(84%) contrast(91%);
    opacity: 1;
}

.footer-logo img,
.footer-logo-img,
.catalog-footer img[src*="logo-white"] {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* High-contrast masthead matching the skin footer. */
.main-header,
.main-header.scrolled {
    background: #46242b !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

.main-header .logo img,
.main-header .logo .logo-img,
.footer-logo img,
.footer-logo-img,
.catalog-footer img[src*="logo-white"] {
    filter: brightness(0) invert(1) contrast(200%) drop-shadow(0 0 1px rgba(255, 255, 255, 0.7)) !important;
    opacity: 1 !important;
}

.main-header .nav-link,
.main-header .action-icon-btn,
.main-header .mobile-toggle {
    color: #ffffff !important;
}

.main-header .nav-link:hover,
.main-header .nav-link.active,
.main-header .action-icon-btn:hover {
    color: #f2cdb9 !important;
}

/* Distinct skin hero: full-bleed product editorial with copy on the right. */
@media (min-width: 981px) {
    .hero-section {
        background: #f7e9e2;
    }

    .hero-slide {
        position: relative;
        display: block;
        max-width: none;
        min-height: 760px;
        padding: 0;
        overflow: hidden;
    }

    .hero-image-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-image-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(253, 248, 245, 0) 38%, rgba(253, 248, 245, 0.9) 55%, #fdf8f5 72%, #fdf8f5 100%);
    }

    .hero-image-wrapper img {
        object-position: center;
    }

    .hero-container {
        position: relative;
        z-index: 2;
        min-height: 760px;
        max-width: none;
        margin: 0 auto;
        padding: 130px clamp(48px, 6vw, 120px) 70px 32px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .hero-content {
        width: min(590px, 42vw);
        max-width: 590px;
        position: relative;
        padding: 8px 0 8px 36px;
        background: transparent;
        border: 0;
        border-left: 2px solid rgba(124, 58, 52, 0.42);
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .hero-content::before {
        content: "";
        position: absolute;
        left: -2px;
        top: 0;
        width: 2px;
        height: 78px;
        background: #c8a96e;
    }

    .hero-title {
        max-width: 590px;
        font-size: clamp(46px, 3.8vw, 66px);
        line-height: 0.98;
    }

    .hero-description {
        max-width: 560px;
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero-slide {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 88px 0 0;
        background: #fdf8f5;
    }

    .hero-image-wrapper {
        order: 1;
        width: calc(100% - 32px);
        height: clamp(260px, 48vw, 420px);
        margin: 16px auto 0;
        border: 0;
        border-radius: 180px 180px 18px 18px;
        box-shadow: 0 20px 44px rgba(94, 43, 51, 0.16);
    }

    .hero-image-wrapper img {
        object-position: left center;
    }

    .hero-container {
        order: 2;
        width: 100%;
        padding: 38px 24px 76px;
    }

    .hero-content {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-title {
        font-size: clamp(42px, 11vw, 64px);
    }

    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}