@import url('https://fonts.googleapis.com/css2?family=Ysabeau:ital,wght@0,300..700;1,300..700&family=Ysabeau+SC:wght@300..700&display=swap');

/* ---- Tokens ---- */
:root {
  --navy:        #1E2460;
  --periwinkle:  #7B8FC7;
  --sky:         #DAEEF9;
  --offwhite:    #EEF0F8;
  --white:       #FFFFFF;
  --text-primary:    #1E2460;
  --text-secondary:  #5a6a9a;
  --text-muted:      #9aa3c2;
  --border:      #dde3f0;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-pill: 100px;

  --shadow-sm:   0 1px 4px rgba(30,36,96,0.07);
  --shadow-md:   0 4px 20px rgba(30,36,96,0.10);
  --shadow-lg:   0 12px 40px rgba(30,36,96,0.13);

  --nav-height:  68px;
  --max-width:   1200px;
  --gutter:      clamp(1.25rem, 5vw, 3rem);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Ysabeau', -apple-system, sans-serif;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.not-found-page {
    min-height: calc(100dvh - var(--nav-height) - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.not-found-inner {
    text-align: center;
    max-width: 480px;
}

.not-found-mark {
    font-family: 'Ysabeau', serif;
    font-size: clamp(80px, 20vw, 140px);
    color: var(--sky);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.not-found-code {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.not-found-title {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 0.875rem;
}

.not-found-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2rem;
}

.not-found-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .not-found-actions { flex-direction: column; align-items: center; }
    .not-found-actions .btn { width: 100%; max-width: 280px; }
}


/* ---- Hero ---- 
ABOUT PAGE     */
.about-hero {
    padding: clamp(4rem, 8vw, 7rem) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-title {
    font-family: 'Ysabeau SC', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.about-hero-body {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

.about-hero-image {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

/* ---- Story section ---- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-grid--with-image {
    align-items: stretch;
}

.story-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
}

.story-image-col {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--border);
}

.story-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--periwinkle);
    margin-bottom: 1rem;
}

.story-title {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.story-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.story-body p + p { margin-top: 1rem; }
/* Story section image (below heading on left col) */
.story-image {
    margin-top: 1.5rem;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}


/* ---- Three women ---- */
.women-section {
    background: var(--navy);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.women-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.woman-card {
    background: rgba(218,238,249,0.07);
    border: 1px solid rgba(218,238,249,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
}

.woman-mark {
    font-family: 'Ysabeau', serif;
    font-size: 2rem;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 1rem;
}

.woman-mark img {
    height: 25px;
}

.woman-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sky);
    margin-bottom: 0.75rem;
}

.woman-text {
    font-size: 13.5px;
    color: rgba(218,238,249,0.65);
    line-height: 1.7;
    font-weight: 300;
}

/* ---- Values ---- */
.values-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.value-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.value-item-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.value-item-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* ---- CTA banner ---- */
.about-cta {
    background: var(--sky);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 0 clamp(4rem, 8vw, 7rem);
    flex-wrap: wrap;
}

.about-cta-title {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.about-cta-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    font-weight: 300;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .women-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .about-hero { grid-template-columns: 1fr; gap: 2rem; }
    .about-hero-image { aspect-ratio: 4 / 3; order: -1; }
    .story-grid { grid-template-columns: 1fr; gap: 2rem; }
    .story-image-col { aspect-ratio: 4 / 3; order: -1; }
    .story-text-col { order: 1; }
    .about-cta { flex-direction: column; align-items: flex-start; }

    /* Woman cards — horizontal scroll row */
    .women-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        margin-top: 2rem;
        padding-bottom: 1rem;
        max-width: none;
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding-left: var(--gutter);
        padding-right: var(--gutter);
        scroll-padding-left: var(--gutter);
    }
    .women-grid::-webkit-scrollbar { display: none; }
    .woman-card {
        flex: 0 0 78vw;
        max-width: 320px;
        scroll-snap-align: start;
    }

    /* Values — 2×2 grid that scrolls horizontally as two columns */
    .values-list {
        display: grid;
        grid-template-columns: repeat(2, 78vw);
        grid-template-rows: auto auto;
        grid-auto-flow: column;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.75rem;
        margin-top: 2rem;
        padding-bottom: 1rem;
        margin-left: calc(-1 * var(--gutter));
        margin-right: calc(-1 * var(--gutter));
        padding-left: var(--gutter);
        padding-right: var(--gutter);
        scroll-padding-left: var(--gutter);
    }
    .values-list::-webkit-scrollbar { display: none; }
    .value-item {
        scroll-snap-align: start;
        min-width: 0;
    }
}

/* ACCOUNT PAGE   */
.account-page { padding: 2.5rem 0 5rem; }

/* ---- Layout ---- */
.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ---- Sidebar nav ---- */
.account-nav {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.account-nav-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid var(--border);
}

.account-nav-name {
    font-family: 'Ysabeau', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--navy);
}

.account-nav-email {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.account-nav-links {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    width: 100%;
    text-align: left;
    text-decoration: none;
    transition: all 0.15s;
}

.account-nav-link:hover { background: var(--offwhite); color: var(--navy); }
.account-nav-link.active { background: var(--sky); color: var(--navy); font-weight: 600; }
.account-nav-link i { font-size: 17px; flex-shrink: 0; }

.account-nav-divider {
    height: 1px;
    background: var(--border);
    margin: 0.25rem 0.5rem;
}

/* ---- Panels ---- */
.account-panel { display: none; }
.account-panel.active { display: block; }

.account-panel-title {
    font-family: 'Ysabeau', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

/* ---- Orders ---- */
.order-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: box-shadow 0.15s;
}

.order-card:hover { box-shadow: var(--shadow-md); }

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-num { font-size: 13px; font-weight: 600; color: var(--navy); }
.order-date { font-size: 12px; color: var(--text-muted); }

.order-items {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

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

.order-total { font-size: 15px; font-weight: 600; color: var(--navy); }

/* ---- Profile form ---- */
.profile-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.pf-group {
    margin-bottom: 1rem;
}

.pf-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.pf-group input {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--white);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.pf-group input:focus { border-color: var(--periwinkle); }
.pf-group input:disabled { background: var(--offwhite); color: var(--text-muted); }

/* ---- Empty state ---- */
.account-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.account-empty i { font-size: 36px; display: block; margin-bottom: 10px; opacity: 0.3; }
.account-empty p { font-size: 14px; }

/* ---- Mobile tabs ---- */
.account-tabs {
    display: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar { display: none; }

.account-tab {
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
}

.account-tab.active {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

/* ---- Login prompt ---- */
.account-login-prompt {
    text-align: center;
    padding: 5rem 1rem;
}

.account-login-mark {
    margin-bottom: 1rem;
}

.account-login-mark img {
    display: inline-block;
    height: 70px;
}

.account-login-title {
    font-family: 'Ysabeau', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.account-login-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1.75rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

@media (max-width: 768px) {
.account-layout { grid-template-columns: 1fr; }
.account-nav { display: none; }
    .account-tabs { display: flex; }
}

/*  CART PAGE   */

.cart-page {
    padding: 2.5rem 0 5rem;
    min-height: 70vh;
}

.cart-heading {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.cart-subheading {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* ---- Layout ---- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

/* ---- Cart items ---- */
.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.cart-item:first-child {
    border-top: 1px solid var(--border);
}

.cart-item-image {
    width: 88px;
    height: 110px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-item-image .img-placeholder {
    width: 100%;
    height: 100%;
}

.cart-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cart-item-name {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
}

.cart-item-meta {
    font-size: 12.5px;
    color: var(--text-muted);
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 0.25rem;
}

.cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
}

/* inline qty control */
.cart-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.cart-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--offwhite);
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    font-family: inherit;
}

.cart-qty-btn:hover { background: var(--sky); }

.cart-qty-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
    transition: color 0.15s;
}

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

/* ---- Summary ---- */
.cart-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.cart-summary-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 0.5rem 0;
}

.cart-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    padding: 0.5rem 0;
}

.cart-summary-delivery-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.55;
}

.cart-summary-cta {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    font-size: 14.5px;
}

.btn-continue {
    width: 100%;
    padding: 11px;
    font-size: 13.5px;
}

/* ---- Empty state ---- */
.cart-empty {
    display: none;
    padding: 4rem 0;
}

.cart-empty.show { display: block; }

.cart-empty-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cart-empty-mark {
    font-family: 'Ysabeau', serif;
    font-size: 72px;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 1rem;
}

.cart-empty-mark img {
    height: 20px;
}

.cart-empty-title {
    font-family: 'Ysabeau', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cart-empty-text {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1.75rem;
    max-width: 340px;
}

.cart-empty-suggestions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-empty-suggestion {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: box-shadow 0.15s, transform 0.15s;
    text-decoration: none;
}

.cart-empty-suggestion:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.cart-empty-suggestion-img {
    width: 52px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-empty-suggestion-img .img-placeholder {
    width: 100%;
    height: 100%;
}

.cart-empty-suggestion-info {
    flex: 1;
    min-width: 0;
}

.cart-empty-suggestion-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
}

.cart-empty-suggestion-price {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-empty-suggestion-arrow {
    color: var(--text-muted);
    font-size: 16px;
    flex-shrink: 0;
}

/* ---- Responsive ---- */
@media (max-width: 769px) {
    .cart-layout {
    grid-template-columns: 1fr;
    }

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

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

    .cart-empty-mark { font-size: 52px; }
    .cart-suggestion-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.cart-suggestion-add:hover {
    background: var(--sky);
    border-color: var(--sky);
}

/* Quick add sheet */
.quick-add-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(10,15,50,0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.quick-add-backdrop.open { opacity: 1; visibility: visible; }

.quick-add-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 0 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 70dvh;
    overflow-y: auto;
}

/* Drag handle */
.quick-add-panel::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0.875rem auto 1.25rem;
}

.quick-add-backdrop.open .quick-add-panel { transform: translateY(0); }

@media (min-width: 769px) {
    .quick-add-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -40%);
    border-radius: var(--radius-lg);
    width: 480px;
    max-height: 85vh;
    }
    .quick-add-backdrop.open .quick-add-panel { transform: translate(-50%, -50%); }
}

.quick-add-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.quick-add-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.quick-add-img {
    width: 64px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.quick-add-img .img-placeholder { width: 100%; height: 100%; }

.quick-add-name {
    font-family: 'Ysabeau', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.quick-add-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 4px;
}

.quick-add-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.qa-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qa-section-label span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
    font-size: 12px;
}

.qa-swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.1rem; }

.qa-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s;
}

.qa-swatch.active { outline-color: var(--navy); }
.qa-swatch:hover  { outline-color: var(--periwinkle); }

.qa-sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.qa-size-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-size-btn:hover  { border-color: var(--navy); }
.qa-size-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.qa-size-btn.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }

.qa-error { font-size: 12.5px; color: #c0392b; margin-bottom: 0.75rem; display: none; }
.qa-error.show { display: block; }
}

/*   CHECKOUT PAGE   */
.checkout-page { padding: 2rem 0 5rem; }
/* ---- Progress bar ---- */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.progress-step.done .progress-circle {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.progress-step.active .progress-circle {
    border-color: var(--navy);
    color: var(--navy);
    font-weight: 700;
}

.progress-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-step.active .progress-label,
.progress-step.done .progress-label {
    color: var(--navy);
}

.progress-line {
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 80px;
    margin: 0 8px;
    margin-bottom: 22px;
}

/* ---- Layout ---- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

/* ---- Form sections ---- */
.checkout-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.checkout-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0.875rem;
}

.form-group:last-child { margin-bottom: 0; }

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-primary);
    background: var(--white);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--periwinkle);
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
}

