/* ============================================================================
   AnasPlayhouse — "Bright Boudoir Luxe"
   A bright, high-class, sensual boutique. Warm ivory, rose-berry & antique gold.
   Display: Cormorant Garamond (serif) · Body: Jost (geometric sans).
   ============================================================================ */

:root {
    --ivory:      #FBF6F1;
    --porcelain:  #FFFFFF;
    --blush:      #F6E8E3;
    --blush-2:    #F1D9D1;
    --ink:        #2A1B22;
    --ink-soft:   #7A6670;
    --rose:       #B23A5D;
    --rose-deep:  #8A2247;
    --gold:       #C29A5B;
    --gold-soft:  #E7D6B3;
    --line:       #EBE0D9;
    --line-soft:  #F1E9E3;

    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max: 1240px;
    --r: 4px;
    --shadow: 0 26px 60px -34px rgba(90,24,48,0.35);
    --shadow-sm: 0 12px 30px -18px rgba(90,24,48,0.30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 50% -10%, #FFF 0%, rgba(255,255,255,0) 60%),
        radial-gradient(900px 500px at 100% 0%, var(--blush) 0%, rgba(246,232,227,0) 55%),
        var(--ivory);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 0.5rem; letter-spacing: 0.01em; }
a { color: var(--rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rose-deep); }
img { max-width: 100%; display: block; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.82rem; }
[hidden] { display: none !important; }

.eyebrow, .site-nav a, .icon-link, .button, .btn, .listing-toolbar .muted, .site-footer__col h4 {
    font-family: var(--sans);
}
.eyebrow {
    display: inline-block; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--rose); font-weight: 500; margin-bottom: 0.85rem;
}

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--blush); }
.announce__inner {
    max-width: var(--max); margin: 0 auto; padding: 0.55rem 1.25rem;
    text-align: center; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header { background: rgba(251,246,241,0.9); backdrop-filter: saturate(120%) blur(6px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.site-header__bar {
    max-width: var(--max); margin: 0 auto; padding: 1.15rem 1.25rem;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.nav-toggle { grid-column: 1; justify-self: start; display: none; background: none; border: none; font-size: 1.3rem; color: var(--ink); cursor: pointer; }
.wordmark { grid-column: 2; text-align: center; text-decoration: none; }
.wordmark__name { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; letter-spacing: 0.02em; color: var(--ink); line-height: 1; }
.wordmark:hover .wordmark__name { color: var(--ink); }
.wordmark__by { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-top: 0.35rem; }
.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1.15rem; }
.icon-link { color: var(--ink); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.35rem; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.icon-link:hover { color: var(--rose); }
.icon-link--text { font-size: 0.72rem; }
.cart-link__icon { font-size: 1rem; }
.cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; background: var(--rose); color: #fff; border-radius: 999px; font-size: 0.62rem; font-weight: 500; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; padding: 0.5rem 1.25rem 1rem; border-top: 1px solid var(--line-soft); }
.site-nav a { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); font-weight: 400; position: relative; padding-bottom: 2px; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width 0.25s; }
.site-nav a:hover { color: var(--rose); }
.site-nav a:hover::after { width: 100%; }
.nav-sep { color: var(--gold); font-size: 0.7rem; user-select: none; }

/* ---------- Layout ---------- */
.site-main { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.25rem 4rem; min-height: 60vh; }
.section { margin: 3.5rem 0; }
.section:first-child { margin-top: 1rem; }
.section__head { text-align: center; margin-bottom: 2rem; }
.section__head h1, .section__head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.section__head::after { content: '◆'; display: block; color: var(--gold); font-size: 0.6rem; margin-top: 0.75rem; letter-spacing: 0.5em; }
.section__head a { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.button, button.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
    padding: 0.95rem 2rem; background: var(--rose); color: #fff; border: 1px solid var(--rose); border-radius: var(--r);
    cursor: pointer; transition: all 0.25s; text-decoration: none; }
.button:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button:disabled { background: var(--blush-2); border-color: var(--blush-2); color: var(--ink-soft); cursor: not-allowed; transform: none; box-shadow: none; }
.button--lg { width: 100%; padding: 1.05rem 2rem; }
.button--ghost { background: transparent; color: var(--ink); border: 1px solid var(--gold); }
.button--ghost:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.6rem 1.1rem; border: 1px solid var(--line); background: var(--porcelain); color: var(--ink); border-radius: var(--r); cursor: pointer; transition: all 0.2s; }
.btn:hover { border-color: var(--gold); color: var(--rose); text-decoration: none; }
.btn-link { background: none; border: none; color: var(--ink-soft); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: color 0.2s; }
.btn-link:hover { color: var(--rose-deep); }

/* ---------- Front door: hero ---------- */
.fd-hero { position: relative; margin: 0 0 3.5rem; border-radius: 6px; overflow: hidden; }
.fd-hero__media { min-height: clamp(360px, 52vh, 560px); background: linear-gradient(120deg, var(--blush) 0%, #fff 55%, var(--blush-2) 100%); position: relative; display: flex; align-items: center; }
.fd-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fd-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251,246,241,0.92) 0%, rgba(251,246,241,0.55) 45%, rgba(251,246,241,0) 80%); }
.fd-hero__content { position: relative; max-width: 560px; padding: 3rem clamp(1.5rem, 5vw, 4rem); }
.fd-hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; line-height: 1.02; }
.fd-hero__title em { font-style: italic; color: var(--rose); }
.fd-hero__sub { font-size: 1.05rem; color: var(--ink-soft); margin: 1rem 0 1.75rem; max-width: 40ch; }

