/* Holiday gift boxes page (templates/holiday-gift-boxes.html), from the approved mockup of 2026-10-15. */
/* Fonts: the same files kawikalopez.com serves (subset with kahakō, ʻokina drawn by Instrument Serif). */
  @font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
  @font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
  @font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

  :root {
    --paper: #f4f2ed;
    --paper-2: #e8e7dc;
    --card: #fbfaf7;
    --ink: #1b1a18;
    --ink-2: #57534c;
    --rule: #d8d3c9;
    --gold: #a8843f;
    --gold-2: #8c6c2f;
    /* Baker's Heart Holiday 2026, the Comfort & Joy wrap: olive green with gold on cream. */
    --green: #4f5e3f;
    --green-2: #3e4a31;
    --green-3: #2f3925;

    --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --step--1: 0.8125rem;
    --step-0: 1rem;
    --step-1: 1.1875rem;
    --step-2: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
    --step-3: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
    --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);

    --gutter: 16px;
    --max: 1200px;
    --space: clamp(56px, 8vw, 104px);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; height: auto; }
  figure { margin: 0; }
  figcaption { font-size: var(--step--1); color: var(--ink-2); padding-top: 10px; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
  h1 { font-size: var(--step-4); line-height: 1; letter-spacing: -0.005em; }
  h2 { font-size: var(--step-3); line-height: 1.05; margin-bottom: 20px; }
  h3 { font-size: var(--step-2); line-height: 1.1; }
  p { margin: 0 0 1em; }
  a { color: inherit; }

  .wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
  .section { padding-top: var(--space); }
  .eyebrow { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; font-weight: 500; }
  .lede { font-size: var(--step-1); line-height: 1.55; max-width: 36em; }
  .prose { font-size: 1.0625rem; line-height: 1.75; max-width: 62ch; }
  .prose p:last-child { margin-bottom: 0; }

  .btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px;
    background: var(--green); color: var(--paper); border: 1px solid var(--green); font: 500 0.9375rem/1.2 var(--sans);
    letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  }
  .btn:hover { background: var(--green-3); border-color: var(--green-3); }
  .btn-wide { width: 100%; min-height: 52px; }

  .mock-banner { background: var(--ink); color: var(--paper); text-align: center; font-size: var(--step--1); padding: 8px var(--gutter); margin: 0; letter-spacing: 0.02em; }

  /* The lockup: Touch A Heart x Kawika Lopez. The Touch A Heart logo is a JPG on white, so it multiplies into the paper. */
  .lockup { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); padding-block: clamp(18px, 3vw, 28px) clamp(12px, 2vw, 18px); }
  .lockup img { height: clamp(40px, 6vw, 64px); width: auto; }
  .lockup .tah { mix-blend-mode: multiply; }
  .lockup .x { font-family: var(--serif); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); color: var(--gold); line-height: 1; }
  .lockup-rule { width: 64px; height: 2px; background: var(--gold); margin: 0 auto; border: 0; }

  /* Hero */
  .hero { text-align: center; padding-top: clamp(20px, 3vw, 32px); }
  .hero .lede { margin-bottom: 0; }
  .buy { padding-top: clamp(24px, 3vw, 36px); }
  .buy .boxes { margin-top: 0; }
  .box-note { margin: 28px auto 0; text-align: center; max-width: 60ch; }
  .offer { background: var(--paper-2); border: 1px solid #d3cfbf; padding: 12px 12px 16px; }
  .buy .box h3, .buy .price { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
  .offer .box { background: #fff; }
  @media (min-width: 720px) { .offer { padding: 20px 24px 28px; } }
  @media (min-width: 960px) { .offer { padding: 20px 28px 32px; } }
  .buy .pick { margin-top: 0; }
  .buy .box-body { padding-bottom: 48px; }
  .btn-order { position: relative; justify-self: center; min-height: 44px; padding: 10px 22px; font-size: 0.9375rem; }
  .btn-order .shine-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .btn-order .trace { position: absolute; left: -8px; top: -8px; overflow: visible; pointer-events: none; }
  .btn-order .trace rect { fill: none; }
  .btn-order .trace-base { stroke: rgba(194, 157, 59, .45); stroke-width: 1; }
  .btn-order .trace-spark { stroke: #c29d3b; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 12 88; }
  .btn-order .shine { position: absolute; top: -20%; bottom: -20%; left: 0; width: 45%; pointer-events: none; transform: translateX(-130%) skewX(-20deg);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); }
  .buy .box { position: relative; }
  .buy .box .plus { position: absolute; left: 50%; bottom: -1px; transform: translate(-50%, 50%); z-index: 2; margin: 0;
    box-shadow: 0 0 0 4px #fff, 0 3px 10px rgba(0, 0, 0, .25); }
  .buy .wall { margin-top: 0; padding-top: clamp(48px, 6vw, 64px); }
  @media (max-width: 719px) { .buy .box:first-child .plus { display: none; } }
  .buy .pick-head { text-align: center; }
  .buy .pick-foot { text-align: center; margin-top: clamp(20px, 3vw, 28px); }
  .buy .pick-foot h3 { margin-bottom: 10px; }
  .buy .pick-foot p { max-width: 56ch; margin: 0 auto; color: var(--ink-2); }
  .plus { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--gold); color: #fff; font: 300 36px/1 var(--sans); padding-bottom: 3px; }
  .wrap.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4rem); max-width: 20em; }
  @media (min-width: 960px) {
    .buy .box { grid-template-columns: 0.9fr 1fr; grid-template-rows: none; }
    .buy .box > img { aspect-ratio: auto; height: 100%; }
  }
  .just { padding-bottom: var(--space); }
  .just-grid { display: grid; gap: 24px; }
  .just-card { background: var(--card); border: 1px solid var(--rule); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; justify-items: start; }
  .just-card h3 { font-size: var(--step-2); }
  .just-card p { margin: 0; color: var(--ink-2); max-width: 46ch; }
  .btn-line { background: transparent; color: var(--green); margin-top: 6px; }
  .btn-line:hover { background: var(--green); color: #fff; }
  @media (min-width: 720px) { .just-grid { grid-template-columns: 1fr 1fr; } }
  .hero h1 { max-width: 13em; margin-inline: auto; margin-bottom: 20px; }
  .hero .lede { margin-inline: auto; }
  .diptych { display: grid; gap: 12px; margin-top: clamp(32px, 4vw, 52px); text-align: left; }
  .diptych > figure > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

  /* A matted print in Kawika's side table room, built the way kawikalopez.com builds it
     (scene ppi 27, mat 14 x 11 in, bottom 7 in above the tabletop). The inner box is the
     whole scene at 160 percent, cropped around the print and the table. */
  .room { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #b9b0a2; }
  .room-inner { position: absolute; width: 160%; left: -29.6875%; top: -23.4375%; container-type: inline-size; }
  .room-inner > img { width: 100%; }
  .room-print { position: absolute; left: 37.503%; top: 21.582%; width: 24.609%; height: 29.004%;
    background: linear-gradient(90deg, rgb(223 219 211), rgb(212 208 200));
    box-shadow: 0.2cqw 0.2cqw 0.4cqw rgba(58, 48, 36, .55), 1.04cqw 0.91cqw 2.34cqw rgba(58, 48, 36, .4); }
  .room-photo { position: absolute; left: 8.929%; top: 15.909%; width: 82.143%; height: 68.182%;
    border: 0.2cqw solid; border-color: rgb(210 208 201) rgb(240 237 230) rgb(231 228 221) rgb(194 192 186); }
  .room-photo img { width: 100%; height: 100%; object-fit: cover; }
  /* Lighter than the store's matted preview on purpose (Kawika, 2026-10-01): a softer warm tone and a lighter mat-edge shadow. */
  .room-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(250 248 243); mix-blend-mode: multiply; }
  .room-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0.33cqw 0.26cqw 0.4cqw rgba(30, 26, 20, .2); }

  /* Touch A Heart's story */
  .band { background: var(--paper-2); padding-block: var(--space); margin-top: var(--space); }
  .band-grid { display: grid; gap: 36px 72px; align-items: center; }
  .pull { font-family: var(--serif); font-size: var(--step-3); line-height: 1.08; margin: 0; border-left: 2px solid var(--gold); padding-left: 24px; }
  .pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: var(--step--1); color: var(--ink-2); margin-top: 16px; letter-spacing: 0.02em; }

  /* The photographs */
  .stories { display: grid; gap: 40px 48px; margin-top: 32px; }
  .story { display: grid; gap: 16px; align-content: start; }
  .story p { margin: 0; }
  .story-title { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
  @supports (grid-template-rows: subgrid) {
    .story { grid-row: span 3; grid-template-rows: subgrid; }
    .story figure { align-self: end; }
  }

  /* Kawika's note */
  .note { max-width: 46rem; margin-inline: auto; text-align: center; }
  .note blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 1.875rem); line-height: 1.35; }
  .note blockquote p { margin: 0 0 0.8em; }
  .note .sig { font-size: var(--step--1); color: var(--ink-2); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; }
  .note .sig::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin: 0 auto 16px; }

  /* Made here */
  .made { display: grid; gap: 32px 64px; align-items: center; }
  .made img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

  /* The boxes */
  .boxes { display: grid; gap: 24px; margin-top: 32px; }
  .box { background: var(--card); border: 1px solid var(--rule); display: grid; grid-template-rows: auto 1fr; }
  .box > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
  .box-body { padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; }
  .box-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
  .price { font-family: var(--serif); font-size: var(--step-2); white-space: nowrap; }
  .box-for { margin: 0; color: var(--ink-2); }
  .box ul { margin: 0; padding-left: 1.1em; }
  .box li + li { margin-top: 4px; }

  /* Pick the photograph: six matted prints hung on an olive wall, the green of the holiday wrap.
     Every mat is drawn at one scale (--in is one inch on screen), so the vertical 11 x 14 and
     horizontal 14 x 11 mats sit true to each other. Rows: 2 on phones, 3 on tablets, 6 on desktop. */
  .pick { margin-top: clamp(56px, 8vw, 96px); }
  .pick-head p { color: var(--ink-2); margin: 0; }
  .wall { margin-top: 24px; padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) clamp(24px, 4vw, 40px);
    background: linear-gradient(100deg, #5b6a48, var(--green) 55%, #45523a); }
  .wall-in { container-type: inline-size; }
  .mats { --gap: 16px; --in: calc((100cqw - var(--gap)) / 25);
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: calc(var(--in) * 2.4) var(--gap); }
  .mat-fig { display: grid; justify-items: center; gap: calc(var(--in) * 1.1); }
  .mat-fig figcaption { padding: 0; color: #f1ecdd; font-size: var(--step--1); letter-spacing: 0.02em; }
  .mat { position: relative; width: calc(var(--in) * 11); height: calc(var(--in) * 14);
    background: linear-gradient(90deg, rgb(223 219 211), rgb(212 208 200));
    box-shadow: calc(var(--in) * 0.114) calc(var(--in) * 0.114) calc(var(--in) * 0.228) rgba(16, 20, 10, .6),
                calc(var(--in) * 0.592) calc(var(--in) * 0.518) calc(var(--in) * 1.33) rgba(16, 20, 10, .5); }
  .mat.h { width: calc(var(--in) * 14); height: calc(var(--in) * 11); }
  .mat .photo { position: absolute; left: 14.545%; top: 15%; width: 70.909%; height: 70%; overflow: hidden;
    border: calc(var(--in) * 0.114) solid; border-color: rgb(210 208 201) rgb(240 237 230) rgb(231 228 221) rgb(194 192 186); }
  .mat.h .photo { left: 8.929%; top: 15.909%; width: 82.143%; height: 68.182%; }
  .mat .photo img { width: 100%; height: 100%; object-fit: cover; }
  .mat .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgb(250 248 243); mix-blend-mode: multiply; }
  .mat .photo::after { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset calc(var(--in) * 0.188) calc(var(--in) * 0.148) calc(var(--in) * 0.228) rgba(30, 26, 20, .2); }
  .bigger { margin-top: 28px; color: var(--ink-2); }

  /* Who's behind it */
  .people { display: grid; gap: 48px 64px; }
  .person { display: grid; gap: 18px; align-content: start; }
  .person p { margin: 0; }
  .person .mark { height: 96px; display: flex; align-items: flex-end; }
  .person .mark img { height: 100%; width: auto; }
  .person .vision { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; }
  /* Half the photo's natural headroom above his head (head top sits at 7.7% of the photo; 8.2% keeps the crop at 3:2). */
  .portrait { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 8.2%; width: 100%; }

  /* The shared footer */
  .foot { background: var(--green-2); color: #ece8dc; padding-block: var(--space) 28px; margin-top: 0; }
  .foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }
  .foot a:hover { text-decoration-color: var(--gold); }
  .foot-head { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
  .foot-head h2 { font-size: var(--step-3); color: #fff; margin: 0 auto 12px; max-width: 14em; }
  .foot-head p { margin: 0 auto; color: #cfcbb8; max-width: 34em; }
  .foot-grid { display: grid; gap: 32px; max-width: 760px; margin-inline: auto; }
  .foot-col h3 { font-size: 1.375rem; color: #fff; margin-bottom: 4px; }
  .foot-col .who { font-size: var(--step--1); color: #cfcbb8; margin: 0 0 14px; letter-spacing: 0.02em; }
  .foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
  .foot-base { border-top: 1px solid rgba(214, 190, 130, .35); margin-top: clamp(36px, 5vw, 56px); padding-top: 20px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--step--1); color: #b9b5a2; }
  .foot-base p { margin: 0; }

  @media (min-width: 720px) {
    .diptych { grid-template-columns: 1fr 1fr; }
    .stories { grid-template-columns: 0.8fr 1.2fr; }
    .boxes { grid-template-columns: 1fr 1fr; }
    .people { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .mats { --gap: 24px; --in: calc((100cqw - 2 * var(--gap)) / 39); }
  }
  @media (min-width: 960px) {
    .band-grid { grid-template-columns: 1.1fr 0.9fr; }
    .made { grid-template-columns: 1fr 1fr; }
    .mats { --gap: 22px; --in: calc((100cqw - 5 * var(--gap)) / 75); flex-wrap: nowrap; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* ---------- Touch A Heart toolbar (copies touchahearthawaii.org's header) ---------- */
  /* White text, as Jenn asked (2026-10-29), on the deeper gold so it stays readable (4.9:1). */
  .tah-bar { background: var(--gold-2); color: #fff; text-align: center; font: 500 0.875rem/1.35 "Open Sans", var(--sans); padding: 9px var(--gutter); margin: 0; }
  .tah-head { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid #eee; font-family: "Open Sans", var(--sans); color: #2b2b2b; }
  .tah-in { max-width: 1440px; margin-inline: auto; display: flex; align-items: center; gap: 16px; padding: 8px var(--gutter); }
  .tah-logo { display: block; flex: none; }
  .tah-logo img { height: 48px; width: auto; }
  .tah-nav { display: none; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: center; gap: 26px; font-size: 15px; }
  .tah-nav > li { position: relative; }
  .tah-nav a { color: inherit; text-decoration: none; }
  .tah-nav > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 20px 0; }
  .tah-nav > li > a:hover, .tah-nav > li:focus-within > a { color: #c51c74; }
  .tah-nav .caret { font-size: 9px; }
  .tah-sub { display: none; position: absolute; left: -16px; top: 100%; min-width: 250px; background: #fff; border: 1px solid #e5e5e5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12); list-style: none; margin: 0; padding: 8px 0; }
  .tah-nav > li:hover .tah-sub, .tah-nav > li:focus-within .tah-sub { display: block; }
  .tah-sub a { display: block; padding: 8px 16px; font-size: 14px; }
  .tah-sub a:hover { color: #c51c74; }
  .tah-menu { flex: none; }
  .tah-menu summary { list-style: none; cursor: pointer; font-size: 26px; line-height: 1; padding: 6px 4px; }
  .tah-menu summary::-webkit-details-marker { display: none; }
  .tah-menu-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid #e5e5e5; box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    padding: 8px var(--gutter) 16px; max-height: 70vh; overflow: auto; }
  .tah-menu-list p { margin: 14px 0 2px; font-weight: 600; font-size: 15px; }
  .tah-menu-list a { display: block; color: inherit; text-decoration: none; }
  .tah-menu-list .grp a { padding: 6px 0 6px 14px; font-size: 14.5px; color: #555; border-left: 1px solid #e5e5e5; }
  .tah-menu-list > a { font-weight: 600; font-size: 15px; padding: 14px 0 2px; }
  .mine { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; border: 0; cursor: pointer;
    font: 500 0.875rem/1 var(--sans); padding: 12px 16px; white-space: nowrap; }
  .mine:hover { background: var(--green-3); }
  .mine .n { background: var(--gold); border-radius: 10px; padding: 3px 7px; font-size: 0.75rem; }
  @media (min-width: 1060px) {
    .tah-nav { display: flex; }
    .tah-menu { display: none; }
    .tah-in { padding-inline: 28px; gap: 24px; }
    .tah-logo img { height: 60px; }
    .mine { margin-left: 0; }
  }

  /* ---------- landing page tweaks ---------- */
  .mat-fig[data-pick] { cursor: pointer; }
  .mat-fig[data-pick]:hover figcaption, .mat-fig[data-pick]:focus-within figcaption { text-decoration: underline; text-underline-offset: 4px; }
  .mat-fig [role="button"]:focus-visible { outline: 2px solid #f1ecdd; outline-offset: 8px; }
  .btn-gold { background: var(--gold-2); border-color: var(--gold-2); color: #fff; margin-top: 24px; }
  .btn-gold:hover { background: #74592a; border-color: #74592a; }

  /* ---------- the checkout window ---------- */
  .co[hidden] { display: none; }
  .co { position: fixed; inset: 0; z-index: 50; }
  .co-dim { position: absolute; inset: 0; background: rgba(27, 26, 24, .5); }
  .co-panel { position: absolute; inset: 0; background: var(--card); display: flex; flex-direction: column; }
  .co-top { display: flex; align-items: center; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--rule); flex: none; }
  .co-top h2 { font-size: 1.75rem; margin: 0; }
  .co-x { margin-left: auto; background: none; border: 0; font-size: 30px; line-height: 1; color: var(--ink-2); cursor: pointer; padding: 4px 8px; }
  .co-scroll { flex: 1; overflow: auto; overscroll-behavior: contain; }
  .co-body { display: grid; gap: 24px; padding: 18px var(--gutter) 96px; }
  .co-main { display: grid; gap: 14px; align-content: start; }
  .co-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--green); }
  .co-tabs button { font: inherit; background: #fff; color: var(--ink); border: 0; padding: 10px 8px; cursor: pointer; text-align: center; line-height: 1.3; }
  .co-tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
  .co-tabs .t { font-weight: 600; font-size: 0.9375rem; }
  .co-tabs small { display: block; font-size: 0.75rem; opacity: .85; }
  .badge { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 0.75rem; margin-left: 4px; }
  .badge[data-zero] { display: none; }
  .co-what { margin: 0; color: var(--ink-2); font-size: 0.875rem; line-height: 1.5; }
  .co-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { background: #fff; border: 1px solid var(--rule); padding: 14px 8px 10px; display: grid; justify-items: center; gap: 4px; text-align: center; transition: box-shadow .2s, border-color .2s; }
  .tile.on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
  .tile.pulse { animation: pulse 1.4s ease-out 1; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(168, 132, 63, .9); } 100% { box-shadow: 0 0 0 14px rgba(168, 132, 63, 0); } }
  .tile .art { --in: 6.4px; height: calc(var(--in) * 14); display: flex; align-items: center; margin-bottom: 8px; }
  .tile .mat { box-shadow: 1px 1px 2px rgba(0, 0, 0, .25), 3px 3px 8px rgba(0, 0, 0, .15); }
  .tile .nm { font-weight: 600; font-size: 0.875rem; line-height: 1.25; }
  .tile .sz { font-size: 0.75rem; color: var(--ink-2); }
  .step { display: inline-flex; align-items: center; border: 1px solid var(--rule); margin-top: 6px; }
  .step button { width: 36px; height: 34px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--green); cursor: pointer; }
  .step button:disabled { color: #c9c4ba; cursor: default; }
  .step output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
  .co-hint { margin: 0; font-size: 0.8125rem; color: var(--ink-2); }
  .co-side { background: var(--paper); border: 1px solid var(--rule); padding: 16px; display: grid; gap: 14px; align-content: start; scroll-margin-top: 12px; }
  .co-side h3 { font-size: 1.375rem; }
  .co-grp { border-top: 1px solid var(--rule); padding-top: 8px; }
  .co-gh { display: flex; font-weight: 600; font-size: 0.9375rem; margin-bottom: 4px; }
  .co-gh span:last-child { margin-left: auto; }
  .co-ln { display: flex; align-items: center; gap: 10px; padding: 4px 6px; margin-inline: -6px; font-size: 0.875rem; }
  .co-ln img { width: 34px; height: 26px; object-fit: cover; border: 3px solid #e3dfd6; flex: none; }
  .co-ln .q { margin-left: auto; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .co-ln.flash { animation: flash 1.2s ease-out 1; }
  @keyframes flash { 0% { background: rgba(168, 132, 63, .35); } 100% { background: transparent; } }
  .co-empty { margin: 0; color: var(--ink-2); font-size: 0.875rem; }
  .co-tot { border-top: 2px solid var(--ink); padding-top: 10px; display: flex; font-weight: 600; }
  .co-tot span:last-child { margin-left: auto; }
  .co-clear { background: none; border: 0; padding: 0; font: inherit; font-size: 0.8125rem; color: var(--ink-2); text-decoration: underline; cursor: pointer; justify-self: start; }
  .co-lbl { font-weight: 600; font-size: 0.9375rem; margin: 0 0 -6px; }
  .co-spots { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
  .co-spots legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 8px; }
  .spot { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; background: #fff; border: 1px solid var(--rule); padding: 10px 12px; cursor: pointer; font-size: 0.875rem; line-height: 1.4; }
  .spot input { margin: 3px 0 0; accent-color: var(--green); width: 16px; height: 16px; grid-row: span 3; }
  .spot b { font-size: 0.9375rem; }
  .spot small { color: var(--ink-2); font-size: 0.8125rem; }
  .spot:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
  .co-field { border: 1px solid var(--rule); background: #fff; padding: 10px 12px; font-size: 0.9375rem; color: var(--ink-2); }
  .co-field.set { border-color: var(--green); color: var(--ink); font-weight: 600; }
  .cal { background: #fff; border: 1px solid var(--rule); padding: 10px; }
  .cal[hidden] { display: none; }
  .cal-h { display: flex; align-items: center; margin-bottom: 8px; }
  .cal-h b { flex: 1; text-align: center; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
  .cal-h button { background: none; border: 0; font-size: 22px; line-height: 1; color: var(--green); cursor: pointer; padding: 2px 10px; }
  .cal-h button:disabled { color: #d6d1c7; cursor: default; }
  .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
  .cal-g .wd { font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); padding: 2px 0; }
  .cal-g button, .cal-g span.off { font: inherit; font-size: 0.875rem; padding: 7px 0; border: 1px solid transparent; background: none; }
  .cal-g span.off { color: #c3beb4; text-decoration: line-through; }
  .cal-g button { border-color: var(--rule); color: var(--ink); cursor: pointer; }
  .cal-g button:hover { border-color: var(--green); }
  .cal-g button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
  .co-note { margin: 0; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; }
  .co-msg { margin: 0; font-size: 0.875rem; background: #f3ead4; border-left: 3px solid var(--gold); padding: 8px 10px; }
  .co-msg[hidden] { display: none; }
  .co-pbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; background: var(--green-3); color: #fff;
    padding: 12px var(--gutter); font-weight: 600; font-size: 0.9375rem; }
  .co-pbar button { margin-left: auto; background: var(--gold); color: #fff; border: 0; font: 600 0.875rem/1 var(--sans); padding: 11px 14px; cursor: pointer; }
  @media (min-width: 720px) { .co-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 960px) {
    .co-panel { left: auto; width: min(1080px, 94vw); box-shadow: -10px 0 30px rgba(0, 0, 0, .25); }
    .co-top { padding-inline: 28px; }
    .co-body { grid-template-columns: 1.35fr 1fr; padding: 22px 28px 28px; align-items: start; }
    .co-side { position: sticky; top: 0; }
    .co-pbar { display: none; }
  }
  @media (prefers-reduced-motion: reduce) { .tile.pulse, .co-ln.flash { animation: none; } }

/* ---------- checkout panes (added for the real checkout) ---------- */
.co-pbar[hidden] { display: none; }
.co-ack { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.co-ack input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--green); }
.co-ack a { color: var(--ink); }
.co-test { margin: 0; font-size: 0.8125rem; background: #eef0ea; border-left: 3px solid var(--green); padding: 8px 10px; }
.co-review .co-ln { padding-block: 6px; }
.co-pickup-sum { border-top: 1px solid var(--rule); padding-top: 10px; font-size: 0.9375rem; line-height: 1.5; }
.co-pickup-sum b { display: block; }
.co-stripe { background: #fff; border: 1px solid var(--rule); padding: 18px; min-height: 320px; }
.co-done { max-width: 640px; margin-inline: auto; grid-template-columns: 1fr !important; }
.co-done h3 { font-size: 2rem; margin-bottom: 12px; }
.co-done p { margin: 0 0 12px; }
.co-done .btn { margin-top: 8px; }
.co-done .co-ono { font-weight: 600; letter-spacing: 0.02em; }
.co-done .co-pickup-sum { margin-bottom: 16px; }
.co-done-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.co-done-act .btn { margin-top: 0; }
.btn-order:disabled { background: #8c8a82; border-color: #8c8a82; cursor: default; }
.co-body[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