.form-group input.error,
.form-group select.error {
    border-color: #c0392b;
}

.field-error {
    font-size: 11.5px;
    color: #c0392b;
    display: none;
}

.field-error.show { display: block; }

/* ---- Shipping fee display ---- */
.shipping-fee-display {
    background: var(--offwhite);
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-top: 0.75rem;
    display: none;
}

.shipping-fee-display.show { display: block; }
.shipping-fee-display strong { color: var(--navy); }

/* ---- Order summary panel ---- */
.checkout-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.checkout-summary-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    max-height: 280px;
    overflow-y: auto;
}

.summary-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
    align-items: center;
}

.summary-item-img {
    width: 52px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.summary-item-img .img-placeholder {
    width: 100%;
    height: 100%;
}

.summary-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
}

.summary-item-meta {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.summary-item-price {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.875rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    padding: 0.4rem 0;
}

.summary-free-note {
    font-size: 11.5px;
    color: var(--success, #1a7a4a);
    margin-top: 0.25rem;
}

/* ---- Place order button ---- */
.place-order-btn {
    width: 100%;
    padding: 14px;
    font-size: 14.5px;
    margin-top: 1.25rem;
    border-radius: var(--radius-pill);
}

.checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .checkout-layout {
    grid-template-columns: 1fr;
    }

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

    .summary-items { max-height: 200px; }
}

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


/*   CONTACT PAGE    */
.contact-page { padding: 3rem 0 6rem; }

.contact-hero {
    margin-bottom: 3rem;
}

.contact-hero-title {
    font-family: 'Ysabeau', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-hero-sub {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 480px;
    line-height: 1.65;
}

/* ---- Layout ---- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* ---- Form ---- */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.cf-group {
    margin-bottom: 1rem;
}

.cf-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--white);
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus { border-color: var(--periwinkle); }

.cf-group textarea { resize: vertical; min-height: 120px; }

/* ---- Right sidebar ---- */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-channel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s;
}

