/* ============================================================
   JANE DOLLS — Premium Handmade Toy Store
   Stylesheet
   ------------------------------------------------------------
   Contents:
   1.  Design tokens (custom properties)
   2.  Reset & base
   3.  Layout helpers (container, sections, section-header)
   4.  Buttons
   5.  Announcement bar
   6.  Header & navigation
   7.  Mobile navigation
   8.  Hero
   9.  Trust strip
   10. Featured categories
   11. Product cards & grids
   12. Brand story / feature list
   13. Promo banner
   14. Blog preview
   15. Newsletter
   16. Footer
   17. Responsive
============================================================ */

/* ------------------------------------------------------------
   1. DESIGN TOKENS
------------------------------------------------------------ */
:root {
    /* Colour palette — warm, soft, artisanal */
    --color-cream:        #faf5ee;
    --color-cream-deep:   #f3ede2;
    --color-sand:         #f1e6d8;
    --color-linen:        #efe7db;
    --color-blush:        #e9c9c0;
    --color-terracotta:   #c47b5f;
    --color-terracotta-dark: #a9604a;
    --color-clay:         #b5654a;
    --color-sage:         #9aa789;
    --color-sage-dark:    #7c8a6c;
    --color-cocoa:        #4a3c33;
    --color-espresso:     #33291f;
    --color-ink:          #2e251d;
    --color-muted:        #8a7c6e;
    --color-line:         #e6d9c8;
    --color-white:        #ffffff;
    --color-gold:         #c9a24b;

    /* Semantic */
    --bg-body:            #faf5ee;
    --bg-surface:         #ffffff;
    --bg-surface-soft:    #f5ece0;
    --text-strong:        var(--color-espresso);
    --text-body:          #5f5346;
    --text-muted:         var(--color-muted);
    --accent:             var(--color-terracotta);
    --accent-dark:        var(--color-terracotta-dark);

    /* Typography */
    --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
    --font-body:    "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 999px;

    /* Shadows — soft & warm */
    --shadow-sm: 0 2px 8px rgba(74, 60, 51, 0.06);
    --shadow-md: 0 12px 30px rgba(74, 60, 51, 0.10);
    --shadow-lg: 0 24px 60px rgba(74, 60, 51, 0.14);

    /* Spacing */
    --container-max: 1240px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section-pad: clamp(3.5rem, 8vw, 7rem);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --speed: 0.35s;
}

/* ------------------------------------------------------------
   2. RESET & BASE
------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

/* Neutralise Bootstrap Reboot's element-level margins/padding
   (element selectors outrank the universal reset above) */
h1, h2, h3, h4, h5, h6,
p, figure, ul, ol, dl {
    margin: 0;
}

ul, ol {
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--speed) var(--ease);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-strong);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

input {
    font-family: inherit;
}

address {
    font-style: normal;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ------------------------------------------------------------
   3. LAYOUT HELPERS
------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

section {
    padding-block: var(--section-pad);
}

.section-header {
    max-width: 620px;
    margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.section-header--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-header__eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header__title {
    font-size: clamp(1.9rem, 4vw, 2.85rem);
}

.section-header__subtitle {
    margin-top: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.section-header__link {
    font-weight: 700;
    color: var(--accent-dark);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.section-header__link:hover {
    border-bottom-color: var(--accent);
}

/* ------------------------------------------------------------
   4. BUTTONS
------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85em 1.75em;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    border-radius: var(--radius-pill);
    transition: transform var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
    white-space: nowrap;
}

.btn--lg {
    padding: 1.05em 2.25em;
    font-size: 1.02rem;
}

.btn--primary {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: var(--text-strong);
    box-shadow: inset 0 0 0 1.5px var(--color-line);
}

.btn--secondary:hover {
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1.5px var(--accent);
    color: var(--accent-dark);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   6. HEADER & NAVIGATION
------------------------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(250, 245, 238, 0.88);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--color-line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.25rem);
    padding-block: 1rem;
}

/* Brand */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
}

.brand__text {
    display: inline-flex;
    flex-direction: column;
}

.brand__name {
    font-family: "Dancing Script", "Segoe Script", cursive;
    font-weight: 700;
    font-size: 1.95rem;
    line-height: 0.9;
    color: var(--text-strong);
    letter-spacing: 0;
}

.brand__tagline {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.2rem;
    font-weight: 600;
}

/* Primary nav */
.site-nav {
    margin-inline: auto;
}

.site-nav__list {
    display: flex;
    gap: clamp(1rem, 2.2vw, 2rem);
}

.site-nav__link {
    position: relative;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-body);
    padding-block: 0.35rem;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--speed) var(--ease);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
    color: var(--text-strong);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
}

/* Header actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.25rem);
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search__input {
    width: clamp(160px, 18vw, 240px);
    padding: 0.6rem 2.6rem 0.6rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    font-size: 0.9rem;
    color: var(--text-strong);
    transition: border-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.header-search__input::placeholder {
    color: var(--text-muted);
}

.header-search__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.15);
}

.header-search__button {
    position: absolute;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.header-search__button:hover {
    color: var(--accent);
}

.header-action {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-body);
    letter-spacing: 0.02em;
}

.header-action__icon {
    font-size: 1.5rem;
    line-height: 1;
}

.header-action:hover {
    color: var(--accent-dark);
}

.header-action__badge {
    position: absolute;
    top: -0.4rem;
    right: -0.2rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding-inline: 0.3rem;
    display: grid;
    place-items: center;
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    line-height: 1;
}

/* Mobile toggle */
.site-header__menu-toggle {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    color: var(--text-strong);
    font-size: 1.7rem;
}

.site-header__menu-toggle:hover {
    color: var(--accent);
}

/* ------------------------------------------------------------
   7. MOBILE NAVIGATION
------------------------------------------------------------ */
.mobile-nav {
    background-color: var(--bg-body);
    width: min(86vw, 360px);
}

.mobile-nav__header {
    border-bottom: 1px solid var(--color-line);
    padding: 1.25rem var(--gutter);
}

.brand--offcanvas .brand__name {
    font-family: "Dancing Script", "Segoe Script", cursive;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--text-strong);
}

.mobile-nav__body {
    padding: var(--gutter);
}

.mobile-nav__search {
    position: relative;
    display: flex;
    margin-bottom: 1.25rem;
}

.mobile-nav__search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    font-size: 0.95rem;
}

.mobile-nav__search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.mobile-nav__search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    color: var(--text-muted);
}

.mobile-nav__list {
    display: flex;
    flex-direction: column;
}

.mobile-nav__link {
    display: block;
    padding: 0.9rem 0.25rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-strong);
    border-bottom: 1px solid var(--color-line);
}

.mobile-nav__link:hover {
    color: var(--accent);
}

.mobile-nav__utilities {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.mobile-nav__utility {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-dark);
}

/* ------------------------------------------------------------
   8. HERO
------------------------------------------------------------ */
.hero {
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(233, 201, 192, 0.45) 0%, rgba(233, 201, 192, 0) 55%),
        linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    /* Full viewport height, minus the sticky header */
    min-height: calc(100vh - var(--header-height, 80px));
}

.hero__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
}

.hero__description {
    margin-top: 1.5rem;
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    max-width: 40ch;
    color: var(--text-body);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.25rem;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(74, 60, 51, 0.12);
}

.hero__highlight {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-strong);
}

.hero__highlight::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-sage-dark);
    font-weight: 700;
}

.hero__media {
    position: relative;
}

.hero__figure {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    rotate: 1.5deg;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__badge {
    position: absolute;
    left: -1.5rem;
    bottom: 2rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    rotate: -3deg;
}

.hero__badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.hero__badge-text {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 0.35rem;
    max-width: 12ch;
}

/* ------------------------------------------------------------
   9. TRUST STRIP
------------------------------------------------------------ */
.trust-strip {
    background-color: var(--color-cocoa);
    color: var(--color-cream);
    padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem 1rem;
}

.trust-strip__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex: 1 1 220px;
    justify-content: center;
    padding-inline: clamp(0.5rem, 2vw, 1.75rem);
    transition: transform var(--speed) var(--ease);
}

/* Soft dividers between items */
.trust-strip__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 3.25rem;
    background: linear-gradient(180deg, rgba(233, 201, 192, 0) 0%, rgba(233, 201, 192, 0.35) 50%, rgba(233, 201, 192, 0) 100%);
}