/* ---------- Category showcase ---------- */
.cat-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.cat-tile { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); box-shadow: var(--shadow-sm); }
.cat-tile--wide { grid-column: span 2; aspect-ratio: 21 / 9; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,27,34,0.72) 0%, rgba(42,27,34,0.15) 45%, rgba(42,27,34,0) 75%); }
.cat-tile__frame { position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.cat-tile:hover .cat-tile__frame { opacity: 1; border-color: var(--gold-soft); }
.cat-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; color: #fff; }
.cat-tile__icon { width: 42px; height: 42px; object-fit: contain; margin-bottom: 0.6rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3)); }
.cat-tile__name { font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1.05; }
.cat-tile__cta { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); margin-top: 0.35rem; display: inline-block; }
.cat-tile__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--blush) 0%, var(--blush-2) 100%); }

/* ---------- Category banner ---------- */
.cat-banner { position: relative; border-radius: 6px; overflow: hidden; margin-bottom: 2rem; min-height: clamp(220px, 32vh, 360px); display: flex; align-items: flex-end; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-banner__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,27,34,0.7) 0%, rgba(42,27,34,0.1) 60%); }
.cat-banner__content { position: relative; padding: 2rem clamp(1.5rem, 4vw, 3rem); color: #fff; max-width: 640px; }
.cat-banner__content .eyebrow { color: var(--gold-soft); }
.cat-banner__content h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cat-banner__content p { color: rgba(255,255,255,0.9); max-width: 50ch; }

/* ---------- Category chips (subnav) ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: 1.5rem 0; }
.cat-chip { padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--porcelain); font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cat-chip:hover { border-color: var(--gold); color: var(--rose); text-decoration: none; }

/* ---------- Product grid + cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.75rem 1.25rem; }
.product-card { display: block; background: transparent; color: var(--ink); }
.product-card:hover { text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--porcelain); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card:hover .product-card__media { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.product-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--blush) 0%, #fff 60%, var(--blush-2) 100%); }
.product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--ink); color: var(--blush); font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 2px; }
.product-card__body { padding: 1rem 0.25rem 0; text-align: center; }
.product-card__name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.15rem; display: block; color: var(--ink); }
.product-card__price { font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0.03em; color: var(--rose); }

/* ---------- Hero (legacy simple) ---------- */
.hero { text-align: center; padding: 3.5rem 1.25rem; background: linear-gradient(135deg, #fff, var(--blush)); border-radius: 6px; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 1.5rem; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb__sep { color: var(--gold); }

/* ---------- Listing toolbar / pagination ---------- */
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 1.5rem 0; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.listing-toolbar .muted { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.sort-form { display: flex; align-items: center; gap: 0.6rem; }
.category-desc { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 0 auto 1rem; font-size: 1.05rem; }
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.pagination .page { min-width: 2.4rem; text-align: center; padding: 0.55rem 0.5rem; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-family: var(--sans); font-size: 0.8rem; }
.pagination .page.is-current { background: var(--ink); color: var(--blush); border-color: var(--ink); }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
    width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--line); border-radius: var(--r); font-family: var(--sans); font-size: 0.95rem; font-weight: 300; background: var(--porcelain); color: var(--ink); transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,154,91,0.12); }
label { display: block; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 1rem 0 0.35rem; }
.field-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.field-row > * { flex: 1; min-width: 160px; }
.msg-error { background: #fdf0f2; border: 1px solid #f0c9d2; color: var(--rose-deep); padding: 0.8rem 1rem; border-radius: var(--r); margin-bottom: 1rem; }
.msg-ok { background: #f2f7ee; border: 1px solid #cfe3bf; color: #4a6b2e; padding: 0.8rem 1rem; border-radius: var(--r); margin-bottom: 1rem; }
.auth-narrow { max-width: 440px; margin: 0 auto; }
.auth-form .button { margin-top: 1.5rem; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3.5rem); margin: 1rem 0 2rem; }
.product-gallery__main { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--porcelain); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; flex-wrap: wrap; }
.thumb-btn { width: 68px; height: 84px; padding: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; cursor: pointer; background: none; }
.thumb-btn.is-active { border-color: var(--gold); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 0.5rem; }
.product-info__name { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 0.4rem; }
.product-info__price { font-family: var(--serif); font-size: 1.75rem; color: var(--rose); min-height: 1.75rem; margin-bottom: 0.5rem; }
.product-info__short { color: var(--ink-soft); font-size: 1.05rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 1.25rem 0; }
.variant-options, .customization-options { margin: 1.5rem 0; }
.option-group { margin-bottom: 1.25rem; }
.option-label { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 0.6rem; }
.option-label .req { color: var(--rose); }
.option-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--porcelain); cursor: pointer; font-family: var(--sans); font-size: 0.82rem; transition: all 0.2s; }
.option-chip:hover { border-color: var(--gold); }
.option-chip.is-on { border-color: var(--rose); background: #fff; color: var(--rose); box-shadow: inset 0 0 0 1px var(--rose); }
.swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); display: inline-block; }
.cx-choices { display: flex; flex-direction: column; gap: 0.5rem; }
.cx-choice { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; font-family: var(--sans); font-size: 0.9rem; transition: border-color 0.2s; }
.cx-choice:hover { border-color: var(--gold); }
.cx-choice input { width: auto; margin: 0; accent-color: var(--rose); }
.product-buy { display: flex; align-items: flex-end; gap: 1rem; margin: 1.5rem 0 0.75rem; }
.qty-field input { width: 76px; text-align: center; }
.product-buy .button { flex: 1; }
.product-actions-row { margin-top: 0.85rem; }
.wishlist-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--porcelain); color: var(--ink); cursor: pointer; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.wishlist-btn:hover { border-color: var(--gold); text-decoration: none; }
.wishlist-btn__icon { color: var(--line); font-size: 1rem; transition: color 0.2s; }
.wishlist-btn.is-on { border-color: var(--rose); }
.wishlist-btn.is-on .wishlist-btn__icon, .wishlist-btn:hover .wishlist-btn__icon { color: var(--rose); }
.product-stock { min-height: 1.2rem; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.05em; }
.product-description { max-width: 720px; margin-inline: auto; }