.contact-channel:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-channel-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 3px;
}

.contact-channel-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 300;
}

/* ---- FAQ section ---- */
.faq-section { margin-top: 4rem; }

.faq-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--white);
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    gap: 0.75rem;
}

.faq-trigger i {
    font-size: 15px;
    color: var(--text-muted);
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.faq-body {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: var(--white);
}

.faq-body-inner { padding: 0 1.25rem 1.1rem; }
.faq-item.open .faq-trigger i { transform: rotate(180deg); }
.faq-item.open .faq-trigger { border-bottom: 1px solid var(--border); }

/* ---- Size guide ---- */
.size-table-wrap {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin-top: 1.5rem;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.size-table th {
    background: var(--navy);
    color: var(--sky);
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

.size-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.size-table tr:last-child td { border-bottom: none; }
.size-table tr:nth-child(even) td { background: var(--offwhite); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-sidebar { flex-direction: row; flex-wrap: wrap; }
    .contact-channel { flex: 1; min-width: 200px; }
    .faq-cols { grid-template-columns: 1fr; }
}

/*   ORDER CONFIRMATION PAGE   */
.confirmation-page {
    padding: 3rem 0 6rem;
    min-height: 70vh;
}

/* ---- Progress bar ---- */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-step.done .progress-circle {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.progress-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-step.done .progress-label { color: var(--navy); }

.progress-line {
    flex: 1;
    height: 1px;
    background: var(--navy);
    max-width: 80px;
    margin: 0 8px;
    margin-bottom: 22px;
}

/* ---- Hero ---- */
.confirmation-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.confirmation-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 32px;
    color: var(--navy);
}

.confirmation-title {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.confirmation-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto 1rem;
}

.confirmation-order-num {
    display: inline-block;
    background: var(--offwhite);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.04em;
}

/* ---- Layout ---- */
.confirmation-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

/* ---- Cards ---- */
.conf-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.conf-card-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.1rem;
}

/* ---- Order items ---- */
.conf-items {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.conf-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--border);
}

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

.conf-item-img {
    width: 60px;
    height: 75px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.conf-item-img .img-placeholder {
    width: 100%;
    height: 100%;
}

.conf-item-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 3px;
}

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

.conf-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

/* ---- Address card ---- */
.conf-address-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ---- Totals card ---- */
.conf-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--text-secondary);
    padding: 0.35rem 0;
}