.trust-strip__item:hover {
    transform: translateY(-3px);
}

.trust-strip__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(145deg, rgba(233, 201, 192, 0.22), rgba(233, 201, 192, 0.08));
    box-shadow: inset 0 0 0 1px rgba(233, 201, 192, 0.35);
    color: var(--color-blush);
    font-size: 1.65rem;
    transition: transform var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.trust-strip__item:hover .trust-strip__icon {
    background: var(--color-blush);
    color: var(--color-espresso);
    transform: scale(1.06);
}

.trust-strip__text {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-cream);
    line-height: 1.2;
    text-align: left;
}

/* ------------------------------------------------------------
   11. PRODUCT CARDS & GRIDS
------------------------------------------------------------ */
.products {
    background-color: var(--bg-surface-soft);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.1rem, 2vw, 1.75rem);
}

.product-grid--four {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: var(--color-linen);
    overflow: hidden;
}

.product-card__image-link {
    display: block;
    height: 100%;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__tag {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    z-index: 2;
    background-color: var(--color-cocoa);
    color: var(--color-cream);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
}

.product-card__tag--sale {
    background-color: var(--accent);
}

.product-card__favorite {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.product-card__favorite:hover {
    background-color: var(--color-white);
    transform: scale(1.08);
}

.product-card__favorite[aria-pressed="true"] {
    background-color: var(--accent);
    color: var(--color-white);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.25rem 1.4rem;
}

.product-card__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-card__name {
    font-size: 1.12rem;
    font-weight: 600;
}

.product-card__name-link:hover {
    color: var(--accent-dark);
}

.product-card__availability {
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}

.product-card__availability--in-stock {
    color: var(--color-sage-dark);
    background-color: rgba(154, 167, 137, 0.18);
}

.product-card__availability--low {
    color: var(--accent-dark);
    background-color: rgba(196, 123, 95, 0.15);
}

.product-card__availability--made-to-order {
    color: var(--color-gold);
    background-color: rgba(201, 162, 75, 0.16);
}

.product-card__description {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-card__price-current {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-strong);
}

.product-card__price-old {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-card__cart {
    padding: 0.65em 1.15em;
    font-size: 0.85rem;
}

/* ------------------------------------------------------------
   14. BLOG PREVIEW
------------------------------------------------------------ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.blog-card__figure {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card__image {
    transform: scale(1.05);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.blog-card__category {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-dark);
    background-color: var(--color-sand);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
}

.blog-card__title {
    font-size: 1.25rem;
    line-height: 1.25;
}

.blog-card__title-link:hover {
    color: var(--accent-dark);
}

.blog-card__excerpt {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    flex: 1;
}

.blog-card__link {
    align-self: flex-start;
    margin-top: 1.25rem;
    font-weight: 700;
    color: var(--accent-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.blog-card__link:hover {
    border-bottom-color: var(--accent);
}

/* ------------------------------------------------------------
   15. NEWSLETTER
------------------------------------------------------------ */
.newsletter {
    background-color: var(--color-cocoa);
    color: var(--color-cream);
}

.newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.newsletter .section-header__eyebrow {
    color: var(--color-blush);
}

.newsletter__title {
    color: var(--color-white);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.newsletter__text {
    margin-top: 1rem;
    color: rgba(250, 245, 238, 0.82);
    max-width: 46ch;
}

.newsletter__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
}

.newsletter__input {
    padding: 1rem 1.25rem;
    border: 1px solid rgba(250, 245, 238, 0.25);
    border-radius: var(--radius-pill);
    background-color: rgba(250, 245, 238, 0.08);
    color: var(--color-cream);
    font-size: 0.98rem;
}

.newsletter__input::placeholder {
    color: rgba(250, 245, 238, 0.55);
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--color-blush);
    background-color: rgba(250, 245, 238, 0.14);
}

.newsletter__note {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    color: rgba(250, 245, 238, 0.6);
    padding-left: 1.25rem;
}

/* ------------------------------------------------------------
   16. FOOTER
------------------------------------------------------------ */
.site-footer {
    background-color: var(--color-espresso);
    color: rgba(250, 245, 238, 0.75);
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.brand--footer .brand__name {
    color: var(--color-cream);
}

.site-footer__about {
    margin-top: 1.1rem;
    font-size: 0.9rem;
    max-width: 34ch;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.5rem;
}

.social-links__item {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-pill);
    background-color: rgba(250, 245, 238, 0.08);
    color: rgba(250, 245, 238, 0.85);
    font-size: 1.15rem;
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.social-links__item:hover {
    color: var(--color-espresso);
    background-color: var(--color-blush);
    transform: translateY(-2px);
}

.site-footer__heading {
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.site-footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer__link {
    font-size: 0.9rem;
    color: rgba(250, 245, 238, 0.72);
}

.site-footer__link:hover {
    color: var(--color-blush);
}

.site-footer__address p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.site-footer__bottom {
    border-top: 1px solid rgba(250, 245, 238, 0.12);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-block: 1.5rem;
}

.site-footer__copyright {
    font-size: 0.85rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.site-footer__legal .site-footer__link {
    font-size: 0.82rem;
}

/* ------------------------------------------------------------
   17. BOOTSTRAP HARMONISATION & ICONS
------------------------------------------------------------ */
/* Neutralise Bootstrap's default .btn border so our pill buttons stay clean */
.btn {
    border: 0;
}

.btn i {
    font-size: 1.05em;
    line-height: 0;
}

.bi {
    display: inline-flex;
    vertical-align: -0.05em;
}

/* Product "Add to cart" icon spacing handled by flex gap on .btn */
.product-card__cart i {
    font-size: 1em;
}

/* ------------------------------------------------------------
   18. PRODUCT QUICK-VIEW OVERLAY
------------------------------------------------------------ */
.product-card__actions {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--speed) var(--ease),
                transform var(--speed) var(--ease);
    pointer-events: none;
}

.product-card:hover .product-card__actions,
.product-card:focus-within .product-card__actions {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.product-card__quickview {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.25rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-strong);
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.product-card__quickview:hover {
    background-color: var(--accent);
    color: var(--color-white);
}

/* ------------------------------------------------------------
   19. QUICK-VIEW MODAL
------------------------------------------------------------ */
.quickview-modal .modal-content {
    position: relative;
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-lg);
}

.quickview-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    padding: 0.6rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-pill);
}

.quickview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.quickview__media {
    background-color: var(--color-linen);
}

.quickview__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quickview__details {
    padding: clamp(1.75rem, 3vw, 2.75rem);
}

.quickview__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-block: 0.85rem 0.75rem;
}

.quickview__price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.quickview__description {
    font-size: 0.98rem;
    color: var(--text-body);
}

.quickview__meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-block: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.quickview__meta-list i {
    color: var(--accent);
    margin-right: 0.5rem;
}

.quickview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ------------------------------------------------------------
   20. SCROLL-REVEAL ANIMATIONS (JS-driven, animation only)
------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Header scroll state */
.site-header {
    transition: box-shadow var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.site-header__inner {
    transition: padding var(--speed) var(--ease);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(250, 245, 238, 0.94);
}

.site-header.is-scrolled .site-header__inner {
    padding-block: 0.6rem;
}

/* Favorite heart interaction */
.product-card__favorite.is-active,
.quickview__fav.is-active {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: inset 0 0 0 1.5px var(--accent);
}

.product-card__favorite.pop {
    animation: fav-pop 0.4s var(--ease);
}

@keyframes fav-pop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.28); }
    100% { transform: scale(1); }
}

/* ------------------------------------------------------------
   21. RESPONSIVE
------------------------------------------------------------ */

