
    :root {
      color-scheme: light dark;
      --paper: #fffaf3;
      --surface: #f7efe8;
      --elevated: #fffdf9;
      --section: #f2eee4;
      --ink: #454441;
      --muted: #716e69;
      --accent: #d99aa2;
      --accent-deep: #a95f6b;
      --accent-soft: #f7dde0;
      --sage: #9eae94;
      --sage-deep: #697c60;
      --sage-soft: #e1e9dc;
      --line: rgba(69, 68, 65, .14);
      --contrast: #697c60;
      --on-contrast: #fffaf3;
      --shadow: 0 18px 44px rgba(80, 67, 65, .12);
      --heading: "Nunito", "Trebuchet MS", sans-serif;
      --sans: "Source Sans 3", "Helvetica Neue", sans-serif;
    }
    @media (prefers-color-scheme: dark) {
      :root {
        color-scheme: light;
        --paper: #fffaf3;
        --surface: #f7efe8;
        --elevated: #fffdf9;
        --section: #f2eee4;
        --ink: #454441;
        --muted: #716e69;
        --accent: #d99aa2;
        --accent-deep: #a95f6b;
        --accent-soft: #f7dde0;
        --sage: #9eae94;
        --sage-deep: #697c60;
        --sage-soft: #e1e9dc;
        --line: rgba(69, 68, 65, .16);
        --contrast: #697c60;
        --on-contrast: #fffaf3;
        --shadow: 0 18px 44px rgba(80, 67, 65, .14);
      }
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-width: 320px;
      background: var(--paper);
      color: var(--ink);
      font-family: var(--sans);
      line-height: 1.55;
      overflow-x: hidden;
    }
    body.menu-open { overflow: hidden; }
    a { color: inherit; }
    button, input, textarea, select { font: inherit; }
    button { color: inherit; }
    img { max-width: 100%; }
    :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
    .site-nav {
      position: sticky;
      top: 0;
      z-index: 30;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: clamp(18px, 3vw, 42px);
      min-height: 68px;
      padding: 8px clamp(22px, 5vw, 72px);
      background: color-mix(in srgb, var(--paper) 94%, transparent);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(14px);
    }
    .nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 34px); }
    .nav-links a {
      position: relative;
      text-decoration: none;
      color: var(--muted);
      font-size: .84rem;
      font-weight: 700;
      letter-spacing: .045em;
      text-transform: uppercase;
    }
    .nav-links a[aria-current="page"], .nav-links a:hover { color: var(--ink); }
    .nav-links a[aria-current="page"]::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -10px;
      height: 3px;
      background: var(--accent);
    }
    .menu-button {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      background: var(--surface);
      border-radius: 2px;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    .menu-button svg { width: 20px; }
    .page { display: none; }
    .page.active { display: block; }
    .hero {
      min-height: calc(min(780px, 100svh) - 68px);
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
      align-items: center;
      max-width: 1440px;
      margin: 0 auto;
      padding: clamp(42px, 6vw, 88px);
      gap: clamp(48px, 7vw, 104px);
    }
    .copy { max-width: 660px; }
    .brand-line {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      margin-bottom: clamp(42px, 7vh, 76px);
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .brand-line::before { content: ""; width: 11px; height: 11px; background: var(--accent); }
    h1, h2, h3, .serif {
      font-family: var(--heading);
      font-weight: 800;
    }
    h1 {
      font-size: clamp(3.2rem, 6.7vw, 6.9rem);
      line-height: .92;
      letter-spacing: -.065em;
      margin: 0 0 30px;
      max-width: 9ch;
    }
    h2 {
      font-size: clamp(2.2rem, 4vw, 4.1rem);
      line-height: .98;
      letter-spacing: -.055em;
      margin: 0;
    }
    .intro {
      margin: 0 0 38px;
      max-width: 560px;
      color: var(--muted);
      font-size: clamp(1.03rem, 1.55vw, 1.2rem);
      line-height: 1.72;
    }
    .cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
    .primary, .secondary, .text-link {
      display: inline-flex;
      align-items: center;
      gap: 13px;
      text-decoration: none;
      font-weight: 700;
      cursor: pointer;
    }
    .primary {
      padding: 15px 22px;
      border: 1px solid var(--accent);
      border-radius: 2px;
      background: var(--accent);
      color: #ffffff;
      transition: gap .2s ease, background .2s ease, border-color .2s ease;
    }
    .primary:hover, .primary:focus-visible { gap: 19px; background: var(--accent-deep); border-color: var(--accent-deep); }
    .primary svg, .text-link svg { width: 18px; }
    .secondary {
      padding: 14px 20px;
      border: 1px solid var(--ink);
      border-radius: 2px;
      background: transparent;
    }
    .secondary:hover, .secondary:focus-visible { background: var(--ink); color: var(--paper); }
    .text-link { color: var(--accent-deep); text-underline-offset: 4px; }
    .note, .eyebrow { color: var(--muted); font-size: .84rem; }
    .eyebrow { font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
    .visual {
      position: relative;
      min-height: 610px;
      display: grid;
      place-items: center;
      isolation: isolate;
      padding: 0 28px 28px 0;
    }
    .visual::before {
      content: "";
      position: absolute;
      inset: 54px 0 0 48px;
      z-index: -1;
      background: var(--accent);
    }
    .visual::after { display: none; }
    .hero-photo {
      width: min(92%, 510px);
      height: 510px;
      display: block;
      object-fit: cover;
      object-position: center 48%;
      border: 0;
      border-radius: 2px;
      box-shadow: var(--shadow);
    }
    .stamp {
      position: absolute;
      top: 2%;
      right: -1%;
      width: 124px;
      aspect-ratio: 1;
      border-radius: 2px;
      background: var(--contrast);
      color: var(--on-contrast);
      box-shadow: var(--shadow);
      display: grid;
      place-items: center;
      text-align: center;
      font-size: .7rem;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: .08em;
      text-transform: uppercase;
      transform: none;
    }
    .stamp span { display: block; color: var(--accent); font-family: var(--sans); font-size: 1.45rem; font-weight: 700; letter-spacing: -.04em; text-transform: none; }
    .band, .page-shell { padding: clamp(72px, 9vw, 124px) clamp(24px, 6vw, 88px); }
    .band { background: var(--section); border-top: 1px solid var(--line); }
    .band-inner, .page-inner { max-width: 1280px; margin: 0 auto; }
    .section-head {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 28px;
      margin-bottom: 52px;
    }
    .section-head::before { content: ""; width: 40px; height: 5px; background: var(--accent); position: absolute; transform: translateY(-24px); }
    .section-head p { max-width: 460px; margin: 0; color: var(--muted); }
    .categories {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(14px, 2vw, 26px);
    }
    .categories-duo { grid-template-columns: repeat(2, 1fr); }
    .categories-trio { grid-template-columns: repeat(3, 1fr); }
    .category-feature {
      display: block;
      min-height: 380px;
      margin-bottom: clamp(14px, 2vw, 26px);
    }
    .category-feature img { min-height: 380px; }
    .category {
      min-height: 340px;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 2px;
      background: var(--elevated);
      text-decoration: none;
    }
    .category:nth-child(1), .category:nth-child(2), .category:nth-child(3) { border-radius: 2px; }
    .category img { width: 100%; height: 100%; min-height: 340px; display: block; object-fit: contain; background: #ffffff; transition: transform .45s ease; }
    .category:hover img { transform: scale(1.025); }
    .spotlight-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(14px, 2vw, 26px);
    }
    .spotlight-more { margin-top: clamp(18px, 2.4vw, 28px); text-align: center; }
    .spotlight-more a { font-weight: 700; color: var(--accent); text-decoration: none; }
    .spotlight-more a:hover, .spotlight-more a:focus-visible { text-decoration: underline; }
    .spotlight-card {
      position: relative;
      display: block;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 10px;
      overflow: hidden;
      text-decoration: none;
      color: var(--ink);
      transition: transform .25s ease, box-shadow .25s ease;
    }
    .spotlight-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(90, 50, 60, .14); }
    .spotlight-card { animation: freshFade .45s ease; }
    @keyframes freshFade { from { opacity: 0; } to { opacity: 1; } }
    .spotlight-card img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: contain; background: #ffffff; }
    .spotlight-badge {
      position: absolute; top: 10px; left: 10px; z-index: 2;
      background: var(--accent-deep); color: #fffaf3;
      font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
      padding: 4px 9px; border-radius: 999px;
    }
    .spotlight-meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
    .spotlight-meta strong { font-size: .98rem; line-height: 1.25; }
    .spotlight-meta small { color: var(--accent-deep); font-weight: 700; font-size: .92rem; }
    @media (max-width: 760px) { .spotlight-grid { grid-template-columns: repeat(2, 1fr); } }
    .category::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(to bottom, transparent, rgba(18, 20, 22, .88)); pointer-events: none; }
    .category::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); opacity: 0; transition: opacity .2s ease; }
    .category:hover::before, .category:focus-visible::before { opacity: 1; }
    .category-label { position: absolute; inset: auto 0 0; z-index: 1; padding: 54px 26px 24px; color: #ffffff; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
    .category small { font-weight: 700; opacity: .82; order: 2; }
    .category h3 { margin: 0; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -.045em; }
    .promise-strip {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      max-width: none;
      margin: 0;
      padding-inline: clamp(24px, 6vw, 88px);
      background: var(--contrast);
      color: var(--on-contrast);
      border: 0;
    }
    .promise { padding: 34px clamp(20px, 4vw, 48px); text-align: left; }
    .promise + .promise { border-left: 1px solid color-mix(in srgb, var(--on-contrast) 22%, transparent); }
    .promise strong { display: block; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; }
    .promise span { color: color-mix(in srgb, var(--on-contrast) 72%, transparent); font-size: .88rem; }
    .page-hero { max-width: 1280px; margin: 0 auto; padding: clamp(68px, 9vw, 120px) clamp(24px, 6vw, 88px) 54px; }
    .page-hero h1 { max-width: 12ch; font-size: clamp(3.1rem, 5.8vw, 6.1rem); }
    .page-hero p { max-width: 640px; color: var(--muted); font-size: 1.08rem; }
    .shop-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); margin-bottom: 56px; }
    .shop-category { position: relative; min-height: 230px; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--elevated); color: #ffffff; text-decoration: none; }
    .shop-category img { width: 100%; height: 230px; display: block; object-fit: contain; background: #ffffff; transition: transform .35s ease; }
    .shop-category::after { content: ""; position: absolute; inset: 34% 0 0; background: linear-gradient(to bottom, transparent, rgba(18, 20, 22, .9)); pointer-events: none; }
    .shop-category span { position: absolute; z-index: 1; inset: auto 20px 18px; font-size: 1.22rem; font-weight: 700; letter-spacing: -.025em; }
    .shop-category:hover img { transform: scale(1.025); }
    .custom-subcategories { margin-top: 46px; }
    .custom-subcategory-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
    .custom-subcategory-head h2 { font-size: clamp(1.65rem, 2.8vw, 2.5rem); letter-spacing: -.04em; }
    .custom-subcategory-head p { max-width: 520px; margin: 0; color: var(--muted); }
    .custom-subcategory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px); }
    .custom-subcategory { position: relative; min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; background: var(--elevated); color: #ffffff; text-decoration: none; }
    .custom-subcategory img { width: 100%; height: 260px; display: block; object-fit: contain; background: #ffffff; transition: transform .35s ease; }
    .custom-subcategory::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(to bottom, transparent, rgba(18, 20, 22, .92)); pointer-events: none; }
    .custom-subcategory::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 5px; background: var(--accent); opacity: 0; transition: opacity .2s ease; }
    .custom-subcategory:hover img { transform: scale(1.025); }
    .custom-subcategory:hover::before, .custom-subcategory:focus-visible::before, .custom-subcategory[aria-current="page"]::before { opacity: 1; }
    .custom-subcategory-copy { position: absolute; z-index: 1; inset: auto 22px 20px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
    .custom-subcategory-copy strong { font-size: clamp(1.55rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -.04em; }
    .custom-subcategory-copy small { max-width: 18ch; text-align: right; font-weight: 700; opacity: .84; }
    .collection-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: clamp(34px, 7vw, 88px); align-items: center; }
    .collection-hero-copy { min-width: 0; }
    .collection-hero-image { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 2px; box-shadow: var(--shadow); border-bottom: 5px solid var(--accent); background: #ffffff; }
    .collection-hero-image.contained { object-fit: contain; padding: 18px; }
    .shop-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
    .filter-chip { border: 1px solid var(--line); background: var(--elevated); border-radius: 2px; padding: 10px 15px; cursor: pointer; font-size: .88rem; font-weight: 600; }
    .filter-chip.active { background: var(--accent); color: #ffffff; border-color: var(--accent); }
    .product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 34px); }
    .product-card { background: var(--elevated); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
    .product-card:nth-child(1), .product-card:nth-child(2), .product-card:nth-child(3) { border-radius: 2px; }
    .product-image { aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--surface); border-bottom: 5px solid var(--accent); }
    .product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
    .product-card:hover .product-image img { transform: scale(1.025); }
    .product-card[data-collection="everyday"] .product-image img { object-position: center; }
    .product-card[data-collection="sundays"] .product-image img { object-position: center; }
    .product-image-contained img { object-fit: contain; padding: 12px; background: #ffffff; }
    .product-symbol { display: grid; place-items: center; color: var(--ink); }
    .product-symbol svg { width: 42%; max-width: 132px; height: auto; }
    .product-body { padding: 24px; }
    .product-body h3 { margin: 8px 0 10px; font-size: 1.3rem; line-height: 1.18; letter-spacing: -.03em; }
    .product-body p { color: var(--muted); margin: 0 0 18px; min-height: 3em; }
    .status { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
    .origin-badge {
      display: inline-flex;
      align-items: center;
      width: fit-content;
      margin: 0 0 9px;
      padding: 6px 9px;
      border: 1px solid var(--ink);
      border-radius: 2px;
      color: var(--ink);
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .07em;
      line-height: 1;
      text-transform: uppercase;
    }
    .detail-copy .origin-badge { margin: 0 0 20px; padding: 8px 11px; }
    .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; font-size: 1.22rem; font-weight: 700; }
    .price del { color: var(--muted); font-size: .88rem; font-weight: 500; }
    .price .price-size { color: var(--muted); font-size: .88rem; font-weight: 500; }
    .sale-label { color: var(--accent-deep); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
    .empty-message { display: none; padding: 42px 0; color: var(--muted); }
    .product-detail {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
      gap: clamp(42px, 7vw, 96px);
      align-items: center;
      max-width: 1180px;
      margin: 0 auto;
      padding: clamp(66px, 8vw, 106px) clamp(24px, 6vw, 88px);
    }
    .detail-photo { position: relative; padding: 0 24px 24px 0; }
    .detail-photo::before { content: ""; position: absolute; inset: 34px 0 0 34px; background: var(--accent); z-index: -1; border-radius: 0; }
    .detail-visual { width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; background: var(--surface); color: var(--ink); border-radius: 2px; box-shadow: var(--shadow); }
    .detail-visual svg { width: 48%; max-width: 230px; height: auto; }
    .detail-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .detail-visual img.contained-photo { object-fit: contain; padding: 20px; background: #ffffff; }
    .detail-copy h1 { font-size: clamp(2.15rem, 4.1vw, 4.35rem); line-height: .98; max-width: none; }
    .detail-copy > p { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
    .detail-copy .price { font-size: 1.65rem; margin-top: -8px; }
    .detail-list { list-style: none; padding: 0; margin: 28px 0 34px; border-top: 1px solid var(--line); }
    .detail-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .detail-list span { color: var(--muted); text-align: right; }
    .coming-note { background: var(--accent-soft); border-left: 5px solid var(--accent); padding: 18px 20px; margin: 22px 0; }
    .story-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: clamp(42px, 7vw, 96px);
      align-items: center;
    }
    .story-image { position: relative; padding: 0 22px 22px 0; }
    .story-image img { width: 100%; min-height: 520px; object-fit: cover; border-radius: 2px; display: block; box-shadow: var(--shadow); }
    .story-image::after { content: ""; position: absolute; inset: 40px 0 0 40px; background: var(--accent); z-index: -1; }
    .story-copy h2 { margin-bottom: 26px; }
    .story-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
    .values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 76px; border-block: 1px solid var(--line); }
    .value:nth-child(3) { border-left: 0; }
    .value:nth-child(n+3) { border-top: 1px solid var(--line); }
    .value { padding: 32px; }
    .value + .value { border-left: 1px solid var(--line); }
    .value strong { display: block; font-family: var(--sans); font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -.025em; }
    .value p { margin: 0; color: var(--muted); }
    .contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 7vw, 96px); }
    .contact-note { color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
    .contact-form { background: var(--elevated); border: 1px solid var(--line); border-top: 5px solid var(--accent); padding: clamp(24px, 4vw, 48px); border-radius: 2px; }
    .field { display: grid; gap: 7px; margin-bottom: 18px; }
    .field label { font-size: .86rem; font-weight: 700; }
    .field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 13px 14px; border-radius: 2px; }
    .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
    .field textarea { min-height: 150px; resize: vertical; }
    .form-help { margin: 14px 0 0; color: var(--muted); font-size: .84rem; }
    .form-status { min-height: 1.4em; color: var(--accent-deep); font-size: .9rem; margin-top: 12px; }
    footer {
      border-top: 1px solid var(--line);
      background: var(--paper);
      padding: 42px clamp(24px, 6vw, 88px) max(34px, env(safe-area-inset-bottom));
      color: var(--muted);
      font-size: .84rem;
    }
    .footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 28px; }
    .footer-brand { display: flex; align-items: center; gap: 18px; }
    .footer-brand img { display: block; width: 112px; height: auto; flex: 0 0 auto; }
    .footer-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
    .footer-nav a { text-underline-offset: 3px; }
    .credits { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
    .credits a { color: var(--accent-deep); text-underline-offset: 3px; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

    /* Soft blush & sage boutique theme */
    body {
      background: var(--paper);
      letter-spacing: .002em;
    }
    .site-nav {
      min-height: 72px;
      background: color-mix(in srgb, var(--paper) 92%, transparent);
      border-bottom-color: color-mix(in srgb, var(--sage) 42%, var(--line));
    }
    .nav-links a {
      color: var(--muted);
      font-family: var(--heading);
      font-size: .9rem;
      font-weight: 700;
      letter-spacing: .01em;
      text-transform: none;
    }
    .nav-links a[aria-current="page"]::after {
      bottom: -11px;
      height: 4px;
      border-radius: 999px;
      background: var(--accent);
    }
    .menu-button {
      width: 44px;
      height: 44px;
      border-color: color-mix(in srgb, var(--sage) 48%, var(--line));
      border-radius: 14px;
      background: var(--sage-soft);
      color: var(--sage-deep);
    }
    .hero {
      position: relative;
      min-height: calc(min(800px, 100svh) - 72px);
      padding-block: clamp(60px, 8vw, 108px);
    }
    .brand-line {
      color: var(--sage-deep);
      font-family: var(--heading);
      letter-spacing: .075em;
      text-transform: none;
    }
    .brand-line::before {
      width: 13px;
      height: 20px;
      border-radius: 100% 0 100% 0;
      background: var(--sage);
      transform: rotate(-28deg);
    }
    h1 {
      line-height: .98;
      letter-spacing: -.045em;
    }
    h2 { line-height: 1.04; letter-spacing: -.035em; }
    .intro { line-height: 1.78; }
    .primary, .secondary {
      border-radius: 999px;
      min-height: 50px;
      padding-inline: 24px;
      font-family: var(--heading);
      letter-spacing: .005em;
    }
    .primary {
      border-color: var(--accent);
      background: var(--accent);
      color: #3f3033;
      box-shadow: 0 8px 20px rgba(169, 95, 107, .16);
    }
    .primary:hover, .primary:focus-visible {
      background: var(--accent-deep);
      border-color: var(--accent-deep);
      color: #2f2527;
    }
    .secondary { border-color: var(--sage-deep); color: var(--sage-deep); }
    .secondary:hover, .secondary:focus-visible { background: var(--sage-deep); color: var(--paper); }
    .text-link { color: var(--accent-deep); }
    .visual { padding: 0 34px 34px 0; }
    .visual::before {
      inset: 46px 0 0 48px;
      border-radius: 42px 42px 14px 42px;
      background: var(--sage-soft);
      border: 1px solid color-mix(in srgb, var(--sage) 42%, transparent);
    }
    .hero-photo {
      border-radius: 44px 44px 14px 44px;
      box-shadow: var(--shadow);
    }
    .stamp {
      width: 132px;
      border-radius: 48% 52% 46% 54% / 54% 44% 56% 46%;
      background: var(--accent-soft);
      color: var(--ink);
      border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
      box-shadow: 0 14px 32px rgba(93, 74, 76, .14);
      transform: rotate(4deg);
      letter-spacing: .045em;
      text-transform: none;
    }
    .stamp span { color: var(--accent-deep); font-family: var(--heading); }
    .band, .page-shell {
      padding-block: clamp(82px, 10vw, 138px);
    }
    .band {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background: var(--section);
      border-top-color: color-mix(in srgb, var(--sage) 38%, var(--line));
    }
    .band::before, .band::after {
      content: "";
      position: absolute;
      z-index: -1;
      width: 42px;
      height: 72px;
      border-radius: 100% 0 100% 0;
      background: color-mix(in srgb, var(--sage-soft) 82%, transparent);
      opacity: .75;
      transform: rotate(24deg);
    }
    .band::before { top: 34px; right: 5%; }
    .band::after { top: 72px; right: calc(5% + 38px); transform: rotate(68deg) scale(.7); }
    .section-head { margin-bottom: 58px; }
    .section-head::before {
      top: -30px;
      left: 2px;
      width: 42px;
      height: 16px;
      border-radius: 100% 0 100% 0;
      background: var(--accent);
      transform: rotate(-12deg);
    }
    .category {
      border-color: color-mix(in srgb, var(--sage) 38%, var(--line));
      border-radius: 28px 28px 12px 28px;
      background: var(--elevated);
      box-shadow: 0 10px 26px rgba(81, 72, 67, .07);
    }
    .category:nth-child(2), .category:nth-child(4) { border-radius: 28px 12px 28px 28px; }
    .category img, .shop-category img, .custom-subcategory img { background: var(--elevated); }
    .category::before { height: 7px; background: var(--accent); }
    .category:nth-child(even)::before { background: var(--sage); }
    .category::after, .shop-category::after, .custom-subcategory::after {
      background: linear-gradient(to bottom, transparent, rgba(53, 57, 49, .88));
    }
    .category h3, .shop-category span { font-family: var(--heading); }
    .promise-strip { background: var(--contrast); }
    .promise { padding-block: 40px; }
    .promise strong, .value strong { font-family: var(--heading); }
    .page-hero { padding-top: clamp(78px, 10vw, 132px); padding-bottom: 66px; }
    .eyebrow {
      color: var(--sage-deep);
      font-family: var(--heading);
      letter-spacing: .065em;
      text-transform: none;
    }
    .shop-category, .custom-subcategory {
      border-color: color-mix(in srgb, var(--sage) 38%, var(--line));
      border-radius: 22px 22px 9px 22px;
      box-shadow: 0 10px 24px rgba(81, 72, 67, .07);
    }
    .custom-subcategory:nth-child(2) { border-radius: 22px 9px 22px 22px; }
    .custom-subcategory::before { height: 7px; background: var(--accent); }
    .custom-subcategory:nth-child(2)::before { background: var(--sage); }
    .collection-hero-image {
      border-radius: 28px 28px 10px 28px;
      border-bottom-color: var(--accent);
    }
    .filter-chip {
      border-color: color-mix(in srgb, var(--sage) 45%, var(--line));
      border-radius: 999px;
      padding: 11px 18px;
      font-family: var(--heading);
      background: var(--elevated);
    }
    .filter-chip.active {
      background: var(--sage);
      border-color: var(--sage);
      color: #283025;
    }
    .product-grid { row-gap: clamp(28px, 3.5vw, 46px); }
    .product-card {
      border-color: color-mix(in srgb, var(--sage) 34%, var(--line));
      border-radius: 20px;
      background: var(--elevated);
      box-shadow: 0 10px 26px rgba(81, 72, 67, .065);
    }
    .product-card:nth-child(2n) { border-radius: 20px 20px 8px 20px; }
    .product-image { border-bottom-color: var(--accent); background: var(--surface); }
    .product-card:nth-child(2n) .product-image { border-bottom-color: var(--sage); }
    .product-image-contained img, .detail-visual img.contained-photo { background: var(--elevated); }
    .product-body { padding: 28px; }
    .origin-badge { border-color: var(--sage); border-radius: 999px; color: var(--sage-deep); }
    .detail-photo { padding: 0 30px 30px 0; }
    .detail-photo::before {
      inset: 34px 0 0 34px;
      border-radius: 34px 34px 12px 34px;
      background: var(--sage-soft);
      border: 1px solid color-mix(in srgb, var(--sage) 42%, transparent);
    }
    .detail-visual { border-radius: 36px 36px 12px 36px; }
    .coming-note { border-left-color: var(--accent); border-radius: 0 16px 16px 0; }
    .story-image img { border-radius: 38px 38px 12px 38px; }
    .story-image::after {
      border-radius: 34px 34px 10px 34px;
      background: var(--sage-soft);
      border: 1px solid color-mix(in srgb, var(--sage) 42%, transparent);
    }
    .values { border-color: color-mix(in srgb, var(--sage) 40%, var(--line)); }
    .contact-form {
      border-color: color-mix(in srgb, var(--sage) 38%, var(--line));
      border-top-color: var(--accent);
      border-radius: 26px 26px 10px 26px;
      box-shadow: 0 12px 30px rgba(81, 72, 67, .07);
    }
    .field input, .field textarea, .field select {
      border-color: color-mix(in srgb, var(--sage) 42%, var(--line));
      border-radius: 14px;
      background: var(--paper);
    }
    footer { background: var(--sage-soft); }

    @media (max-width: 1050px) and (min-width: 621px) {
      .site-nav { padding-inline: 18px; gap: 14px; }
      .nav-links { gap: 12px; }
      .nav-links a { font-size: .7rem; }
    }
    @media (max-width: 860px) {
      .hero { grid-template-columns: 1fr; padding-top: 52px; gap: 30px; }
      .brand-line { margin-bottom: 36px; }
      .visual { min-height: 520px; max-width: 620px; width: 100%; justify-self: center; }
      .hero-photo { width: min(92%, 470px); height: 500px; }
      .stamp { right: 1%; top: 2%; }
      .section-head { align-items: start; flex-direction: column; }
      .categories { grid-template-columns: 1fr 1fr; }
      .product-grid { grid-template-columns: 1fr 1fr; }
      .shop-categories { grid-template-columns: 1fr 1fr; }
      .product-detail, .story-grid, .contact-grid, .collection-hero { grid-template-columns: 1fr; }
      .custom-subcategory-head { align-items: start; flex-direction: column; }
      .collection-hero-image { max-width: 620px; }
      .detail-photo { max-width: 620px; }
      .story-image { max-width: 620px; }
    }
    @media (max-width: 620px) {
      .site-nav { justify-content: space-between; min-height: 66px; padding-block: 7px; }
      .menu-button { display: inline-flex; }
      .nav-links {
        position: fixed;
        inset: 66px 0 auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px 24px 26px;
        background: var(--elevated);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
      }
      .nav-links.open { display: flex; }
      .nav-links a { padding: 11px 0; font-size: .9rem; }
      .nav-links a[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; width: 24px; }
      .hero { padding: 42px 22px 58px; min-height: auto; }
      h1 { font-size: clamp(3.05rem, 15vw, 4.5rem); }
      .visual { min-height: 430px; margin-top: 16px; padding-right: 18px; padding-bottom: 18px; }
      .visual::before { inset: 36px 0 0 28px; }
      .hero-photo { width: 94%; height: 420px; }
      .stamp { width: 96px; font-size: .6rem; right: 0; }
      .stamp span { font-size: 1.2rem; }
      .categories, .product-grid, .shop-categories, .custom-subcategory-grid { grid-template-columns: 1fr; }
      .category:first-child, .shop-category:first-child { grid-column: auto; max-width: none; }
      .custom-subcategory, .custom-subcategory img { min-height: 230px; height: 230px; }
      .custom-subcategory-copy { align-items: start; flex-direction: column; gap: 7px; }
      .custom-subcategory-copy small { text-align: left; }
      .category, .category img { min-height: 290px; }
      .promise-strip, .values { grid-template-columns: 1fr; }
      .promise + .promise, .value + .value { border-left: 0; border-top: 1px solid var(--line); }
      .promise + .promise { border-color: color-mix(in srgb, var(--on-contrast) 22%, transparent); }
      .product-image { aspect-ratio: 4 / 3.4; }
      .page-hero { padding-top: 58px; }
      .detail-photo img { max-height: 520px; }
      .story-image img { min-height: 420px; }
      .footer-inner { grid-template-columns: 1fr; }
      .footer-brand { align-items: flex-start; }
      .footer-brand img { width: 96px; }
      .credits { grid-column: auto; }
      .category:hover img, .shop-category:hover img, .custom-subcategory:hover img, .product-card:hover .product-image img { transform: none; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { transition-duration: .001ms !important; }
    }
  
    /* ---- Davies Babies accounts & forms ---- */
    .account-btn { background: none; border: 1px solid var(--accent); color: var(--ink); border-radius: 999px; padding: 0.45rem 1.1rem; font: inherit; cursor: pointer; }
    .account-btn:hover { background: var(--accent); color: #fff; }
    .modal-backdrop { position: fixed; inset: 0; background: rgba(60,40,30,.45); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
    .modal-backdrop.open { display: flex; }
    .modal { background: var(--paper); border-radius: 1.25rem; padding: 2rem; max-width: 26rem; width: 100%; box-shadow: 0 1.5rem 4rem rgba(60,40,30,.25); }
    .modal h2 { margin-top: 0; }
    .modal .tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
    .modal .tabs button { flex: 1; padding: .6rem; border: 1px solid var(--line); background: none; border-radius: .75rem; font: inherit; cursor: pointer; }
    .modal .tabs button.active { background: var(--accent); color: #fff; border-color: var(--accent); }
    .modal .field { margin-bottom: .9rem; }
    .modal .field label { display: block; font-size: .85rem; margin-bottom: .3rem; }
    .modal .field input { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .75rem; font: inherit; box-sizing: border-box; }
    .modal .primary { width: 100%; padding: .75rem; border: none; border-radius: .75rem; background: var(--accent); color: #fff; font: inherit; font-size: 1rem; cursor: pointer; }
    .modal .close-x { float: right; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #999; }
    .auth-error { color: #b3261e; font-size: .9rem; min-height: 1.3em; margin: .5rem 0; }
    .newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; max-width: 24rem; }
    .newsletter-form input { flex: 1; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: .75rem; font: inherit; }
    .newsletter-form button { padding: .6rem 1.1rem; border: none; border-radius: .75rem; background: var(--accent); color: #fff; font: inherit; cursor: pointer; white-space: nowrap; }
    .design-form { max-width: 34rem; }
    .design-form .field { margin-bottom: 1rem; }
    .design-form .field label { display: block; font-weight: 600; margin-bottom: .35rem; }
    .design-form .field input, .design-form .field select, .design-form .field textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .75rem; font: inherit; box-sizing: border-box; }
    .design-form .field textarea { min-height: 5rem; }
    .design-form .primary { padding: .8rem 1.6rem; border: none; border-radius: .75rem; background: var(--accent); color: #fff; font: inherit; font-size: 1rem; cursor: pointer; }
    .design-form .primary:disabled { opacity: .6; cursor: wait; }

  
    /* ---- Brand amplification ---- */
    .hero-logo { display: block; width: clamp(340px, 52vw, 680px); height: auto; margin: 0 auto clamp(1rem, 2.5vh, 1.75rem); }
    #home-title { color: var(--accent-deep); font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 680px; margin-left: auto; margin-right: auto; }
    .hero .copy { text-align: center; }
    .hero .copy .cta-row { justify-content: center; }
    .footer-brand img { width: clamp(120px, 12vw, 170px) !important; height: auto; }
    .about-logo { display: block; width: clamp(150px, 18vw, 220px); height: auto; margin: 0 auto 1.25rem; }
    .page-hero.brand-hero { text-align: center; }

  
    /* ---- Sidebar navigation ---- */
    .sidebar-backdrop { position: fixed; inset: 0; background: rgba(60,40,30,.45); opacity: 0; pointer-events: none; transition: opacity .3s ease; z-index: 1100; }
    .sidebar-backdrop.open { opacity: 1; pointer-events: auto; }
    .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 84vw); background: var(--paper); z-index: 1101; transform: translateX(-105%); transition: transform .32s cubic-bezier(.32,.72,.35,1); display: flex; flex-direction: column; box-shadow: 1.5rem 0 4rem rgba(60,40,30,.18); overflow-y: auto; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
    .sidebar-head img { width: 96px; height: auto; }
    .sidebar-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); line-height: 1; padding: .25rem .5rem; }
    .sidebar nav { display: flex; flex-direction: column; padding: 1rem 1.25rem; gap: .15rem; }
    .sidebar nav a { padding: .7rem .8rem; border-radius: .75rem; text-decoration: none; color: var(--ink); font-size: 1.02rem; }
    .sidebar nav a:hover { background: var(--sage-soft); }
    .sidebar nav a.sub { padding-left: 1.6rem; font-size: .93rem; color: var(--muted); }
    .sidebar .sidebar-account { margin: auto 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
    .sidebar .sidebar-account .account-btn { width: 100%; padding: .8rem; font-size: 1rem; }
    .sidebar-tagline { text-align: center; font-style: italic; color: var(--sage-deep); font-size: .85rem; padding: 0 1.25rem 1.25rem; }
    .sidebar-newsletter { padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
    .sidebar-newsletter-title { font-weight: 700; font-size: .95rem; margin: 0 0 .6rem; }
    .sidebar-newsletter form { display: flex; gap: .5rem; }
    .sidebar-newsletter input[type="email"] { flex: 1; min-width: 0; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: .6rem; font-size: .9rem; }
    .sidebar-newsletter button { padding: .6rem 1rem; background: var(--accent-deep); color: #fff; border: none; border-radius: .6rem; font-weight: 700; cursor: pointer; font-size: .9rem; }
    .sidebar-newsletter button:hover { opacity: .9; }
    .sidebar-newsletter-msg { font-size: .85rem; margin: .5rem 0 0; color: var(--muted); }

  
    /* ---- Sidebar fixes: always-visible hamburger, no flash ---- */
    .menu-button { display: inline-flex !important; }
    .sidebar, .sidebar-backdrop { visibility: hidden; transition: transform .32s cubic-bezier(.32,.72,.35,1), opacity .3s ease, visibility 0s linear .35s; }
    .sidebar.open, .sidebar-backdrop.open { visibility: visible; transition: transform .32s cubic-bezier(.32,.72,.35,1), opacity .3s ease, visibility 0s linear 0s; }

  
/* Storefront hero variant (preview) */
.hero-storefront { align-items: start; }
.hero-storefront .eyebrow { color: var(--accent-deep); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.hero-storefront #home-title { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.1; color: var(--ink); text-align: left; max-width: none; margin: 0 0 16px; }
.hero-storefront .intro { font-size: 1.05rem; color: var(--muted); max-width: 440px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.cat-pills a { padding: 8px 16px; border: 1.5px solid var(--accent); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--accent-deep); text-decoration: none; transition: all .2s; }
.cat-pills a:hover { background: var(--accent); color: #fff; }
.hero-storefront .cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-storefront .secondary { padding: 12px 24px; border: 2px solid var(--ink); border-radius: 8px; font-weight: 700; color: var(--ink); text-decoration: none; }
.hero-storefront .secondary:hover { background: var(--ink); color: #fff; }
.product-spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 520px; }
.spot-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s; display: block; }
.spot-card:hover { transform: translateY(-4px); }
.spot-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.spot-card .spot-name { display: block; padding: 10px 12px 2px; font-weight: 700; font-size: .9rem; }
.spot-card .spot-price { display: block; padding: 0 12px 12px; color: var(--accent-deep); font-weight: 700; }
@media (max-width: 860px) {
  .hero-storefront #home-title { text-align: center; }
  .hero-storefront .intro { text-align: center; margin: 0 auto; }
  .cat-pills { justify-content: center; }
  .hero-storefront .cta-row { justify-content: center; }
  .product-spotlight { margin: 0 auto; }
}

/* Lifestyle banner (preview) */
.lifestyle-banner { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 clamp(42px, 6vw, 88px); }
.lifestyle-banner img { width: 100%; height: 380px; object-fit: cover; object-position: center 30%; border-radius: 12px; display: block; }
.lifestyle-caption { position: absolute; left: clamp(60px, 8vw, 120px); bottom: 32px; background: rgba(255,255,255,.92); padding: 20px 28px; border-radius: 12px; max-width: 380px; box-shadow: var(--shadow); }
.lifestyle-caption .eyebrow { color: var(--accent-deep); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; margin: 0 0 8px; }
.lifestyle-caption p { margin: 0; font-size: 1rem; color: var(--ink); }
@media (max-width: 860px) {
  .lifestyle-banner img { height: 280px; }
  .lifestyle-caption { left: 32px; right: 32px; bottom: 20px; padding: 16px 20px; }
}

/* Storefront visual: baby photo + mini product cards */
.visual-storefront { position: relative; display: flex; flex-direction: column; align-items: center; place-items: unset; min-height: auto; padding: 0; }
.visual-storefront::before { display: none; }
.hero-baby { width: min(100%, 440px); height: 520px; object-fit: cover; object-position: center 30%; border-radius: 12px; box-shadow: var(--shadow); display: block; }
.mini-products { display: flex !important; flex-direction: row !important; gap: 10px; margin-top: 12px; max-width: 440px; width: 100%; }
.mini-card { flex: 1; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; display: block; transition: transform .2s; }
.mini-card:hover { transform: translateY(-3px); }
.mini-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.mini-card span { display: block; text-align: center; padding: 6px 4px 8px; font-weight: 700; font-size: .8rem; color: var(--accent-deep); }
.hero-logo-sm { width: clamp(320px, 40vw, 540px) !important; margin-bottom: 16px !important; }
@media (max-width: 860px) {
  .hero-baby { height: 400px; margin: 0 auto; }
  .mini-products { margin: 12px auto 0; }
  .hero-logo-sm { margin-left: auto; margin-right: auto; }
}

/* ===== Shopping Cart ===== */
.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  margin-left: auto;
}
.cart-button svg { width: 26px; height: 26px; }
.cart-count {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-img { flex: 0 0 auto; }
.cart-item-img img {
  width: 110px; height: 110px; object-fit: cover;
  border-radius: 12px; display: block;
  box-shadow: 0 2px 10px rgba(90,50,55,.10);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info strong { display: block; font-size: 17px; color: var(--ink); }
.cart-item-info .cart-meta { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.cart-item-info .cart-variant, .cart-item-info .cart-size {
  display: inline-block; font-style: normal; font-size: 13px; font-weight: 600;
  color: #a95f6b; background: #faf0ee; border-radius: 999px; padding: 2px 10px; margin: 6px 6px 0 0;
}
.cart-item-desc { font-size: 14px; color: #5d4a48; line-height: 1.5; margin: 8px 0 4px; }
.cart-item-details {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px 18px; margin: 8px 0 4px;
}
.cart-item-details div { display: flex; gap: 6px; font-size: 12.5px; padding: 3px 0; border-bottom: 1px dashed #f0e2e4; }
.cart-item-details dt { color: var(--muted); flex: 0 0 auto; }
.cart-item-details dd { margin: 0; color: var(--ink); }
.cart-item-unit { font-size: 13px; color: var(--muted); display: block; margin-top: 4px; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item-img img { width: 84px; height: 84px; }
  .cart-item-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
}
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  background: #fff; border-radius: 6px;
  font-size: 16px; cursor: pointer;
}
.cart-item-total { font-weight: 700; min-width: 70px; text-align: right; }
.cart-remove {
  background: none; border: none;
  font-size: 22px; color: #999; cursor: pointer;
  padding: 4px 8px;
}
.cart-remove:hover { color: #c00; }
.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 18px; margin: 16px 0;
}
.cart-grand-row {
  border-top: 1px solid #e3d3d6; padding-top: 14px;
  font-weight: 700;
}
.cart-member-note {
  background: #fdf3ec; border: 1px solid #f0dcc8; border-radius: 8px;
  padding: 10px 14px; font-size: .95rem; margin: 14px 0 4px;
}
.cart-member-note a { font-weight: 600; }
/* Promo code (Stage 4 — WELCOME10) */
.cart-discount-row strong { color: #697c60; }
/* Match Price (2026-10-17) */
.cart-match-row strong { color: #697c60; }
.cart-match-note { display: block; color: #697c60; font-size: .8rem; font-weight: 600; margin-top: 2px; }
.cart-promo-row { display: flex; gap: 8px; margin: 14px 0 4px; }
.cart-promo-row input {
  flex: 1; padding: 10px 12px; border: 1px solid #e3d3d6; border-radius: 8px;
  font: inherit; font-size: .95rem; text-transform: uppercase;
}
.cart-promo-row button {
  padding: 10px 18px; border: 1px solid #a95f6b; border-radius: 8px;
  background: #fff; color: #a95f6b; font: inherit; font-weight: 600; cursor: pointer;
}
.cart-promo-row button:hover { background: #fdf1f3; }
.cart-promo-msg { color: #697c60; font-size: .9rem; margin: 6px 0 0; }
/* Members-ship-free advertising lines (v292) */
.member-ship-line { color: #a95f6b; font-weight: 600; font-size: .95rem; margin: 4px 0 10px; }
/* Members Only (2026-10-18) */
.members-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border: 1px solid var(--sage); border-radius: 999px; color: var(--sage-deep); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.members-only-line { color: #a95f6b; font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.cart-members-note { display: block; color: #a95f6b; font-size: .8rem; font-weight: 600; margin-top: 2px; }
.cart-members-checkout-note { color: #a95f6b; font-weight: 600; font-size: .92rem; margin: 10px 0 4px; }
.cart-item-locked { opacity: .85; }
[data-members-nav][hidden] { display: none !important; }
.ship-note { color: #a95f6b; font-weight: 600; font-size: .95rem; margin-top: 10px; }
.gate-ship-note { color: #a95f6b; font-weight: 600; font-size: .92rem; margin-top: 12px; }
#cart-footer .primary { width: 100%; margin-top: 8px; }
.paypal-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 10px; color: var(--muted); font-size: 13px;
}
.paypal-divider::before, .paypal-divider::after {
  content: ""; flex: 1; height: 1px; background: #e3d3d6;
}
#paypal-button-container { margin-top: 4px; }

/* Variant picker (multi-design products: Milk Wasted, Tiny Tornado) */
.variant-picker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.variant-picker-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.variant-thumb {
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.variant-thumb:hover {
  transform: scale(1.06);
}
.variant-thumb.active {
  border-color: #a95f6b;
}
.variant-name {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.85;
}
.cart-variant {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Size selector (apparel products) */
.size-picker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
}
.size-picker label {
  font-weight: 600;
  font-size: 0.95rem;
}
.size-picker select {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #e0c9c4;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
}
.cart-size {
  display: block;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Product image gallery - sleek */
.product-gallery { position: relative; width: 100%; }
.gallery-slide { display: none; width: 100%; }
.gallery-slide.active { display: block; }
.gallery-slide img { width: 100%; display: block; border-radius: 12px; }
.gallery-slide img.contained-photo { object-fit: contain; }
.gallery-arrow {
  position: absolute; top: 40%; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: none;
  font-size: 20px; color: #555; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5; opacity: 0; transition: opacity .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.product-gallery:hover .gallery-arrow { opacity: 1; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
/* Thumbnails always visible, dots removed */
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 10px;
  justify-content: flex-start; flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px; border: 2px solid transparent;
  border-radius: 8px; overflow: hidden; cursor: pointer;
  padding: 0; background: #f8f8f8; flex-shrink: 0;
  transition: border-color .2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--accent); }
/* Circular print/color swatches */
.color-picker { margin-top: 16px; }
.color-picker-label { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 8px; font-weight: 600; }
.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  border: 2px solid #eee; padding: 2px; cursor: pointer; background: #fff;
  transition: border-color .2s ease;
}
.color-swatch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.color-swatch.active { border-color: var(--accent); }
.color-swatch-name { font-size: 13px; color: #666; margin-top: 8px; min-height: 18px; }
/* Sleek dropdown */
.size-picker label { font-size: 13px; color: #888; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.size-picker select { padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; background: #fff; min-width: 200px; }


/* Sleek color pills */
.color-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.color-pill {
  padding: 10px 18px; border: 1px solid #ddd; border-radius: 24px;
  background: #fff; font-size: 14px; cursor: pointer; color: #333;
  transition: all .2s ease;
}
.color-pill:hover { border-color: #aaa; }
.color-pill.active { border-color: var(--accent); background: var(--accent); color: #fff; }

    /* ---- Persistent left sidebar (desktop) ---- */
    @media (min-width: 861px) {
      .sidebar {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 280px;
        transform: none !important;
        visibility: visible !important;
        z-index: 900;
        border-right: 1px solid var(--line);
        box-shadow: none;
      }
      .sidebar-backdrop { display: none !important; }
      .sidebar-close { display: none; }
      .menu-button { display: none !important; }
      #main-content {
        margin-left: 280px;
      }
      footer {
        margin-left: 280px;
      }
      .sidebar-head { display: none; }
      .site-nav .nav-links { display: none !important; }
    }
    /* ---- Drawer sidebar (mobile/tablet) ---- */
    @media (max-width: 860px) {
      .sidebar {
        top: 0;
      }
      #main-content, footer {
        margin-left: 0;
      }
    }


    .site-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--ink);
      font-family: 'Nunito', sans-serif;
      font-weight: 800;
      font-size: 1.2rem;
      margin-right: auto;
    }
    .site-brand img {
      display: block;
      object-fit: contain;
    }
    .site-brand:hover { opacity: .85; }
    @media (max-width: 860px) {
      .site-brand span { display: none; }
      .site-brand img { width: 38px; height: 38px; }
    }

    .header-account {
      display: flex;
      gap: 8px;
      align-items: center;
      margin-left: auto;
    }
    .header-login-btn, .header-signup-btn {
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }
    .header-login-btn {
      background: transparent;
      border: 1px solid var(--line);
      color: var(--ink);
    }
    .header-signup-btn {
      background: var(--accent-deep);
      border: none;
      color: #fff;
    }
    .header-login-btn:hover, .header-signup-btn:hover { opacity: 0.85; }
    @media (max-width: 860px) {
      .header-account { display: none; }
    }

    /* ---- Seamless top nav bar + sidebar ---- */
    .topnav-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      padding: 0 20px;
      min-height: 48px;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
      position: sticky;
      top: 72px;
      z-index: 800;
    }
    .topnav-links {
      display: flex;
      align-items: center;
      gap: 4px;
      margin: 0 auto;
    }
    .topnav-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: auto;
    }
    .topnav-actions .cart-button {
      margin-left: 0;
      padding: 6px 8px;
    }
    .cart-count-inline {
      position: static;
      display: inline-block;
      margin-left: 6px;
      vertical-align: middle;
      text-align: center;
      padding: 1px 0;
    }
    .topnav-bar a {
      padding: 12px 18px;
      text-decoration: none;
      color: var(--ink);
      font-weight: 600;
      font-size: 0.95rem;
      border-radius: 8px;
      white-space: nowrap;
    }
    .topnav-bar a:hover {
      background: var(--sage-soft);
    }
    .topnav-bar a.active {
      color: var(--accent-deep);
      background: var(--sage-soft);
    }
    @media (max-width: 860px) {
      .topnav-bar {
        display: none;
      }
      .sidebar {
        top: 0 !important;
      }
    }

    /* ---- Header upgrade (v148): announcement bar, top-bar actions, sticky-stack fix ---- */
    :root { --header-h: 78px; }
    .announce-bar {
      background: var(--accent-deep);
      color: #fffaf3;
      text-align: center;
      padding: 8px 16px;
      position: relative;
      z-index: 31;
    }
    .announce-msg { display: none; margin: 0; font-size: .84rem; font-weight: 600; letter-spacing: .02em; }
    .announce-msg.is-active { display: block; animation: announceFade .5s ease; }
    @keyframes announceFade { from { opacity: 0; } to { opacity: 1; } }
    .site-nav {
      height: var(--header-h);
      min-height: var(--header-h);
      padding-block: 0;
    }
    .site-nav .site-brand img { height: 54px; width: auto; }
    .topnav-bar { top: var(--header-h); }
    .nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
    .nav-icon-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border: none;
      background: transparent;
      border-radius: 999px;
      cursor: pointer;
      color: var(--ink);
      text-decoration: none;
      padding: 0;
    }
    .nav-icon-btn:hover { background: var(--sage-soft); }
    .nav-icon-btn svg { width: 23px; height: 23px; }
    @media (min-width: 861px) {
      .sidebar { top: calc(var(--header-h) + 66px) !important; border-top: 1px solid var(--line); border-radius: 0 18px 0 0; }
      .sidebar nav { padding-top: 1.4rem; }
    }
    @media (max-width: 620px) {
      :root { --header-h: 64px; }
      .site-nav .site-brand img { height: 44px; width: auto; }
      .announce-msg { font-size: .78rem; }
    }

    /* ---- Side menu below header stack (v150) ---- */
    .site-nav { z-index: 1200; }
    .topnav-bar { z-index: 1200; }
    .modal-backdrop { z-index: 1300; }
    @media (max-width: 860px) {
      .sidebar { top: var(--header-h) !important; }
    }

    /* ---- Garment picker (v151) ---- */
    .garment-picker { margin: 14px 0 4px; }
    .garment-picker-label { display: block; font-weight: 700; margin-bottom: 8px; }
    .garment-options { display: flex; flex-wrap: wrap; gap: 8px; }
    .garment-option {
      display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
      padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 12px;
      background: #fff; cursor: pointer; font-weight: 600; color: var(--ink); font: inherit;
    }
    .garment-option .garment-price { font-size: .8rem; color: var(--muted); font-weight: 600; }
    .garment-option:hover { border-color: var(--accent); }
    .garment-option.active { border-color: var(--accent-deep); background: var(--sage-soft); }

/* Prototype-style product page (design-picker products) — image-led, single column */
section.page.proto-page .product-detail { display: block; max-width: 920px; margin: 0 auto; }
section.page.proto-page .detail-photo { padding: 0; max-width: none; margin: 0 auto; }
section.page.proto-page .detail-photo::before { display: none; }
section.page.proto-page .detail-visual { aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: 0 2px 14px rgba(90,50,55,.08); background: #fff; }
section.page.proto-page .detail-visual img.contained-photo { object-fit: cover; padding: 0; background: #fff; }
section.page.proto-page .gallery-slide img { border-radius: 14px; }
section.page.proto-page .variant-picker { flex-wrap: nowrap; overflow-x: auto; padding: 12px 2px 6px; margin-top: 0; scrollbar-width: thin; }
section.page.proto-page .variant-picker-label { display: none; }
section.page.proto-page .variant-thumb { width: 76px; height: 76px; flex: 0 0 auto; padding: 0; border-radius: 10px; overflow: hidden; }
section.page.proto-page .variant-thumb img { object-fit: cover; }
section.page.proto-page .variant-name { font-style: normal; font-weight: 700; font-size: 1.15rem; opacity: 1; margin: 10px 0 2px; }
section.page.proto-page .detail-copy { max-width: 920px; margin: 18px auto 0; }
section.page.proto-page .cta-row .primary { padding: 15px 36px; font-size: 17px; border-radius: 12px; }

/* Approved prototype (preview/hoodie.html) — ported to the live product page */
.pv-main { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(90,50,55,.08); }
.pv-main img { width: 100%; display: block; aspect-ratio: 1/1; object-fit: cover; }
.pv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); box-shadow: 0 1px 6px rgba(0,0,0,.18); font-size: 20px; color: #a95f6b; cursor: pointer; z-index: 2; }
.pv-arrow.left { left: 10px; } .pv-arrow.right { right: 10px; }
.pv-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; }
.pv-strip img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; flex: 0 0 auto; }
.pv-strip img.active { border-color: #a95f6b; }
.pv-label { font-weight: 700; margin: 18px 0 8px; color: var(--ink); }
.pv-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-pill { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; }
.pv-pill.active { background: #a95f6b; color: #fff; border-color: #a95f6b; }
section.page.proto-page .detail-visual { aspect-ratio: auto; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
section.page.proto-page #size-picker { margin: 4px 0 6px; }
section.page.proto-page #size-picker label { display: block; font-weight: 700; margin: 14px 0 8px; color: var(--ink); }
section.page.proto-page #size-select { width: 100%; max-width: 320px; padding: 11px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 15px; background: #fff; }
section.page.proto-page .variant-picker, section.page.proto-page #color-picker { display: none; }

/* Customers-also-pair card (product page) */
.pair-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 14px; border: 1.5px solid #e7d8ce; border-radius: 14px; background: #fdf8f4; text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.pair-card:hover { border-color: #a95f6b; box-shadow: 0 4px 14px rgba(169, 95, 107, .12); }
.pair-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.pair-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pair-card-text strong { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: #a95f6b; }
.pair-card-text span { font-size: .92rem; }
.pair-card-price { font-weight: 600; }
.pair-card-arrow { margin-left: auto; font-size: 1.6rem; color: #a95f6b; flex: none; }

/* Policy / FAQ pages (brand audit fix, 2026-10-15) */
.policy-body { max-width: 760px; }
.policy-body h2 { font-family: var(--heading); color: var(--accent-deep); margin: 28px 0 8px; font-size: 1.25rem; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body p, .policy-body li { line-height: 1.65; }
.policy-body ul { padding-left: 1.25rem; margin: 8px 0; }
.policy-body a { color: var(--accent-deep); font-weight: 600; }
.footer-policies { margin-top: 6px; opacity: .85; font-size: .92em; }
.footer-social { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.footer-social a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Baby + Pup profiles & account page (Phase A, 2026-10-15) */
.account-section-title { font-family: var(--heading); color: var(--accent-deep); margin: 34px 0 12px; font-size: 1.4rem; }
.account-section-title:first-child { margin-top: 0; }
.profile-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface, #fff); }
.profile-card-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.profile-card-main strong { font-size: 1.02rem; color: var(--ink); }
.profile-card-main span { font-size: .92rem; color: var(--muted, #8a8378); }
.profile-card-actions { margin-left: auto; display: flex; gap: 8px; flex: none; }
.profile-mini-btn { padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .85rem; font-weight: 600; }
.profile-mini-btn:hover { border-color: var(--accent-deep); color: var(--accent-deep); }
.profile-mini-danger:hover { border-color: #b3261e; color: #b3261e; }
.profile-empty { color: var(--muted, #8a8378); line-height: 1.6; }
.profile-form { max-width: 520px; padding: 20px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface, #fff); margin-bottom: 10px; }
.profile-form h3 { font-family: var(--heading); color: var(--ink); margin: 0 0 14px; font-size: 1.1rem; }
.profile-note { max-width: 520px; margin-top: 34px; padding: 16px 18px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-deep); }
.profile-note p { margin: 6px 0 0; line-height: 1.6; }
.size-picked-note { margin: 8px 0 0; font-size: .92rem; font-weight: 600; color: var(--sage-deep); }

/* Registries & wishlists (Phase B, 2026-10-15) */
.registry-star { color: var(--accent-deep); }
.registry-badge { flex: none; padding: 4px 11px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .78rem; font-weight: 700; color: var(--muted, #8a8378); }
.registry-badge-public { border-color: var(--sage-deep); color: var(--sage-deep); background: var(--sage-soft); }
.registry-manage { max-width: 640px; margin-top: 22px; }
.registry-manage h4 { font-family: var(--heading); color: var(--ink); margin: 20px 0 10px; font-size: 1rem; }
.registry-share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .92rem; }
.registry-share-row a { color: var(--accent-deep); font-weight: 600; word-break: break-all; }
.registry-item-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface, #fff); margin-bottom: 10px; }
.registry-qty { display: flex; align-items: center; gap: 7px; margin-left: auto; font-size: .88rem; font-weight: 600; color: var(--ink); flex: none; }
.registry-qty input { width: 64px; padding: 7px 9px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; }
.registry-item-row .profile-card-actions { margin-left: 0; }
.profile-form .field textarea { min-height: 84px; }
.check-field label { display: flex; align-items: flex-start; gap: 9px; font-weight: 600; cursor: pointer; }
.check-field input[type="checkbox"] { width: auto; margin-top: 3px; flex: none; }
.registry-delete-btn { color: #b3261e; }
.registry-delete-btn:hover { border-color: #b3261e; color: #b3261e; }
.registry-add-msg { margin: 10px 0 0; font-size: .95rem; font-weight: 600; color: var(--sage-deep); }
#collection-registry-line { margin-top: 10px; font-weight: 600; }
#collection-registry-line a { color: var(--accent-deep); }
.registry-guest-note { font-size: 1.05rem; font-style: italic; color: var(--accent-deep); line-height: 1.6; }
.registry-timing { font-weight: 600; color: var(--ink); line-height: 1.6; }
.registry-shipping-note { color: var(--muted, #8a8378); line-height: 1.6; }
.registry-closed { margin: 18px 0; padding: 16px 18px; border-radius: 14px; background: var(--sage-soft); color: var(--sage-deep); }
.registry-closed p { margin: 6px 0 0; line-height: 1.6; }
.registry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 22px; }
.registry-card { border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface, #fff); overflow: hidden; display: flex; flex-direction: column; }
.registry-card-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.registry-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.registry-card-body h3 { margin: 0; font-size: 1.02rem; color: var(--ink); }
.registry-card-price { margin: 0; font-weight: 700; color: var(--ink); }
.registry-card-meta { margin: 0; font-size: .9rem; color: var(--muted, #8a8378); }
.registry-needed { margin: 0; font-size: .92rem; font-weight: 600; color: var(--sage-deep); }
.registry-gifted { margin: 0; font-size: .92rem; font-weight: 700; color: var(--accent-deep); }
.registry-buy-msg { font-size: .9rem; font-weight: 600; color: var(--sage-deep); }
.registry-buy-msg a { color: var(--accent-deep); }

/* Gifted tracking (Phase C, 2026-10-15) */
.thankyou-row { margin-bottom: 10px; }
.rm-gift-refunded .profile-card-main strong,
.rm-gift-refunded .profile-card-main span { color: var(--muted, #8a8378); text-decoration: line-through; }
.rm-gift-refunded-tag { margin-left: auto; flex: none; font-size: .8rem; font-weight: 700; color: var(--muted, #8a8378); }

/* The Gate — pre-cart upsell (2026-10-16) */
.gate-wrap { max-width: 1080px; margin: 0 auto; padding: 8px 0 28px; }
.gate-sub { color: var(--muted); max-width: 580px; }
.gate-main { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; margin-top: 20px; }
.gate-visual img { width: 100%; border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(69, 68, 65, .12); }
.gate-label { display: block; font-weight: 700; margin: 16px 0 8px; color: var(--ink); }
.gate-skip-row { margin-top: 16px; }
.gate-skip { background: none; border: none; padding: 0; cursor: pointer; color: var(--muted); font-size: 15px; text-decoration: underline; }
.gate-strip-block { margin-top: 30px; }
.gate-strip { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 14px; }
.gate-thumb { flex: 0 0 auto; width: 96px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 6px; cursor: pointer; text-align: center; font: inherit; }
.gate-thumb img { width: 100%; height: 74px; object-fit: contain; border-radius: 8px; }
.gate-thumb span { display: block; font-size: 11px; line-height: 1.3; margin-top: 5px; color: var(--ink); }
.gate-thumb.active { border-color: #a95f6b; box-shadow: 0 0 0 1.5px #a95f6b; }
@media (max-width: 760px) { .gate-main { grid-template-columns: 1fr; } }

/* ===== The Gate — family set rows (v2, 2026-10-16) ===== */
.gate-family { margin-top: 28px; border-top: 1px solid #efe3e6; padding-top: 20px; }
.gate-family-title { color: #a95f6b; font-size: 20px; margin: 0 0 4px; }
.gate-family-sub { color: #8a6d75; font-size: 14px; margin: 0 0 14px; }
.gate-fam-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px dashed #f0d9de; }
.gate-fam-row:first-child { border-top: 0; padding-top: 2px; }
.gate-fam-img { width: 62px; height: 62px; object-fit: contain; border-radius: 8px; background: #faf6f3; flex: 0 0 auto; }
.gate-fam-main { flex: 1 1 auto; min-width: 0; }
.gate-fam-label { font-weight: 700; color: #3d2a30; font-size: 15px; margin-bottom: 6px; }
.gate-fam-prod { font-weight: 400; color: #8a6d75; font-size: 13px; }
.gate-fam-pill { font-size: 12.5px; padding: 5px 10px; }
.gate-fam-colors { margin-top: 6px; }
.gate-fam-side { text-align: right; flex: 0 0 auto; }
.gate-fam-price { font-weight: 700; color: #a95f6b; margin-bottom: 6px; }
/* Match Price at the Gate (2026-10-17) */
.gate-old-price { color: var(--muted); font-weight: 500; }
.gate-match-note { color: #697c60; font-weight: 600; font-size: .95rem; margin: -8px 0 16px; }
.gate-fam-match { display: block; font-size: .72rem; font-weight: 600; color: #697c60; }
.gate-fam-add { padding: 7px 16px; font-size: 13.5px; }
@media (max-width: 560px) {
  .gate-fam-row { flex-wrap: wrap; }
  .gate-fam-side { width: 100%; text-align: left; display: flex; gap: 10px; align-items: center; }
  .gate-fam-price { margin-bottom: 0; }
}

/* Grand Opening countdown banner (staged 2026-10-17; date-gated in index.html — shows Oct 31 – Nov 8, 2026 only) */
.go-banner { background: #a95f6b; color: #fffaf3; text-align: center; padding: 10px 16px; }
.go-banner[hidden] { display: none; }
.go-banner-text { margin: 0; font-family: 'Nunito', sans-serif; font-weight: 700; font-size: .98rem; letter-spacing: .01em; }
.go-banner-count { font-weight: 600; opacity: .92; }
.go-banner-link { color: #fffaf3; text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; white-space: nowrap; }
@media (max-width: 560px) { .go-banner-text { font-size: .88rem; } }

/* Members-only product elements removed 2026-10-18 (Michael: off the site) */
#members-join-btn, #product-members-line { display: none !important; }

/* ===== Built-in image magnifier (2026-10-18) =====
   Product page: .db-zoom-pane is a JS-created overlay inside the
   active photo frame (.pv-main / .product-gallery / #product-visual).
   It is invisible and click-through until .db-zoom-show is added, so
   with the magnifier inactive nothing on the page changes. Shop
   cards: the hover zoom consumes the --db-zox/--db-zoy origin that
   app.js tracks on .product-image. */
.db-zoom-on { position: relative; }
.db-zoom-pane {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; border-radius: inherit;
  background-repeat: no-repeat;
  opacity: 0; visibility: hidden;
  transition: opacity .15s ease, visibility 0s linear .15s;
}
.db-zoom-pane.db-zoom-show { opacity: 1; visibility: visible; transition: opacity .15s ease; }
@media (hover: hover) and (pointer: fine) {
  #product-visual.db-zoom-ready { cursor: zoom-in; }
}
@media (hover: hover) and (pointer: fine) and (min-width: 621px) {
  .product-card .product-image img { transform-origin: var(--db-zox, 50%) var(--db-zoy, 50%); }
  .product-card:hover .product-image img { transform: scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .db-zoom-pane { transition: none; }
}

/* Whole product card is the link (2026-10-18, Michael's call — replaces the View details link) */
.product-card .card-hit { display: block; color: inherit; text-decoration: none; }

/* Tier 1 display fixes (2026-10-19 audit): card badges, trust line, size guide, pair savings */
.fav-badge, .new-badge, .ship-badge { display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border: 1px solid var(--sage); border-radius: 999px; color: var(--sage-deep); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 6px 6px 0; }
.fav-badge { border-color: var(--plum); color: var(--plum); text-transform: none; letter-spacing: 0; font-size: .8rem; }
.new-badge { border-color: var(--plum); color: var(--plum); }
.trust-line { margin: 12px 0 4px; padding: 10px 12px; background: var(--surface); border: 1px solid #e7d8ce; border-radius: 12px; font-size: .9rem; color: var(--ink); display: flex; flex-direction: column; gap: 4px; max-width: 520px; }
.trust-line a { color: var(--plum); font-weight: 600; }
.trust-fav { font-weight: 700; color: var(--plum); }
.size-guide { margin: 10px 0 4px; max-width: 520px; }
.size-guide summary { cursor: pointer; font-weight: 700; color: var(--plum); }
.size-guide table { border-collapse: collapse; margin-top: 8px; font-size: .88rem; }
.size-guide th, .size-guide td { border: 1px solid #e7d8ce; padding: 5px 10px; text-align: left; }
.size-guide thead th, .size-guide tbody th { background: var(--surface); }
.size-guide-tip { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.pair-card-save { color: var(--sage-deep); font-weight: 700; }

/* ================================================================
   PDP COMPACT + STICKY BUY BAR (preview build, styles v304)
   Scoped to the standard product page only — the design-picker
   (.proto-page) PDP keeps its own layout. Pure CSS: no DOM nodes
   move; the copy column becomes a flex stack so the buy zone can
   sit above the long-form copy via `order`.
   ================================================================ */
section.page[data-page="product"]:not(.proto-page) .product-detail {
  padding-top: 26px;
  padding-bottom: 44px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}
section.page[data-page="product"]:not(.proto-page) .detail-copy {
  display: flex;
  flex-direction: column;
}
section.page[data-page="product"]:not(.proto-page) .detail-copy .eyebrow { order: 1; margin: 0 0 4px; }
section.page[data-page="product"]:not(.proto-page) .detail-copy h1 {
  order: 2;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.04;
}
section.page[data-page="product"]:not(.proto-page) .detail-copy .price {
  order: 3;
  font-size: 1.45rem;
  margin: 2px 0 8px;
}
section.page[data-page="product"]:not(.proto-page) .detail-copy .member-ship-line { order: 4; }
section.page[data-page="product"]:not(.proto-page) .detail-copy #product-origin { order: 6; }
section.page[data-page="product"]:not(.proto-page) .detail-copy .cta-row { order: 5; }
section.page[data-page="product"]:not(.proto-page) .detail-copy #product-description { order: 4; margin-top: 10px; }
section.page[data-page="product"]:not(.proto-page) .detail-copy #product-details { order: 9; margin: 12px 0 16px; }
section.page[data-page="product"]:not(.proto-page) .detail-copy .pair-row { order: 7; }

/* Buy-zone internals: pickers/guide/trust take full rows inside
   .cta-row; the buttons keep their shared row. */
section.page[data-page="product"]:not(.proto-page) .cta-row {
  gap: 12px;
  margin-top: 6px;
}
section.page[data-page="product"]:not(.proto-page) .cta-row #color-picker,
section.page[data-page="product"]:not(.proto-page) .cta-row #size-picker,
section.page[data-page="product"]:not(.proto-page) .cta-row #size-guide,
section.page[data-page="product"]:not(.proto-page) .cta-row #trust-line {
  flex: 1 1 100%;
  max-width: none;
}
section.page[data-page="product"]:not(.proto-page) .cta-row #size-picker { margin: 0; }
section.page[data-page="product"]:not(.proto-page) .cta-row #size-picker select { width: 100%; max-width: 340px; }

/* Desktop hero: squarer frame, capped (was 4/5, uncapped). */
@media (min-width: 861px) {
  section.page[data-page="product"]:not(.proto-page) .detail-visual {
    aspect-ratio: 1 / 1;
    max-height: 600px;
  }
  section.page[data-page="product"]:not(.proto-page) .detail-photo { padding: 0 18px 18px 0; }
}

/* Mobile: compact stack; hero (gallery + thumbs) lands ~42vh. */
@media (max-width: 860px) {
  section.page[data-page="product"]:not(.proto-page) .product-detail {
    padding: 12px 18px 30px;
    gap: 12px;
  }
  section.page[data-page="product"]:not(.proto-page) .detail-photo {
    padding: 0 10px 10px 0;
    max-width: none;
    margin: 0;
  }
  section.page[data-page="product"]:not(.proto-page) .detail-photo::before { inset: 22px 0 0 22px; }
  section.page[data-page="product"]:not(.proto-page) .detail-visual { aspect-ratio: auto; }
  section.page[data-page="product"]:not(.proto-page) .product-gallery { height: auto; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; }
  section.page[data-page="product"]:not(.proto-page) .gallery-slide,
  section.page[data-page="product"]:not(.proto-page) .gallery-slide img { height: 100%; }
  section.page[data-page="product"]:not(.proto-page) .detail-visual:has(> img) { height: 38vh; }
  section.page[data-page="product"]:not(.proto-page) .gallery-thumbs { margin-top: 8px; }
  section.page[data-page="product"]:not(.proto-page) .gallery-thumb { width: 48px; height: 48px; }
  section.page[data-page="product"]:not(.proto-page) .detail-copy h1 { font-size: 1.8rem; margin: 0 0 2px; }
  section.page[data-page="product"]:not(.proto-page) .member-ship-line { margin: 2px 0 6px; }
}

/* ---- Sticky buy bar (PDP only; JS toggles [hidden]) ---- */
.sticky-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 97%, transparent);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(60, 40, 30, .13);
}
.sticky-buybar[hidden] { display: none !important; }
.sticky-buybar .sb-text { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.sticky-buybar .sb-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-buybar .sb-price { font-weight: 800; color: var(--accent-deep); font-size: 1.05rem; white-space: nowrap; }
.sticky-buybar .sb-btn { margin-left: auto; flex: none; padding: 10px 18px; }
@media (min-width: 861px) {
  /* Sit over the content column, clear of the 280px left rail. */
  .sticky-buybar { left: 280px; }
}
@media (max-width: 620px) {
  .sticky-buybar .sb-name { font-size: .92rem; }
}

/* Pair row (Michael, 2026-10-20): match cards sit side by side, never stacked */
.pair-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pair-row .pair-card { flex: 1 1 150px; min-width: 0; margin-top: 0; flex-direction: column; align-items: stretch; gap: 8px; }
.pair-row .pair-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.pair-row .pair-card .pair-card-arrow { display: none; }

/* Make-it-right trust line sits under the buy row (moved up, Michael, 2026-10-24) */
section.page[data-page="product"]:not(.proto-page) .detail-copy .trust-line { order: 6; margin-top: 12px; }

/* ============================================================
   CART CONDENSE (preview build, styles v307)
   Same one-screen philosophy as the compact PDP (v304): the
   cart page drops its display hero and per-item marketing copy
   so items + summary + checkout sit in one screen where the
   cart size allows. Everything is scoped to the cart page —
   no other page's layout moves. The PDP description/spec dump
   each line used to re-print (.cart-item-desc +
   .cart-item-details) is hidden here only; it still lives on
   the product pages. Quantity and remove controls are RAISED
   to >=40px tap targets while the rows around them shrink.
   ============================================================ */

/* --- Hero: a label, not a billboard --- */
section.page[data-page="cart"] .page-hero {
  padding-top: 22px;
  padding-bottom: 10px;
}
section.page[data-page="cart"] .page-hero .eyebrow { margin-bottom: 2px; }
section.page[data-page="cart"] .page-hero h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  max-width: none;
  line-height: 1.15;
}

/* --- Band: stop charging ~90px of air above the items --- */
section.page[data-page="cart"] .band {
  padding-top: 12px;
  /* Clears the sticky checkout bar at max scroll. */
  padding-bottom: 88px;
}

/* --- Line items: one compact grid row each --- */
section.page[data-page="cart"] .cart-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: start;
  padding: 11px 0;
  position: relative;
}
section.page[data-page="cart"] .cart-item-img img {
  width: 56px; height: 56px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(90,50,55,.10);
}
section.page[data-page="cart"] .cart-item-info strong { font-size: 15px; line-height: 1.25; }
section.page[data-page="cart"] .cart-item-info .cart-variant,
section.page[data-page="cart"] .cart-item-info .cart-size {
  font-size: 12px;
  padding: 1px 8px;
  margin: 4px 4px 0 0;
}
section.page[data-page="cart"] .cart-item-desc,
section.page[data-page="cart"] .cart-item-details { display: none; }
section.page[data-page="cart"] .cart-item-unit { font-size: 12.5px; display: inline-block; margin-top: 3px; }
section.page[data-page="cart"] .cart-match-note { margin-top: 1px; }

/* Right rail: qty stepper on its own line, line total + remove
   grouped beneath it — no absolute positioning, nothing overlaps. */
section.page[data-page="cart"] .cart-item-side {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  align-content: flex-start;
  gap: 2px 6px;
  width: 118px;
}
section.page[data-page="cart"] .cart-item-qty { flex: 0 0 100%; justify-content: flex-end; gap: 6px; }
section.page[data-page="cart"] .cart-item-qty button {
  width: 40px; height: 40px;
  font-size: 18px;
  border-radius: 8px;
}
section.page[data-page="cart"] .cart-item-qty span { min-width: 18px; text-align: center; font-weight: 600; }
section.page[data-page="cart"] .cart-item-total { min-width: 62px; font-size: 15px; }
section.page[data-page="cart"] .cart-remove { padding: 9px 8px; line-height: 1; }

/* Very narrow phones: controls drop to their own row rather than crush. */
@media (max-width: 400px) {
  section.page[data-page="cart"] .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  section.page[data-page="cart"] .cart-item-side {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 2px;
  }
  section.page[data-page="cart"] .cart-item-qty { flex: 0 0 auto; }
}

/* --- Summary: same facts, half the air --- */
section.page[data-page="cart"] .cart-total-row { font-size: 15px; margin: 4px 0; }
/* The base .cart-total-row sets display:flex, which defeats the
   [hidden] attribute — so on live today the Match savings and
   promo rows render even at $0.00. Restore the intended hiding. */
section.page[data-page="cart"] .cart-total-row[hidden] { display: none !important; }
section.page[data-page="cart"] .cart-grand-row {
  font-size: 17px;
  padding-top: 8px;
  margin-top: 8px;
}
section.page[data-page="cart"] .cart-member-note {
  padding: 8px 12px;
  margin: 8px 0 2px;
  font-size: .9rem;
}
section.page[data-page="cart"] .cart-promo-row { margin: 8px 0 2px; }
section.page[data-page="cart"] .cart-promo-row input { padding: 8px 12px; }
section.page[data-page="cart"] .cart-promo-row button { padding: 8px 16px; }
section.page[data-page="cart"] #cart-footer .primary { margin-top: 6px; }
section.page[data-page="cart"] .paypal-divider { margin: 10px 0 6px; }

/* Slim under the total (2026-10-25, Michael's pick): the member
   pitch becomes one plain line (no slab), the taxes line tucks
   directly under the total, and the promo box stays folded
   behind a small link until a code is on the cart or the
   shopper opens it. All ids and handlers are unchanged. */
section.page[data-page="cart"] .cart-taxes {
  font-size: 12.5px; color: var(--muted); margin: 2px 0 0;
}
section.page[data-page="cart"] #cart-member-note {
  background: none; border: none; padding: 0; margin: 8px 0 0; font-size: .92rem;
}
section.page[data-page="cart"] .cart-promo-toggle {
  display: block; margin: 10px 0 0; padding: 0;
  background: none; border: none; font: inherit;
  font-size: .92rem; font-weight: 600; color: #a95f6b;
  text-decoration: underline; cursor: pointer;
}
section.page[data-page="cart"] .cart-promo-row.closed { display: none; }

/* Desktop: one scannable column, hero aligned with it. */
@media (min-width: 861px) {
  section.page[data-page="cart"] .page-hero { max-width: 880px; }
  section.page[data-page="cart"] .band-inner { max-width: 880px; }
}

/* The sticky checkout bar reuses .sticky-buybar's shell (markup
   carries both classes); only its label needs a small nudge. */
.sticky-checkoutbar .sb-name { color: var(--muted); font-weight: 600; }

/* ============================================================
   HOME + CATEGORY CLEANUP (preview build, styles v308)
   Same treatment as the compact PDP (v304) and condensed cart
   (v307): the full product description lives on the product
   page; listing contexts (home / collection / shop grids) stop
   re-printing it on every card, card bodies tighten, heroes
   become labels instead of billboards, band padding calms
   down, and phone grids go two-up like the home spotlight
   already does. EVERYTHING below is scoped to the home,
   collection and shop pages only — PDP, cart, gate, proto
   pages, registry and policy pages are untouched.
   ============================================================ */

/* --- Listing cards: no description paragraph in listings.
       (The copy is NOT deleted — it renders in full on the
       product page, one tap away via the card itself.) --- */
section.page[data-page="collection"] .product-body > p,
section.page[data-page="shop"] .product-body > p,
section.page[data-page="home"] .product-body > p { display: none; }

/* --- Listing cards: tighter body, calmer title --- */
section.page[data-page="collection"] .product-body,
section.page[data-page="shop"] .product-body,
section.page[data-page="home"] .product-body { padding: 18px 20px 20px; }
section.page[data-page="collection"] .product-body h3,
section.page[data-page="shop"] .product-body h3,
section.page[data-page="home"] .product-body h3 { font-size: 1.12rem; margin: 6px 0 8px; }

/* --- Grids: tighter row rhythm (collection + shop) --- */
section.page[data-page="collection"] .product-grid,
section.page[data-page="shop"] .product-grid { row-gap: 26px; }

/* --- Collection + shop heroes: label, not a billboard --- */
section.page[data-page="collection"] .page-hero,
section.page[data-page="shop"] .page-hero { padding-top: 42px; padding-bottom: 36px; }
section.page[data-page="collection"] .page-hero h1,
section.page[data-page="shop"] .page-hero h1 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); max-width: 22ch; }

/* --- Bands on the cleaned pages: sane vertical padding --- */
section.page[data-page="home"] .band,
section.page[data-page="collection"] .band,
section.page[data-page="shop"] .band { padding-block: clamp(42px, 5vw, 64px); }
section.page[data-page="home"] .section-head { margin-bottom: 32px; }

/* --- Home hero + promise strip: same content, less air --- */
section.page[data-page="home"] .hero { padding-block: clamp(36px, 5vw, 64px); }
section.page[data-page="home"] .promise { padding-block: 26px; }

/* --- Home category tiles: a little shorter on larger screens --- */
section.page[data-page="home"] .category,
section.page[data-page="home"] .category img { min-height: 280px; }

@media (max-width: 860px) {
  /* Collection hero image goes wide-and-short when it stacks
     under the copy instead of a tall 4:3 block. */
  section.page[data-page="collection"] .collection-hero-image { aspect-ratio: 2 / 1; }
}

@media (max-width: 620px) {
  /* Two-column listing grids — the same treatment the home
     Fresh-In spotlight already uses on phones. */
  section.page[data-page="collection"] .product-grid,
  section.page[data-page="shop"] .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  section.page[data-page="collection"] .product-body,
  section.page[data-page="shop"] .product-body,
  section.page[data-page="home"] .product-body { padding: 10px 12px 12px; }
  section.page[data-page="collection"] .product-body h3,
  section.page[data-page="shop"] .product-body h3,
  section.page[data-page="home"] .product-body h3 { font-size: .98rem; line-height: 1.22; margin: 5px 0 6px; }
  section.page[data-page="collection"] .product-body .status,
  section.page[data-page="shop"] .product-body .status,
  section.page[data-page="home"] .product-body .status { font-size: .64rem; }
  section.page[data-page="collection"] .product-body .fav-badge,
  section.page[data-page="collection"] .product-body .new-badge,
  section.page[data-page="collection"] .product-body .ship-badge,
  section.page[data-page="collection"] .product-body .origin-badge,
  section.page[data-page="collection"] .product-body .members-badge,
  section.page[data-page="shop"] .product-body .fav-badge,
  section.page[data-page="shop"] .product-body .new-badge,
  section.page[data-page="shop"] .product-body .ship-badge,
  section.page[data-page="shop"] .product-body .origin-badge,
  section.page[data-page="shop"] .product-body .members-badge,
  section.page[data-page="home"] .product-body .fav-badge,
  section.page[data-page="home"] .product-body .new-badge,
  section.page[data-page="home"] .product-body .ship-badge,
  section.page[data-page="home"] .product-body .origin-badge,
  section.page[data-page="home"] .product-body .members-badge { padding: 3px 8px; font-size: .64rem; margin: 0 4px 4px 0; }
  /* Badge line-breaks earn their height on wide cards; in a
     two-up phone card the badges can flow inline. */
  section.page[data-page="collection"] .product-body > br,
  section.page[data-page="shop"] .product-body > br,
  section.page[data-page="home"] .product-body > br { display: none; }

  /* Heroes on phones: arrive at the products sooner. */
  section.page[data-page="collection"] .page-hero,
  section.page[data-page="shop"] .page-hero { padding-top: 30px; padding-bottom: 24px; }

  /* Home + shop category tiles: two-up and shorter. */
  section.page[data-page="home"] .categories { grid-template-columns: 1fr 1fr; gap: 12px; }
  section.page[data-page="home"] .category,
  section.page[data-page="home"] .category img { min-height: 180px; }
  section.page[data-page="home"] .category h3 { font-size: 1.28rem; }
  section.page[data-page="home"] .category small { font-size: .78rem; }
  /* Tile labels sit side-by-side on wide tiles; two-up on a
     phone they stack (name over tagline) so nothing clips. */
  section.page[data-page="home"] .category-label { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 30px 14px 12px; }
  section.page[data-page="shop"] .shop-categories { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 30px; }
  section.page[data-page="shop"] .shop-category { min-height: 150px; }
  section.page[data-page="shop"] .shop-category img { height: 150px; }
  section.page[data-page="shop"] .shop-category span { font-size: 1rem; inset: auto 12px 10px; }

  /* Home hero on phones: smaller cloud, calmer padding. */
  section.page[data-page="home"] .hero { padding: 30px 22px 40px; }
  section.page[data-page="home"] .hero-logo-sm { width: 230px !important; }
  section.page[data-page="home"] .band { padding-block: 38px; }
  section.page[data-page="home"] .promise { padding-block: 20px; }
}

/* SEASONAL SUB-CATEGORIES (preview build, styles v308)
   Audience chips on the Seasonal shelf only. The chip look clones the shop
   page's .filter-chip final cascade (pill shape, sage active state, heading
   font) under seasonal-* class names, so the shop filter's JS — which binds
   every .filter-chip on the page — can never cross-bind to these. */
.seasonal-subcats[hidden] { display: none !important; }
.seasonal-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.seasonal-chip { border: 1px solid color-mix(in srgb, var(--sage) 45%, var(--line)); background: var(--elevated); border-radius: 999px; padding: 11px 18px; cursor: pointer; font-family: var(--heading); font-size: .88rem; font-weight: 600; color: inherit; }
.seasonal-chip.active { background: var(--sage); border-color: var(--sage); color: #283025; }
.seasonal-count { font-size: .92rem; color: var(--muted); margin: 0 0 22px; }

/* Dual-offer picker (wave 1, 2026-10-21) — PDP offer radio group that sits
   above the size picker on dual-offer onesies. */
.offer-picker {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0 0.25rem;
}
.offer-picker-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.offer-option {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid #e0c9c4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
}
.offer-option:has(input:checked) {
  border-color: var(--accent-deep);
  background: var(--accent-soft);
}
.offer-option input[type="radio"] {
  accent-color: var(--accent-deep);
}
.offer-delivery {
  color: #777;
  font-size: 0.85rem;
}
.offer-availability-note {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--accent-deep);
}

/* Reviews (2026-10-21): verified-buyer reviews. The product-page
   block renders only what api/reviews/list.php returns — the server
   banks reviews and publishes nothing until 10 are approved. */
.product-reviews { max-width: 1100px; margin: 0 auto; padding: 8px 20px 42px; }
.reviews-heading { font-family: var(--heading); color: var(--ink); margin: 18px 0 6px; }
.reviews-average { color: var(--muted); margin: 4px 0 14px; }
.review-stars { color: var(--accent-deep); letter-spacing: 2px; font-size: 1.05rem; }
.review-card { background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 14px; box-shadow: var(--shadow); }
.review-card .review-stars { margin: 0 0 4px; }
.review-title { font-family: var(--heading); margin: 0 0 4px; font-size: 1.05rem; }
.review-body { margin: 0 0 8px; white-space: pre-wrap; }
.review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.review-photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.review-name { color: var(--sage-deep); font-size: .88rem; font-weight: 700; margin: 6px 0 0; }
.reviews-write-line { color: var(--muted); margin-top: 10px; }
.reviews-write-line a { color: var(--accent-deep); font-weight: 700; }
.star-picker { display: inline-flex; gap: 4px; }
.star-picker label { cursor: pointer; }
.star-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-picker span { font-size: 1.9rem; line-height: 1; color: var(--line); }
.star-picker label.lit span { color: var(--accent-deep); }
.star-picker label:focus-within span { outline: 2px solid var(--accent); outline-offset: 2px; }
.review-photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.review-photo-previews img { width: 92px; height: 92px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
#review-thanks { max-width: 34rem; }
#review-thanks h2 { font-family: var(--heading); color: var(--accent-deep); }

/* Grand Opening banner hidden 2026-10-23 at Michael's direction while the Guess What ad runs — remove this rule to restore. */
.go-banner { display: none !important; }

/* ================================================================
   AMAZON-LAYOUT VARIANT (STAGING, 2026-10-25) — structure only.
   Davies Babies colors, fonts, logo and copy are untouched; this
   block only re-flows the product page into Amazon's three-column
   anatomy (gallery | details+pickers | buy box) and the cart into
   Amazon's two-column anatomy (rows | subtotal rail). All rules
   are scoped to the new .amz-pdp / #buy-box / #pdp-pairs markup or
   the cart page, and appended last so they win ties against the
   v304/v307 compact rules.
   ================================================================ */

/* ---------- Shared picker pieces (option boxes) ---------- */
section.page[data-page="product"]:not(.proto-page) .pdp-pickers {
  display: flex; flex-direction: column; gap: 16px; margin: 16px 0 6px;
}
section.page[data-page="product"]:not(.proto-page) .amz-picker-label {
  display: block; font-weight: 600; margin-bottom: 8px; color: var(--ink);
}
section.page[data-page="product"]:not(.proto-page) .amz-option-boxes {
  display: flex; flex-wrap: wrap; gap: 8px;
}
section.page[data-page="product"]:not(.proto-page) .amz-opt {
  padding: 9px 14px; min-width: 52px;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink);
  font: inherit; font-size: .95rem; cursor: pointer;
}
section.page[data-page="product"]:not(.proto-page) .amz-opt:hover { border-color: var(--ink); }
section.page[data-page="product"]:not(.proto-page) .amz-opt.active {
  border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep); font-weight: 700;
}
section.page[data-page="product"]:not(.proto-page) .size-picker.amz-picker { position: relative; margin: 0; }
section.page[data-page="product"]:not(.proto-page) .amz-native-select {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
/* Existing pickers re-skinned as bordered option boxes */
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-picker,
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .variant-picker {
  display: flex; flex-direction: column; gap: 8px; margin: 0;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-picker-label,
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .variant-picker-label {
  display: block; font-weight: 600; color: var(--ink); margin: 0;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-pills { display: flex; flex-wrap: wrap; gap: 8px; }
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-pill {
  border-radius: 8px; padding: 9px 14px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: .95rem; cursor: pointer;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-pill.active {
  background: #fff; color: var(--ink);
  border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep); font-weight: 700;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-swatch {
  width: 52px; height: 52px; padding: 2px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-swatch img { border-radius: 6px; }
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .color-swatch.active {
  border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep);
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .variant-thumb {
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .variant-thumb.active {
  border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep);
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .pv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .pv-pill { border-radius: 8px; }
section.page[data-page="product"]:not(.proto-page) .pdp-pickers .pv-pill.active {
  background: #fff; color: var(--ink);
  border-color: var(--accent-deep); box-shadow: 0 0 0 1px var(--accent-deep); font-weight: 700;
}

/* ---------- Buy box ---------- */
section.page[data-page="product"] .buy-box {
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; box-shadow: var(--shadow);
  padding: 18px; display: flex; flex-direction: column; gap: 10px;
  align-self: start;
}
section.page[data-page="product"] .buy-box-price {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  font-size: 1.5rem; font-weight: 700; color: var(--ink); min-height: 1.4em;
}
section.page[data-page="product"] .buy-box-price del { color: var(--muted); font-size: .92rem; font-weight: 500; }
section.page[data-page="product"] .buy-box-price .price-size { color: var(--muted); font-size: .88rem; font-weight: 500; }
section.page[data-page="product"] .buy-box-ship { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink); }
section.page[data-page="product"] .buy-box-window { margin: 0; font-size: .92rem; font-weight: 600; color: var(--muted); }
section.page[data-page="product"] .buy-box-qty { display: flex; align-items: center; gap: 10px; }
section.page[data-page="product"] .buy-box-qty label { font-weight: 600; }
section.page[data-page="product"] .buy-box-qty select {
  font: inherit; padding: 8px 10px;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
section.page[data-page="product"] .buy-box-actions {
  flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 10px; margin: 2px 0 0;
}
section.page[data-page="product"] .buy-box-actions .primary { width: 100%; padding: 14px 18px; }
section.page[data-page="product"] .buy-box-actions .secondary { width: 100%; text-align: center; }
section.page[data-page="product"] .buy-box .registry-add-msg { margin: 0; }

/* Offer strip + buyer proof in the buy box (PDP conversion, 2026-11-03) */
section.page[data-page="product"] .buy-box .offer-strip {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 3px;
}
section.page[data-page="product"] .buy-box .offer-strip p { margin: 0; font-size: .9rem; line-height: 1.45; color: var(--ink); }
section.page[data-page="product"] .buy-box .offer-strip strong { color: var(--accent-deep); letter-spacing: .02em; }
section.page[data-page="product"] .buy-box .pdp-proof {
  border-top: 1px solid var(--line); padding-top: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
section.page[data-page="product"] .buy-box .pdp-proof-item p { margin: 0; }
section.page[data-page="product"] .buy-box .pdp-proof-stars { color: var(--accent-deep); font-size: .85rem; letter-spacing: .12em; line-height: 1.2; }
section.page[data-page="product"] .buy-box .pdp-proof-quote { font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
section.page[data-page="product"] .buy-box .pdp-proof-name { font-size: .8rem; color: var(--muted); line-height: 1.35; }
section.page[data-page="product"] .buy-box .pdp-proof-promise { margin: 2px 0 0; font-size: .88rem; line-height: 1.45; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 10px; }
section.page[data-page="product"] .buy-box .buy-box-window { font-size: 1.02rem; color: var(--ink); margin: 6px 0 2px; }
section.page[data-page="product"] .buy-box .buy-box-window strong { color: var(--accent-deep); }

/* ---------- PDP extras (2026-11-05): preview, pair, gift ---------- */
.pdp-gift-line { margin: 12px 0 0; font-size: .95rem; line-height: 1.5; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.preview-stage { position: relative; width: 100%; max-width: 560px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #f8f2e2; }
.preview-stage .preview-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.preview-stage .preview-photo { position: absolute; border-radius: 50%; overflow: hidden; background: #F5EEE2; }
.preview-stage .preview-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.preview-stage .preview-name { position: absolute; left: 0; right: 0; transform: translateY(-50%); text-align: center; font-family: "Great Vibes", cursive; font-weight: 400; line-height: 1.15; white-space: nowrap; pointer-events: none; }
.preview-stage .preview-line2 { position: absolute; left: 0; right: 0; transform: translateY(-50%); text-align: center; font-family: "Great Vibes", cursive; font-size: 1.35rem; line-height: 1.1; white-space: nowrap; pointer-events: none; }
.preview-stage .preview-tag { position: absolute; top: 10px; left: 10px; background: rgba(255, 250, 240, .94); color: var(--accent-deep); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .78rem; font-weight: 700; line-height: 1.3; max-width: calc(100% - 20px); }
.preview-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 8px 4px 0; line-height: 1.45; }
.pair-module { margin-top: 14px; border: 1px solid var(--accent); background: var(--surface); border-radius: 12px; padding: 14px; }
.pair-module h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--accent-deep); }
.pair-module .pair-flex { display: flex; gap: 12px; align-items: center; }
.pair-module .pair-flex img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.pair-module .pair-name { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.3; }
.pair-module .pair-price { margin: 2px 0 0; color: var(--muted); }
.pair-module .pair-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pair-module .pair-size { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: .88rem; cursor: pointer; }
.pair-module .pair-size.active { border-color: var(--accent); background: #fdf3e3; font-weight: 700; }
.pair-module .pair-total { margin: 12px 0 8px; font-size: .98rem; color: var(--ink); }
.pair-module .pair-add-btn { width: 100%; background: var(--accent); color: #fff; border: none; border-radius: 10px; padding: 12px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.pair-module .pair-add-btn:hover { background: var(--accent-deep); }
.pair-module .pair-note { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.gift-message-row { margin: 14px 0 4px; }
.gift-message-row label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.gift-message-row textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: var(--surface); resize: vertical; }

/* ---------- Pair band under the columns ---------- */
section.page[data-page="product"] .pdp-pairs { max-width: 1280px; margin: 0 auto; padding: 2px 32px 30px; }
section.page[data-page="product"] .pdp-pairs:empty { display: none; }
section.page[data-page="product"] .pdp-pairs .pair-row { margin-top: 0; }

/* ---------- Desktop PDP: three columns ---------- */
@media (min-width: 1024px) {
  section.page[data-page="product"]:not(.proto-page) .product-detail.amz-pdp {
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr) 260px;
    gap: 32px; max-width: 1280px; align-items: start;
    padding: 34px 32px 36px;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-photo { padding: 0 14px 14px 0; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-visual {
    display: block; aspect-ratio: auto; max-height: none;
    background: transparent; box-shadow: none; border-radius: 0;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .product-gallery {
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: #fff;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .gallery-slide img {
    width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 0;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .gallery-slide img.contained-photo { object-fit: contain; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp #product-visual > img {
    width: 100%; height: auto; max-height: 520px; object-fit: cover;
    border-radius: 12px; box-shadow: var(--shadow); display: block;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .gallery-thumbs { margin-top: 10px; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #pdp-pickers { order: 5; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy .trust-line { order: 10; max-width: none; }
}

/* ---------- Mobile PDP: single column, Amazon order ---------- */
@media (max-width: 1023.98px) {
  section.page[data-page="product"]:not(.proto-page) .product-detail.amz-pdp {
    display: flex; flex-direction: column;
    padding: 14px 16px 26px; gap: 14px; max-width: 720px;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-photo {
    order: 1; padding: 0 10px 10px 0; max-width: none; width: 100%; margin: 0;
  }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy { display: contents; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy .eyebrow { order: 2; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy h1 { order: 3; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #product-price { order: 4; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .buy-box { order: 5; width: 100%; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #product-description { order: 6; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #pdp-pickers { order: 7; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #product-details { order: 8; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy .trust-line { order: 9; max-width: none; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .detail-copy #product-origin { order: 10; }
  section.page[data-page="product"] .pdp-pairs { padding: 2px 16px 26px; }
}
@media (min-width: 861px) and (max-width: 1023.98px) {
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .product-gallery { height: 340px; }
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .gallery-slide,
  section.page[data-page="product"]:not(.proto-page) .amz-pdp .gallery-slide img { height: 100%; }
}

/* ---------- Cart: Delete reads as a link at every width ---------- */
section.page[data-page="cart"] .cart-remove {
  font-size: .85rem; font-weight: 600; color: var(--accent-deep);
}

/* ---------- Desktop cart: rows + subtotal rail ---------- */
@media (min-width: 1024px) {
  section.page[data-page="cart"] .page-hero { max-width: 1180px; }
  section.page[data-page="cart"] .band-inner {
    max-width: 1180px;
    display: grid; grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 30px; align-items: start;
  }
  section.page[data-page="cart"] #cart-items { grid-column: 1; grid-row: 1; min-width: 0; }
  section.page[data-page="cart"] #cart-empty { grid-column: 1 / -1; }
  section.page[data-page="cart"] #cart-footer {
    grid-column: 2; grid-row: 1;
    position: sticky; top: 16px;
    border: 1px solid var(--line); border-radius: 12px;
    background: #fff; box-shadow: var(--shadow);
    padding: 18px 20px;
  }
  section.page[data-page="cart"] #cart-footer .cart-total-row:first-child { margin-top: 0; }
  section.page[data-page="cart"] .cart-item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    padding: 16px 0;
  }
  section.page[data-page="cart"] .cart-item-img img { width: 96px; height: 96px; }
}

/* Size picker: label above the boxes (base .size-picker is a row flex). */
section.page[data-page="product"]:not(.proto-page) .size-picker.amz-picker {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
}
section.page[data-page="product"]:not(.proto-page) .pdp-pickers #pv-color-block {
  display: flex; flex-direction: column; gap: 8px;
}

/* Match images capped to the main product image (Michael, 2026-10-25):
   in the full-width pairs band the match cards stretched wider than
   the gallery column, so their photos rendered BIGGER than the main
   product photo (measured 431x323 vs the main image's 406x284 at a
   1280 viewport). Cap each card so its photo never exceeds the main
   image's box: same width, photo ratio 3/2 like the product renders. */
@media (min-width: 1280px) {
  section.page[data-page="product"] .pdp-pairs .pair-row .pair-card { flex: 0 1 434px; }
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
  section.page[data-page="product"] .pdp-pairs .pair-row .pair-card { flex: 0 1 374px; }
}
@media (min-width: 1024px) {
  section.page[data-page="product"] .pdp-pairs .pair-row .pair-card img { aspect-ratio: 3 / 2; }
}

/* Ad-only pair landing page (2026-10-25) — #pair/guess-what.
   Reachable only by its direct link (the ad); it is not in the
   nav, the collections, or the shop. Scoped to its own section. */
section.page[data-page="pair"] .pair-wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
section.page[data-page="pair"] .pair-hero { width: 100%; height: auto; border-radius: 14px; display: block; margin: 12px 0 16px; }
section.page[data-page="pair"] .pair-call { display: block; background: var(--accent-deep); color: #fff; text-align: center; text-decoration: none; font-size: 1.05rem; font-weight: 600; line-height: 1.3; padding: 14px 16px; border-radius: 14px; margin: 0 0 18px; box-shadow: 0 4px 14px rgba(0,0,0,.14); }
section.page[data-page="pair"] .pair-call strong { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: .01em; margin: 2px 0; }
section.page[data-page="pair"] .pair-call span { display: block; font-size: .85rem; font-weight: 500; opacity: .92; }
section.page[data-page="pair"] .pair-lead { font-size: 1.05rem; color: var(--ink); margin: 0 0 10px; }
section.page[data-page="pair"] .pair-price { font-size: 1.15rem; margin: 0 0 20px; }
section.page[data-page="pair"] .pair-price s { color: var(--muted); margin-right: 6px; }
section.page[data-page="pair"] .pair-price strong { font-size: 1.6rem; color: #a03d4e; }
section.page[data-page="pair"] .pair-price span { color: var(--muted); font-size: .95rem; }
section.page[data-page="pair"] .pair-pick { margin: 0 0 16px; }
section.page[data-page="pair"] .pair-pick h2 { font-size: 1rem; margin: 0 0 8px; }
section.page[data-page="pair"] .pair-opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
section.page[data-page="pair"] .pair-opts button {
  font: inherit; font-size: .92rem; padding: 8px 14px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); cursor: pointer;
}
section.page[data-page="pair"] .pair-opts button.sel { border-color: #a03d4e; color: #a03d4e; font-weight: 700; }
section.page[data-page="pair"] .pair-add { width: 100%; margin: 8px 0 14px; }
section.page[data-page="pair"] .pair-ship { font-size: .95rem; margin: 0 0 8px; }
section.page[data-page="pair"] .pair-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* ================================================================
   AMAZON TREATMENT — HOME + DEPARTMENTS (2026-10-26, Michael's
   order: the Doggies treatment with Babies branding kept). The
   product pages and bag already carry the Amazon buy-box layout
   (v357/316); this block adds: header search, the gliding hero,
   home quad modules, Fresh In arrows, and the department layout
   (sidebar filters + banner + shop-by tiles) on collections and
   search. Babies' soft shapes and palette throughout.
   ================================================================ */
.bbz-searchbar { display: flex; gap: 8px; max-width: 1280px; margin: 10px auto 0; padding: 0 20px; }
/* The header lives outside #main-content, so the search bar takes
   the content column's 280px rail offset itself on desktop. */
@media (min-width: 861px) { .bbz-searchbar { margin-left: 280px; } }
.bbz-searchbar input { flex: 1; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; color: var(--ink); }
.bbz-searchbar button { background: var(--accent-deep); color: #fff; border: 0; border-radius: 999px; padding: 0 22px; font-weight: 800; cursor: pointer; }
@media (max-width: 700px) { .bbz-searchbar { padding: 0 12px; } }

/* Gliding hero: the approved storefront hero is slide one,
   untouched inside its wrapper; two promo panels ride with it. */
.bbz-hero { position: relative; overflow: hidden; border-radius: 20px; margin-top: 18px; }
.bbz-track { display: flex; transition: transform .65s cubic-bezier(.22,.61,.36,1); }
.bbz-slide { flex: 0 0 100%; min-width: 0; }
.bbz-slide .hero { margin: 0; }
.bbz-promo { display: flex; align-items: stretch; height: 380px; }
.bbz-promo-copy { flex: 1.1; padding: 44px 40px 44px 78px; align-self: center; }
/* Lead panel: the brand headline rides ON the carousel (the
   Doggies sample arrangement), logo + headline + CTAs over the
   panel, family photo filling the right side. */
.bbz-lead-logo { width: 148px; height: auto; margin-bottom: 4px; }
.bbz-lead h1 { font-size: 2.7rem; line-height: 1.04; margin: 4px 0 10px; }
.bbz-lead .secondary { margin-left: 8px; }
.bbz-promo-copy h2 { font-size: 2rem; margin: 6px 0 10px; }
.bbz-promo-copy p { color: var(--muted); max-width: 44ch; }
.bbz-promo-copy .primary { display: inline-block; margin-top: 14px; }
.bbz-promo-img { flex: 1; min-height: 0; height: 100%; object-fit: cover; }
.bbz-arrow { position: absolute; top: 16px; width: 46px; height: 96px; border: 1px solid var(--line); background: rgba(255,255,255,.92); border-radius: 12px; font-size: 1.7rem; line-height: 1; color: var(--ink); cursor: pointer; z-index: 3; }
.bbz-prev { left: 10px; } .bbz-next { right: 10px; }
.bbz-pause { position: absolute; left: 12px; bottom: 12px; z-index: 3; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .78rem; font-weight: 700; cursor: pointer; }
.bbz-dots { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 6px; z-index: 3; }
.bbz-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(69,68,65,.3); }
.bbz-dots span.on { background: var(--accent-deep); }
@media (max-width: 700px) {
  .bbz-promo { flex-direction: column; justify-content: center; height: auto; }
  /* flex:none is the dead-space fix: the desktop flex:1.1 is a WIDTH
     share in the row layout, but in the mobile column it GROWS the
     copy block vertically, leaving a void between button and photo.
     Type/images also compact so the tallest panel sets a far
     shorter track height for every slide. */
  .bbz-promo-copy { flex: none; padding: 66px 20px 6px; }
  .bbz-promo-copy h2 { font-size: 1.6rem; }
  .bbz-lead-logo { width: 80px; }
  .bbz-lead h1 { font-size: 1.85rem; }
  .bbz-promo-img { flex: none; height: 160px; min-height: 0; width: calc(100% - 40px); margin: 12px 20px 20px; border-radius: 14px; }
  .bbz-arrow { top: 8px; height: 64px; width: 40px; }
}

/* Home quad modules (real products, rendered by bbRenderQuads). */
.bbz-quads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 4px; position: relative; z-index: 2; }
.bbz-quad { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: 0 8px 22px rgba(69,68,65,.06); }
.bbz-quad h3 { font-size: 1.05rem; margin: 0 0 10px; }
.bbz-quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bbz-quad-grid a { text-decoration: none; color: var(--ink); font-size: .76rem; line-height: 1.25; }
.bbz-quad-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 4px; background: var(--surface); }
.bbz-quad-more { display: inline-block; margin-top: 10px; color: var(--accent-deep); font-weight: 700; font-size: .85rem; text-decoration: none; }
@media (max-width: 900px) { .bbz-quads { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bbz-quads { grid-template-columns: 1fr; } }

.bbz-rownav { display: flex; gap: 8px; justify-content: flex-end; margin: 0 0 10px; }
.bbz-rownav button { width: 44px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 10px; font-size: 1.3rem; cursor: pointer; color: var(--ink); }

/* Department layout (collections + search). */
.deptwrap { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: start; }
.deptside { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.deptside h3 { font-size: .95rem; margin: 0 0 8px; }
.deptside h3:not(:first-child) { margin-top: 18px; }
.deptside a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; font-size: .92rem; }
.deptside a:hover { color: var(--accent-deep); }
.deptside label { display: block; padding: 3px 0; font-size: .92rem; cursor: pointer; }
.deptclear { margin-top: 10px; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: .82rem; }
.deptship { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.depttiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; }
.depttile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; cursor: pointer; text-align: left; font: inherit; }
.depttile img { width: 100%; aspect-ratio: 1.4; object-fit: cover; border-radius: 9px; display: block; background: var(--surface); }
.depttile span { display: block; padding: 7px 2px 2px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.depttile.on { outline: 3px solid var(--accent); }
.deptmain .product-grid { margin-top: 0; }
@media (max-width: 820px) {
  .deptwrap { grid-template-columns: 1fr; }
  .depttiles { grid-template-columns: 1fr 1fr; }
}

/* Bag: totals rail on desktop (the Amazon/Doggies arrangement);
   mobile keeps the condensed single column + sticky bar as-is. */
@media (min-width: 1024px) {
  .bbz-cartwrap { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
  .bbz-cartwrap #cart-footer { position: sticky; top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: 0 8px 22px rgba(69,68,65,.06); }
}

/* Quad modules overlap the carousel's bottom edge (the sample's
   arrangement) — kept last so it wins the cascade. */
@media (min-width: 1024px) { .bbz-quads { margin-top: -34px; } }
@media (min-width: 1024px) { .bbz-pause { bottom: 46px; } }

/* FIT-WHOLE RULE (Michael, 2026-10-26: "gotta see all the faces /
 needs to be not cut off"): subjects are never cropped on the
 new surfaces. The family photo (portrait) and the Yorkie
 mockup (square) sit in landscape panel slots — they now fit
 whole as framed photos instead of cover-cropping. Quad cells
 and department tiles fit whole too, so pack shots and blanket
 renders are never cut. (Fresh In cards and product cards
 already fit whole via the site's own contain rules.) */
.bbz-promo-img.bbz-fit { object-fit: contain; border-radius: 16px; box-shadow: 0 10px 30px rgba(69,68,65,.14); align-self: center; height: calc(100% - 36px); margin-right: 18px; }
.bbz-quad-grid img { object-fit: contain; background: #fff; }
.depttile img { object-fit: contain; }
@media (max-width: 700px) {
  .bbz-promo-img.bbz-fit { margin: 10px 20px 18px; height: 172px; }
}

/* PDP GALLERY GLIDE (Michael, 2026-10-26: "product pages need
   the same slider things"). The gallery already had arrows,
   dots and thumbs that swap slides instantly; the slides now
   ride a track and GLIDE, same motion as the home carousel.
   Their renderer and print/color sync keep setting .active —
   the track just follows it (see the JS block in app.js). */
#product-visual .bbz-gtrack { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); height: 100%; }
#product-visual .bbz-gtrack .gallery-slide { display: block !important; flex: 0 0 100%; min-width: 0; height: 100%; }
#product-visual .bbz-gtrack .gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
#product-visual .bbz-gtrack .gallery-slide img.contained-photo { object-fit: contain; }

/* Personalization fields (2026-10-26) — Davies Babies PDP port of the
   Doggies wave-1 pattern, in the Babies palette. */
.persfields { margin-top: 14px; border: 1px solid var(--ink); background: var(--surface); padding: 12px 12px 4px; }
.pershead { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 10px; color: var(--ink); }
.pers-field { margin: 0 0 10px; }
.pers-field label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.pers-field input { width: 100%; border: 1px solid #d8cfc4; background: #fff; color: var(--ink); font: inherit; font-size: 14px; padding: 11px; box-sizing: border-box; }
.perr { color: #b3261e; font-size: 12.5px; font-weight: 700; line-height: 1.45; margin: 2px 0 10px; }
.photofields { margin: 2px 0 10px; }
.photostatus { font-size: 12.5px; line-height: 1.45; margin: 0 0 8px; color: var(--ink); }
.photoprev { display: block; max-width: 180px; border-radius: 10px; margin: 4px 0 10px; border: 1px solid #d8cfc4; }
.photofields input[type="file"] { font: inherit; font-size: 13px; margin: 0 0 8px; }
.rmlink { text-decoration: underline; cursor: pointer; font-weight: 700; }

/* ---- Added-to-cart confirmation drawer (2026-11-05) ----
   Slide-out panel fired by app.js after every successful add:
   names the item, offers View cart / Checkout. Sits above the
   sticky bars (950) and below the auth modal (1200). */
.added-drawer-backdrop {
  position: fixed; inset: 0; z-index: 1250;
  background: rgba(53, 44, 40, .45);
  opacity: 0; transition: opacity .25s ease;
}
.added-drawer-backdrop.open { opacity: 1; }
.added-drawer {
  position: fixed; top: 0; right: 0; z-index: 1260;
  width: min(400px, 94vw); height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-left: 1px solid var(--line);
  box-shadow: -18px 0 44px rgba(80, 67, 65, .22);
  transform: translateX(105%); transition: transform .3s ease;
  padding: 20px 22px calc(20px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.added-drawer.open { transform: translateX(0); }
.added-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--heading); font-size: 1.25rem; margin-bottom: 14px;
}
.added-drawer-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--muted); padding: 4px 8px;
}
.added-drawer-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.added-drawer-item img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--surface); }
.added-drawer-info { display: flex; flex-direction: column; gap: 2px; }
.added-drawer-info span { color: var(--muted); font-size: .92rem; }
.added-drawer-subtotal { margin: 16px 0 4px; font-weight: 600; }
.added-drawer-actions { display: flex; gap: 10px; margin-top: 14px; }
.added-drawer-actions .primary, .added-drawer-actions .secondary { flex: 1; text-align: center; }

/* Free-shipping blanket offer line (2026-11-05) */
.offer-strip #offer-freeship { color: var(--accent-deep); }

/* Audit build (2026-11-09): font-choice select in the personalization
   fields mirrors the text inputs; buy-box note line under the
   arrives-by window. */
.pers-field select { width: 100%; border: 1px solid #d8cfc4; background: #fff; color: var(--ink); font: inherit; font-size: 14px; padding: 11px; box-sizing: border-box; }
section.page[data-page="product"] .buy-box .buy-box-note { font-size: .95rem; font-weight: 600; color: var(--ink); margin: 2px 0 0; }

/* ================================================================
   HOMEPAGE REBUILD 2026-11-11 — demo-layout theme (appended only)
   Cream / deep forest green / berry red, Playfair Display serif
   headlines with italic red accent words, after the storefront
   demo Michael approved borrowing. NO existing rule above is
   edited; everything below is additive overrides scoped to the
   header/footer chrome and section[data-page="home"], plus the
   new .db-* sections. All JS hooks, IDs and classes are unchanged.
   ================================================================ */
:root {
  --db-cream: #faf4e8;
  --db-green: #1d4731;
  --db-green-deep: #11301f;
  --db-red: #a31636;
  --db-red-deep: #7e1030;
  --db-gold: #d9a441;
  --db-gold-deep: #a87c22;
  --db-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- chrome: announcement bar, header, nav, search ---------- */
.announce-bar { background: var(--db-green-deep); color: #f7efdc; }
.site-nav { background: #fffdf7; }
.site-brand span { font-family: var(--db-serif); font-weight: 700; font-size: 1.32rem; color: var(--db-green-deep); letter-spacing: .01em; }
.topnav-bar { background: #fffdf7; }
.topnav-bar a.active { color: var(--db-red); background: #f6e8e4; }
.topnav-bar a:hover { background: #f1ead9; }
.bbz-searchbar button { background: var(--db-red); }
.bbz-searchbar button:hover { background: var(--db-red-deep); }

/* ---------- shared demo type ---------- */
.db-i { font-style: italic; color: var(--db-red); }
.db-h2 { font-family: var(--db-serif); font-weight: 600; font-size: clamp(1.85rem, 3.2vw, 2.6rem); line-height: 1.14; color: #213529; margin: 0 0 12px; letter-spacing: 0; }
.db-h2-light { color: #fdf8ec; }
.db-h2-light .db-i { color: var(--db-gold); }
.db-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--db-gold-deep); margin: 0 0 10px; }
.db-eyebrow-light { color: #e8c87e; }
.db-center { text-align: center; }
.db-sub { color: var(--muted); margin: 0; }
.db-btnrow { margin: 22px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.db-btnrow a { display: inline-block; text-decoration: none; }

/* ---------- homepage canvas + bands ---------- */
section[data-page="home"] { background: var(--db-cream); }
section[data-page="home"] .band { background: transparent; border-top: 0; padding-top: clamp(42px, 5.5vw, 68px); padding-bottom: clamp(42px, 5.5vw, 68px); }
section[data-page="home"] .section-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 40px; }
section[data-page="home"] .section-head::before { position: static; transform: none; width: auto; height: auto; background: none; content: "\2726"; color: var(--db-gold); font-size: 1.05rem; }
section[data-page="home"] .section-head h2 { font-family: var(--db-serif); font-weight: 600; letter-spacing: 0; }
section[data-page="home"] .section-head .eyebrow { color: var(--db-gold-deep); }
section[data-page="home"] .section-head p { max-width: 580px; }

/* ---------- homepage buttons (demo pills) ---------- */
section[data-page="home"] .primary { background: var(--db-red); border-color: var(--db-red); color: #ffffff; border-radius: 999px; padding: 13px 28px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px rgba(163, 22, 54, .22); }
section[data-page="home"] .primary:hover, section[data-page="home"] .primary:focus-visible { background: var(--db-red-deep); border-color: var(--db-red-deep); color: #ffffff; }
section[data-page="home"] .secondary { border: 2px solid var(--db-green); color: var(--db-green); background: transparent; border-radius: 999px; padding: 11px 24px; font-weight: 800; text-decoration: none; }
section[data-page="home"] .secondary:hover, section[data-page="home"] .secondary:focus-visible { background: var(--db-green); color: #fdf8ec; }

/* ---------- hero carousel, demo dress ---------- */
section[data-page="home"] .bbz-hero { border-radius: 26px; box-shadow: 0 24px 54px rgba(46, 64, 40, .16); margin: 20px clamp(10px, 2.5vw, 34px) 0; }
section[data-page="home"] .bbz-promo { height: 440px; }
section[data-page="home"] .bbz-promo-copy h1, section[data-page="home"] .bbz-promo-copy h2 { font-family: var(--db-serif); font-weight: 600; letter-spacing: 0; line-height: 1.1; color: #213529; }
section[data-page="home"] .bbz-promo-copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
section[data-page="home"] .bbz-lead h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
section[data-page="home"] .bbz-promo-copy .eyebrow { color: var(--db-gold-deep); }
section[data-page="home"] .db-price-line { font-weight: 800; color: var(--db-red); margin: 2px 0 4px; }
section[data-page="home"] .bbz-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; box-shadow: 0 8px 20px rgba(46, 64, 40, .16); }
section[data-page="home"] .bbz-prev { left: 14px; }
section[data-page="home"] .bbz-next { right: 14px; }
section[data-page="home"] .bbz-dots span { width: 22px; height: 6px; border-radius: 99px; background: rgba(24, 46, 33, .25); }
section[data-page="home"] .bbz-dots span.on { background: var(--db-red); width: 34px; }

/* ---------- offers strip ---------- */
.db-offers { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 20px 16px 2px; }
.db-offer { background: #ffffff; border: 1px solid rgba(29, 71, 49, .16); border-radius: 999px; padding: 9px 18px; font-size: .9rem; font-weight: 600; color: #33503f; box-shadow: 0 6px 16px rgba(60, 45, 30, .06); }
.db-offer strong { color: var(--db-red); letter-spacing: .03em; }

/* ---------- Shop by Category heading + JS quad tiles ---------- */
.db-sec-head { text-align: center; max-width: 640px; margin: 30px auto 4px; padding: 0 16px; }
section[data-page="home"] .bbz-quads { padding: 0 clamp(10px, 2.5vw, 34px); }
section[data-page="home"] .bbz-quad { border-radius: 20px; border: 1px solid rgba(29, 71, 49, .12); box-shadow: 0 12px 28px rgba(60, 45, 30, .08); padding: 18px; }
section[data-page="home"] .bbz-quad h3 { font-family: var(--db-serif); font-size: 1.32rem; font-weight: 600; color: #213529; }
section[data-page="home"] .bbz-quad-grid img { border-radius: 12px; }
section[data-page="home"] .bbz-quad-more { color: var(--db-green); font-weight: 800; }
section[data-page="home"] .bbz-quad-more:hover { color: var(--db-red); }
section[data-page="home"] .bbz-rownav button { border-radius: 50%; width: 44px; height: 44px; background: #ffffff; box-shadow: 0 6px 16px rgba(60, 45, 30, .1); }

/* ---------- product / spotlight cards, demo dress ---------- */
section[data-page="home"] .spotlight-card { border: 0; border-radius: 18px; box-shadow: 0 12px 28px rgba(60, 45, 30, .09); }
section[data-page="home"] .spotlight-badge { background: var(--db-red); }
section[data-page="home"] .spotlight-meta { padding: 14px 16px 16px; }
section[data-page="home"] .spotlight-meta strong { font-family: var(--db-serif); font-size: 1.05rem; }
section[data-page="home"] .spotlight-meta small { color: var(--db-red); }
section[data-page="home"] .spotlight-more a { color: var(--db-red); }
section[data-page="home"] .product-card { border: 0; border-radius: 18px; box-shadow: 0 12px 28px rgba(60, 45, 30, .09); background: #ffffff; }
section[data-page="home"] .product-image { border-bottom: 0; }
section[data-page="home"] .product-body h3 { font-family: var(--db-serif); font-weight: 600; letter-spacing: 0; }
section[data-page="home"] .status { color: var(--db-gold-deep); }
section[data-page="home"] .category { border-radius: 20px; }
section[data-page="home"] .category::before { background: var(--db-red); }
section[data-page="home"] .category h3 { font-family: var(--db-serif); letter-spacing: 0; }

/* ---------- family feature band ---------- */
.db-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.db-split-copy > p { color: var(--muted); max-width: 52ch; }
.db-split-img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 44px rgba(46, 64, 40, .18); display: block; }

/* ---------- dark green pet band ---------- */
.db-petband { background: linear-gradient(135deg, var(--db-green) 0%, var(--db-green-deep) 100%); color: #f4eedd; padding: clamp(48px, 6vw, 76px) clamp(24px, 6vw, 88px); }
.db-petband-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.db-petband-img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: 22px; display: block; box-shadow: 0 20px 44px rgba(0, 0, 0, .28); }
.db-petband-copy > p { color: rgba(244, 238, 221, .86); max-width: 52ch; }
.db-pet-thumbs { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.db-pet-thumbs a { display: flex; flex-direction: column; gap: 7px; width: 104px; text-decoration: none; color: #f4eedd; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.db-pet-thumbs img { width: 104px; height: 78px; object-fit: cover; border-radius: 12px; border: 2px solid rgba(244, 238, 221, .4); background: #ffffff; display: block; }
section[data-page="home"] .db-petband .primary { background: #fdf8ec; border-color: #fdf8ec; color: var(--db-green-deep); box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
section[data-page="home"] .db-petband .primary:hover, section[data-page="home"] .db-petband .primary:focus-visible { background: #ffffff; border-color: #ffffff; color: var(--db-green-deep); }

/* ---------- personality section (live promises, demo layout) ---------- */
.db-personality { padding: clamp(48px, 6vw, 72px) clamp(24px, 6vw, 88px); }
.db-pers-head { text-align: center; margin-bottom: 36px; }
.db-pers-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
section[data-page="home"] .db-pers-grid .promise-strip { background: transparent; color: var(--ink); display: flex; flex-direction: column; padding: 0; max-width: none; }
section[data-page="home"] .db-pers-grid .promise { padding: 20px 4px; border-left: 0; }
section[data-page="home"] .db-pers-grid .promise + .promise { border-left: 0; border-top: 1px dashed rgba(69, 68, 65, .28); }
section[data-page="home"] .db-pers-grid .promise strong { font-family: var(--db-serif); font-size: 1.22rem; font-weight: 600; color: #213529; }
section[data-page="home"] .db-pers-grid .promise span { color: var(--muted); font-size: .95rem; }
.db-tilt { position: relative; min-height: 360px; }
.db-tilt img { position: absolute; width: 54%; aspect-ratio: 1 / 1; object-fit: cover; background: #ffffff; padding: 8px; border-radius: 8px; box-shadow: 0 18px 38px rgba(60, 45, 30, .2); }
.db-tilt-1 { left: 0; top: 8%; transform: rotate(-6deg); z-index: 1; }
.db-tilt-2 { right: 0; top: 0; width: 48%; transform: rotate(4deg); z-index: 2; }
.db-tilt-3 { left: 27%; bottom: -2%; width: 46%; transform: rotate(-2deg); z-index: 3; }

/* ---------- Kind Words: the two real reviews ---------- */
.fr-band { max-width: 1150px; margin: 0 auto; padding: clamp(42px, 5.5vw, 66px) clamp(20px, 4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fr-band .fr-eyebrow, .fr-band .db-h2 { grid-column: 1 / -1; text-align: center; }
.fr-eyebrow { font-size: .76rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--db-gold-deep); margin: 0; }
.fr-card { background: #ffffff; border-radius: 20px; box-shadow: 0 12px 30px rgba(60, 45, 30, .09); padding: 26px; display: flex; gap: 20px; align-items: flex-start; }
.fr-photo { width: 104px; height: 104px; object-fit: cover; border-radius: 16px; flex: 0 0 auto; display: block; }
.fr-stars { color: var(--db-gold); letter-spacing: 3px; margin: 0 0 6px; font-size: 1.05rem; }
.fr-title { font-family: var(--db-serif); font-weight: 600; margin: 0 0 6px; color: #213529; }
.fr-body { color: #4c4a45; margin: 0 0 10px; }
.fr-name { color: var(--muted); font-size: .85rem; margin: 0; }
.fr-more { margin: 10px 0 0; }
.fr-more a { color: var(--db-red); font-weight: 700; }

/* ---------- berry newsletter band (the REAL form, moved) ---------- */
.db-newsband { background: linear-gradient(120deg, var(--db-red) 0%, var(--db-red-deep) 100%); color: #ffffff; padding: clamp(44px, 5vw, 64px) clamp(24px, 6vw, 88px); }
.db-newsband .db-i { color: #ffe9a8; }
.db-newsband-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(26px, 4vw, 54px); align-items: center; }
.db-news-copy > p { color: rgba(255, 255, 255, .88); max-width: 46ch; }
.db-newsband .newsletter-form { display: flex; gap: 6px; background: #ffffff; border-radius: 999px; padding: 5px; max-width: 30rem; margin-top: 0; }
.db-newsband .newsletter-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 18px; color: #33302b; border-radius: 999px; }
.db-newsband .newsletter-form button { background: var(--db-green); color: #ffffff; border: 0; border-radius: 999px; padding: 11px 24px; font-weight: 800; white-space: nowrap; cursor: pointer; }
.db-newsband .newsletter-form button:hover { background: var(--db-green-deep); }
.db-newsband .form-help { color: rgba(255, 255, 255, .85); font-size: .85rem; }
.db-newsband .form-status { color: #ffe9a8; }

/* ---------- dark green footer, 4 columns ---------- */
footer { background: var(--db-green-deep); color: #ddd6c2; border-top: 0; }
.footer-inner { grid-template-columns: 1.5fr .55fr .55fr .65fr 1fr; align-items: start; }
.footer-brand { color: #ddd6c2; }
.footer-brand strong { color: #ffffff !important; }
.footer-brand a { color: var(--db-gold); }
.footer-nav { flex-direction: column; align-items: flex-start; gap: 9px; }
.db-foot-col strong { color: #ffffff; font-family: var(--db-serif); font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.footer-nav a { color: #ddd6c2; text-decoration: none; }
.footer-nav a:hover { color: #ffffff; text-decoration: underline; }
.footer-social a { color: #eee7d2; }
.credits { border-top-color: rgba(255, 255, 255, .18); color: #bdb49c; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .db-split, .db-petband-in, .db-newsband-in, .db-pers-grid { grid-template-columns: 1fr; }
  .db-petband, .db-personality, .db-newsband { padding-left: 18px; padding-right: 18px; }
  .fr-band { grid-template-columns: 1fr; }
  .db-tilt { min-height: 300px; margin-top: 8px; }
  section[data-page="home"] .bbz-hero { margin: 12px 10px 0; border-radius: 20px; }
  section[data-page="home"] .bbz-promo-copy { padding-top: 28px; }
  section[data-page="home"] .bbz-arrow { top: auto; bottom: 10px; transform: none; width: 42px; height: 42px; }
  section[data-page="home"] .bbz-prev { left: 10px; }
  section[data-page="home"] .bbz-next { right: auto; left: 60px; }
  section[data-page="home"] .bbz-pause { left: auto; right: 76px; bottom: 12px; }
  section[data-page="home"] .band { padding-left: 18px; padding-right: 18px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .db-pet-thumbs a { width: 92px; }
  .db-pet-thumbs img { width: 92px; height: 68px; }
  .fr-card { flex-direction: column; }
}

/* Mobile hero fix (2026-11-11 screenshot pass): the desktop 440px
   slide height must not carry to phones, and Pause moves clear of
   the dots. */
@media (max-width: 860px) {
  section[data-page="home"] .bbz-promo { height: auto; }
  section[data-page="home"] .bbz-pause { left: auto; right: 12px; top: 12px; bottom: auto; }
}