.conf-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

/* ---- What happens next ---- */
.next-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.next-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.next-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sky);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 2px;
}

.next-step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 2px;
}

.next-step-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    font-weight: 300;
}

/* ---- CTA ---- */
.confirmation-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .confirmation-layout {
    grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .confirmation-cta { flex-direction: column; }
    .confirmation-cta .btn { width: 100%; }
}

/*   PRODUCT PAGE    */

.product-page { padding: 2.5rem 0 4rem; }

.product-breadcrumb {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-breadcrumb a { color: var(--text-muted); transition: color 0.15s; }
.product-breadcrumb a:hover { color: var(--navy); }
.product-breadcrumb i { font-size: 13px; }

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.product-main-image {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 0.75rem;
    border: 1px solid var(--border);
}

.product-main-image .img-placeholder { width: 100%; height: 100%; }

.product-thumbnails { display: flex; gap: 0.6rem; flex-wrap: wrap; }

@media (max-width: 768px) {
    .product-thumbnails {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .product-thumbnails::-webkit-scrollbar { display: none; }
    .product-thumb { flex-shrink: 0; }
}

.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s;
    flex-shrink: 0;
}

.product-thumb.active { border-color: var(--navy); }
.product-thumb .img-placeholder { width: 100%; height: 100%; }
.product-thumb:hover { border-color: var(--periwinkle); }

.product-info { display: flex; flex-direction: column; gap: 1.5rem; }

.product-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--periwinkle);
}