/* Large tablets / small laptops */
@media (max-width: 1080px) {
    .site-nav {
        display: none;
    }

    .header-action__label {
        display: none;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .site-header__menu-toggle {
        display: grid;
    }

    .header-search {
        display: none;
    }

    .site-header__brand {
        margin-inline-right: auto;
    }

    .site-header__inner {
        justify-content: space-between;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__description {
        margin-inline: auto;
    }

    .hero__actions,
    .hero__highlights {
        justify-content: center;
    }

    .hero__media {
        order: -1;
        max-width: 480px;
        margin-inline: auto;
    }

    .newsletter__inner {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .product-grid--four {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .newsletter__form {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .hero__highlights {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        text-align: left;
    }

    .hero__highlight {
        margin-inline: auto;
    }

    .product-grid,
    .product-grid--four {
        grid-template-columns: 1fr;
        max-width: 340px;
        margin-inline: auto;
    }

    .product-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card__cart {
        width: 100%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .trust-strip__item {
        justify-content: flex-start;
        padding-inline: 0;
    }

    .trust-strip__item:not(:last-child)::after {
        display: none;
    }

    .quickview {
        grid-template-columns: 1fr;
    }

    .quickview__media {
        aspect-ratio: 4 / 3;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   23. PRODUCTS / SHOP PAGE
============================================================ */

/* ---- Page head + breadcrumb ---- */
.page-head {
    padding-block: clamp(1.75rem, 4vw, 2.75rem) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--bg-body) 100%);
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    font-size: 0.85rem;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
    content: "\203A";
    color: var(--color-line);
    font-size: 1rem;
}

.breadcrumbs__link {
    font-weight: 600;
    color: var(--text-muted);
}

.breadcrumbs__link:hover {
    color: var(--accent-dark);
}

.breadcrumbs__item--current {
    color: var(--text-strong);
    font-weight: 700;
}

.page-head__intro {
    max-width: 640px;
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.page-head__title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.page-head__description {
    margin-top: 1rem;
    font-size: 1.08rem;
    color: var(--text-muted);
}

/* ---- Category navigation ---- */
.shop-categories {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.shop-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.75rem;
    padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    border-bottom: 1px solid var(--color-line);
}

.shop-cat {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-body);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.shop-cat:hover {
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translateY(-2px);
}

.shop-cat--active {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: none;
}

.shop-cat--active:hover {
    color: var(--color-white);
    background-color: var(--accent-dark);
}

/* ---- Shop layout ---- */
.shop {
    padding-block: clamp(2rem, 4vw, 3rem) var(--section-pad);
}

/* ---- Toolbar ---- */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.shop-toolbar__results {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.shop-toolbar__results strong {
    color: var(--text-strong);
    font-weight: 700;
}

.shop-toolbar__controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.shop-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---- Search field ---- */
.shop-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shop-search__icon {
    position: absolute;
    left: 0.95rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.shop-search__input {
    min-width: 210px;
    padding: 0.62rem 1rem 0.62rem 2.5rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    font-size: 0.9rem;
    color: var(--text-strong);
    transition: border-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.shop-search__input::placeholder {
    color: var(--text-muted);
}

.shop-search__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.15);
}

.shop-search--block,
.shop-search--block .shop-search__input {
    width: 100%;
}

/* ---- Select fields ---- */
.shop-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.shop-select__inline-label {
    margin-right: 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-muted);
}

.shop-select__field {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.62rem 2.3rem 0.62rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-strong);
    cursor: pointer;
    transition: border-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.shop-select__field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.15);
}

.shop-select__caret {
    position: absolute;
    right: 1rem;
    pointer-events: none;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.shop-select--block {
    display: flex;
    width: 100%;
}

.shop-select--block .shop-select__field {
    width: 100%;
}

/* ---- View mode toggle ---- */
.shop-view {
    display: inline-flex;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    overflow: hidden;
    background-color: var(--bg-surface);
}

.shop-view__btn {
    width: 2.6rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.shop-view__btn:hover:not(.shop-view__btn--active) {
    color: var(--accent-dark);
}

.shop-view__btn--active {
    background-color: var(--accent);
    color: var(--color-white);
}

/* ---- Mobile filter button ---- */
.shop-filter-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.25rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-cocoa);
    color: var(--color-cream);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color var(--speed) var(--ease);
}

.shop-filter-btn:hover {
    background-color: var(--color-espresso);
}

/* ---- Pagination ---- */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-width: 2.7rem;
    height: 2.7rem;
    padding-inline: 0.75rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-body);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.pagination__link:hover {
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translateY(-2px);
}

.pagination__link--active {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: none;
}

.pagination__link--active:hover {
    color: var(--color-white);
    background-color: var(--accent-dark);
}

.pagination__link--disabled {
    opacity: 0.45;
    pointer-events: none;
}

.pagination__item--ellipsis {
    padding-inline: 0.4rem;
    color: var(--text-muted);
    align-self: center;
}

/* ---- Empty state (hidden by default via [hidden]) ---- */
.shop-empty {
    max-width: 480px;
    margin: clamp(2rem, 5vw, 3.5rem) auto;
    padding: clamp(2.25rem, 5vw, 3.25rem) 1.75rem;
    text-align: center;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.shop-empty__icon {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.8rem;
}

.shop-empty__title {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
}

.shop-empty__text {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* ---- Mobile filter offcanvas ---- */
.filter-panel {
    width: min(88vw, 360px);
    background-color: var(--bg-body);
}

.filter-panel__header {
    padding: 1.25rem var(--gutter);
    border-bottom: 1px solid var(--color-line);
}

.filter-panel__title {
    font-size: 1.4rem;
}

.filter-panel__body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: var(--gutter);
}

.filter-group__title {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.filter-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.filter-panel__actions .btn {
    width: 100%;
}

/* ---- Shop responsive ---- */
@media (max-width: 992px) {
    .shop-toolbar__controls .shop-search,
    .shop-filters {
        display: none;
    }

    .shop-filter-btn {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .shop-toolbar {
        justify-content: flex-start;
    }

    .shop-toolbar__controls {
        width: 100%;
        justify-content: space-between;
    }

    .shop-select--sort {
        flex: 1;
    }

    .shop-select--sort .shop-select__field {
        width: 100%;
    }
}

/* ============================================================
   24. PRODUCT DETAILS PAGE
============================================================ */

.page-head--compact {
    padding-block: clamp(1.25rem, 3vw, 1.75rem) 0;
}

.section-header--center {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}

/* ---- Layout ---- */
.pdp {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

.pdp__layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
}

/* ---- Gallery ---- */
.pdp-gallery {
    position: sticky;
    top: 100px;
}

.pdp-gallery__main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-color: var(--color-linen);
    box-shadow: var(--shadow-md);
}

.pdp-gallery__figure {
    aspect-ratio: 1 / 1.05;
}

.pdp-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-gallery__flag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.pdp-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--text-strong);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.pdp-gallery__nav:hover {
    background-color: var(--color-white);
    color: var(--accent-dark);
}

.pdp-gallery__nav--prev { left: 1rem; }
.pdp-gallery__nav--next { right: 1rem; }

.pdp-gallery__count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-pill);
    background-color: rgba(46, 37, 29, 0.72);
    color: var(--color-cream);
    font-size: 0.8rem;
    font-weight: 600;
}

.pdp-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.pdp-gallery__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--color-line);
    transition: box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.pdp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pdp-gallery__thumb:hover {
    transform: translateY(-2px);
}

.pdp-gallery__thumb--active {
    box-shadow: inset 0 0 0 2px var(--accent);
}

/* ---- Summary ---- */
.pdp-summary__category {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.pdp-summary__title {
    font-size: clamp(2rem, 4vw, 2.9rem);
}

.pdp-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.pdp-rating__stars {
    display: inline-flex;
    gap: 0.1rem;
    color: var(--color-gold);
    font-size: 1rem;
}

.pdp-rating__score {
    font-weight: 700;
    color: var(--text-strong);
}

.pdp-rating__count {
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.pdp-rating__count:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}

.pdp-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.pdp-price__current {
    font-size: 2rem;
}

.pdp-price__old {
    font-size: 1.1rem;
}

.pdp-price__discount {
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    align-self: center;
}

.pdp-summary__availability {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.pdp-summary__stocknote {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pdp-summary__desc {
    margin-top: 1.5rem;
    font-size: 1.02rem;
    color: var(--text-body);
}

/* ---- Purchase controls ---- */
.pdp-buy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    overflow: hidden;
}

.qty__btn {
    width: 2.9rem;
    height: 3rem;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    color: var(--text-strong);
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.qty__btn:hover {
    background-color: var(--color-sand);
    color: var(--accent-dark);
}

.qty__input {
    width: 2.9rem;
    height: 3rem;
    text-align: center;
    border: none;
    border-inline: 1px solid var(--color-line);
    background: transparent;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-strong);
}

.qty__input:focus {
    outline: none;
}

.pdp-buy__cart {
    flex: 1;
    min-width: 210px;
}

.pdp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.9rem;
}

.pdp-actions__buy {
    flex: 1;
    min-width: 180px;
    background-color: var(--color-cocoa);
    color: var(--color-cream);
}

.pdp-actions__buy:hover {
    background-color: var(--color-espresso);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pdp-actions__fav {
    flex: 1;
    min-width: 170px;
}

/* ---- Assurance ---- */
.pdp-assurance {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
}

.pdp-assurance__item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    font-size: 0.92rem;
    color: var(--text-body);
}

.pdp-assurance__item strong {
    color: var(--text-strong);
}

.pdp-assurance__icon {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.1rem;
}

/* ---- Information tabs ---- */
.pdp-tabs {
    padding-block: var(--section-pad);
    background-color: var(--bg-surface-soft);
}

.pdp-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-line);
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.pdp-tabs__tab {
    padding: 0.85rem 1.35rem;
    border: none;
    background: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--speed) var(--ease),
                border-color var(--speed) var(--ease);
}

.pdp-tabs__tab:hover {
    color: var(--text-strong);
}

.pdp-tabs__tab.active {
    color: var(--accent-dark);
    border-bottom-color: var(--accent);
}

.pdp-tabs__content {
    max-width: 820px;
}

.pdp-tabs__panel {
    font-size: 1.02rem;
    color: var(--text-body);
}

.pdp-tabs__panel p + p {
    margin-top: 1rem;
}

.pdp-tabs__title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pdp-speclist {
    display: flex;
    flex-direction: column;
    max-width: 540px;
}

.pdp-speclist li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--color-line);
}

