
  :root {
    --plum: #3B1F2B;
    --plum-soft: #5C3A4A;
    --ivory: #F3EFE8;
    --stone: #EAE3D8;
    --brass: #A9834F;
    --rose: #C98A93;
    --line: rgba(59,31,43,0.14);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--ivory);
    color: var(--plum);
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, .display {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
  }
  @media (prefers-reduced-motion: no-preference) {
    .fade-in { animation: fadeUp .7s ease both; }
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Top bar */
  .topbar {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 5vw;
    background: rgba(243,239,232,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }
  .wordmark {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .wordmark em { font-style: italic; color: var(--brass); }
  nav { display: flex; gap: 28px; align-items: center; }
  nav a {
    color: var(--plum);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    padding-bottom: 3px;
    transition: border-color .2s;
  }
  nav a:hover, nav a:focus-visible { border-color: var(--brass); }

  /* Secondary nav links (About/Journal/FAQ) -- on desktop these render as normal
     inline nav items (display:contents makes the wrapper invisible to layout).
     On mobile they collapse behind a "More" toggle so the nav fits on one row
     instead of wrapping into a second row that pushes products further down. */
  .nav-secondary { display: contents; }
  .nav-more-toggle { display: none; }
  @media (max-width: 720px) {
    .nav-more-toggle {
      display: inline-flex; align-items: center; gap: 3px;
      background: none; border: none; padding: 0 0 3px;
      color: var(--plum-soft); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
      font-family: 'Work Sans', sans-serif; cursor: pointer;
    }
    .nmt-chevron { font-size: 0.65rem; transition: transform .2s ease; }
    .nav-more-toggle[aria-expanded="true"] .nmt-chevron { transform: rotate(180deg); }
    .nav-secondary { display: none; flex-basis: 100%; gap: 24px; }
    .nav-secondary.show { display: flex; }
  }

  /* Hero */
  .hero {
    position: relative;
    padding: 12vh 5vw 10vh;
    margin: 0 auto;
    text-align: center;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 60% 50% at 20% 15%, rgba(169,131,79,0.16) 0%, transparent 60%),
      radial-gradient(ellipse 55% 45% at 85% 85%, rgba(201,138,147,0.18) 0%, transparent 60%),
      linear-gradient(160deg, #F3EFE8 0%, #EFE7DA 50%, #F3EFE8 100%);
  }
  .hero-bg::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(59,31,43,0.06) 1px, transparent 1px);
    background-size: 26px 26px;
  }
  .hero-copy { position: relative; z-index: 1; max-width: 720px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .eyebrow { display: block; }
  .hero .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 18px;
    display: block;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.08;
  }
  .hero p {
    margin-top: 20px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--plum-soft);
    max-width: 52ch;
  }
  @media (max-width: 560px) {
    .hero { min-height: 62vh; padding: 8vh 6vw 6vh; }
  }

  /* Section index style */
  .section {
    padding: 6vh 5vw;
    border-top: 1px solid var(--line);
  }
  .section-head {
    display: flex;
    align-items: baseline;
    gap: 18px;
    margin-bottom: 8px;
  }
  .section-num {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--rose);
    font-size: 1rem;
  }
  .section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
  }
  .section-sub {
    color: var(--plum-soft);
    font-size: 0.92rem;
    margin: 6px 0 34px;
    max-width: 60ch;
  }
  .subhead {
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--brass);
    margin: 44px 0 20px;
  }
  .subhead:first-of-type { margin-top: 0; }

  /* Grid + cards */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
  }
  .card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -18px rgba(59,31,43,0.35);
  }
  .card-media {
    aspect-ratio: 1 / 1;
    background: var(--stone);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .card-media--placeholder span {
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--brass);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
  }
  .card-body { padding: 16px 16px 18px; }
  .card-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose);
    margin: 0 0 4px;
  }
  .card-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .chip-row {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 12px;
  }
  .chip {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 20px;
    color: var(--plum-soft);
    background: var(--ivory);
  }
  .card-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
  }
  .price {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
  }
  .order-link {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--plum);
    text-decoration: none;
    border-bottom: 1px solid var(--brass);
    padding-bottom: 1px;
  }
  .order-link:hover, .order-link:focus-visible { color: var(--brass); }

  /* Bag CTA on product cards */
  .card-foot-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
  .bag-btn {
    background: var(--plum); color: #fff; border: none; border-radius: 20px;
    padding: 8px 16px; font-size: 0.74rem; letter-spacing: 0.03em; text-transform: uppercase;
    font-weight: 600; cursor: pointer; transition: background .15s ease, transform .1s ease;
    white-space: nowrap;
  }
  .bag-btn:hover, .bag-btn:focus-visible { background: var(--brass); }
  .bag-btn.added { background: #2e7d4f; }
  .bag-btn:active { transform: scale(0.97); }
  .order-link-mini {
    font-size: 0.66rem; letter-spacing: 0.02em; color: var(--plum-soft);
    text-decoration: none; opacity: 0.75;
  }
  .order-link-mini:hover, .order-link-mini:focus-visible { opacity: 1; color: var(--brass); }

  /* Empty state */
  .empty {
    border: 1px dashed var(--line);
    padding: 40px 30px;
    text-align: center;
    color: var(--plum-soft);
    font-size: 0.95rem;
  }
  .empty strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-style: italic;
    color: var(--brass);
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  footer {
    padding: 6vh 5vw 8vh;
    border-top: 1px solid var(--line);
    color: var(--plum-soft);
    font-size: 0.88rem;
  }
  footer a { color: var(--plum); }
  .footer-title {
    font-family: 'Fraunces', serif;
    color: var(--plum);
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .edit-note {
    margin-top: 30px;
    font-size: 0.78rem;
    color: var(--rose);
    border-top: 1px dashed var(--line);
    padding-top: 16px;
  }

  :focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

  @media (max-width: 560px) {
    .topbar { flex-wrap: wrap; row-gap: 10px; }

    /* Real hamburger menu at phone widths -- previous fix only trimmed nav from
       8 items to 6 (5 links + "More"), but even that still doesn't fit on one
       line at real phone widths and was still wrapping into 2 rows. Collapsing
       the whole nav behind one icon is the only way to get the header down to
       a single row on this breakpoint. */
    .nav-hamburger {
      display: inline-flex; align-items: center; justify-content: center;
      width: 40px; height: 40px; background: none; border: 1px solid var(--line);
      border-radius: 8px; color: var(--plum); font-size: 1.15rem; cursor: pointer;
      order: 2;
    }
    nav {
      display: none;
      position: absolute; left: 0; right: 0; top: 100%;
      flex-direction: column; align-items: stretch; width: 100%; gap: 0;
      background: var(--ivory); border-bottom: 1px solid var(--line);
      box-shadow: 0 10px 24px rgba(59,31,43,0.15);
      z-index: 30; padding: 4px 5vw 14px;
    }
    nav.nav-open { display: flex; }
    nav a {
      padding: 13px 0; border-bottom: 1px solid var(--line);
      font-size: 0.85rem; width: 100%;
    }
    nav a:last-child { border-bottom: none; }
    /* The tablet-width "More" toggle is redundant here -- the entire nav is
       already tucked behind the hamburger, so show every link flat in one list. */
    .nav-more-toggle { display: none !important; }
    .nav-secondary { display: contents !important; }

    /* Stack price above the Add to Bag button instead of squeezing them onto
       one row -- on a ~150-180px wide card, a nowrap "ADD TO BAG" pill was
       eating almost all the horizontal space and crowding the price out. */
    .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
    .card-foot-actions { align-items: stretch; width: 100%; }
    .bag-btn { width: 100%; text-align: center; padding: 10px 16px; }

    .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    .new-mini-card { flex: 0 0 150px; }
    .new-arrivals-scroll { -webkit-overflow-scrolling: touch; scroll-padding-left: 5vw; }
    .gift-grid { grid-template-columns: 1fr; gap: 18px; }
    .gift-card { padding: 16px; }
  }

  /* Photo gallery */
  .card-media { position: relative; }
  .card-media .main-photo {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: opacity .2s ease;
    cursor: zoom-in;
  }

  /* ---- Click-to-zoom lightbox ---- */
  .zoom-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(28,15,20,0.92);
    display: flex; align-items: center; justify-content: center;
    padding: 5vh 5vw;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease;
  }
  .zoom-overlay.show { opacity: 1; visibility: visible; }
  .zoom-overlay .zoom-img {
    max-width: 100%; max-height: 90vh; object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: zoom-out;
  }
  .zoom-close {
    position: absolute; top: 18px; right: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(243,239,232,0.15); color: var(--ivory);
    border: none; font-size: 1.6rem; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
  }
  .zoom-close:hover { background: rgba(243,239,232,0.3); }
  .thumb-row {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; gap: 6px; padding: 8px;
    background: linear-gradient(to top, rgba(59,31,43,0.55), rgba(59,31,43,0));
  }
  .thumb {
    width: 30px; height: 30px; border-radius: 3px; object-fit: cover;
    cursor: pointer; border: 1.5px solid rgba(243,239,232,0.55);
    opacity: 0.75; transition: opacity .2s ease, border-color .2s ease, transform .15s ease;
    background: var(--stone);
  }
  .thumb:hover { opacity: 1; transform: translateY(-1px); }
  .thumb.active { opacity: 1; border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass); }
  .thumb-label {
    position: absolute; top: 8px; left: 8px;
    font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ivory); background: rgba(59,31,43,0.55);
    padding: 3px 7px; border-radius: 20px; pointer-events: none;
  }

  .chip.swatch { cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
  .chip.swatch:hover { border-color: var(--brass); color: var(--plum); }
  .chip.swatch.active { background: var(--brass); border-color: var(--brass); color: #fff; }

  .card-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--plum-soft);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card.is-expanded .card-desc {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .about-section {
    padding: 7vh 5vw;
    border-top: 1px solid var(--line);
    max-width: 900px;
    margin: 0 auto;
  }
  .about-block { margin-bottom: 44px; }
  .about-block:last-child { margin-bottom: 0; }
  .about-block h3 {
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    margin-bottom: 12px;
  }
  .about-block p {
    color: var(--plum-soft);
    line-height: 1.65;
    font-size: 0.95rem;
    max-width: 62ch;
  }
  .about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
  }
  .about-feature h4 {
    font-family: 'Fraunces', serif;
    font-size: 1.02rem;
    color: var(--brass);
    margin-bottom: 6px;
  }
  .about-feature p { font-size: 0.88rem; margin: 0; }

  .faq-section {
    padding: 7vh 5vw;
    border-top: 1px solid var(--line);
    max-width: 780px;
    margin: 0 auto;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .faq-item summary {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--brass);
    transition: transform .2s ease;
    margin-left: 12px;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    color: var(--plum-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 12px 0 0;
  }

  .hero-wordmark {
    text-align: center;
    margin-bottom: 28px;
  }
  .hero-wordmark .hw-the {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--plum);
    display: block;
  }
  .hero-wordmark .hw-elura {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 7vw, 4.2rem);
    letter-spacing: 0.04em;
    color: var(--plum);
    display: block;
    line-height: 1;
    margin: 2px 0;
  }
  .hero-wordmark .hw-edit {
    font-family: 'Parisienne', cursive;
    font-size: clamp(2.6rem, 8vw, 4.8rem);
    color: var(--brass);
    display: block;
    line-height: 1;
    margin-top: -6px;
  }

  .section-head h2 {
    font-style: italic;
    position: relative;
  }
  .section-head h2::after {
    content: '';
    display: block;
    width: 46px;
    height: 2px;
    background: var(--brass);
    margin-top: 8px;
  }


  .wa-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 50;
    height: 54px;
    padding: 0 22px 0 17px;
    border-radius: 30px;
    background: #25D366;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 10px 24px -6px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .2s ease;
    text-decoration: none;
    animation: waPulse 2.8s ease-in-out infinite;
  }
  .wa-float:hover { transform: scale(1.06); animation-play-state: paused; }
  .wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
  .wa-float-label {
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.01em;
  }
  @keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 24px -6px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.15), 0 0 0 0 rgba(37,211,102,0.55); }
    50% { box-shadow: 0 10px 24px -6px rgba(37,211,102,0.5), 0 4px 12px rgba(0,0,0,0.15), 0 0 0 12px rgba(37,211,102,0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .wa-float { animation: none; }
  }
  @media (max-width: 560px) {
    .wa-float { bottom: 16px; right: 16px; height: 50px; padding: 0 18px 0 15px; }
    .wa-float svg { width: 24px; height: 24px; }
    .wa-float-label { font-size: 0.82rem; }
  }

  /* Category quick-nav */
  .quick-nav {
    position: static; z-index: 15;
    display: flex; gap: 0; overflow-x: auto;
    background: rgba(243,239,232,0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(59,31,43,0.1);
    padding: 0 4vw;
    scrollbar-width: none;
  }
  .quick-nav::-webkit-scrollbar { display: none; }
  .quick-nav a {
    flex-shrink: 0;
    padding: 13px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--plum-soft);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
  }
  .quick-nav a.active, .quick-nav a:hover { color: var(--plum); border-bottom-color: var(--brass); }

  /* Wishlist heart */
  .wish-btn {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: transform .15s ease;
  }
  .wish-btn:hover { transform: scale(1.1); }
  .wish-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--plum); stroke-width: 2; transition: fill .15s ease, stroke .15s ease; }
  .wish-btn.active svg { fill: var(--rose); stroke: var(--rose); }
  .card-media { position: relative; }

  /* Wishlist tray */
  body.has-wish-tray .wa-float,
  body.has-bag-tray .wa-float { display: none; }
  .wish-tray {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--plum);
    color: #fff;
    padding: 14px 5vw;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  }
  .wish-tray.show { display: flex; }
  /* When the bag tray is also active, fold the wishlist tray away -- its count
     shows inline in the bag tray instead (see .bag-tray-wishmini). Prevents two
     full-width sticky bars stacking and eating the screen on mobile. */
  body.has-bag-tray .wish-tray.show { display: none; }
  /* Tapping the wishlist icon in the topbar can still reveal it briefly on demand. */
  .wish-tray.force-show { display: flex !important; z-index: 70; }
  .wish-tray-info { font-size: 0.85rem; }
  .wish-tray-info strong { color: var(--rose); }
  .wish-tray-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
  .wish-tray-send {
    background: #25D366; color: #fff; border: none; border-radius: 24px;
    padding: 10px 18px; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; white-space: nowrap; cursor: pointer;
  }
  .wish-tray-clear {
    background: none; border: none; color: rgba(255,255,255,0.7);
    font-size: 0.78rem; text-decoration: underline; cursor: pointer; padding: 6px;
  }
  @media (max-width: 560px) {
    .wish-tray { padding: 12px 4vw; }
    .wish-tray-info { font-size: 0.78rem; }
  }

  /* Bag nav icon (topbar) */
  .bag-nav-btn {
    position: relative; background: var(--stone); border: none; cursor: pointer;
    width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
  }
  .bag-nav-btn:hover { background: var(--brass); transform: translateY(-1px); }
  .bag-nav-btn:hover svg { stroke: #fff; }
  .bag-nav-btn:active svg { transform: scale(0.88); }
  .bag-nav-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--plum); stroke-width: 1.7; transition: stroke .2s ease, transform .2s ease; }
  .bag-nav-count {
    position: absolute; top: -2px; right: -2px; background: var(--brass); color: #fff;
    font-size: 0.7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; padding: 0 3px;
    box-shadow: 0 0 0 2px var(--ivory);
  }

  /* Bag tray + expandable panel */
  .bag-tray {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--plum); color: #fff;
    display: none;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
  }
  .bag-tray.show { display: block; }
  .bag-tray-summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 5vw; cursor: pointer;
  }
  .bag-tray-info { font-size: 0.85rem; white-space: nowrap; }
  .bag-tray-info strong { color: var(--brass); }
  .bag-tray-wishmini { font-size: 0.78rem; color: var(--rose); white-space: nowrap; }
  .bag-tray-shipmsg { font-size: 0.72rem; color: rgba(255,255,255,0.75); flex: 1; text-align: right; padding-right: 6px; }
  .bag-tray-toggle {
    background: none; border: none; color: #fff; font-size: 0.8rem; cursor: pointer;
    transition: transform .2s ease; flex-shrink: 0;
  }
  .bag-panel.open ~ .bag-tray-summary .bag-tray-toggle,
  .bag-panel.open + .bag-tray-toggle { transform: rotate(180deg); }
  .bag-panel {
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
    background: rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.12);
  }
  .bag-panel.open { max-height: 70vh; overflow-y: auto; }
  .bag-panel-items { padding: 10px 5vw 0; }
  .bag-empty { font-size: 0.82rem; color: rgba(255,255,255,0.7); padding: 14px 0; }
  .bag-item {
    display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .bag-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .bag-item-title { font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bag-item-price { font-size: 0.68rem; color: rgba(255,255,255,0.6); }
  .bag-item-qty { display: flex; align-items: center; gap: 8px; }
  .bag-item-qty button {
    width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
    background: none; color: #fff; cursor: pointer; font-size: 0.85rem; line-height: 1;
  }
  .bag-item-qty span { font-size: 0.82rem; min-width: 14px; text-align: center; }
  .bag-item-linetotal { font-size: 0.82rem; color: var(--brass); white-space: nowrap; }
  .bag-item-remove { background: none; border: none; color: rgba(255,255,255,0.5); cursor: pointer; font-size: 0.8rem; }
  .bag-item-remove:hover { color: #fff; }
  .bag-panel-totals { padding: 10px 5vw; border-top: 1px dashed rgba(255,255,255,0.15); font-size: 0.82rem; }
  .bag-total-row { display: flex; justify-content: space-between; padding: 3px 0; color: rgba(255,255,255,0.85); }
  .bag-total-grand { font-size: 0.95rem; font-weight: 600; color: #fff; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 4px; }
  .bag-panel-actions { display: flex; gap: 10px; align-items: center; padding: 10px 5vw 4px; }
  .bag-clear-btn { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 0.75rem; text-decoration: underline; cursor: pointer; }
  .bag-send-btn {
    flex: 1; text-align: center; background: #25D366; color: #fff; border: none; border-radius: 24px;
    padding: 11px 18px; font-size: 0.85rem; font-weight: 600; text-decoration: none;
  }

  .bag-panel-pay {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 5vw 4px; border-top: 1px dashed rgba(255,255,255,0.15);
  }
  .bag-pay-qr {
    flex-shrink: 0; width: 84px; height: 84px; background: #fff; border-radius: 8px;
    padding: 6px; display: flex; align-items: center; justify-content: center;
  }
  .bag-pay-qr svg { width: 100%; height: 100%; }
  .bag-pay-caption { font-size: 0.85rem; }
  .bag-pay-caption strong { color: var(--brass); font-family: 'Fraunces', serif; font-size: 1rem; }
  .bag-pay-sub { font-size: 0.68rem; color: rgba(255,255,255,0.6); margin-top: 2px; }
  .bag-pay-note { font-size: 0.68rem; color: rgba(255,255,255,0.55); padding: 6px 5vw 14px; margin: 0; }
  @media (max-width: 560px) {
    .bag-pay-qr { width: 72px; height: 72px; }
  }
  @media (max-width: 560px) {
    .bag-tray-summary { padding: 10px 4vw; }
    .bag-tray-shipmsg { font-size: 0.66rem; }
  }

  .announce-bar {
    background: var(--plum);
    color: var(--ivory);
    overflow: hidden;
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
  .announce-bar-track {
    display: flex;
    width: max-content;
    animation: announce-scroll 26s linear infinite;
  }
  .announce-bar-item {
    padding: 0 48px;
    white-space: nowrap;
  }
  @keyframes announce-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .announce-bar:hover .announce-bar-track,
  .announce-bar:focus-within .announce-bar-track {
    animation-play-state: paused;
  }
  @media (prefers-reduced-motion: reduce) {
    .announce-bar-track {
      animation: none;
      padding: 0 5vw;
    }
  }
  .announce-bar strong {
    color: #fff;
    font-weight: 600;
  }
  .announce-bar a { color: var(--rose); text-decoration: underline; }

  .hero-cta-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn-primary {
    background: var(--plum);
    color: #fff;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(59,31,43,0.45); }
  .btn-secondary {
    background: transparent;
    color: var(--plum);
    border: 1.5px solid var(--plum);
  }
  .btn-secondary:hover { transform: translateY(-2px); background: var(--plum); color: #fff; }
  .story-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 16px;
    padding: 7px 15px;
    border-radius: 20px;
    border: 1.5px solid var(--plum);
    color: var(--plum);
    background: transparent;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease, color .15s ease;
  }
  .story-link-btn:hover {
    background: var(--plum);
    color: #fff;
    transform: translateY(-1px);
  }
  .hero-microcopy {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px !important;
    padding: 8px 16px;
    background: #F3EFE8;
    border: 1px solid rgba(59,31,43,0.15);
    border-radius: 20px;
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #3B1F2B !important;
    box-shadow: 0 2px 8px rgba(59,31,43,0.14);
  }
  .hero-microcopy::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #25D366;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(37,211,102,0.2);
  }

  /* ---- Scroll-reveal (progressive enhancement: content is visible by default; 
       only hidden once JS confirms it will actually reveal it, and respects reduced motion) ---- */
  @media (prefers-reduced-motion: no-preference) {
    html.js-reveal .reveal {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
    }
    html.js-reveal .reveal.in-view { opacity: 1; transform: translateY(0); }
    .card.reveal { transition-delay: var(--stagger, 0ms); }
  }

  /* ---- Hero signature: drawn chain line ---- */
  .hero-chain {
    display: block;
    margin: 0 auto 22px;
    width: 220px;
    height: 26px;
    overflow: visible;
  }
  .hero-chain path {
    fill: none;
    stroke: var(--brass);
    stroke-width: 1.4;
    stroke-linecap: round;
  }
  @media (prefers-reduced-motion: no-preference) {
    .hero-chain path {
      stroke-dasharray: 340;
      stroke-dashoffset: 340;
      animation: drawChain 1.6s cubic-bezier(.2,.7,.2,1) .2s forwards;
    }
  }
  @keyframes drawChain {
    to { stroke-dashoffset: 0; }
  }

  /* ---- Card image micro-zoom on hover ---- */
  .card-media { position: relative; overflow: hidden; }
  .card-media .main-photo { transition: opacity .2s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  .card:hover .main-photo { transform: scale(1.045); }

  /* ---- Section underline grows in on reveal (JS-gated, fails safe to visible) ---- */
  html.js-reveal .section-head h2::after { width: 0; transition: width .6s cubic-bezier(.2,.7,.2,1) .15s; }
  html.js-reveal .section-head.in-view h2::after { width: 46px; }

  /* ---- Nav link underline sweep ---- */
  nav a { position: relative; }
  nav a::before {
    content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px;
    background: var(--brass); transition: right .25s ease;
  }
  nav a:hover::before, nav a:focus-visible::before { right: 0; }

  /* ---- New Arrivals strip ---- */
  .new-arrivals { padding: 6vh 5vw 2vh; }
  .new-arrivals-scroll {
    display: flex; gap: 18px; overflow-x: auto; padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }
  .new-mini-card {
    flex: 0 0 200px; scroll-snap-align: start; text-decoration: none; color: inherit;
    display: block;
  }
  .new-mini-card .nm-photo {
    position: relative; border-radius: 10px; overflow: hidden;
    aspect-ratio: 1/1; background: var(--ivory-deep, #efe9df);
  }
  .new-mini-card .nm-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
  .new-mini-card:hover .nm-photo img { transform: scale(1.06); }
  .new-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--plum); color: #fff; font-size: 0.68rem; letter-spacing: .08em;
    text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  }
  .new-mini-card h4 { font-size: 0.92rem; margin: 10px 0 2px; font-family: 'Fraunces', serif; }
  .new-mini-card .nm-price { font-size: 0.85rem; color: var(--brass); margin-bottom: 8px; }
  .new-mini-card .nm-bag-btn {
    background: var(--plum); color: #fff; border: none; border-radius: 20px;
    padding: 7px 0; font-size: 0.7rem; letter-spacing: 0.03em; text-transform: uppercase;
    font-weight: 600; cursor: pointer; width: 100%; transition: background .15s ease;
  }
  .new-mini-card .nm-bag-btn:hover { background: var(--plum-soft, var(--plum)); }
  .new-mini-card .nm-bag-btn.added { background: var(--brass); }

  /* ---- Gift Edit bundle cards ---- */
  .gift-edit { padding: 7vh 5vw; border-top: 1px solid var(--line); }
  .gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 24px; }
  .gift-card {
    border: 1px solid var(--line); border-radius: 14px; padding: 20px;
    background: var(--card-bg, #fff);
  }
  .gift-photos { display: flex; gap: 10px; margin-bottom: 14px; }
  .gift-photos img { width: 50%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
  .gift-card h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; margin-bottom: 6px; }
  .gift-card p { font-size: 0.88rem; color: var(--plum-soft); margin-bottom: 12px; line-height: 1.55; }
  .gift-card .gift-price { font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
  .gift-card .btn-secondary { display: inline-block; font-size: 0.82rem; margin-top: 8px; }
  .gift-card .gift-bag-btn {
    width: 100%; padding: 10px 0; font-size: 0.78rem; border-radius: 24px;
    margin-top: 2px;
  }
  .gift-card .gift-bag-btn.added { background: var(--brass); }
  .gift-bundle-note { font-size: 0.72rem !important; color: var(--plum-soft); opacity: 0.8; margin: 6px 0 0 !important; line-height: 1.4 !important; }


  /* ===== v6: reveal-on-scroll animation caused real content to appear blank/missing
     repeatedly (About section, category grid) — disabling it outright. Content is
     now always visible immediately, no fade-in dependency on scroll/JS timing. ===== */
  .reveal, html.js-reveal .reveal, html.js-reveal .reveal.in-view {
    opacity: 1 !important;
    transform: none !important;
  }

  /* ===== v5: fixes + expressive pass ===== */

  /* --- New accent tones for a more expressive palette (kept alongside brand plum/brass/rose) --- */
  :root {
    --jewel: #1F4B3F;       /* deep emerald — evil-eye/protection motifs, hover variety */
    --jewel-soft: #3A6B5C;
    --gold-foil: linear-gradient(135deg, #C9A15C 0%, #A9834F 45%, #C9A15C 100%);
  }

  .cat-hero { padding: 8vh 5vw 5vh; max-width: 760px; }
  .breadcrumb { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 14px; }
  .breadcrumb a { color: var(--plum-soft); text-decoration: none; border-bottom: 1px solid var(--line); }
  .breadcrumb a:hover { color: var(--brass); border-color: var(--brass); }
  .cat-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }
  .cat-hero p { margin-top: 16px; font-size: 1rem; line-height: 1.6; color: var(--plum-soft); max-width: 60ch; }
  .cat-hero .hero-cta-row { margin-top: 22px; }
  nav a.nav-active, .quick-nav a.nav-active { border-color: var(--brass); color: var(--brass); }

  /* --- FIX 1: hero no longer a "pasted box" — bold, deliberate, full-bleed gradient --- */
  .hero-bg {
    background:
      linear-gradient(155deg, #3B1F2B 0%, #5C3A4A 38%, #7A4A52 62%, #A9834F 100%) !important;
  }
  .hero-bg::before { display: none !important; }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(59,31,43,0.15) 0%, rgba(59,31,43,0.55) 100%) !important;
  }
  .hero .eyebrow, .hero h1, .hero p, .hero .hero-microcopy { color: var(--ivory); }
  .hero .hero-microcopy { color: #3B1F2B !important; background: #F3EFE8 !important; }
  .hero .eyebrow { color: #E8C9A0; }
  .hero p { color: rgba(243,239,232,0.82) !important; }
  .hero-wordmark .hw-the { color: var(--ivory) !important; font-weight: 500; }
  .hero-wordmark .hw-elura { color: var(--ivory); }
  .hero-chain path { stroke: rgba(243,239,232,0.5); }
  .hero .btn-secondary { border-color: rgba(243,239,232,0.6); color: var(--ivory); }
  .hero .btn-secondary:hover { background: rgba(243,239,232,0.12); }

  /* --- FIX 2: header CTA — solid, guaranteed-contrast, opaque topbar (no more blend-into-background) --- */
  .topbar {
    background: var(--ivory) !important;
    backdrop-filter: none !important;
    gap: 14px; flex-wrap: wrap;
  }
  .topbar-cta {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--brass); color: var(--plum) !important;
    padding: 9px 16px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.01em;
    text-decoration: none; white-space: nowrap;
    transition: background .2s ease, transform .15s ease;
    margin-left: auto;
    box-shadow: 0 3px 10px rgba(169,131,79,0.35);
  }
  .topbar-cta:hover { background: var(--plum); color: var(--ivory) !important; transform: translateY(-1px); }
  .topbar-cta svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
  @media (max-width: 720px) {
    .topbar-cta span.tc-full { display: none; }
    .topbar-cta span.tc-short::after { content: 'Chat'; }
  }

  .wish-nav-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border: none; background: var(--stone); border-radius: 50%;
    cursor: pointer; color: var(--plum);
    transition: background .2s ease, transform .2s ease;
  }
  .wish-nav-btn:hover { background: var(--rose); transform: translateY(-1px); }
  .wish-nav-btn:hover svg { stroke: #fff; }
  .wish-nav-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--plum); stroke-width: 2; transition: stroke .2s ease, transform .2s ease; }
  .wish-nav-btn:active svg { transform: scale(0.88); }
  .wish-nav-btn.has-items svg { fill: var(--rose); stroke: var(--rose); }
  .wish-nav-btn.has-items:hover svg { fill: #fff; stroke: #fff; }
  .wish-nav-count {
    position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 3px;
    background: var(--jewel); color: #fff; border-radius: 8px; font-size: 0.64rem; font-weight: 700;
    display: none; align-items: center; justify-content: center; line-height: 1;
    box-shadow: 0 0 0 2px var(--ivory);
  }
  .wish-nav-count.show { display: flex; }

  /* --- FIX 3: New Arrivals horizontal scroll — forced, mobile-verified --- */
  .new-arrivals-scroll {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory !important;
  }
  .new-mini-card {
    position: relative;
    flex: 0 0 auto !important;
    width: 168px !important;
    scroll-snap-align: start;
  }
  @media (min-width: 700px) {
    .new-mini-card { width: 200px !important; }
  }
  .new-mini-card .wish-btn { top: 8px; right: 8px; }
  .nm-link { text-decoration: none; color: inherit; display: block; }

  /* --- FIX 4/5: royal + genuinely SEPARATED gift hampers, real square photos --- */
  .gift-edit {
    background:
      radial-gradient(ellipse 70% 60% at 15% 8%, rgba(169,131,79,0.14) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 90% 92%, rgba(31,75,63,0.16) 0%, transparent 55%),
      var(--plum);
    border-radius: 4px;
    padding: 6vh 5vw;
  }
  .gift-edit .section-num { color: var(--rose); font-family: 'Parisienne', cursive; font-size: 1.3rem; }
  .gift-edit .section-head h2, .gift-edit > p { color: var(--ivory); }
  .gift-edit > p { color: rgba(243,239,232,0.75) !important; }
  .gift-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-top: 34px;
  }
  @media (min-width: 640px) {
    .gift-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  }
  .gift-card {
    background: var(--ivory);
    border: 1px solid rgba(169,131,79,0.4);
    border-radius: 6px;
    padding: 0 0 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 32px -8px rgba(0,0,0,0.4);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .gift-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -8px rgba(0,0,0,0.5); }
  .gift-save-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--gold-foil); color: var(--plum);
    font-family: 'Fraunces', serif; font-style: italic; font-weight: 600;
    font-size: 0.8rem; padding: 5px 14px; border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .gift-photos { display: flex; gap: 0; margin: 0; }
  .gift-photos img { width: 50%; aspect-ratio: 1 / 1 !important; height: auto !important; object-fit: cover !important; display: block; }
  .gift-card h4 { color: var(--plum); font-size: 1.2rem; margin: 18px 20px 0; }
  .gift-card p { color: var(--plum-soft); font-size: 0.88rem; line-height: 1.55; margin: 8px 20px 0; }
  .gift-price-row { display: flex; align-items: baseline; gap: 10px; margin: 16px 20px 0; }
  .gift-price-was { color: var(--plum-soft); opacity: 0.55; text-decoration: line-through; font-size: 0.9rem; }
  .gift-price-now { color: var(--jewel); font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 600; }
  .gift-card .btn-secondary {
    margin: 16px 20px 0; display: inline-block; border-color: var(--plum); color: var(--plum);
  }
  .gift-card .btn-secondary:hover { background: var(--plum); color: var(--ivory); }

  /* --- Category page: price filter chips --- */
  .price-filter {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 0 5vw 8px; padding-top: 2vh;
  position: sticky; top: 83px; z-index: 12;
  background: rgba(243,239,232,0.97); backdrop-filter: blur(6px);
  padding: 12px 5vw 12px;
  margin-left: -5vw; margin-right: -5vw; padding-left: 5vw; padding-right: 5vw;
  border-bottom: 1px solid var(--brass);
  box-shadow: 0 4px 14px rgba(59,31,43,0.08);
}
  .price-chip {
    border: 1px solid var(--line); background: transparent; color: var(--plum-soft);
    padding: 7px 16px; border-radius: 20px; font-size: 0.82rem; cursor: pointer;
    transition: all .15s ease; font-family: 'Work Sans', sans-serif;
  }
  .price-chip.active, .price-chip:hover { border-color: var(--jewel); color: var(--jewel); background: rgba(31,75,63,0.08); }
  .card.price-hidden { display: none; }

  /* --- Expressive touch: script-font eyebrow treatment reused for "Browse the full edit" --- */
  .browse-eyebrow { font-family: 'Parisienne', cursive; color: var(--rose); font-size: 1.4rem; }

  @media (prefers-reduced-motion: reduce) { .gift-card, .topbar-cta { transition: none; } }

  /* --- Category browse cards: give people a real reason to click, not just a photo --- */
  .cat-browse-card {
    display: block; text-align: left; text-decoration: none; color: inherit;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .cat-browse-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -10px rgba(59,31,43,0.25); border-color: var(--brass); }
  .cat-browse-card .nm-photo { border-radius: 0; }
  .cat-browse-card h4 { margin: 16px 18px 0; font-size: 1.25rem; }
  .cat-browse-tag { margin: 8px 18px 0; font-size: 0.88rem; color: var(--plum-soft); line-height: 1.5; }
  .cat-browse-cta {
    display: block; margin: 14px 18px 18px; font-size: 0.82rem; font-weight: 600;
    color: var(--brass); letter-spacing: 0.02em;
  }
  .cat-browse-card:hover .cat-browse-cta { color: var(--plum); }

/* ================= v6.1 additions: curiosity hero band, compare slider, outfit matcher ================= */

.cat-hero-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 5vw 10px;
  overflow: hidden;
}
.cat-hero-band .chb-chip {
  width: 78px; height: 78px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 3px solid var(--ivory);
  box-shadow: 0 6px 18px rgba(59,31,43,0.18);
  flex-shrink: 0;
}
.cat-hero-band .chb-chip:nth-child(2) { transform: translateY(-14px) scale(1.15); z-index: 2; width: 100px; height: 100px; }
.cat-hero-band .chb-chip:nth-child(1) { transform: translateY(6px); }
.cat-hero-band .chb-chip:nth-child(3) { transform: translateY(10px); }
.cat-hero-band .chb-chip:nth-child(4) { transform: translateY(-4px); display: none; }
.cat-hero-band .chb-chip:nth-child(5) { transform: translateY(4px); display: none; }
@media (min-width: 640px) {
  .cat-hero-band .chb-chip:nth-child(4), .cat-hero-band .chb-chip:nth-child(5) { display: block; }
}

/* Compare / curiosity band (home) */
.compare-band {
  padding: 0 5vw 56px;
  text-align: center;
}
.compare-visual {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(59,31,43,0.22);
}
.cv-layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.cv-layer::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(42,22,32,0.82) 0%, rgba(42,22,32,0.2) 55%, transparent 100%);
}
.cv-layer.cv-right { clip-path: inset(0 0 0 50%); }
.cv-tag {
  position: absolute; bottom: 18px; z-index: 2; color: var(--ivory);
  transition: opacity .15s ease; max-width: 46%;
}
.cv-tag-left { left: 18px; text-align: left; }
.cv-tag-right { right: 18px; text-align: right; }
.cv-tag .cv-store { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #d9c4b4; }
.cv-tag .cv-price { font-family: 'Fraunces', serif; font-size: 1.5rem; margin-top: 2px; }
.cv-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
  background: var(--ivory); transform: translateX(-1.5px); z-index: 2; pointer-events: none;
}
.cv-handle::after {
  content: '⇔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--ivory); color: var(--plum);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 3;
}
.compare-caption { margin-top: 14px; font-size: 0.85rem; color: var(--plum-soft); }
.compare-caption a { color: var(--brass); border-bottom: 1px solid var(--brass); }