.product-name {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.15;
    margin-top: 0.25rem;
}

.product-price { font-size: 22px; font-weight: 600; color: var(--navy); }

.product-description {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

.product-divider { height: 1px; background: var(--border); }

.selector-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selector-label span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
    font-size: 13px;
}

.colour-swatches { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.colour-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s;
}

.colour-swatch.active { outline-color: var(--navy); }
.colour-swatch:hover { outline-color: var(--periwinkle); }

.size-options { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.size-btn {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-btn:hover { border-color: var(--navy); color: var(--navy); }
.size-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.size-btn.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    pointer-events: none;
}

.size-stock-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.size-stock-note.low { color: #b45309; }

.size-guide-link {
    font-size: 12px;
    color: var(--periwinkle);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 0.4rem;
    display: inline-block;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--offwhite);
    color: var(--navy);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    font-family: inherit;
}

.qty-btn:hover { background: var(--sky); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.qty-display {
    width: 48px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--navy);
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
}

.product-actions { display: flex; gap: 0.75rem; align-items: center; }

.btn-add-cart { flex: 1; padding: 14px 24px; font-size: 14.5px; }

.btn-wishlist {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.15s;
    flex-shrink: 0;
}

.btn-wishlist:hover { border-color: var(--navy); background: var(--offwhite); }

.selection-error { font-size: 13px; color: #c0392b; display: none; }
.selection-error.show { display: block; }

.product-accordion-item { border-bottom: 1px solid var(--border); }

.product-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
}

.product-accordion-trigger i {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.product-accordion-body {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
}

.product-accordion-body-inner { padding-bottom: 1rem; }
.product-accordion-item.open .product-accordion-trigger i { transform: rotate(180deg); }

.related-section { padding: 3rem 0 4rem; border-top: 1px solid var(--border); }

#related-grid { grid-template-columns: repeat(4, 1fr); }

/* ============================================
   STICKY ADD-TO-BAG BAR (mobile only)
   ============================================ */

.pdp-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    .pdp-sticky-bar {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 150;
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 0.75rem 1.25rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        box-shadow: 0 -4px 20px rgba(30,36,96,0.08);
    }

    .pdp-sticky-price {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .pdp-sticky-label {
        font-size: 10px;
        font-weight: 500;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .pdp-sticky-amount {
        font-size: 17px;
        font-weight: 600;
        color: var(--navy);
        line-height: 1.2;
    }

    .pdp-sticky-btn {
        flex: 1;
        height: 48px;
        border-radius: var(--radius-pill);
        background: var(--navy);
        color: var(--white);
        border: none;
        font-family: inherit;
        font-size: 13.5px;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background 0.15s;
    }

    .pdp-sticky-btn:hover { background: #161c4e; }

    /* Push page content up so bar doesn't overlap the CTA */
    .product-page {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; gap: 2rem; }
    .product-gallery { position: static; }
    .product-actions { flex-wrap: wrap; }
    .btn-add-cart { min-width: 100%; }

    #related-grid {
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 1rem;
      padding-bottom: 0.5rem;
    }
    #related-grid .product-card {
      flex: 0 0 52vw;
      max-width: 200px;
      scroll-snap-align: start;
    }
}


/*   SHOP PAGE    */
/* ---- Shop layout ---- */
.shop-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 2.5rem 0;
}

/* ---- Sidebar ---- */
.shop-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
    max-height: calc(100dvh - var(--nav-height) - 3rem);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: width 0.25s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-track { background: transparent; }
.shop-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.shop-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    position: sticky;  /* ADD */
    top: 0;            /* ADD */
    background: var(--white); /* ADD */
    z-index: 1;        /* ADD */
}