.pdp-speclist li span:first-child {
    color: var(--text-muted);
    font-weight: 600;
}

.pdp-speclist li span:last-child {
    color: var(--text-strong);
    font-weight: 600;
    text-align: right;
}

.pdp-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.pdp-checklist li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--text-body);
}

.pdp-checklist i {
    color: var(--color-sage-dark);
    font-size: 1.1rem;
}

/* ---- Product features ---- */
.pdp-features {
    padding-block: var(--section-pad);
}

.pdp-features__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.pdp-feature {
    text-align: center;
    padding: 2rem 1.25rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.pdp-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pdp-feature__icon {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.5rem;
}

.pdp-feature__title {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
}

.pdp-feature__text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---- PDP responsive ---- */
@media (max-width: 900px) {
    .pdp__layout {
        grid-template-columns: 1fr;
    }

    .pdp-gallery {
        position: static;
        max-width: 560px;
    }

    .pdp-features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .pdp-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pdp-buy {
        flex-direction: column;
        align-items: stretch;
    }

    .qty {
        align-self: flex-start;
    }

    .pdp-buy__cart {
        width: 100%;
    }

    .pdp-actions__buy,
    .pdp-actions__fav {
        flex: 1 1 100%;
    }

    .pdp-tabs__nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .pdp-tabs__tab {
        white-space: nowrap;
    }
}

/* ============================================================
   25. BLOG PAGE
============================================================ */

/* ---- Featured article ---- */
.featured-post-section {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.featured-post {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: stretch;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.featured-post:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.featured-post__media {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 340px;
}

.featured-post__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.featured-post__media:hover .featured-post__image {
    transform: scale(1.04);
}

.featured-post__flag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.featured-post__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 3.5vw, 3.25rem);
}

.featured-post__title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-block: 0.75rem 1rem;
}

.featured-post__excerpt {
    max-width: 54ch;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ---- Blog card meta (category + date) ---- */
.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 0.85rem;
    margin-bottom: 0.9rem;
}

.blog-card__meta .blog-card__category {
    margin-bottom: 0;
}

.blog-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---- Archive grid ---- */
.blog-archive {
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.blog-grid--archive {
    row-gap: clamp(2rem, 4vw, 3rem);
}

.blog-archive__more {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* ---- Blog responsive ---- */
@media (max-width: 900px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post__media {
        min-height: 260px;
    }

    /* Keep the archive two-up on tablets (overrides the homepage 1-col rule) */
    .blog-grid--archive {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
    }
}

@media (max-width: 560px) {
    .blog-grid--archive {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   26. BLOG ARTICLE (single post)
============================================================ */

.post {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

/* ---- Article header ---- */
.post__header {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.post__category {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: background-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.post__category:hover {
    background-color: var(--accent);
    color: var(--color-white);
}

.post__title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-block: 1rem;
}

.post__lead {
    max-width: 60ch;
    margin-inline: auto;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.post__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1.75rem;
}

.post__author {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--text-strong);
}

.post__author-avatar {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: var(--radius-pill);
    object-fit: cover;
}

.post__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---- Featured image ---- */
.post__figure {
    max-width: 1000px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.post__figure img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.post__caption {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Article body (prose) ---- */
.post__body {
    max-width: 720px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.post__body > * + * {
    margin-top: 1.35rem;
}

.post__body p {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-body);
}

.post__body h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-top: 2.75rem;
}

.post__body h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
}

.post__body a:not(.btn) {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post__body a:not(.btn):hover {
    color: var(--accent);
}

.post__body ul,
.post__body ol {
    padding-left: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body);
}

.post__body ul li {
    list-style: disc;
}

.post__body ol li {
    list-style: decimal;
}

.post__body li {
    margin-top: 0.55rem;
    padding-left: 0.3rem;
}

.post__body li::marker {
    color: var(--accent);
}

/* Inline figures */
.post__body figure {
    margin-top: 2rem;
}

.post__body figure img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.post__body figcaption {
    margin-top: 0.7rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Quote */
.post__body blockquote {
    margin-top: 2.25rem;
    padding: 1.5rem 1.75rem;
    border-left: 4px solid var(--accent);
    background-color: var(--bg-surface-soft);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-strong);
}

.post__body blockquote cite {
    display: block;
    margin-top: 0.85rem;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Important information block */
.post__callout {
    margin-top: 2.25rem;
    display: flex;
    gap: 1rem;
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius-md);
    background-color: var(--color-sand);
    box-shadow: inset 0 0 0 1px var(--color-line);
}

.post__callout__icon {
    flex-shrink: 0;
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 1.2rem;
}

.post__callout__title {
    font-size: 1.08rem;
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.post__callout p {
    font-size: 0.98rem;
    color: var(--text-body);
}

/* ---- Author card ---- */
.post__authorcard {
    max-width: 720px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.5rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.post__authorcard img {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-pill);
    object-fit: cover;
    flex-shrink: 0;
}

.post__authorcard__role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--accent);
}

.post__authorcard__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-strong);
    margin-top: 0.15rem;
}

.post__authorcard__bio {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---- Sharing area ---- */
.post__share {
    max-width: 720px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.post__share-label {
    font-weight: 700;
    color: var(--text-strong);
}

.post__share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.post__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-body);
    transition: color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.post__share-btn:hover {
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translateY(-2px);
}

.post__share-btn i {
    font-size: 1rem;
}

/* ---- Article responsive ---- */
@media (max-width: 560px) {
    .post__share {
        flex-direction: column;
        align-items: flex-start;
    }

    .post__authorcard {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   27. AUTHENTICATION PAGE (login / register)
============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(120% 80% at 15% 0%, rgba(233, 201, 192, 0.4) 0%, rgba(233, 201, 192, 0) 55%),
        linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

/* ---- Top bar ---- */
.auth-topbar {
    padding-block: 1.25rem;
}

.auth-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
}

.auth-back:hover {
    color: var(--accent-dark);
}

/* ---- Layout ---- */
.auth {
    flex: 1;
    display: flex;
    align-items: center;
    padding-block: clamp(1.5rem, 4vw, 3.5rem);
}

.auth-card {
    width: 100%;
    max-width: 1040px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    background-color: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ---- Branded aside ---- */
.auth-card__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3.25rem);
    color: var(--color-cream);
    overflow: hidden;
}

.auth-card__aside-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-card__aside::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(196, 123, 95, 0.92) 0%, rgba(169, 96, 74, 0.95) 100%);
}

.auth-card__aside-content,
.auth-card__aside-quote {
    position: relative;
    z-index: 1;
}

.auth-aside__mark {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: var(--radius-pill);
    background-color: rgba(250, 245, 238, 0.18);
    color: var(--color-cream);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-aside__title {
    color: var(--color-white);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.auth-aside__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.auth-aside__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-aside__list i {
    color: var(--color-blush);
    font-size: 1.05rem;
}

.auth-aside__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(250, 245, 238, 0.95);
}

.auth-aside__cite {
    display: block;
    margin-top: 0.6rem;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(250, 245, 238, 0.75);
}

/* ---- Forms panel ---- */
.auth-card__main {
    padding: clamp(1.75rem, 4vw, 3rem);
}

.auth-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    background-color: var(--bg-surface-soft);
    border-radius: var(--radius-pill);
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.auth-tab {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    background: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.auth-tab:hover {
    color: var(--text-strong);
}

.auth-tab.active {
    background-color: var(--bg-surface);
    color: var(--accent-dark);
    box-shadow: var(--shadow-sm);
}

.auth-intro {
    margin-bottom: 1.5rem;
}

.auth-intro__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.auth-intro__text {
    margin-top: 0.4rem;
    color: var(--text-muted);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-strong);
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input__icon {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-strong);
    transition: border-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.auth-input::placeholder {
    color: var(--text-muted);
}

.auth-input--icon {
    padding-left: 2.6rem;
}

.auth-input--password {
    padding-right: 2.8rem;
}

.auth-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.15);
}

.auth-pw-toggle {
    position: absolute;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: color var(--speed) var(--ease);
}

.auth-pw-toggle:hover {
    color: var(--accent-dark);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-body);
    cursor: pointer;
}