/* Outfit matcher */
.matcher-section {
  background: var(--plum); color: var(--ivory);
  padding: 64px 5vw 70px;
}
.matcher-badge {
  display: inline-block; background: var(--brass); color: var(--plum);
  font-family: 'Work Sans', sans-serif; font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 14px;
}
.matcher-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.matcher-section .section-num { color: #d9b98a; }
.matcher-section h2 { color: var(--ivory); margin-top: 6px; }
.matcher-section .m-sub { color: #d9c4bf; font-size: 0.95rem; max-width: 40ch; margin: 10px auto 26px; line-height: 1.6; }
.sf-box { margin-top: 8px; }
.sf-q { font-size: 0.95rem; color: #e6d6cf; margin-bottom: 14px; }
.sf-opts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sf-opt {
  background: rgba(243,239,232,0.08); border: 1px solid rgba(243,239,232,0.28);
  color: var(--ivory); padding: 11px 18px; border-radius: 24px; font-size: 0.85rem;
  font-family: 'Work Sans', sans-serif; cursor: pointer; transition: background .15s, border-color .15s;
}
.sf-opt:hover, .sf-opt:focus-visible { background: var(--brass); color: var(--plum); border-color: var(--brass); }
.sf-back {
  display: block; margin: 18px auto 0; background: none; border: none;
  color: #b89ea3; font-size: 0.78rem; cursor: pointer; text-decoration: underline;
}
.sf-retry {
  display: block; margin-top: 14px; background: none; border: none;
  color: #d9b98a; font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0;
}
#matcherResult {
  margin-top: 22px; text-align: left; background: rgba(243,239,232,0.07);
  border: 1px solid rgba(217,185,138,0.35); border-radius: 8px; padding: 18px 20px;
  font-size: 0.92rem; line-height: 1.6; display: none;
  color: #F3E4CE;
}
#matcherResult .mr-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #d9b98a; display: block; margin-bottom: 8px; }
#matcherLoading { font-size: 0.85rem; color: #d9b98a; margin-top: 16px; display: none; }
.matcher-cta {
  display: inline-block; margin-top: 20px; background: var(--brass); color: var(--plum);
  padding: 12px 22px; font-size: 0.82rem; font-weight: 600; border-radius: 3px; letter-spacing: 0.02em;
}

.confidence-strip {
  max-width: 620px; margin: 0 auto; padding: 8px 5vw 52px; text-align: center;
}
.confidence-strip h3 {
  font-size: 1.35rem; color: var(--plum); max-width: 26ch; margin: 0 auto 14px;
}
.confidence-strip p {
  font-size: 0.92rem; color: var(--plum-soft); line-height: 1.65;
}

/* Style Match — bold nav feature so it doesn't blend into category links */
nav a.nav-feature, .quick-nav a.nav-feature {
  background: var(--brass); color: var(--plum) !important; font-weight: 600;
  padding: 6px 12px; border-radius: 20px; border-bottom: none !important;
}
nav a.nav-feature:hover, .quick-nav a.nav-feature:hover { background: var(--brass-light, #C9A876); }

/* Category header — relevance / trust line */
.cat-trust {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  max-width: 60ch;
}
.cat-trust-line {
  font-size: 0.92rem; color: var(--plum-soft); line-height: 1.55; margin-bottom: 12px;
}
.cat-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-trust-badges span {
  font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brass); border: 1px solid rgba(169,131,79,0.4);
  padding: 5px 12px; border-radius: 20px; font-weight: 600;
}

/* ================= Testimonials carousel ================= */
.testimonials-section { padding: 56px 0 40px; }
.testimonials-section .section-head { padding: 0 5vw; margin-bottom: 28px; }

.ts-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 5vw 18px;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ts-track::-webkit-scrollbar { display: none; }
.ts-track.dragging { cursor: grabbing; scroll-snap-type: none; }

.ts-card {
  scroll-snap-align: center;
  flex: 0 0 78%;
  max-width: 300px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(59,31,43,0.10);
  margin: 0;
  user-select: none;
}
.ts-card img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  display: block; pointer-events: none;
}
.ts-card.ts-card-text {
  display: flex; flex-direction: column; justify-content: center;
  background: var(--plum); color: var(--ivory); min-height: 260px; padding: 26px 22px;
}
.ts-quote {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 0.98rem;
  line-height: 1.5; margin: 16px 18px 10px; color: var(--plum);
}
.ts-card-text .ts-quote { margin: 0 0 14px; color: var(--ivory); font-size: 1.05rem; }
.ts-name {
  font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brass); margin: 0 18px 18px; font-weight: 600;
}
.ts-card-text .ts-name { margin: 0; color: #d9b98a; }

.ts-dots { display: flex; gap: 7px; justify-content: center; margin-top: 4px; }
.ts-dots span {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(59,31,43,0.2);
  transition: background .2s, transform .2s;
}
.ts-dots span.active { background: var(--brass); transform: scale(1.3); }
.ts-hint {
  text-align: center; font-size: 0.72rem; color: var(--plum-soft);
  margin-top: 8px; letter-spacing: 0.03em;
}
@media (min-width: 720px) {
  .ts-card { flex: 0 0 30%; }
  .ts-hint { display: none; }
}