.shop-sidebar-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.shop-sidebar-collapse {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.15s, color 0.15s;
}

.shop-sidebar-collapse:hover {
    background: var(--offwhite);
    color: var(--navy);
}

.shop-sidebar-collapse i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.shop-sidebar-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
}

.filter-option:hover { background: var(--offwhite); }

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    accent-color: var(--navy);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-option-label {
    font-size: 13.5px;
    color: var(--text-primary);
    cursor: pointer;
}

.filter-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: var(--text-primary);
    background: var(--offwhite);
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s;
}

.filter-select:focus { border-color: var(--periwinkle); }

.sidebar-reset {
    width: 100%;
    padding: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: color 0.15s;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
    padding-top: 1rem;
}

.sidebar-reset:hover { color: var(--navy); }

/* collapsed sidebar */
.shop-layout.sidebar-collapsed {
    grid-template-columns: auto 1fr;
}

.shop-layout.sidebar-collapsed .shop-sidebar-body,
.shop-layout.sidebar-collapsed .shop-sidebar-title {
    display: none;
}

.shop-layout.sidebar-collapsed .shop-sidebar-header {
    border-bottom: none;
    justify-content: center;
    padding: 1rem 0.75rem;
}

.shop-layout.sidebar-collapsed .shop-sidebar-collapse i {
    transform: rotate(180deg);
}

/* ---- Shop main ---- */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

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

.shop-filter-btn {
    display: none;
}

/* ---- Product grid ---- */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* ---- Empty state ---- */
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.shop-empty i {
    font-size: 40px;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.shop-empty p { font-size: 14px; }

/* ---- Mobile filter drawer ---- */
.filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s;
}

.filter-drawer.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.filter-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 50, 0.72);
    cursor: pointer;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

.filter-drawer-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem;
    max-height: 85dvh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.28s ease;
}

.filter-drawer.open .filter-drawer-panel {
    transform: translateY(0);
}

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

.filter-drawer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

.filter-drawer-close {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.filter-drawer-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-drawer-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
}

/* ---- product card overrides ---- */
.product-card-image {
    aspect-ratio: 3 / 4;
}

.product-card-body {
    padding: 0.75rem 0.85rem 0.9rem;
}

.product-card-category { display: none; }

.product-card-footer {
    margin-top: 0.25rem;
}

/* card action icons â€” heart + cart, top right */
.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.card-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--navy);
    backdrop-filter: blur(4px);
    transition: background 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.card-action-btn:hover {
    background: var(--white);
    transform: scale(1.08);
}