.auth-check input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.auth-check--terms {
    align-items: flex-start;
    line-height: 1.5;
}

.auth-check--terms a {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-forgot {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.auth-forgot:hover {
    color: var(--accent);
}

.auth-submit {
    width: 100%;
    margin-top: 0.25rem;
}

/* ---- Divider ---- */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block: 1.5rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--color-line);
}

/* ---- Social buttons ---- */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-strong);
    transition: box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.social-btn:hover {
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translateY(-2px);
}

.social-btn i {
    font-size: 1.15rem;
}

.social-btn--google i {
    color: #db4437;
}

.social-btn--apple i {
    color: var(--color-ink);
}

/* ---- Switch + trust ---- */
.auth-switch {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-switch__link {
    border: none;
    background: none;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-dark);
    cursor: pointer;
}

.auth-switch__link:hover {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-trust {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-trust i {
    color: var(--color-sage-dark);
    font-size: 0.95rem;
}

/* ---- Auth responsive ---- */
@media (max-width: 820px) {
    .auth-card {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .auth-card__aside {
        display: none;
    }
}

@media (max-width: 480px) {
    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-topbar .brand__tagline {
        display: none;
    }
}

/* ============================================================
   28. PASSWORD RECOVERY PAGE
============================================================ */

.auth-card--narrow {
    grid-template-columns: 1fr;
    max-width: 520px;
}

.auth-card--narrow .auth-card__main {
    padding: clamp(2rem, 5vw, 3.25rem);
}

/* ---- Default recovery state ---- */
.recover {
    max-width: 420px;
    margin-inline: auto;
    text-align: center;
}

.recover__icon {
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.6rem;
}

.recover__title {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.recover__text {
    margin-top: 0.6rem;
    color: var(--text-muted);
}

.recover .auth-form {
    margin-top: 1.75rem;
    text-align: left;
}

.recover__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-dark);
}

.recover__back:hover {
    color: var(--accent);
}

/* ---- Success / error states (hidden until needed) ---- */
.auth-state {
    max-width: 420px;
    margin-inline: auto;
    text-align: center;
}

.auth-state__icon {
    display: grid;
    place-items: center;
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 1.7rem;
}

.auth-state--success .auth-state__icon {
    background-color: rgba(154, 167, 137, 0.2);
    color: var(--color-sage-dark);
}

.auth-state--error .auth-state__icon {
    background-color: rgba(196, 123, 95, 0.16);
    color: var(--accent-dark);
}

.auth-state__title {
    font-size: 1.5rem;
}

.auth-state__text {
    margin-top: 0.6rem;
    color: var(--text-muted);
}

.auth-state__text strong {
    color: var(--text-strong);
}

.auth-state__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.auth-state__actions .btn {
    width: 100%;
}

.auth-state__hint {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================================
   29. SHOPPING CART PAGE
============================================================ */

.cart {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

.cart__title-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.cart__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.cart__count {
    font-weight: 600;
    color: var(--text-muted);
}

.cart__layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* ---- Cart items ---- */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.1rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.cart-item__media {
    width: 100px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-linen);
}

.cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--speed-slow, 0.6s) var(--ease);
}

.cart-item__media:hover img {
    transform: scale(1.05);
}

.cart-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.cart-item__name {
    font-size: 1.1rem;
}

.cart-item__name a:hover {
    color: var(--accent-dark);
}

.cart-item__variant {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-item__actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.cart-item__action {
    width: 2.3rem;
    height: 2.3rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    color: var(--text-muted);
    font-size: 1rem;
    transition: color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.cart-item__action:hover {
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px var(--accent);
}

.cart-item__action--remove:hover {
    color: var(--clay, #b5654a);
}

.cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-item__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.3;
}

.cart-item__unit {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cart-item__subtotal {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-strong);
}

.cart__continue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--accent-dark);
}

.cart__continue:hover {
    color: var(--accent);
}

/* ---- Order summary ---- */
.summary {
    position: sticky;
    top: 100px;
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.summary__title {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.summary__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    font-size: 0.95rem;
    color: var(--text-body);
}

.summary__row span:last-child {
    font-weight: 700;
    color: var(--text-strong);
}

.summary__row--discount span:last-child {
    color: var(--color-sage-dark);
}

.summary__divider {
    height: 1px;
    background-color: var(--color-line);
    margin: 0.85rem 0;
}

.summary__row--total {
    padding-top: 0.5rem;
    font-size: 1.1rem;
}

.summary__row--total span:first-child {
    font-weight: 700;
    color: var(--text-strong);
}

.summary__row--total span:last-child {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.coupon {
    display: flex;
    gap: 0.5rem;
    margin-block: 1.25rem;
}

.coupon__input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    font-size: 0.9rem;
    color: var(--text-strong);
}

.coupon__input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.15);
}

.coupon__btn {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    background-color: var(--color-cocoa);
    color: var(--color-cream);
    font-weight: 700;
    font-size: 0.85rem;
    transition: background-color var(--speed) var(--ease);
}

.coupon__btn:hover {
    background-color: var(--color-espresso);
}

.summary__checkout {
    width: 100%;
    margin-top: 0.25rem;
}

.summary__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.summary__secure i {
    color: var(--color-sage-dark);
}

.summary__pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* ---- Empty cart ---- */
.cart-empty {
    max-width: 460px;
    margin: clamp(2rem, 5vw, 4rem) auto;
    padding: clamp(2.5rem, 5vw, 3.5rem) 1.75rem;
    text-align: center;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.cart-empty__icon {
    display: grid;
    place-items: center;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 2rem;
}

.cart-empty__title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.cart-empty__text {
    margin-bottom: 1.75rem;
    color: var(--text-muted);
}

/* ---- Cart responsive ---- */
@media (max-width: 900px) {
    .cart__layout {
        grid-template-columns: 1fr;
    }

    .summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .cart-item__media {
        width: 84px;
    }

    .cart-item__bottom {
        gap: 0.75rem;
    }
}

/* ============================================================
   30. CHECKOUT PAGE
============================================================ */

/* ---- Minimal header ---- */
.checkout-topbar {
    padding-block: 1.1rem;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--color-line);
}

.checkout-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-topbar__meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.checkout-topbar__secure {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-sage-dark);
}

/* ---- Layout ---- */
.checkout {
    padding-block: clamp(2rem, 4vw, 3rem) var(--section-pad);
}

/* ---- Progress steps ---- */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.6rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.checkout-step__num {
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1.5px var(--color-line);
    font-size: 0.82rem;
    font-weight: 700;
}

.checkout-step--done {
    color: var(--text-body);
}

.checkout-step--done .checkout-step__num {
    background-color: var(--color-sage-dark);
    color: var(--color-white);
    box-shadow: none;
}

.checkout-step--active {
    color: var(--text-strong);
}