/* Rich-text (admin-authored HTML) content */
.rte { font-size: 1.08rem; color: #4a3b41; line-height: 1.75; }
.rte > :first-child { margin-top: 0; }
.rte > :last-child { margin-bottom: 0; }
.rte p { margin: 0 0 1rem; }
.rte h1, .rte h2, .rte h3, .rte h4 { font-family: var(--serif); color: var(--ink); margin: 1.75rem 0 0.6rem; line-height: 1.2; }
.rte h1 { font-size: 1.9rem; } .rte h2 { font-size: 1.6rem; } .rte h3 { font-size: 1.35rem; } .rte h4 { font-size: 1.15rem; }
.rte a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }
.rte a:hover { color: var(--rose-deep); }
.rte strong, .rte b { font-weight: 600; color: var(--ink); }
.rte em, .rte i { font-style: italic; }
.rte ul, .rte ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.rte li { margin-bottom: 0.4rem; }
.rte ul { list-style: none; }
.rte ul > li { position: relative; }
.rte ul > li::before { content: '◆'; color: var(--gold); font-size: 0.55rem; position: absolute; left: -1.25rem; top: 0.5em; }
.rte blockquote { margin: 1.25rem 0; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 2px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }
.rte img { max-width: 100%; height: auto; border-radius: var(--r); margin: 1rem 0; }
.rte hr { border: none; border-top: 1px solid var(--line); margin: 2rem 0; }
.rte table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
.rte th, .rte td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.rte th { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.rte code { background: var(--blush); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.9em; }

/* ---------- Stars & reviews ---------- */
.stars { display: inline-flex; letter-spacing: 1px; }
.star { color: var(--line); }
.star--full { color: var(--gold); }
.star--half { position: relative; color: var(--line); }
.star--half::before { content: '★'; position: absolute; left: 0; width: 50%; overflow: hidden; color: var(--gold); }
.rating-line { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.reviews { border-top: 1px solid var(--line); padding-top: 2rem; }
.review-form-wrap { background: var(--porcelain); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; margin-bottom: 2rem; }
.review-form-wrap h3 { font-size: 1.5rem; }
.star-input { display: inline-flex; gap: 0.25rem; margin-bottom: 0.5rem; }
.star-pick { background: none; border: none; font-size: 1.9rem; color: var(--line); cursor: pointer; padding: 0; line-height: 1; transition: color 0.15s; }
.star-pick.is-on { color: var(--gold); }
.review-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review { border-bottom: 1px solid var(--line-soft); padding-bottom: 1.5rem; }
.review__head { display: flex; align-items: center; gap: 0.75rem; }
.review__head strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.review__body { margin: 0.5rem 0 0; color: #4a3b41; }
.verified-badge { color: var(--rose); font-weight: 500; }

/* ---------- Cart ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 1rem 0.5rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.cart-table a { font-family: var(--serif); font-size: 1.15rem; }
.cart-thumb { width: 68px; height: 82px; object-fit: cover; border-radius: 3px; background: var(--blush); border: 1px solid var(--line); }
.cart-qty { width: 68px; text-align: center; }
.cart-summary { margin-top: 2rem; margin-left: auto; max-width: 360px; }
.cart-summary__row { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.5rem; }
.cart-summary__row.small { font-family: var(--sans); font-size: 0.9rem; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
.checkout-main h2 { font-size: 1.5rem; margin: 1.75rem 0 0.6rem; }
.checkout-main h2:first-child { margin-top: 0; }
.checkout-summary { border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; background: var(--porcelain); position: sticky; top: 110px; }
.checkout-summary h2 { margin-top: 0; font-size: 1.5rem; }
.cart-table--compact td, .cart-table--compact th { padding: 0.5rem 0.25rem; }
.ship-methods { display: flex; flex-direction: column; gap: 0.5rem; }
.ship-method { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.ship-method input { accent-color: var(--rose); }
.ship-method .ship-cost { margin-left: auto; font-weight: 500; }
.coupon-row { display: flex; gap: 0.5rem; margin-top: 1rem; }
.coupon-row input { flex: 1; }
#card-container { border: 1px solid var(--line); border-radius: var(--r); padding: 0.75rem; min-height: 52px; background: var(--porcelain); }
.confirm-hero { text-align: center; padding: 2.5rem 1.5rem; background: linear-gradient(135deg, #fff, var(--blush)); border-radius: 6px; margin-bottom: 2rem; }
.confirm-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- Wishlist ---------- */
.wishlist-card__actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--blush); margin-top: 5rem; }
.site-footer__flourish { text-align: center; color: var(--gold); padding-top: 2.5rem; letter-spacing: 0.5em; }
.site-footer__inner { max-width: var(--max); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer__brand .wordmark__name { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.site-footer__brand .muted { color: #b79fa9; max-width: 34ch; }
.site-footer__col h4 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.site-footer__col a { display: block; color: var(--blush); font-size: 0.9rem; margin-bottom: 0.5rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__legal { max-width: var(--max); margin: 0 auto; padding: 1.25rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.08em; color: #9c828d; }

/* ---------- Toasts ---------- */
.toast-host { position: fixed; right: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 1000; }
.toast { padding: 0.85rem 1.2rem; border-radius: var(--r); color: #fff; box-shadow: var(--shadow); font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; opacity: 0; transform: translateY(10px); transition: all 0.25s; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast--ok { background: #4a6b2e; }
.toast--error { background: var(--rose-deep); }
.toast--info { background: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .cat-tile--wide { grid-column: span 1; aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
    .product-detail { grid-template-columns: 1fr; }
    .site-header__bar { grid-template-columns: auto 1fr auto; }
    .nav-toggle { display: block; }
    .wordmark { justify-self: center; }
    .wordmark__name { font-size: 1.6rem; }
    .site-nav { display: none; flex-direction: column; align-items: center; gap: 1rem; }
    .site-nav.is-open { display: flex; }
    .site-nav .nav-sep { display: none; }
    .fd-hero__scrim { background: linear-gradient(to top, rgba(251,246,241,0.95) 10%, rgba(251,246,241,0.4) 60%); }
}