.card-action-btn.wishlisted {
    color: #e74c3c;
}

/* sold out badge */
.card-sold-out {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 1;
}

/* ---- Quick add sheet / modal ---- */
.quick-add-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(10,15,50,0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.quick-add-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* mobile â€” bottom sheet */
.quick-add-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 55dvh;
    overflow-y: auto;
}

.quick-add-backdrop.open .quick-add-panel {
    transform: translateY(0);
}

/* desktop â€” centered popup */
@media (min-width: 769px) {
    .quick-add-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -40%);
    border-radius: var(--radius-lg);
    width: 480px;
    max-height: 85vh;
    }
    .quick-add-backdrop.open .quick-add-panel {
    transform: translate(-50%, -50%);
    }
}

.quick-add-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.quick-add-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.quick-add-img {
    width: 64px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.quick-add-img .img-placeholder {
    width: 100%;
    height: 100%;
}

.quick-add-name {
    font-family: 'Ysabeau', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.quick-add-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 4px;
}

.quick-add-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.qa-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qa-section-label span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
    font-size: 12px;
}

.qa-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
}

.qa-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s;
}

.qa-swatch.active { outline-color: var(--navy); }
.qa-swatch:hover  { outline-color: var(--periwinkle); }

.qa-sizes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.qa-size-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-size-btn:hover  { border-color: var(--navy); }
.qa-size-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.qa-size-btn.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }

.qa-error {
    font-size: 12.5px;
    color: #c0392b;
    margin-bottom: 0.75rem;
    display: none;
}

.qa-error.show { display: block; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .shop-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 0;
    }

    .shop-sidebar { display: none; }

    .shop-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    }

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

@media (max-width: 480px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
}

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


/*   WISHLIST PAGE   */

.wishlist-page { padding: 2.5rem 0 5rem; min-height: 70vh; }

.wishlist-heading {
    font-family: 'Ysabeau', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.wishlist-subheading {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.wishlist-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
}

.wishlist-card-image {
    aspect-ratio: 3 / 4;
    position: relative;
}

.wishlist-card-image .img-placeholder { width: 100%; height: 100%; }

.wishlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #c0392b;
    backdrop-filter: blur(4px);
    transition: background 0.15s;
    z-index: 2;
}

.wishlist-remove:hover { background: var(--white); }

.wishlist-card-body { padding: 0.75rem 0.85rem 0.9rem; }

.wishlist-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 4px;
}

.wishlist-card-price {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.wishlist-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.wishlist-card-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

/* empty state */
.wishlist-empty {
    text-align: center;
    padding: 5rem 1rem;
}

.wishlist-empty-mark {
    font-family: 'Ysabeau', serif;
    font-size: 64px;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 1rem;
}

.wishlist-empty-title {
    font-family: 'Ysabeau', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.wishlist-empty-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1.75rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* quick add â€” same as shop */
.quick-add-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(10,15,50,0.45);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.quick-add-backdrop.open { opacity: 1; visibility: visible; }

.quick-add-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 55dvh;
    overflow-y: auto;
}

.quick-add-backdrop.open .quick-add-panel { transform: translateY(0); }

@media (min-width: 769px) {
    .quick-add-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -40%);
    border-radius: var(--radius-lg);
    width: 480px;
    max-height: 85vh;
    }
    .quick-add-backdrop.open .quick-add-panel { transform: translate(-50%, -50%); }
}

.quick-add-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.quick-add-product { display: flex; gap: 1rem; align-items: center; flex: 1; min-width: 0; }

.quick-add-img {
    width: 64px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.quick-add-img .img-placeholder { width: 100%; height: 100%; }

.quick-add-name {
    font-family: 'Ysabeau', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
}

.quick-add-price { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 4px; }

.quick-add-close {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: none;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.qa-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qa-section-label span {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-primary);
    font-size: 12px;
}

.qa-swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1.1rem; }

.qa-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color 0.15s;
}

.qa-swatch.active { outline-color: var(--navy); }
.qa-swatch:hover  { outline-color: var(--periwinkle); }