.checkout-step--active .checkout-step__num {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: none;
}

.checkout-step__sep {
    width: 1.75rem;
    height: 1px;
    background-color: var(--color-line);
}

.checkout__layout {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

/* ---- Sections ---- */
.checkout-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--color-line);
}

.checkout-section__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.checkout-section__num {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.checkout-section__title {
    font-size: 1.3rem;
}

/* Field spacing within a section */
.checkout-section > .auth-row + .auth-row,
.checkout-section > .auth-field + .auth-field,
.checkout-section > .auth-row + .auth-field,
.checkout-section > .auth-field + .auth-row {
    margin-top: 1rem;
}

.auth-optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Country select matches the input styling */
.checkout-form .shop-select {
    width: 100%;
}

.checkout-form .shop-select__field {
    width: 100%;
    border-radius: var(--radius-md);
    padding-block: 0.85rem;
}

/* ---- Selectable option cards (delivery & payment) ---- */
.option-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    cursor: pointer;
    transition: border-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.option-card:hover {
    border-color: var(--accent);
}

.option-card__radio {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.option-card:has(.option-card__radio:checked) {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 123, 95, 0.12);
}

.option-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.option-card__title {
    font-weight: 700;
    color: var(--text-strong);
}

.option-card__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.option-card__price {
    font-weight: 700;
    color: var(--text-strong);
    white-space: nowrap;
}

.option-card__icons {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ---- Card details ---- */
.pay-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--color-line);
}

/* ---- Terms + place order + security ---- */
.checkout-terms {
    margin-top: 1.5rem;
}

.checkout-place {
    width: 100%;
    margin-top: 1.25rem;
}

.checkout-secure {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.checkout-secure i {
    color: var(--color-sage-dark);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ---- Order summary items ---- */
.co-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.co-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem 0;
}

.co-item__media {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.co-item__media img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.co-item__qty {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    min-width: 1.35rem;
    height: 1.35rem;
    padding-inline: 0.3rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: var(--color-cocoa);
    color: var(--color-cream);
    font-size: 0.72rem;
    font-weight: 700;
}

.co-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.co-item__name {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-strong);
}

.co-item__variant {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.co-item__price {
    font-weight: 700;
    color: var(--text-strong);
    white-space: nowrap;
}

/* ---- Checkout responsive ---- */
@media (max-width: 900px) {
    .checkout__layout {
        grid-template-columns: 1fr;
    }

    .checkout .summary {
        position: static;
    }
}

@media (max-width: 620px) {
    .checkout-step__sep {
        display: none;
    }

    .checkout-step__label {
        font-size: 0.82rem;
    }
}

/* ============================================================
   31. ORDER CONFIRMATION PAGE
============================================================ */

.confirm {
    padding-block: clamp(2.5rem, 5vw, 4rem) var(--section-pad);
}

/* ---- Success headline ---- */
.confirm__head {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.confirm__icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-pill);
    background-color: rgba(154, 167, 137, 0.2);
    color: var(--color-sage-dark);
    font-size: 2.4rem;
    animation: confirm-pop 0.5s var(--ease);
}

.confirm__icon::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(154, 167, 137, 0.4);
    animation: confirm-ring 1.8s var(--ease) infinite;
}

@keyframes confirm-pop {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes confirm-ring {
    0%   { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}

.confirm__title {
    font-size: clamp(2rem, 4vw, 2.9rem);
}

.confirm__text {
    margin-top: 0.75rem;
    font-size: 1.08rem;
    color: var(--text-muted);
}

.confirm__email {
    color: var(--text-strong);
    font-weight: 700;
}

.confirm__order {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--text-strong);
    font-size: 0.95rem;
}

/* ---- Details card ---- */
.confirm-card {
    max-width: 720px;
    margin: clamp(2rem, 4vw, 3rem) auto 0;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.confirm-card__section {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.confirm-card__section + .confirm-card__section {
    border-top: 1px solid var(--color-line);
}

.confirm-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.confirm-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.confirm-meta__label {
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-muted);
}

.confirm-meta__value {
    font-weight: 700;
    color: var(--text-strong);
}

.confirm-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background-color: rgba(154, 167, 137, 0.2);
    color: var(--color-sage-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ---- Delivery block ---- */
.confirm-delivery {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.confirm-delivery__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.3rem;
}

.confirm-delivery__date {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.35rem;
}

.confirm-delivery__address {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

.confirm-delivery__method {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Total ---- */
.confirm-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-line);
}

.confirm-total__label {
    font-weight: 700;
    color: var(--text-strong);
}

.confirm-total__value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-strong);
}

/* ---- What happens next ---- */
.confirm-next {
    max-width: 720px;
    margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
    text-align: center;
}

.confirm-next__title {
    font-size: 1.3rem;
}

.confirm-next__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.confirm-step {
    padding: 1.5rem 1rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.confirm-step__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.3rem;
}

.confirm-step__title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.confirm-step__text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Actions ---- */
.confirm-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: clamp(2rem, 4vw, 2.5rem);
}

/* ---- Support ---- */
.confirm-support {
    max-width: 720px;
    margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.confirm-support__row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
    margin-top: 0.85rem;
}

.confirm-support__row a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.confirm-support__row a:hover {
    color: var(--accent);
}

/* ---- Confirmation responsive ---- */
@media (max-width: 640px) {
    .confirm-meta {
        grid-template-columns: 1fr;
    }

    .confirm-next__grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   32. PAYMENT FAILED (error variant of the confirmation page)
============================================================ */

/* Warm, non-alarming error icon */
.confirm__icon--error {
    background-color: rgba(196, 123, 95, 0.16);
    color: var(--accent-dark);
}

/* Calm the celebratory ring into a soft static halo */
.confirm__icon--error::after {
    inset: -6px;
    border-color: rgba(196, 123, 95, 0.28);
    animation: none;
    opacity: 1;
}

.confirm-status--failed {
    background-color: rgba(196, 123, 95, 0.16);
    color: var(--accent-dark);
}

/* Possible reasons */
.fail-intro {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.fail-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.fail-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-body);
}

.fail-list i {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Reassurance note */
.fail-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-md);
    background-color: rgba(154, 167, 137, 0.16);
}

.fail-note__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sage-dark);
    color: var(--color-white);
    font-size: 1.1rem;
}

.fail-note p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ============================================================
   33. ACCOUNT / PROFILE PAGE
============================================================ */

.account {
    padding-block: clamp(1.25rem, 3vw, 2rem) var(--section-pad);
}

.account__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---- Sidebar ---- */
.account-sidebar {
    position: sticky;
    top: 100px;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem;
    margin-bottom: 1rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.account-user__avatar {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-pill);
    object-fit: cover;
    flex-shrink: 0;
}

.account-user__name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-strong);
}

.account-user__email {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.account-nav {
    padding: 0.6rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.account-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.account-nav__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-body);
    white-space: nowrap;
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.account-nav__link i {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.account-nav__link:hover {
    background-color: var(--bg-surface-soft);
    color: var(--text-strong);
}

.account-nav__link--active {
    background-color: var(--accent);
    color: var(--color-white);
}

.account-nav__link--active i {
    color: var(--color-white);
}

.account-nav__link--logout {
    color: var(--accent-dark);
}

.account-nav__link--logout i {
    color: var(--accent-dark);
}

.account-nav__divider {
    display: block;
    height: 1px;
    margin: 0.5rem 0.3rem;
    background-color: var(--color-line);
}

/* ---- Main column ---- */
.account-main {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 3vw, 1.75rem);
    min-width: 0;
}

/* Profile header */
.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.profile-header__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-header__avatar {
    width: 5rem;
    height: 5rem;
    border-radius: var(--radius-pill);
    object-fit: cover;
}

.profile-header__avatar-edit {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 0.85rem;
    box-shadow: 0 0 0 3px var(--bg-surface);
    transition: background-color var(--speed) var(--ease);
}

.profile-header__avatar-edit:hover {
    background-color: var(--accent-dark);
}

.profile-header__info {
    flex: 1;
    min-width: 0;
}

.profile-header__tier {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    background-color: rgba(201, 162, 75, 0.16);
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-header__name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 0.5rem;
}

.profile-header__email {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    color: var(--text-muted);
}

.profile-header__edit {
    flex-shrink: 0;
}

/* ---- Account cards ---- */
.account-card {
    padding: clamp(1.5rem, 3vw, 2rem);
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.account-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.account-card__title {
    font-size: 1.3rem;
}

.account-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-section {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-line);
}

.account-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.9rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-line);
}