.qa-sizes { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }

.qa-size-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    font-size: 12.5px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qa-size-btn:hover  { border-color: var(--navy); }
.qa-size-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.qa-size-btn.unavailable { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; pointer-events: none; }

.qa-error { font-size: 12.5px; color: #c0392b; margin-bottom: 0.75rem; display: none; }
.qa-error.show { display: block; }

@media (max-width: 900px) { .wishlist-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }
/* ============================================
   CONTACT PAGE NAV PILL
   ============================================ */

.contact-page-nav {
  display: flex;
  gap: 0.5rem;
  padding: 1.5rem 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.contact-page-nav::-webkit-scrollbar { display: none; }

.contact-nav-pill {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-nav-pill:hover {
  border-color: var(--periwinkle);
  color: var(--navy);
}

.contact-nav-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ============================================
   NEWSLETTER POPUP
   ============================================ */

.newsletter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 36, 96, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.newsletter-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.newsletter-popup {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 64px rgba(30,36,96,0.18);
}

.newsletter-overlay.visible .newsletter-popup {
  transform: translateY(0) scale(1);
}

.newsletter-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--offwhite);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  transition: background 0.15s;
  z-index: 2;
}

.newsletter-popup-close:hover { background: var(--sky); color: var(--navy); }

.newsletter-popup-body {
  padding: 2.5rem 2.25rem 2.25rem;
  text-align: center;
}

.newsletter-popup-eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--periwinkle);
  margin-bottom: 0.75rem;
}

.newsletter-popup-title {
  font-family: 'Ysabeau SC', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.newsletter-popup-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.newsletter-popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-popup-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.newsletter-popup-input:focus { border-color: var(--periwinkle); }
.newsletter-popup-input::placeholder { color: var(--text-muted); }

.newsletter-popup-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.newsletter-popup-btn:hover { opacity: 0.87; }
.newsletter-popup-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.newsletter-popup-skip {
  margin-top: 0.85rem;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter-popup-skip:hover { color: var(--text-secondary); }

.newsletter-popup-success {
  padding: 2.5rem 2.25rem;
  text-align: center;
}

.newsletter-popup-success-icon {
  width: 48px;
  height: 48px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 22px;
  color: var(--navy);
}

.newsletter-popup-success-title {
  font-family: 'Ysabeau SC', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.newsletter-popup-success-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================
   PRODUCT REVIEW FORM
   ============================================ */

.review-form-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--offwhite);
  border-top: 1px solid var(--border);
}

.review-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.review-form-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--periwinkle);
  margin-bottom: 0.6rem;
}

.review-form-title {
  font-family: 'Ysabeau SC', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.review-form-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.review-star-row {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.review-star {
  font-size: 28px;
  color: var(--border);
  cursor: pointer;
  transition: color 0.1s;
  line-height: 1;
  user-select: none;
}

.review-star.active,
.review-star.hover { color: #f0b429; }

.review-form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.review-form-fields input,
.review-form-fields textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.review-form-fields input:focus,
.review-form-fields textarea:focus { border-color: var(--periwinkle); }
.review-form-fields input::placeholder,
.review-form-fields textarea::placeholder { color: var(--text-muted); }

.review-form-fields textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.review-submit-btn {
  margin-top: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s;
}

.review-submit-btn:hover { opacity: 0.87; }
.review-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.review-form-msg {
  margin-top: 0.75rem;
  font-size: 13px;
  display: none;
}

.review-form-msg.success { color: #2e7d32; display: block; }
.review-form-msg.error   { color: #c0392b; display: block; }

@media (max-width: 600px) {
  .review-field-row { grid-template-columns: 1fr; }
}

/* ============================================
   ABOUT PAGE — HERO BANNER WRAPPER
   ============================================ */

.about-hero-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.about-hero-text { padding-right: 1rem; }

.about-hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--periwinkle);
}

@media (max-width: 768px) {
  .about-hero-text { padding-right: 0; }
}