/* ---- Membership summary ---- */
.membership {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.membership__tile {
    padding: 1.25rem;
    background-color: var(--bg-surface-soft);
    border-radius: var(--radius-md);
}

.membership__value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-strong);
}

.membership__label {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
}

/* ---- Account responsive ---- */
@media (max-width: 900px) {
    .account__layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-user {
        display: none;
    }

    .account-nav__list {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.3rem;
    }

    .account-nav__divider {
        display: none;
    }

    .membership {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .profile-header {
        text-align: center;
        justify-content: center;
    }

    .profile-header__info {
        flex-basis: 100%;
    }

    .profile-header__email {
        justify-content: center;
    }

    .profile-header__edit {
        width: 100%;
    }

    .account-actions {
        flex-direction: column-reverse;
    }

    .account-actions .btn {
        width: 100%;
    }
}

/* ============================================================
   34. MY ORDERS PAGE
============================================================ */

.account-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.orders-head p {
    margin-top: 0.4rem;
    color: var(--text-muted);
}

/* ---- Filters ---- */
.orders-filters__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ---- Orders list ---- */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--speed) var(--ease);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding: 1rem 1.25rem;
    background-color: var(--bg-surface-soft);
    border-bottom: 1px solid var(--color-line);
}

.order-card__id {
    font-weight: 700;
    color: var(--text-strong);
}

.order-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-card__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
}

.order-status--processing {
    background-color: rgba(196, 123, 95, 0.16);
    color: var(--accent-dark);
}

.order-status--shipped {
    background-color: rgba(201, 162, 75, 0.2);
    color: #8a6d1f;
}

.order-status--delivered,
.order-status--paid {
    background-color: rgba(154, 167, 137, 0.22);
    color: var(--color-sage-dark);
}

.order-status--cancelled,
.order-status--refunded {
    background-color: rgba(138, 124, 110, 0.16);
    color: var(--text-muted);
}

.order-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem;
}

.order-card__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.order-thumbs {
    display: flex;
    flex-shrink: 0;
}

.order-thumb {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-linen);
    box-shadow: 0 0 0 2px var(--bg-surface);
}

.order-thumb + .order-thumb {
    margin-left: -12px;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-thumb--more {
    display: grid;
    place-items: center;
    margin-left: -12px;
    background-color: var(--color-sand);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 0 0 2px var(--bg-surface);
}

.order-card__summary {
    min-width: 0;
}

.order-card__count {
    font-weight: 700;
    color: var(--text-strong);
}

.order-card__names {
    margin-top: 0.15rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 34ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-card__right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.order-card__total {
    text-align: right;
}

.order-card__total-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
}

.order-card__total-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-strong);
}

.order-card__view {
    white-space: nowrap;
}

/* ---- Orders responsive ---- */
@media (max-width: 560px) {
    .order-card__body {
        flex-direction: column;
        align-items: stretch;
    }

    .order-card__right {
        justify-content: space-between;
    }

    .order-card__names {
        max-width: 100%;
        white-space: normal;
    }

    .order-card__view {
        flex-shrink: 0;
    }
}

/* ============================================================
   35. MY FAVORITES / WISHLIST PAGE
============================================================ */

/* Fills the account main column responsively without media queries */
.wishlist-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ============================================================
   36. SECURITY / CHANGE PASSWORD PAGE
============================================================ */

/* ---- Overview ---- */
.sec-overview {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
}

.sec-overview__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: var(--radius-pill);
    background-color: rgba(154, 167, 137, 0.2);
    color: var(--color-sage-dark);
    font-size: 1.6rem;
}

.sec-overview__info {
    flex: 1;
    min-width: 180px;
}

.sec-overview__title {
    font-size: 1.25rem;
}

.sec-overview__text {
    margin-top: 0.2rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.sec-overview__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sec-fact__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-muted);
}

.sec-fact__value {
    margin-top: 0.25rem;
    font-weight: 700;
    color: var(--text-strong);
}

/* ---- Form alerts (success / error) ---- */
.form-alert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-md);
}

.form-alert__icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.2rem;
}

.form-alert__title {
    font-weight: 700;
    color: var(--text-strong);
}

.form-alert p {
    font-size: 0.9rem;
    color: var(--text-body);
}

.form-alert--success {
    background-color: rgba(154, 167, 137, 0.16);
}

.form-alert--success .form-alert__icon {
    color: var(--color-sage-dark);
}

.form-alert--error {
    background-color: rgba(196, 123, 95, 0.14);
}

.form-alert--error .form-alert__icon {
    color: var(--accent-dark);
}

/* ---- Password strength indicator ---- */
.pw-strength {
    margin-top: 0.65rem;
}

.pw-strength__bars {
    display: flex;
    gap: 0.35rem;
}

.pw-strength__bar {
    flex: 1;
    height: 6px;
    border-radius: var(--radius-pill);
    background-color: var(--color-line);
}

/* Progressive fill colours (strong shown by default) */
.pw-strength__bar--on {
    background-color: var(--color-sage-dark);
}

.pw-strength__bar--weak {
    background-color: var(--accent);
}

.pw-strength__bar--medium {
    background-color: var(--color-gold);
}

.pw-strength__label {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pw-strength__level {
    color: var(--color-sage-dark);
}

/* ---- Security recommendations ---- */
.sec-reco {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sec-reco__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.sec-reco__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.1rem;
}

.sec-reco__body {
    flex: 1;
    min-width: 0;
}

.sec-reco__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-strong);
}

.sec-reco__text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sec-reco__action {
    flex-shrink: 0;
    padding: 0.55em 1.1em;
    font-size: 0.85rem;
}

/* ---- Sessions ---- */
.session-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.session-item__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.2rem;
}

.session-item__info {
    flex: 1;
    min-width: 0;
}

.session-item__device {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--text-strong);
}

.session-current {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
    background-color: rgba(154, 167, 137, 0.22);
    color: var(--color-sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

.session-item__meta {
    margin-top: 0.2rem;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.session-item__signout {
    flex-shrink: 0;
    padding: 0.55em 1.1em;
    font-size: 0.85rem;
}

/* ---- Security responsive ---- */
@media (max-width: 560px) {
    .sec-reco__item,
    .session-item {
        flex-wrap: wrap;
    }

    .sec-reco__action,
    .session-item__signout {
        margin-left: 3.35rem;
    }
}

/* ============================================================
   37. FAQ PAGE
============================================================ */

.faq {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

/* ---- Category tabs ---- */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 900px;
    margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
}

.faq-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--color-line);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-body);
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.faq-tab i {
    font-size: 1rem;
    color: var(--accent);
}

.faq-tab:hover {
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px var(--accent);
    transform: translateY(-2px);
}

.faq-tab.active {
    background-color: var(--accent);
    color: var(--color-white);
    box-shadow: none;
}

.faq-tab.active i {
    color: var(--color-white);
}

/* ---- Panes ---- */
.faq-panes {
    max-width: 860px;
    margin-inline: auto;
}

/* ---- Q&A items ---- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--speed) var(--ease),
                border-color var(--speed) var(--ease);
}

.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-blush);
}

.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text-strong);
    cursor: pointer;
    list-style: none;
    transition: color var(--speed) var(--ease);
}

.faq-item__q::-webkit-details-marker {
    display: none;
}

.faq-item__q:hover {
    color: var(--accent-dark);
}

.faq-item[open] .faq-item__q {
    color: var(--accent-dark);
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1rem;
    transition: transform var(--speed) var(--ease);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__a {
    padding: 0 1.35rem 1.25rem;
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-item__a a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-item__a a:hover {
    color: var(--accent);
}

/* ---- Contact support CTA ---- */
.faq-cta {
    max-width: 860px;
    margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-clay) 100%);
    color: var(--color-cream);
    scroll-margin-top: 100px;
}

.faq-cta__icon {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-pill);
    background-color: rgba(250, 245, 238, 0.18);
    color: var(--color-cream);
    font-size: 1.6rem;
}

.faq-cta__title {
    color: var(--color-white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.faq-cta__text {
    max-width: 46ch;
    margin: 0.75rem auto 1.75rem;
    color: rgba(250, 245, 238, 0.9);
}

.faq-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.faq-cta .btn--primary {
    background-color: var(--color-cream);
    color: var(--accent-dark);
}

.faq-cta .btn--primary:hover {
    background-color: var(--color-white);
}

.faq-cta .btn--secondary {
    color: var(--color-white);
    box-shadow: inset 0 0 0 1.5px rgba(250, 245, 238, 0.5);
}

.faq-cta .btn--secondary:hover {
    background-color: rgba(250, 245, 238, 0.12);
    color: var(--color-white);
}

/* ============================================================
   38. LEGAL / TERMS PAGE
============================================================ */

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--text-body);
    font-size: 0.85rem;
    font-weight: 600;
}

.legal {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

.legal__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
    gap: clamp(1.75rem, 4vw, 3.5rem);
}

/* ---- Table of contents ---- */
.legal-toc {
    position: sticky;
    top: 100px;
    padding: 1.35rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.legal-toc__title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}

.legal-toc__list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.legal-toc__link {
    display: block;
    padding: 0.5rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-body);
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.legal-toc__link:hover {
    color: var(--accent-dark);
    background-color: var(--bg-surface-soft);
}

.legal-toc__link.is-active {
    background-color: var(--accent);
    color: var(--color-white);
}

.legal-toc__link.is-active:hover {
    background-color: var(--accent-dark);
    color: var(--color-white);
}

/* ---- Content ---- */
.legal-content {
    max-width: 760px;
    min-width: 0;
}

.legal-intro {
    padding: 1.35rem 1.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background-color: var(--bg-surface-soft);
    color: var(--text-body);
    line-height: 1.75;
}

.legal-section {
    scroll-margin-top: 100px;
}

.legal-section + .legal-section {
    margin-top: 2.25rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--color-line);
}

.legal-section__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}

.legal-sec-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.05rem;
}

/* Info cards (e.g. delivery methods) */
.legal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.1rem;
}

.legal-card {
    padding: 1.5rem 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.legal-card__icon {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.3rem;
}

.legal-card__title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.legal-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.legal-card__meta {
    margin-top: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-strong);
}

/* Tables */
.legal-table-wrap {
    overflow-x: auto;
    margin-top: 1.1rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--color-line);
    font-size: 0.95rem;
}

.legal-table th {
    font-weight: 700;
    color: var(--text-strong);
    background-color: var(--bg-surface-soft);
}

.legal-table td {
    color: var(--text-body);
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table td:last-child,
.legal-table th:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text-strong);
}

/* Notes */
.legal-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-surface-soft);
}

.legal-note__icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.3rem;
}

.legal-note__title {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.2rem;
}

.legal-note p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.6;
}

.legal-note--info {
    background-color: rgba(154, 167, 137, 0.16);
}

.legal-note--info .legal-note__icon {
    color: var(--color-sage-dark);
}

.legal-note--warn {
    background-color: rgba(196, 123, 95, 0.14);
}

.legal-note--warn .legal-note__icon {
    color: var(--accent-dark);
}

.legal-content p {
    color: var(--text-body);
    line-height: 1.8;
}

.legal-content p + p {
    margin-top: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-top: 0.85rem;
}

.legal-content li {
    margin-top: 0.5rem;
    padding-left: 0.3rem;
    color: var(--text-body);
    line-height: 1.7;
}

.legal-content li::marker {
    color: var(--accent);
}

.legal-content a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-contact {
    list-style: none;
    padding-left: 0;
}

.legal-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0;
}

.legal-contact i {
    color: var(--accent);
    flex-shrink: 0;
}

/* ---- Legal responsive ---- */
@media (max-width: 900px) {
    .legal__layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }
}

/* ============================================================
   39. CONTACT PAGE
============================================================ */

.contact {
    padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

/* ---- Info cards ---- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-card {
    padding: 1.75rem 1.35rem;
    text-align: center;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--speed) var(--ease),
                box-shadow var(--speed) var(--ease);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent);
    font-size: 1.4rem;
}

.contact-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.contact-card__value {
    font-weight: 700;
    color: var(--text-strong);
    font-size: 0.95rem;
}

.contact-card__value a {
    color: var(--text-strong);
}

.contact-card__value a:hover {
    color: var(--accent-dark);
}

/* ---- Form + aside ---- */
.contact-main {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-form-card {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-form-card__title {
    font-size: 1.5rem;
}

.contact-form-card__lead {
    margin-top: 0.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.contact-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.contact-submit {
    width: 100%;
    margin-top: 1.5rem;
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-aside-card {
    padding: 1.5rem;
    background-color: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-aside-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.contact-aside-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.contact-social__item {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: var(--radius-pill);
    background-color: var(--color-sand);
    color: var(--accent-dark);
    font-size: 1.15rem;
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease),
                transform var(--speed) var(--ease);
}

.contact-social__item:hover {
    background-color: var(--accent);
    color: var(--color-white);
    transform: translateY(-2px);
}

.contact-note {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-note__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-pill);
    background-color: rgba(154, 167, 137, 0.2);
    color: var(--color-sage-dark);
    font-size: 1.15rem;
}

.contact-note__title {
    font-weight: 700;
    color: var(--text-strong);
    margin-bottom: 0.2rem;
}

.contact-note__text {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---- Map placeholder ---- */
.contact-map {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-map__frame {
    display: grid;
    place-items: center;
    height: clamp(280px, 40vw, 420px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    background:
        repeating-linear-gradient(0deg, rgba(74, 60, 51, 0.05) 0 1px, transparent 1px 44px),
        repeating-linear-gradient(90deg, rgba(74, 60, 51, 0.05) 0 1px, transparent 1px 44px),
        radial-gradient(120% 120% at 50% 0%, rgba(233, 201, 192, 0.35), rgba(233, 201, 192, 0) 60%),
        var(--color-linen);
}

.contact-map__pin {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.85rem;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    color: var(--color-white);
    font-size: 1.7rem;
    box-shadow: var(--shadow-md);
}

.contact-map__label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-strong);
}

.contact-map__addr {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-map__btn {
    margin-top: 1.25rem;
}

/* ---- Contact responsive ---- */
@media (max-width: 900px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   40. LANGUAGE SELECTOR (header)
============================================================ */

.lang-select {
    display: inline-flex;
}

.lang-select__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    background-color: var(--bg-surface);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-strong);
    transition: border-color var(--speed) var(--ease),
                color var(--speed) var(--ease);
}

.lang-select__toggle:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.lang-select__toggle > i:first-child {
    font-size: 1rem;
    color: var(--accent);
}

.lang-select__caret {
    font-size: 0.62rem;
    color: var(--text-muted);
}

.lang-select__menu.dropdown-menu {
    min-width: 156px;
    padding: 0.4rem;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-md);
    background-color: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.lang-select__option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.7rem;
    border: none;
    border-radius: var(--radius-sm);
    background: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-body);
    cursor: pointer;
    transition: color var(--speed) var(--ease),
                background-color var(--speed) var(--ease);
}

.lang-select__option:hover {
    background-color: var(--bg-surface-soft);
    color: var(--text-strong);
}

.lang-select__option.is-active {
    background-color: var(--accent);
    color: var(--color-white);
}

/* Grouping wrapper used in the minimal auth/checkout top bars */
.auth-topbar__meta,
.checkout-topbar__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .lang-select__caret {
        display: none;
    }
}

/* ============================================================
   41. 404 / NOT FOUND PAGE
============================================================ */

.notfound {
    padding-block: clamp(3rem, 8vw, 5.5rem);
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(233, 201, 192, 0.4) 0%, rgba(233, 201, 192, 0) 55%),
        linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand) 100%);
}

.notfound__inner {
    max-width: 620px;
    margin-inline: auto;
    text-align: center;
}

.notfound__figure {
    width: min(240px, 62%);
    margin: 0 auto 1.75rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    rotate: -2deg;
}

.notfound__figure img {
    width: 100%;
    display: block;
}

.notfound__code {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.notfound__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 1rem;
}

.notfound__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-top: 0.5rem;
}

.notfound__text {
    margin-top: 0.85rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.notfound__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.notfound__links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(74, 60, 51, 0.12);
}

.notfound__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-dark);
}

.notfound__links a:hover {
    color: var(--accent);
}
