/*
 * Shop - neutral, variable-driven primitives.
 *
 * Every colour, font, radius and shadow comes from a --shop-* variable
 * declared in the single :root block below. A host redresses the whole shop
 * by redefining those 21 variables in its own stylesheet, without overriding
 * a single template. ShopCssTest enforces it.
 */
:root{
  --shop-accent:#6b4f3f; --shop-accent-deep:#513c30; --shop-accent-soft:#b99a7d;
  --shop-surface:#faf8f5; --shop-surface-alt:#f1ece5; --shop-bg:#ffffff;
  --shop-text:#2b2320; --shop-text-muted:#6d635d; --shop-line:rgba(43,35,32,.12);
  --shop-success:#4b7a52; --shop-danger:#a33244;
  --shop-badge-bg:#efe6da; --shop-badge-text:#513c30;
  --shop-font-heading:Georgia, serif; --shop-font-body:system-ui, sans-serif; --shop-heading-style:italic;
  --shop-radius:10px; --shop-radius-lg:18px;
  --shop-shadow:0 12px 32px -14px rgba(0,0,0,.2); --shop-shadow-up:0 -8px 24px -14px rgba(0,0,0,.2); --shop-gap:1rem;
}

.shop{ color:var(--shop-text); background:var(--shop-bg); font-family:var(--shop-font-body); }
.shop h1,.shop h2,.shop h3{ font-family:var(--shop-font-heading); }
.shop a{ color:var(--shop-accent); }
/* Button-styled anchors carry their own text colour; the generic link hover
   must not repaint it dark (it turned light labels invisible on the burgundy
   fill). Exclude any anchor whose class names a button. */
.shop a:not([class*="btn"]):hover{ color:var(--shop-accent-deep); }
.shop-muted{ color:var(--shop-text-muted); }

.shop-card{ background:var(--shop-surface); border:1px solid var(--shop-line);
            border-radius:var(--shop-radius); box-shadow:var(--shop-shadow);
            padding:var(--shop-gap); }
.shop-card--flat{ box-shadow:none; }
.shop-panel{ background:var(--shop-surface-alt); border-radius:var(--shop-radius-lg);
             padding:var(--shop-gap); }
.shop-grid{ display:grid; gap:var(--shop-gap);
            grid-template-columns:repeat(auto-fill,minmax(15rem,1fr)); }

.shop-btn{ display:inline-block; background:var(--shop-accent); color:var(--shop-surface);
           border:1px solid var(--shop-accent); border-radius:var(--shop-radius);
           padding:var(--shop-gap); font-family:var(--shop-font-body); cursor:pointer; }
.shop-btn:hover,.shop-btn:focus-visible{ background:var(--shop-accent-deep);
                                         border-color:var(--shop-accent-deep); }
.shop-btn--ghost{ background:none; color:var(--shop-accent); }
.shop-btn--ghost:hover{ background:var(--shop-surface-alt); color:var(--shop-accent-deep); }
.shop-btn[disabled]{ background:var(--shop-accent-soft); border-color:var(--shop-accent-soft);
                     cursor:not-allowed; }

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

.htmx-enabled .htmx-hide{ display:none; }

.shop-badge{ display:inline-block; background:var(--shop-badge-bg); color:var(--shop-badge-text);
             border-radius:var(--shop-radius);
             padding:calc(var(--shop-gap) / 4) calc(var(--shop-gap) / 2); }

.shop-price{ font-family:var(--shop-font-body); color:var(--shop-text); }
.shop-price--old{ color:var(--shop-text-muted); text-decoration:line-through; }

.shop-alert{ border:1px solid var(--shop-line); border-radius:var(--shop-radius);
             background:var(--shop-surface); padding:var(--shop-gap); }
.shop-alert--ok{ border-color:var(--shop-success); color:var(--shop-success); }
.shop-alert--error{ border-color:var(--shop-danger); color:var(--shop-danger); }

.shop-field{ display:block; margin-bottom:var(--shop-gap); }
.shop-field > label{ display:block; color:var(--shop-text-muted); }
.shop-field input,.shop-field select,.shop-field textarea{ width:100%;
             font-family:var(--shop-font-body); color:var(--shop-text);
             background:var(--shop-bg); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius); padding:calc(var(--shop-gap) / 2); }
.shop-field input:focus-visible,.shop-field select:focus-visible,
.shop-field textarea:focus-visible{ outline:2px solid var(--shop-accent); }

.shop-table{ width:100%; border-collapse:collapse; }
.shop-table th,.shop-table td{ border-bottom:1px solid var(--shop-line);
             padding:calc(var(--shop-gap) / 2); text-align:left; }
.shop-table th{ font-family:var(--shop-font-heading); color:var(--shop-text-muted); }

/*
 * M2 — catalog & product-detail components.
 *
 * Class names come straight from the approved mockups (spec §5.2-§5.3):
 * `Miss Cake Categoría.html`, `Miss Cake Ficha de producto.html`,
 * `Miss Cake Home.html`. Every value still resolves through --shop-*; no hex,
 * no rgb()/hsl(), no font-family. Breakpoints: 1024 / 860 / 560, desktop-first.
 */

/* ===== Category hero ===== */
.cat-hero{ background:var(--shop-surface); border-bottom:1px solid var(--shop-line); }
.cat-hero-inner{ padding:calc(var(--shop-gap) * 2.5) 0 calc(var(--shop-gap) * 2.75); }
.cat-hero h1{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:500;
              font-size:clamp(42px,6vw,76px); line-height:1; letter-spacing:-.02em;
              margin-bottom:var(--shop-gap); }
.cat-hero .lede{ font-family:var(--shop-font-body); font-size:1.0625rem; line-height:1.6;
                  color:var(--shop-text-muted); max-width:560px; }

/* ===== Catalog layout (sidebar + results) ===== */
.catalog{ display:grid; grid-template-columns:262px 1fr; gap:calc(var(--shop-gap) * 2.5);
          padding:calc(var(--shop-gap) * 2.5) 0 calc(var(--shop-gap) * 5.5); align-items:start; }
/* The filter <form> must not wrap the results grid (its per-card add-to-cart
   forms would nest illegally), so its box is removed and `.side` participates
   in the `.catalog` grid directly. */
.catalog-filters-form{ display:contents; }

/* ===== Sidebar filters ===== */
.side{ position:sticky; top:124px; }
.side-head{ display:none; }
.search{ position:relative; margin-bottom:calc(var(--shop-gap) * 1.75); }
.search input{ width:100%; background:var(--shop-surface); border:1px solid var(--shop-line);
                border-radius:var(--shop-radius); padding:.8rem 1rem .8rem 2.6rem;
                font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }
.search input:focus-visible{ outline:2px solid var(--shop-accent); }
.search svg{ position:absolute; left:15px; top:50%; transform:translateY(-50%); color:var(--shop-text-muted); }
.fgroup{ border-top:1px solid var(--shop-line); padding:calc(var(--shop-gap) * 1.25) 0; }
.fgroup:first-of-type{ border-top:0; padding-top:0; }
.fgroup h4{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem;
            letter-spacing:.14em; text-transform:uppercase; color:var(--shop-text);
            margin-bottom:var(--shop-gap); }
.fopt{ display:flex; align-items:center; gap:.7rem; padding:.45rem 0; cursor:pointer;
       font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }
.fopt input{ position:absolute; opacity:0; width:1px; height:1px; }
.fbox{ width:19px; height:19px; flex:none; border:1.5px solid var(--shop-line); border-radius:var(--shop-radius);
       display:flex; align-items:center; justify-content:center; transition:.15s;
       background:var(--shop-surface); }
.fbox svg{ opacity:0; color:var(--shop-surface); transition:.15s; }
.fopt input:checked + .fbox{ background:var(--shop-accent); border-color:var(--shop-accent); }
.fopt input:checked + .fbox svg{ opacity:1; }
.fopt input:focus-visible + .fbox{ outline:2px solid var(--shop-accent); outline-offset:2px; }
.fopt .cnt{ margin-left:auto; font-family:var(--shop-font-body); font-size:.75rem; color:var(--shop-text-muted); }
.fopt:hover .fbox{ border-color:var(--shop-accent-soft); }
.fclear{ background:none; border:none; color:var(--shop-accent); font-family:var(--shop-font-body);
         font-weight:600; font-size:.75rem; padding:var(--shop-gap) 0 0; text-decoration:underline;
         cursor:pointer; }
.filter-toggle{ display:none; }

/* ===== Toolbar ===== */
.toolbar{ display:flex; align-items:center; justify-content:space-between; gap:1rem;
          margin-bottom:calc(var(--shop-gap) * 1.5); flex-wrap:wrap; }
.tb-count{ font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text-muted); }
.tb-count b{ color:var(--shop-text); font-weight:600; }
.tb-right{ display:flex; align-items:center; gap:.75rem; }
.tb-sort{ background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius);
          padding:.7rem 1rem; font-family:var(--shop-font-body); font-weight:500; font-size:.8125rem;
          color:var(--shop-text); }
.tb-sort:focus-visible{ outline:2px solid var(--shop-accent); }

/* ===== Active filter chips ===== */
.chips{ display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:calc(var(--shop-gap) * 1.375); }
.chip-active{ display:inline-flex; align-items:center; gap:.44rem; background:var(--shop-accent);
              color:var(--shop-surface); font-family:var(--shop-font-body); font-weight:500;
              font-size:.75rem; padding:.5rem .75rem; border-radius:var(--shop-radius); }
.chip-active button{ background:none; border:none; color:var(--shop-surface); font-size:.875rem;
                      line-height:1; opacity:.8; cursor:pointer; padding:0; }
.chip-active button:hover{ opacity:1; }
/* The active filter chip is a burgundy pill with cream text. The host's global
   `a:hover` (app.css, loaded last) repaints link text dark, which made the
   chip label vanish on hover. `.chips a.chip-active` (0,3,1) outweighs it and
   keeps the label cream. */
.chips a.chip-active:hover{ color:var(--shop-surface); }

/* ===== Product grid ===== */
.grid,.cats{ display:grid; gap:var(--shop-gap); grid-template-columns:repeat(var(--cols,3),1fr); }
.cats{ --cols:4; }

/* ===== Product card ===== */
.card{ background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg);
       overflow:hidden; display:flex; flex-direction:column; transition:transform .2s,box-shadow .2s;
       position:relative; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shop-shadow); }
.card-media{ position:relative; aspect-ratio:4/5; }
.card-media .ph,.card-media .placeholder{ position:absolute; inset:0; }
.card-tags{ position:absolute; top:12px; left:12px; z-index:2; display:flex; flex-direction:column;
            gap:6px; align-items:flex-start; }
.tg{ font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; line-height:1;
     letter-spacing:.1em; text-transform:uppercase; padding:6px 10px; border-radius:var(--shop-radius);
     background:var(--shop-badge-bg); color:var(--shop-badge-text); }
.tg.hot{ background:var(--shop-accent); color:var(--shop-surface); }
.tg.new{ background:var(--shop-success); color:var(--shop-surface); }
.tg.lim{ background:var(--shop-accent-soft); color:var(--shop-text); }
.tg.deal{ background:var(--shop-text); color:var(--shop-surface); }
.card-body{ padding:1.125rem 1.125rem 1.25rem; display:flex; flex-direction:column; flex:1; }
.card-plazo{ font-family:var(--shop-font-body); font-weight:500; font-size:.625rem; line-height:1;
             letter-spacing:.12em; text-transform:uppercase; color:var(--shop-success);
             display:flex; align-items:center; gap:6px; margin-bottom:.56rem; }
.card-plazo::before{ content:""; width:6px; height:6px; border-radius:var(--shop-radius); background:var(--shop-success); }
.card-plazo.slow{ color:var(--shop-accent-soft); }
.card-plazo.slow::before{ background:var(--shop-accent-soft); }
.card h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.5rem;
          line-height:1.08; margin-bottom:4px; color:var(--shop-text); }
.card .desc{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.45;
             color:var(--shop-text-muted); margin-bottom:.75rem; }
.diet{ display:flex; gap:6px; margin-bottom:.875rem; flex-wrap:wrap; }
.diet span{ font-family:var(--shop-font-body); font-weight:600; font-size:.5625rem; line-height:1;
            letter-spacing:.08em; text-transform:uppercase; color:var(--shop-success);
            border:1px solid var(--shop-success); border-radius:var(--shop-radius); padding:4px 8px; opacity:.85; }

/* ===== Star rating (Shop.review/stars) — mockup Home `.card .stars`,
   l. 142-143, and Ficha `.info .stars`, l. 92-93/309. Reused as-is
   (unscoped `.stars`) by `review/summary` and `review/card`. */
.stars{ color:var(--shop-accent-soft); font-size:.8125rem; letter-spacing:2px; }
.stars .stars-count,.stars > a{ font-family:var(--shop-font-body); font-weight:400; font-size:.6875rem;
                                 line-height:1; letter-spacing:0; color:var(--shop-text-muted);
                                 margin-left:6px; text-decoration:none; }
.card .stars{ margin-bottom:.75rem; }

.card-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; gap:.625rem; }

/* ===== Price (card) ===== */
.price{ font-family:var(--shop-font-body); font-weight:600; font-size:1.0625rem; line-height:1;
        color:var(--shop-text); }
.price .was{ font-weight:400; color:var(--shop-text-muted); text-decoration:line-through;
             margin-right:8px; font-size:.875rem; }
.price small{ display:block; font-family:var(--shop-font-body); font-weight:400; font-size:.6875rem;
              line-height:1.3; color:var(--shop-text-muted); margin-top:3px; }

/* ===== Quick-add button ===== */
.add{ background:var(--shop-text); color:var(--shop-surface); border:none; border-radius:var(--shop-radius);
      height:40px; padding:0 1rem; flex:none; display:flex; align-items:center; gap:.44rem;
      font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; line-height:1;
      cursor:pointer; transition:background .2s,transform .15s; }
.add:hover{ background:var(--shop-accent); transform:scale(1.04); }
.add.added{ background:var(--shop-success); }
.add .add-ic{ display:none; }
.add .add-done{ display:none; }
.add.added .add-label{ display:none; }
.add.added .add-done{ display:inline; }
.card.sold .add{ background:none; color:var(--shop-text-muted); border:1px solid var(--shop-line);
                  cursor:not-allowed; }
.card.sold .add:hover{ transform:none; }

/* ===== Product detail (ficha) ===== */
.pdp{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; padding:28px 0 80px; align-items:start; }

/* ===== Gallery ===== */
.gallery{ position:sticky; top:124px; }
.g-main{ position:relative; aspect-ratio:1; border-radius:var(--shop-radius-lg); overflow-x:auto;
         scroll-snap-type:x mandatory; display:flex; background:var(--shop-surface-alt); }
.g-slide{ flex:0 0 100%; scroll-snap-align:start; min-width:0; position:relative; }
.g-slide img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g-main .ph,.g-main .placeholder{ position:absolute; inset:0; }
.g-slide .placeholder{ position:absolute; inset:0; }
.g-main video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g-badge{ position:absolute; top:16px; left:16px; z-index:3; background:var(--shop-accent);
          color:var(--shop-surface); font-family:var(--shop-font-body); font-weight:600; font-size:.625rem;
          line-height:1; letter-spacing:.1em; text-transform:uppercase; padding:7px 12px;
          border-radius:var(--shop-radius); }
.g-play{ position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center;
         border:none; color:var(--shop-surface); cursor:pointer; }
.g-play::before{ content:""; position:absolute; inset:0; background:var(--shop-text); opacity:.32; }
.g-play span{ position:relative; z-index:1; width:74px; height:74px; border-radius:var(--shop-radius-lg);
              background:var(--shop-surface); color:var(--shop-accent);
              display:flex; align-items:center; justify-content:center; }
.g-thumbs{ display:grid; grid-template-columns:repeat(5,1fr); gap:.75rem; margin-top:.875rem; }
.g-thumb{ position:relative; aspect-ratio:1; border-radius:var(--shop-radius); overflow:hidden;
          border:2px solid var(--shop-bg); cursor:pointer; padding:0; background:none; }
.g-thumb .ph,.g-thumb .placeholder{ position:absolute; inset:0; }
.g-thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g-thumb.active{ border-color:var(--shop-accent); }
.g-thumb .vtag{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
                background:var(--shop-text); opacity:.85; color:var(--shop-surface); z-index:2; }

/* ===== Price block (product detail) ===== */
.price-row{ display:flex; align-items:baseline; gap:.75rem; margin-bottom:8px; }
#price-block{ margin:1rem 0 1.5rem; }
.price-now{ font-family:var(--shop-font-body); font-weight:600; font-size:2.125rem; line-height:1;
            color:var(--shop-text); }
.price-was{ font-family:var(--shop-font-body); font-weight:400; font-size:1.25rem; line-height:1;
            color:var(--shop-text-muted); text-decoration:line-through; }
.price-unit{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1; color:var(--shop-text-muted);
             margin-bottom:calc(var(--shop-gap) * 1.6); }

/* ===== Variant picker ===== */
.vgroup{ margin:0 0 1.5rem; padding:0; border:0; min-width:0; }
/* A <legend> shrinks to its content and sits on the fieldset border unless
   it is made a full-width block: without this the selected option ("S")
   runs straight into the group label ("Tamaño / racionesS"). */
.vgroup .vlabel{ display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
                 float:left; width:100%; padding:0; margin-bottom:.7rem; }
.vgroup .vlabel + *{ clear:both; }
.vgroup .vlabel h4{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem;
                     letter-spacing:.14em; text-transform:uppercase; color:var(--shop-text); }
.vgroup .vsel{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:.9375rem;
               line-height:1; color:var(--shop-accent-soft); }
.vopts{ display:flex; flex-wrap:wrap; gap:.625rem; }
.vopt{ background:var(--shop-surface); border:1.5px solid var(--shop-line); border-radius:var(--shop-radius);
       padding:.8rem 1rem; font-family:var(--shop-font-body); font-weight:500; font-size:.8125rem;
       line-height:1.2; color:var(--shop-text); display:flex; flex-direction:column; gap:3px;
       min-width:96px; transition:.15s; text-align:left; cursor:pointer; }
.vopt small{ font-family:var(--shop-font-body); font-weight:400; font-size:.6875rem; line-height:1;
             color:var(--shop-text-muted); }
.vopt:hover{ border-color:var(--shop-accent-soft); }
.vopt.sel{ border-color:var(--shop-accent); background:var(--shop-bg);
           outline:1px solid var(--shop-accent); outline-offset:-2.5px; }
.vopt.sel small{ color:var(--shop-accent); }
.vopt.disabled,.vopt:has(input:disabled){ opacity:.45; cursor:not-allowed; }

/* ===== Quantity box ===== */
.buy{ display:flex; gap:.75rem; align-items:stretch; margin:1.75rem 0 1.125rem; }
.buy .btn-primary{ flex:1; height:52px; font-size:14px; }
.buy .btn-primary .amt{ font-weight:700; }
.price-from{ display:block; font-weight:500; font-size:.75rem; line-height:1.2; color:var(--shop-text-muted);
              margin-bottom:3px; }
.price-amt{ white-space:nowrap; }
a.add{ text-decoration:none; white-space:nowrap; }
.buy-min{ margin:-.5rem 0 1.125rem; font-family:var(--shop-font-body); font-size:.8125rem; color:var(--shop-text-muted); }

/* ===== Availability alert ("avísame cuando vuelva") ===== */
.product-follow{ margin:1.75rem 0 1.125rem; padding:1.25rem; background:var(--shop-surface-alt);
  border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg); }
.product-follow .follow-lede{ font-family:var(--shop-font-heading); font-style:italic;
  font-size:1.25rem; color:var(--shop-text); margin:0 0 .875rem; }
.product-follow .follow-note{ font-size:1rem; color:var(--shop-text); margin:0; }
.product-follow .follow-note.follow-done{ color:var(--shop-success); }
.product-follow .follow-error{ font-size:.875rem; color:var(--shop-danger); margin:0 0 .5rem; }
.follow-form{ display:flex; flex-direction:column; gap:.75rem; }
.follow-field{ display:flex; flex-direction:column; gap:.375rem; }
.follow-field .follow-label{ font-size:.875rem; color:var(--shop-text-muted); }
.follow-field input{ height:48px; padding:0 1rem; font-size:1rem; color:var(--shop-text);
  background:var(--shop-bg); border:1.5px solid var(--shop-line); border-radius:var(--shop-radius); }
.follow-field input:focus{ outline:none; border-color:var(--shop-accent); }
.follow-form .btn-primary{ height:48px; }
.qtybox{ display:inline-flex; align-items:center; border:1.5px solid var(--shop-line);
         border-radius:var(--shop-radius); background:var(--shop-surface); }
.qtybox button{ background:none; border:none; width:44px; height:52px; font-size:1.125rem;
                color:var(--shop-text); cursor:pointer; }
.qtybox input{ width:2.6rem; border:none; background:none; text-align:center;
               font-family:var(--shop-font-body); font-weight:600; font-size:.9375rem; color:var(--shop-text); }
.qty{ display:inline-flex; align-items:center; border:1px solid var(--shop-line); border-radius:var(--shop-radius); }
.qty button{ background:none; border:none; width:28px; height:28px; font-size:.9375rem;
             color:var(--shop-text); cursor:pointer; }
.qty span{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; min-width:20px; text-align:center; }

/* ===== Delivery note ===== */
.deliv{ background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg);
        padding:1.125rem 1.25rem; margin-bottom:1.25rem; }
.deliv .drow{ display:flex; gap:.75rem; align-items:flex-start; padding:.5rem 0;
              font-family:var(--shop-font-body); font-size:.875rem; line-height:1.4; color:var(--shop-text); }
.deliv .drow:first-child{ padding-top:0; }
.deliv .drow:last-child{ padding-bottom:0; }
.deliv svg{ flex:none; color:var(--shop-accent); margin-top:2px; }
.deliv b{ font-weight:600; }
.deliv .ship-bar{ height:5px; border-radius:var(--shop-radius); background:var(--shop-surface-alt); overflow:hidden;
                   margin-top:8px; }
.deliv .ship-bar i{ display:block; height:100%; background:var(--shop-success); width:100%; transform:scaleX(0); transform-origin:left; transition:transform .3s; }

/* ===== Product section (recipe, allergens) ===== */
.psec{ border-top:1px solid var(--shop-line); padding:1.375rem 0; }
.psec h3{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; letter-spacing:.16em;
          text-transform:uppercase; color:var(--shop-text); margin-bottom:.875rem; }
.psec p{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.7; color:var(--shop-text-muted);
         margin:0 0 .625rem; }
.psec ul{ margin:0; padding-left:1.125rem; color:var(--shop-text-muted); font-family:var(--shop-font-body);
          font-size:.9375rem; line-height:1.7; }

/* ===== Allergen table ===== */
.allergens{ display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:.75rem;
            margin-top:6px; }
.alg{ border:1px solid var(--shop-line); border-radius:var(--shop-radius); padding:.875rem .75rem; display:flex;
      flex-direction:column; align-items:center; gap:8px; text-align:center; background:var(--shop-surface); }
.alg .ai{ font-family:var(--shop-font-body); font-weight:700; font-size:1.125rem; line-height:1;
          color:var(--shop-text-muted); }
.alg .an{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; line-height:1.2;
          color:var(--shop-text); }
.alg .as{ font-family:var(--shop-font-body); font-weight:600; font-size:.5625rem; line-height:1;
          letter-spacing:.1em; text-transform:uppercase; padding:4px 8px; border-radius:var(--shop-radius); }
.alg.has{ border-color:var(--shop-danger); }
.alg.has .as{ background:var(--shop-danger); color:var(--shop-surface); }
.alg.trace .as{ background:var(--shop-accent-soft); color:var(--shop-text); }
.alg.free{ opacity:.5; }
.alg.free .as{ background:var(--shop-surface-alt); color:var(--shop-text-muted); }
.alg.free .ai{ opacity:.6; }

/* ===== Category card ===== */
.cat{ position:relative; border-radius:var(--shop-radius-lg); overflow:hidden; aspect-ratio:3/4;
      display:flex; align-items:flex-end; padding:1.5rem; color:var(--shop-surface); isolation:isolate; }
.cat img,.cat .ph,.cat .placeholder{ position:absolute; inset:0; width:100%; height:100%; }
.cat img{ object-fit:cover; transition:transform .6s ease; }
/* The card already names the family in its own heading; the placeholder's
   art-direction label would just duplicate it, so keep only its texture. */
.cat .placeholder span{ display:none; }
.cat:hover img,.cat:focus-visible img{ transform:scale(1.05); }
.cat::after{ content:""; position:absolute; inset:0; background:var(--shop-text); opacity:.55; }
.cat-body{ position:relative; z-index:2; }
.cat h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.875rem;
         line-height:1; margin-bottom:6px; color:inherit; }
.cat .count{ font-family:var(--shop-font-body); font-weight:500; font-size:.6875rem; line-height:1;
             letter-spacing:.14em; text-transform:uppercase; opacity:.85; color:inherit; }
.cat .go{ position:absolute; z-index:2; top:20px; right:20px;
          background:var(--shop-surface); color:var(--shop-text);
          width:36px; height:36px; border-radius:var(--shop-radius); display:flex; align-items:center;
          justify-content:center; transform:rotate(-45deg); }

/* ===== Responsive: 1024 / 860 / 560, desktop-first ===== */
@media(max-width:1024px){
  .grid{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:860px){
  .catalog{ grid-template-columns:1fr; gap:0; padding-top:1.5rem; }
  .pdp{ grid-template-columns:1fr; gap:2rem; padding-top:1.125rem; }
  .gallery{ position:static; }
  .side{
    display:flex; flex-direction:column;
    position:fixed; top:0; right:0; bottom:0; width:340px; max-width:90vw;
    background:var(--shop-bg); z-index:600; padding:var(--shop-gap); overflow-y:auto;
    box-shadow:var(--shop-shadow);
    transform:translateX(100%); transition:transform .3s ease;
  }
  .side.active,.side:target{ transform:translateX(0); }
  .side-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.375rem; }
  .side-head h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.625rem;
                 line-height:1; color:var(--shop-text); }
  .side-head button{ background:none; border:none; font-size:1.75rem; line-height:1; color:var(--shop-text);
                      cursor:pointer; }
  .filter-toggle{ display:inline-flex; align-items:center; gap:.5rem; background:var(--shop-text);
                   color:var(--shop-surface); border:none; border-radius:var(--shop-radius); padding:.7rem 1.1rem;
                   font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; cursor:pointer; }
}
@media(min-width:861px){ .side-head{ display:none; } }
@media(max-width:560px){
  .grid{ grid-template-columns:repeat(2,1fr); gap:.875rem; }
  .cats{ grid-template-columns:repeat(2,1fr); gap:.875rem; }
  .card h3{ font-size:1.25rem; }
  .card .desc{ display:none; }
  form .add span{ display:none; }
  form .add.added .add-done{ display:none; }
  form .add .add-ic{ display:block; }
  form .add{ padding:0; width:40px; justify-content:center; }
  .g-thumbs{ grid-template-columns:repeat(5,1fr); gap:.5rem; }
  .price-now{ font-size:1.75rem; }
}

/*
 * M4 — delivery components.
 *
 * Class names come straight from the approved Checkout mockup (spec
 * §5.1). No hex, no rgb()/hsl(), no font-family literal outside :root
 * (ShopCssTest enforces it). Two mockup techniques don't survive that
 * test and are replaced here: the inset "selected" box-shadow ring
 * becomes an `outline` (already the pattern `.vopt.sel` uses above), and
 * circular shapes (`.mo`, its filled dot, the "today" marker) use a
 * --shop-radius* value large enough that CSS clamps it to a full circle
 * on that element's box size, rather than a literal `50%`.
 */

/* ===== Method picker ===== */
.method{ display:grid; grid-template-columns:1fr 1fr; gap:var(--shop-gap); margin-bottom:.375rem; }
.method label{ position:relative; border:1.5px solid var(--shop-line); border-radius:var(--shop-radius-lg);
               padding:1.25rem; cursor:pointer; display:flex; gap:.875rem; align-items:flex-start;
               transition:.15s; background:var(--shop-bg); }
.method label:hover{ border-color:var(--shop-accent-soft); }
.method input{ position:absolute; opacity:0; }
.method .mo{ width:22px; height:22px; flex:none; border:2px solid var(--shop-line);
             border-radius:var(--shop-radius-lg); margin-top:2px; transition:.15s; position:relative; }
.method input:checked + .mo{ border-color:var(--shop-accent); }
.method input:checked + .mo::after{ content:""; position:absolute; inset:4px;
             border-radius:var(--shop-radius-lg); background:var(--shop-accent); }
.method input:checked ~ .mtext .mt{ color:var(--shop-accent); }
.method label:has(input:checked){ border-color:var(--shop-accent); outline:1px solid var(--shop-accent);
             outline-offset:-2px; background:var(--shop-surface); }
.method .mt{ font-family:var(--shop-font-body); font-weight:600; font-size:.9375rem; line-height:1.2;
             display:flex; align-items:center; gap:8px; margin-bottom:5px; color:var(--shop-text); }
.method .mt svg{ flex:none; color:var(--shop-accent); }
.method .ms{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.45;
             color:var(--shop-text-muted); }
.method .mtag{ font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; line-height:1;
             letter-spacing:.08em; text-transform:uppercase; color:var(--shop-success); margin-top:8px;
             display:inline-block; }
.method .btn{ grid-column:1/-1; margin-top:calc(var(--shop-gap) / 2); }

/* ===== Postcode check + zone result ===== */
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:var(--shop-gap); }
.field{ display:block; margin-bottom:var(--shop-gap); }
.field label{ display:block; font-family:var(--shop-font-body); font-weight:600; font-size:.75rem;
             letter-spacing:.06em; text-transform:uppercase; color:var(--shop-text-muted);
             margin-bottom:.4rem; }
.field input,.field select,.field textarea{ width:100%; font-family:var(--shop-font-body);
             font-size:.875rem; color:var(--shop-text); background:var(--shop-bg);
             border:1px solid var(--shop-line); border-radius:var(--shop-radius); padding:.7rem .9rem; }
.field input:focus-visible{ outline:2px solid var(--shop-accent); }
.field input[readonly]{ background:var(--shop-surface); color:var(--shop-text-muted); }
.f-search{ margin-bottom:var(--shop-gap); }

.zone-result{ border-radius:var(--shop-radius); padding:.875rem 1rem; font-family:var(--shop-font-body);
             font-weight:500; font-size:.8125rem; line-height:1.5; margin-top:.375rem; display:flex;
             gap:.7rem; align-items:flex-start; background:var(--shop-surface); color:var(--shop-text); }
.zone-result svg{ flex:none; margin-top:1px; }
.zone-result.free{ background:var(--shop-surface-alt); color:var(--shop-success); }
.zone-result.paid{ background:var(--shop-surface-alt); color:var(--shop-accent-deep); }
.zone-result.err{ background:var(--shop-surface-alt); color:var(--shop-danger); }
.zone-result.none{ display:none; }

/* ===== Pickup card ===== */
.pickup-card{ display:flex; gap:1rem; background:var(--shop-bg); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius); padding:1rem; align-items:center; }
.pickup-card .pin{ width:44px; height:44px; flex:none; border-radius:var(--shop-radius);
             background:var(--shop-accent); color:var(--shop-surface); display:flex;
             align-items:center; justify-content:center; }
.pickup-card h4{ font-family:var(--shop-font-body); font-weight:600; font-size:.875rem; line-height:1.3;
             margin-bottom:3px; color:var(--shop-text); }
.pickup-card p{ margin:0; font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.45;
             color:var(--shop-text-muted); }

/* ===== Panels ===== */
.panel{ margin-top:calc(var(--shop-gap) * 1.25); }
.panel.hidden{ display:none; }

/* ===== Lead-time / seasonal notice ===== */
.lead-note{ background:var(--shop-surface); border-radius:var(--shop-radius); padding:.8rem 1rem;
             font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.5; color:var(--shop-text);
             margin-bottom:calc(var(--shop-gap) * 1.125); display:flex; gap:.7rem; align-items:flex-start; }
.lead-note svg{ flex:none; color:var(--shop-accent); margin-top:1px; }
.lead-note b{ font-weight:600; }

/* ===== Calendar ===== */
.cal{ background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg);
     padding:18px; margin-bottom:20px; }
.cal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.875rem; }
.cal-head h4{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:500; font-size:1.375rem;
             line-height:1; text-transform:capitalize; color:var(--shop-text); }
.cal-head a,.cal-head button{ background:var(--shop-surface); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius); width:32px; height:32px; display:flex; align-items:center;
             justify-content:center; color:var(--shop-text); }
.cal-head button:disabled{ opacity:.35; cursor:not-allowed; }
.cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:5px; }
.cal-dow{ font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; line-height:1;
             letter-spacing:.06em; text-transform:uppercase; color:var(--shop-text-muted);
             text-align:center; padding:6px 0; }
.cal-day{ aspect-ratio:1; border:none; background:none; border-radius:var(--shop-radius);
             font-family:var(--shop-font-body); font-weight:500; font-size:.8125rem; color:var(--shop-text);
             display:flex; align-items:center; justify-content:center; position:relative; }
.cal-day.empty{ visibility:hidden; }
.cal-day.disabled{ color:var(--shop-text-muted); opacity:.4; cursor:not-allowed; }
.cal-day.avail:hover{ background:var(--shop-surface-alt); }
.cal-day.sel{ background:var(--shop-accent); color:var(--shop-surface); }
.cal-day.today::after{ content:""; position:absolute; bottom:5px; width:4px; height:4px;
             border-radius:var(--shop-radius); background:var(--shop-accent-soft); }
.cal-day.sel.today::after{ background:var(--shop-surface); }

/* ===== Time slots ===== */
.slots-label{ font-family:var(--shop-font-body); font-weight:500; font-size:.6875rem; line-height:1;
             letter-spacing:.08em; text-transform:uppercase; color:var(--shop-accent-deep);
             margin:.25rem 0 .7rem; }
.slots{ display:grid; grid-template-columns:repeat(3,1fr); gap:.625rem; }
.slot{ border:1.5px solid var(--shop-line); background:var(--shop-bg); border-radius:var(--shop-radius);
             padding:.8rem .625rem; text-align:center; transition:.15s; }
.slot .st{ display:block; font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem;
             line-height:1.2; color:var(--shop-text); }
.slot .ss{ font-family:var(--shop-font-body); font-size:.6875rem; line-height:1; color:var(--shop-text-muted);
             margin-top:3px; display:block; }
.slot:hover{ border-color:var(--shop-accent-soft); }
.slot.sel{ border-color:var(--shop-accent); outline:1px solid var(--shop-accent); outline-offset:-2px;
             background:var(--shop-surface); }
.slot.sel .st{ color:var(--shop-accent); }
.slot.full,.slot.held,.slot:disabled{ opacity:.4; cursor:not-allowed; }

/* ===== "Today / other day" chips ===== */
.chip{ display:inline-flex; align-items:center; background:var(--shop-bg); color:var(--shop-text);
             font-family:var(--shop-font-body); font-weight:500; font-size:.75rem; padding:.5rem .875rem;
             border:1px solid var(--shop-line); border-radius:var(--shop-radius); cursor:pointer; }
.chip:hover{ border-color:var(--shop-accent-soft); }
.chip:disabled{ opacity:.4; cursor:not-allowed; }

/* ===== Delivery recap (cart summary) ===== */
.deliv-recap{ background:var(--shop-surface); border-radius:var(--shop-radius); padding:.8rem .9rem;
             margin-top:var(--shop-gap); font-family:var(--shop-font-body); font-size:.8125rem;
             line-height:1.5; color:var(--shop-text-muted); display:none; }
.deliv-recap.on{ display:block; }
.deliv-recap b{ color:var(--shop-text); }

/* ===== Order tracking ===== */
.order-tracking-status{ margin-bottom:var(--shop-gap); }
.order-tracking-meta{ display:grid; grid-template-columns:auto 1fr; gap:.4rem var(--shop-gap);
             font-family:var(--shop-font-body); font-size:.875rem; margin:var(--shop-gap) 0; }
.order-tracking-meta dt{ color:var(--shop-text-muted); }
.order-tracking-meta dd{ color:var(--shop-text); }
.track{ border-top:1px solid var(--shop-line); padding-top:var(--shop-gap); margin-top:var(--shop-gap); }
.order-tracking-total{ display:flex; justify-content:space-between; font-family:var(--shop-font-body);
             font-weight:600; margin-top:var(--shop-gap); color:var(--shop-text); }

/* ===== Responsive: 1024 / 860 / 560, desktop-first ===== */
@media(max-width:860px){
  .field-row{ grid-template-columns:1fr; }
}
@media(max-width:560px){
  .method{ grid-template-columns:1fr; }
  .slots{ grid-template-columns:1fr 1fr; }
}

/*
 * M5 — gift, box builder, voucher, add-on and personalization components.
 * Class names are the ones `templates/element/gift/*.php` and
 * `templates/element/product/personalization*.php` actually render (spec
 * §5.1-§5.2, Regalo/Checkout mockups). Same var(--shop-*)-only constraint
 * as above (ShopCssTest): no hex, no rgb()/hsl(), no font-family literal
 * outside :root. Circular/pill shapes (toggle, qty steppers, chips) use
 * --shop-radius-lg rather than a literal 50%/999px, per the M4 technique
 * above.
 */

/* ===== Gift hero ===== */
.gift-hero{ background:var(--shop-surface); padding:calc(var(--shop-gap) * 3) 0; }
.gift-hero-inner{ max-width:600px; margin:0 auto; text-align:center; }
.gift-hero h1{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); }
.gift-hero .script{ font-size:1.5rem; color:var(--shop-accent-soft); }

/* ===== Gift toggle (checkout gift step) ===== */
.gift-toggle{ display:flex; align-items:center; gap:calc(var(--shop-gap) / 2); cursor:pointer;
             margin-bottom:var(--shop-gap); }
.gift-toggle-track{ width:44px; height:24px; background:var(--shop-line); border-radius:var(--shop-radius-lg);
             position:relative; transition:background .2s; }
.gift-toggle-input:checked + .gift-toggle-track{ background:var(--shop-accent); }
.gift-toggle-thumb{ width:20px; height:20px; background:var(--shop-bg); border-radius:var(--shop-radius-lg);
             position:absolute; top:2px; left:2px; transition:transform .2s; }
.gift-toggle-input:checked + .gift-toggle-track .gift-toggle-thumb{ transform:translateX(20px); }

/* ===== Add-on grid ===== */
.addon-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:var(--shop-gap); }
.addon-card{ background:var(--shop-bg); border:1px solid var(--shop-line); border-radius:var(--shop-radius);
             padding:var(--shop-gap); text-align:center; }
.addon-card img{ width:80px; height:80px; object-fit:cover; border-radius:var(--shop-radius); margin:0 auto; }
.addon-icon{ font-size:2.5rem; display:block; margin-bottom:calc(var(--shop-gap) / 4); }
.addon-card h4,.box-slot h4{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400;
             font-size:1.0625rem; margin:calc(var(--shop-gap) / 4) 0; color:var(--shop-text); }
.addon-price{ font-family:var(--shop-font-body); font-weight:600; color:var(--shop-accent-soft); }
.addon-qty,.box-slot-qty{ display:flex; align-items:center; justify-content:center; gap:calc(var(--shop-gap) / 4);
             margin-top:calc(var(--shop-gap) / 2); }
.btn-qty{ width:28px; height:28px; border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg);
             background:var(--shop-bg); color:var(--shop-text); cursor:pointer; font-size:1rem; }
.qty-display{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; min-width:20px;
             text-align:center; color:var(--shop-text); }

/* ===== Box builder ===== */
.box-builder-layout{ display:grid; grid-template-columns:1fr 320px; gap:calc(var(--shop-gap) * 2); }
.box-builder-main{ min-width:0; }
.box-builder-products{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:var(--shop-gap); }
.cap-row{ display:flex; align-items:center; justify-content:space-between; gap:var(--shop-gap);
             flex-wrap:wrap; margin-bottom:calc(var(--shop-gap) / 2); }
.box-meter{ font-family:var(--shop-font-body); font-size:.8125rem; color:var(--shop-text-muted); }
.box-unit-price{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; color:var(--shop-accent-soft); }
.box-slot{ border:2px dashed var(--shop-line); border-radius:var(--shop-radius); padding:calc(var(--shop-gap) / 2);
             text-align:center; min-height:120px; display:flex; flex-direction:column; align-items:center;
             justify-content:center; transition:border-color .2s; }
.box-slot.filled{ border-color:var(--shop-accent); border-style:solid; }
.box-slot img{ width:80px; height:80px; object-fit:cover; border-radius:var(--shop-radius); }
.box-summary{ background:var(--shop-surface-alt); border-radius:var(--shop-radius-lg); padding:calc(var(--shop-gap) * 1.5);
             position:sticky; top:calc(var(--shop-gap) * 1.5); }
.box-summary h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.375rem;
             margin-bottom:calc(var(--shop-gap) / 2); color:var(--shop-text); }
.box-summary .cap{ font-family:var(--shop-font-body); font-size:.8125rem; color:var(--shop-text-muted);
             margin-bottom:var(--shop-gap); }
.box-summary-empty{ font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text-muted);
             text-align:center; padding:calc(var(--shop-gap) * 1.5) 0; }
.box-summary-list{ display:flex; flex-direction:column; gap:calc(var(--shop-gap) / 2); margin-bottom:var(--shop-gap); }
.box-summary-line{ font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }
.box-summary-total{ display:flex; justify-content:space-between; align-items:baseline;
             border-top:1px solid var(--shop-line); padding-top:var(--shop-gap); margin:var(--shop-gap) 0;
             font-family:var(--shop-font-body); font-weight:600; color:var(--shop-text); }
.box-summary-total .amt{ font-size:1.25rem; color:var(--shop-accent-soft); }
.box-summary .btn{ width:100%; }
.box-summary .meta{ font-family:var(--shop-font-body); font-size:.75rem; color:var(--shop-text-muted);
             text-align:center; margin-top:calc(var(--shop-gap) / 2); }

/* ===== Voucher ===== */
.voucher-form{ display:grid; grid-template-columns:minmax(0,1fr) minmax(18rem,22rem);
             gap:calc(var(--shop-gap) * 2.5); max-width:60rem; margin:0 auto; align-items:start; }
.voucher-fields{ min-width:0; }
.voucher-aside{ position:sticky; top:calc(var(--shop-gap) * 2); display:flex; flex-direction:column; }
.voucher-teaser{ display:flex; flex-direction:column; align-items:center; gap:calc(var(--shop-gap) * 1.25); }
.voucher-teaser-amounts{ display:flex; flex-wrap:wrap; gap:calc(var(--shop-gap) / 2); justify-content:center; }
.voucher-teaser .voucher-chip{ cursor:default; }
.voucher-teaser .voucher-chip-more{ border-style:dashed; color:var(--shop-text-muted); }
.voucher-teaser .btn-primary{ min-width:240px; }
.voucher-amounts{ display:flex; flex-wrap:wrap; gap:calc(var(--shop-gap) / 2); margin-bottom:calc(var(--shop-gap) * 1.5); }
.voucher-chip{ padding:calc(var(--shop-gap) / 4) var(--shop-gap); border:2px solid var(--shop-line);
             border-radius:var(--shop-radius-lg); cursor:pointer; transition:.2s; position:relative;
             font-family:var(--shop-font-body); font-weight:500; font-size:.875rem; color:var(--shop-text); }
.voucher-chip:has(input:checked){ border-color:var(--shop-accent); background:var(--shop-surface); }
/* Only the radio is visually hidden — NOT the custom number field, which the
   shopper types into (an earlier `.voucher-chip input` rule hid it too, so the
   "other amount" chip rendered as an empty circle you could not edit). */
.voucher-chip input[type="radio"]{ position:absolute; opacity:0; }
.voucher-chip-custom{ padding-top:0; padding-bottom:0; }
.voucher-chip-custom:focus-within{ border-color:var(--shop-accent); background:var(--shop-surface); }
.voucher-amount-custom-input{ border:0; background:none; width:7rem;
             padding:calc(var(--shop-gap) / 3) 0; font-family:var(--shop-font-body);
             font-size:.875rem; color:var(--shop-text); }
.voucher-amount-custom-input:focus-visible{ outline:none; }

/* ===== Personalization (product ficha) ===== */
.personalization-field{ margin-bottom:var(--shop-gap); }
.personalization-field label{ display:block; font-weight:500; margin-bottom:calc(var(--shop-gap) / 4); }
.personalization-field select,
.personalization-field input{ width:100%; padding:.75rem 1rem; border:1.5px solid var(--shop-line);
                              border-radius:var(--shop-radius); background:var(--shop-surface);
                              color:var(--shop-text); font-family:var(--shop-font-body); font-size:.9375rem; }
.personalization-field .pers-letter{ width:3rem; }
.personalization-field .required{ color:var(--shop-danger); }
.pers-price{ color:var(--shop-accent-soft); font-size:.85rem; }
.pers-help{ display:block; color:var(--shop-text-muted); font-size:.85rem; line-height:1.45;
             margin:0 0 calc(var(--shop-gap) / 2); }
.pers-letter{ width:3rem; text-align:center; font-size:1.25rem; }

/* ===== Gift card form (cart/checkout) ===== */
.gift-card-form{ margin-top:var(--shop-gap); }
.gift-card-form .input-group{ display:flex; gap:calc(var(--shop-gap) / 2); }
.gift-card-form .input-group input{ flex:1; font-family:var(--shop-font-body); font-size:.875rem;
             color:var(--shop-text); background:var(--shop-bg); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius); padding:.7rem .9rem; }
.gift-card-applied{ display:flex; align-items:center; gap:calc(var(--shop-gap) / 2); padding:calc(var(--shop-gap) / 2);
             background:var(--shop-surface-alt); border-radius:var(--shop-radius); font-family:var(--shop-font-body);
             font-size:.875rem; color:var(--shop-text); }
.gift-card-balance{ font-weight:600; color:var(--shop-accent-soft); }

/* ===== Balance check ===== */
.balance-page{ max-width:480px; margin:0 auto; padding:calc(var(--shop-gap) * 3) 0; }
.balance-result{ text-align:center; padding:calc(var(--shop-gap) * 2); background:var(--shop-surface-alt);
             border-radius:var(--shop-radius-lg); margin-top:calc(var(--shop-gap) * 1.5); }
.balance-amount{ font-family:var(--shop-font-body); font-size:2rem; font-weight:700; color:var(--shop-accent-soft); }

/* ===== Responsive: 1024 / 860 / 560, desktop-first ===== */
@media(max-width:1024px){
  .box-builder-layout{ grid-template-columns:1fr; }
  .box-summary{ position:static; }
}
@media(max-width:860px){
  /* Box builder: pin the total + "add to cart" to the bottom on phones so the
     shopper never loses them while filling the box; the redundant name/list
     collapse away (the product steppers already show what's chosen). */
  .box-summary{ position:fixed; left:0; right:0; bottom:0; top:auto; z-index:900; margin:0;
                border-radius:0;
                box-shadow:var(--shop-shadow-up); padding:var(--shop-gap); }
  .box-summary h3, .box-summary .cap, .box-summary-list, .box-summary-empty{ display:none; }
  .box-builder-page{ padding-bottom:9rem; }
  /* Voucher: the two-column form (fields + sticky preview) collapses to a
     single centred column; the preview follows the fields inline. */
  .voucher-form{ grid-template-columns:1fr; max-width:34rem; }
  .voucher-aside{ position:static; }
}
@media(max-width:560px){
  .addon-grid{ grid-template-columns:repeat(2,1fr); }
  .voucher-amounts{ justify-content:center; }
}

/* ===== Page head (cart, account, generic) ===== */
.page-head{ padding:34px 0 8px; }
.page-head .crumbs{ font-family:var(--shop-font-body); font-size:.75rem; letter-spacing:.06em;
                    color:var(--shop-text-muted); margin-bottom:14px;
                    white-space:nowrap; overflow-x:auto; scrollbar-width:none; }
.page-head .crumbs::-webkit-scrollbar{ display:none; }
.page-head .crumbs a{ color:var(--shop-text-muted); }
.page-head h1{ font-family:var(--shop-font-heading); font-weight:500; font-style:var(--shop-heading-style);
               font-size:clamp(2.5rem,5vw,4.25rem); line-height:1; letter-spacing:-.02em; }

/* ===== Cart page ===== */
.cart-layout{ display:grid; grid-template-columns:1fr 380px; gap:2.5rem; padding:1.5rem 0 5.5rem; align-items:start; }
.cart-main{ min-width:0; }
.cart-lines-card{ background:var(--shop-surface); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius-lg); overflow:hidden; }
.cl-headrow{ display:grid; grid-template-columns:1fr 132px 120px; gap:1rem; padding:1rem 1.5rem;
             border-bottom:1px solid var(--shop-line); font-family:var(--shop-font-body); font-size:.6875rem;
             font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--shop-text-muted); }
.cl-headrow span:nth-child(2){ text-align:center; }
.cl-headrow span:nth-child(3){ text-align:right; }
.crow{ display:grid; grid-template-columns:1fr 132px 120px; gap:1rem; padding:1.375rem 1.5rem;
       border-bottom:1px solid var(--shop-line); align-items:center; }
.crow:last-child{ border-bottom:0; }
.cprod{ display:flex; gap:1rem; align-items:center; min-width:0; }
.cprod-thumb{ width:74px; height:88px; flex:none; border-radius:var(--shop-radius); }
.dline-thumb{ width:56px; height:64px; flex:none; border-radius:var(--shop-radius); }
a.cprod-thumb,a.dline-thumb{ overflow:hidden; display:block; }
.cprod-thumb img,.dline-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.cprod h3{ font-family:var(--shop-font-heading); font-weight:400; font-style:var(--shop-heading-style);
           font-size:1.4375rem; line-height:1.05; margin-bottom:3px; }
.cprod .var{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.4; color:var(--shop-text-muted); }
.cprod .plazo{ font-family:var(--shop-font-body); font-size:.625rem; font-weight:500; letter-spacing:.1em;
               text-transform:uppercase; color:var(--shop-success); display:inline-flex; align-items:center;
               gap:6px; margin-top:7px; }
.cprod .plazo::before{ content:""; width:6px; height:6px; border-radius:var(--shop-radius-lg); background:var(--shop-success); }
.cprod .plazo.slow{ color:var(--shop-text-muted); }
.cprod .plazo.slow::before{ background:var(--shop-accent-soft); }
.cprod .rm,.rm{ background:none; border:none; color:var(--shop-text-muted); font-family:var(--shop-font-body);
                font-size:.75rem; text-decoration:underline; padding:6px 0 0; display:inline-block; cursor:pointer; }
.cprod .rm:hover,.rm:hover{ color:var(--shop-accent); }
.qty{ display:inline-flex; align-items:center; border:1.5px solid var(--shop-line);
      border-radius:var(--shop-radius-lg); background:var(--shop-surface-alt); margin:0 auto; }
.qty button,.qtym{ background:none; border:none; width:36px; height:40px; font-size:1rem; color:var(--shop-text); cursor:pointer; }
.qty span{ font-family:var(--shop-font-body); font-size:.875rem; font-weight:600; min-width:24px; text-align:center; }
.cprice{ text-align:right; font-family:var(--shop-font-body); font-size:1.0625rem; font-weight:600; line-height:1.3; }
.cprice small{ display:block; font-size:.75rem; font-weight:400; color:var(--shop-text-muted); }
.cart-empty{ padding:5rem 1.5rem; text-align:center; color:var(--shop-text-muted); }
.cart-empty .script{ font-size:2.75rem; color:var(--shop-accent); display:block; margin-bottom:6px; }
.cart-actions{ display:flex; justify-content:space-between; align-items:center; margin-top:1.25rem; gap:.875rem; flex-wrap:wrap; }

/* ===== Cart / checkout summary ===== */
.summary{ background:var(--shop-surface); border:1px solid var(--shop-line);
          border-radius:var(--shop-radius-lg); padding:1.625rem; position:sticky; top:124px; }
.summary h2{ font-family:var(--shop-font-heading); font-weight:400; font-style:var(--shop-heading-style);
             font-size:1.875rem; line-height:1; margin-bottom:1.125rem; }
.ship-prog{ background:var(--shop-surface-alt); border-radius:var(--shop-radius); padding:.875rem 1rem; margin-bottom:1.25rem; }
.ship-prog .t{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.4; color:var(--shop-text-muted); margin-bottom:9px; }
.ship-prog .t b{ color:var(--shop-accent); font-weight:600; }
.ship-prog .bar{ height:6px; border-radius:var(--shop-radius-lg); background:var(--shop-surface); overflow:hidden; }
.ship-prog .bar i{ display:block; height:100%; background:var(--shop-accent); width:100%; transform:scaleX(var(--meter-pct,0)); transform-origin:left; transition:transform .35s; }
/* Minimum-order meter: a requirement (blocks checkout), not a perk, so an
   unmet minimum reads in the danger colour. Once met it looks like any meter. */
.ship-prog.min:not(.is-met){ background:var(--shop-badge-bg); }
.ship-prog.min:not(.is-met) .t b{ color:var(--shop-danger); }
.ship-prog.min:not(.is-met) .bar i{ background:var(--shop-danger); }
.coupon{ display:flex; gap:8px; margin-bottom:1.25rem; }
.coupon input{ flex:1; background:var(--shop-surface-alt); border:1px solid var(--shop-line);
               border-radius:var(--shop-radius); padding:.75rem .875rem; font-family:var(--shop-font-body);
               font-size:.875rem; text-transform:uppercase; letter-spacing:.04em; }
.coupon input:focus{ outline:none; border-color:var(--shop-accent); }
.coupon button{ background:var(--shop-text); color:var(--shop-surface); border:none; border-radius:var(--shop-radius);
                padding:0 1.125rem; font-family:var(--shop-font-body); font-size:.75rem; font-weight:600; cursor:pointer; }
.coupon button:hover{ background:var(--shop-accent); }
.coupon-msg{ font-family:var(--shop-font-body); font-size:.75rem; font-weight:500; line-height:1.4; margin:-12px 0 1rem; min-height:16px; }
.coupon-msg.ok{ color:var(--shop-success); }
.coupon-msg.err{ color:var(--shop-danger); }
.srow{ display:flex; justify-content:space-between; align-items:baseline; padding:9px 0;
       font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.4; color:var(--shop-text-muted); }
.srow .v{ font-weight:500; color:var(--shop-text); }
.srow.disc .v{ color:var(--shop-success); }
.srow.muted{ font-size:.8125rem; color:var(--shop-text-muted); }
.stotal{ display:flex; justify-content:space-between; align-items:baseline; border-top:1px solid var(--shop-line);
         margin-top:10px; padding-top:1rem; font-family:var(--shop-font-body); font-size:1rem; font-weight:600; color:var(--shop-text); }
.stotal .amt{ font-size:1.75rem; }
.summary .btn-primary{ width:100%; margin-top:1.25rem; }
.summary .note{ font-family:var(--shop-font-body); font-size:.75rem; line-height:1.5;
                color:var(--shop-text-muted); text-align:center; margin-top:12px; }
.summary-toggle{ display:flex; align-items:baseline; gap:.5rem; width:100%; text-align:left;
                border:none; background:none; padding:1rem 0 0; margin-top:10px;
                border-top:1px solid var(--shop-line); cursor:default;
                font-family:var(--shop-font-body); font-size:1rem; font-weight:600; color:var(--shop-text); }
.summary-toggle .amt{ font-size:1.75rem; margin-left:auto; }
.summary-chevron{ display:none; flex:none; align-self:center; color:var(--shop-text-muted); }

@media(max-width:860px){
  .cart-layout{ grid-template-columns:1fr; gap:1.5rem; padding-bottom:7rem; }
  .summary{ position:fixed; left:0; right:0; bottom:0; top:auto; z-index:900; margin:0;
            max-height:82vh; overflow-y:auto;
            border-radius:0; border-bottom:none;
            box-shadow:var(--shop-shadow-up); }
  .summary-detail{ display:none; }
  .summary.is-open .summary-detail{ display:block; margin-bottom:var(--shop-gap); }
  .summary-toggle{ cursor:pointer; border-top:none; margin-top:0; padding-top:0; }
  .summary-chevron{ display:block; transition:transform .2s ease; }
  .summary.is-open .summary-chevron{ transform:rotate(180deg); }
  .cl-headrow{ display:none; }
  .crow{ grid-template-columns:1fr auto; gap:.75rem; }
  .cprice{ grid-column:1 / -1; text-align:left; }
}

/* ===== Shared front-office form utilities (auth, account, checkout, delivery) ===== */
.link-sm{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; color:var(--shop-accent); text-decoration:none; }
.link-sm:hover{ color:var(--shop-accent-deep); text-decoration:underline; }
.link-danger{ color:var(--shop-danger); }
.field-error{ display:block; font-family:var(--shop-font-body); font-size:.75rem; line-height:1.4; color:var(--shop-danger); margin-top:.3rem; }
.text-right{ text-align:right; }
.text-muted{ color:var(--shop-text-muted); }
small.text-muted{ display:block; font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.3; }

/* ===== Auth (login/register/recover) ===== */
.auth-form{ width:100%; max-width:420px; margin:0 auto; background:var(--shop-surface);
            border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg);
            box-shadow:var(--shop-shadow); padding:2.5rem 2.25rem; }
.auth-tabs{ display:flex; gap:.375rem; background:var(--shop-surface-alt); padding:5px;
            border-radius:var(--shop-radius-lg); margin-bottom:1.875rem; }
.auth-tabs .tab{ flex:1; text-align:center; text-decoration:none; padding:.6875rem;
                 border-radius:var(--shop-radius-lg); font-family:var(--shop-font-body);
                 font-weight:600; font-size:.75rem; letter-spacing:.04em;
                 color:var(--shop-text-muted); transition:.15s; }
.auth-tabs .tab:hover{ color:var(--shop-text); }
.auth-tabs .tab.active{ background:var(--shop-accent); color:var(--shop-surface); }
.auth-form h1,.auth-form h2{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style);
            font-weight:500; font-size:clamp(1.75rem,4vw,2.25rem); line-height:1;
            letter-spacing:-.02em; color:var(--shop-text); margin-bottom:.375rem; }
.auth-form > p{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.5;
            color:var(--shop-text-muted); margin-bottom:1.625rem; }
.auth-form form label{ display:block; margin-bottom:.9375rem; }
.auth-form form > label:not(.checkbox) > span{ display:block; font-family:var(--shop-font-body);
            font-weight:500; font-size:.6875rem; letter-spacing:.1em; text-transform:uppercase;
            color:var(--shop-accent-soft); margin-bottom:.4375rem; }
.auth-form input[type=email],.auth-form input[type=password],
.auth-form input[type=text],.auth-form input[type=tel]{ width:100%; background:var(--shop-surface-alt);
            border:1px solid var(--shop-line); border-radius:var(--shop-radius); padding:.875rem .9375rem;
            font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }
.auth-form input[type=email]:focus,.auth-form input[type=password]:focus,
.auth-form input[type=text]:focus,.auth-form input[type=tel]:focus{ outline:none;
            border-color:var(--shop-accent); background:var(--shop-bg); }
.auth-form .form-row{ display:flex; justify-content:space-between; align-items:center; margin:-.25rem 0 1.125rem; }
.auth-form label.checkbox{ display:flex; align-items:center; gap:.5625rem; margin-bottom:1.125rem; cursor:pointer; }
.auth-form label.checkbox > span{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.4;
            color:var(--shop-text-muted); }
.auth-form label.checkbox input[type=checkbox]{ flex:none; width:16px; height:16px; accent-color:var(--shop-accent); }
.auth-form .form-row label.checkbox{ margin-bottom:0; }
.auth-form form .btn-primary{ width:100%; margin-top:.375rem; }
.auth-divider{ display:flex; align-items:center; gap:.875rem; margin:1.375rem 0;
               color:var(--shop-text-muted); font-family:var(--shop-font-body); font-weight:500;
               font-size:.6875rem; letter-spacing:.1em; text-transform:uppercase; }
.auth-divider::before,.auth-divider::after{ content:""; flex:1; height:1px; background:var(--shop-line); }
.auth-divider span{ flex:none; }
.btn-google{ display:flex; align-items:center; justify-content:center; gap:.5rem; width:100%;
             background:var(--shop-bg); color:var(--shop-text); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius-lg); padding:.9375rem 1.625rem; font-family:var(--shop-font-body);
             font-weight:600; font-size:.9375rem; text-decoration:none; cursor:pointer; transition:.15s; }
.btn-google:hover{ background:var(--shop-surface-alt); color:var(--shop-text); }
.form-msg{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.5;
           border-radius:var(--shop-radius); padding:.75rem .875rem; margin-bottom:1.125rem;
           background:var(--shop-surface-alt); color:var(--shop-text); }
.form-msg.err{ color:var(--shop-danger); }
.form-msg.ok{ color:var(--shop-success); }
.auth-recover > .link-sm,.auth-reset > .link-sm{ display:inline-block; margin-top:1rem; }
.auth-recover .btn-ghost{ display:inline-block; width:100%; margin-top:1rem; }
@media(max-width:860px){ .auth-form{ padding:2rem 1.5rem; } }

/* ===== Account (dashboard, addresses, orders, details) ===== */
.table{ width:100%; border-collapse:collapse; }
.table th,.table td{ padding:.75rem .5rem; text-align:left; border-bottom:1px solid var(--shop-line); }
.table th{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; line-height:1;
           letter-spacing:.06em; text-transform:uppercase; color:var(--shop-text-muted); }
.table td{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.4; color:var(--shop-text); }
.table .text-right{ text-align:right; }
.table tfoot td{ border-bottom:0; }
.order-row:hover{ background:var(--shop-surface); }
.order-row td a{ font-family:var(--shop-font-body); font-weight:600; color:var(--shop-accent); }
.order-row td a:hover{ color:var(--shop-accent-deep); }
.row-total td{ border-top:1px solid var(--shop-line); padding-top:.875rem; font-family:var(--shop-font-body); }
.badge{ display:inline-flex; align-items:center; gap:.375rem; white-space:nowrap;
        font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; line-height:1;
        letter-spacing:.08em; text-transform:uppercase; padding:.375rem .6875rem;
        border-radius:var(--shop-radius-lg); background:var(--shop-badge-bg); color:var(--shop-badge-text); }
.badge::before{ content:""; width:6px; height:6px; flex:none; border-radius:var(--shop-radius-lg); background:currentColor; }
.badge-pending_payment,.badge-cancelled,.badge-refunded{ background:var(--shop-surface-alt); color:var(--shop-text-muted); }
.badge-payment_failed{ background:var(--shop-surface-alt); color:var(--shop-danger); }
.badge-preparing,.badge-ready{ background:var(--shop-surface-alt); color:var(--shop-accent-deep); }
.badge-paid,.badge-shipped,.badge-delivered{ background:var(--shop-surface-alt); color:var(--shop-success); }
.order-meta{ margin:1.25rem 0; }
.order-meta dl{ display:grid; grid-template-columns:auto 1fr; gap:.4rem 1rem; margin:0; font-family:var(--shop-font-body); font-size:.875rem; }
.order-meta dt{ font-family:var(--shop-font-body); font-weight:600; color:var(--shop-text-muted); }
.order-meta dd{ margin:0; color:var(--shop-text); }
.order-timeline{ list-style:none; margin:1.125rem 0 1.5rem; padding:0; display:flex; flex-direction:column; gap:.875rem; }
.order-timeline li{ display:flex; align-items:flex-start; gap:.75rem; flex-wrap:wrap; }
.tl-dot{ width:20px; height:20px; flex:none; margin-top:2px; position:relative;
         border:2px solid var(--shop-line); border-radius:var(--shop-radius-lg); background:var(--shop-bg); }
.order-timeline li.done .tl-dot{ background:var(--shop-success); border-color:var(--shop-success); }
.order-timeline li.done .tl-dot::after{ content:"\2713"; position:absolute; inset:0; text-align:center;
         font-family:var(--shop-font-body); font-weight:700; font-size:11px; line-height:16px; color:var(--shop-surface); }
.tl-label{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; line-height:1.2; color:var(--shop-text); }
.order-timeline li.current .tl-label{ color:var(--shop-accent); }
.tl-tracking{ flex-basis:100%; margin-left:2rem; display:flex; flex-direction:column; gap:.25rem;
              font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.5; color:var(--shop-text-muted); }
.tl-tracking a{ color:var(--shop-accent); }
.tl-tracking a:hover{ color:var(--shop-accent-deep); }
.address-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.125rem; }

/* ===== Saved cards (card-on-file) ===== */
.account-intro{ color:var(--shop-text-muted); font-size:.9375rem; margin:0 0 1.125rem; }
.account-empty{ color:var(--shop-text-muted); font-size:.9375rem; margin:0; }
.card-grid{ display:flex; flex-direction:column; gap:.875rem; }
.saved-card{ display:flex; align-items:center; justify-content:space-between; gap:1rem;
             background:var(--shop-surface); border:1px solid var(--shop-line);
             border-radius:var(--shop-radius-lg); padding:1.125rem 1.375rem; }
.saved-card.default{ border-color:var(--shop-accent); outline:1px solid var(--shop-accent); outline-offset:-2px; }
.saved-card .card-face{ display:flex; align-items:baseline; gap:.75rem; }
.saved-card .card-brand{ font-weight:600; color:var(--shop-text); }
.saved-card .card-mask{ color:var(--shop-text-muted); }
.saved-card .card-exp{ color:var(--shop-text-muted); font-size:.8125rem; }
.saved-card .card-actions{ display:flex; align-items:center; gap:1rem; }
.saved-card .card-actions form{ margin:0; }
.saved-card .card-default-tag{ font-size:.75rem; letter-spacing:.08em; text-transform:uppercase;
                               color:var(--shop-accent); }
.save-card-opt{ display:flex; align-items:center; gap:.625rem; margin:.875rem 0 1.125rem;
                font-size:.9375rem; color:var(--shop-text); }
.save-card-opt input{ flex:none; accent-color:var(--shop-accent); }
.address-card{ position:relative; background:var(--shop-surface); border:1px solid var(--shop-line);
               border-radius:var(--shop-radius-lg); padding:1.375rem; }
.address-card.default{ border-color:var(--shop-accent); outline:1px solid var(--shop-accent); outline-offset:-2px; }
.addr-label{ font-family:var(--shop-font-body); font-weight:600; font-size:.875rem; line-height:1.2; color:var(--shop-text); margin-bottom:.625rem; }
.address-card p{ margin:0; font-family:var(--shop-font-body); font-size:.875rem; line-height:1.6; color:var(--shop-text-muted); }
.address-card p strong{ font-weight:600; color:var(--shop-text); }
.address-card .addr-phone{ margin-top:.375rem; }
.addr-default{ position:absolute; top:1.375rem; right:1.375rem; font-family:var(--shop-font-body); font-weight:600;
               font-size:.625rem; line-height:1; letter-spacing:.08em; text-transform:uppercase; color:var(--shop-accent);
               background:var(--shop-surface-alt); border-radius:var(--shop-radius-lg); padding:.3125rem .625rem; }
.addr-actions{ display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; margin-top:1rem; }
.addr-actions form{ margin:0; }
.addr-actions .link-sm,.addr-actions button{ background:none; border:none; padding:0; cursor:pointer;
                      font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; color:var(--shop-accent); }
.addr-actions .link-sm:hover,.addr-actions button:hover{ text-decoration:underline; }
.addr-actions .link-danger{ color:var(--shop-danger); }
.address-card-new{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.625rem;
                   min-height:150px; text-align:center; background:none; cursor:pointer;
                   border:1.5px dashed var(--shop-line); border-radius:var(--shop-radius-lg);
                   font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; color:var(--shop-accent-deep); }
.address-card-new:hover{ border-color:var(--shop-accent); color:var(--shop-accent); background:var(--shop-surface); }
.add-icon{ width:42px; height:42px; flex:none; display:flex; align-items:center; justify-content:center;
           border-radius:var(--shop-radius-lg); background:var(--shop-surface-alt); font-size:1.5rem; line-height:1; }
.details-form,.password-form,.address-form{ max-width:640px; }
.details-form label,.password-form label,.address-form label{ display:block; margin-bottom:.9375rem; }
.details-form label > span,.password-form label > span,.address-form label > span{ display:block;
           font-family:var(--shop-font-body); font-weight:500; font-size:.6875rem; line-height:1;
           letter-spacing:.1em; text-transform:uppercase; color:var(--shop-accent-deep); margin-bottom:.4375rem; }
.details-form input,.password-form input,.address-form input,.address-form textarea{ width:100%; font-family:var(--shop-font-body);
           font-size:.875rem; line-height:1.4; color:var(--shop-text); background:var(--shop-bg);
           border:1px solid var(--shop-line); border-radius:var(--shop-radius); padding:.8125rem .875rem; }
.details-form input:focus-visible,.password-form input:focus-visible,
.address-form input:focus-visible,.address-form textarea:focus-visible{ outline:2px solid var(--shop-accent); }
.address-form h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.5rem; line-height:1; margin-bottom:1.125rem; color:var(--shop-text); }
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:.875rem; }
.details-form + hr{ border:none; border-top:1px solid var(--shop-line); margin:1.75rem 0; }
.details-form .checkbox-label{ display:flex; align-items:center; gap:.5rem; margin-top:.25rem; }
.details-form .checkbox-label input{ width:auto; }
.details-form .checkbox-label > span{ font-family:var(--shop-font-body); font-weight:400; font-size:.875rem;
           line-height:1.4; letter-spacing:0; text-transform:none; color:var(--shop-text); margin-bottom:0; }
.alert{ font-family:var(--shop-font-body); font-size:.875rem; line-height:1.4; margin-bottom:1rem;
        padding:.875rem 1rem; border:1px solid var(--shop-line); border-radius:var(--shop-radius);
        background:var(--shop-surface); color:var(--shop-text); }
.alert-success{ border-color:var(--shop-success); color:var(--shop-success); }
.alert-error{ border-color:var(--shop-danger); color:var(--shop-danger); }
.product-grid{ display:grid; gap:var(--shop-gap); grid-template-columns:repeat(3,1fr); }
.fav-wrap{ position:relative; }
.fav-form{ margin:0; }
.fav-btn{ display:inline-flex; align-items:center; justify-content:center; width:2.5rem; height:2.5rem;
          padding:0; border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg); background:var(--shop-surface);
          color:var(--shop-text-muted); font-size:1.15rem; line-height:1; cursor:pointer;
          box-shadow:var(--shop-shadow); transition:color .15s, transform .15s; }
.fav-btn:hover{ color:var(--shop-accent); transform:scale(1.08); }
.fav-btn.active{ color:var(--shop-accent); border-color:var(--shop-accent); }
.card-fav{ position:absolute; top:12px; right:12px; z-index:3; }
.ficha-fav{ margin:calc(var(--shop-gap) / 2) 0 var(--shop-gap); }
@media(max-width:1024px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:860px){ .form-row-2{ grid-template-columns:1fr; } }
@media(max-width:560px){
  .address-grid{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .addr-default{ top:1rem; right:1rem; }
}

/* ===== Checkout / delivery / payment / confirmation ===== */
.checkout-layout{ display:grid; grid-template-columns:1fr 400px; gap:2.75rem; padding:1.25rem 0 5.5rem; align-items:start; }
.checkout-form{ min-width:0; }
.checkout-summary{ min-width:0; }
.checkout-steps{ list-style:none; margin:1rem 0 .25rem; padding:0; display:flex; flex-wrap:nowrap;
                 align-items:center; gap:.625rem; overflow-x:auto; scrollbar-width:none; }
.checkout-steps::-webkit-scrollbar{ display:none; }
.checkout-steps__label{ white-space:nowrap; }
.checkout-steps__item{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--shop-font-body);
                       font-weight:600; font-size:.75rem; letter-spacing:.04em; color:var(--shop-text-muted); }
.checkout-steps__item:not(:last-child)::after{ content:""; width:20px; height:1px; background:var(--shop-line); margin-left:.25rem; }
.checkout-steps__item--active{ color:var(--shop-accent); }
.checkout-steps__item--done{ color:var(--shop-success); }
.checkout-steps__number{ width:22px; height:22px; flex:none; border-radius:var(--shop-radius-lg);
                       background:var(--shop-surface-alt); color:var(--shop-text-muted);
                       display:flex; align-items:center; justify-content:center; font-family:var(--shop-font-body); font-weight:600; font-size:.6875rem; }
.checkout-steps__item--active .checkout-steps__number{ background:var(--shop-accent); color:var(--shop-surface); }
.checkout-steps__item--done .checkout-steps__number{ background:var(--shop-success); color:var(--shop-surface); }
.checkout-section-head{ display:flex; align-items:center; gap:.75rem; margin:2.25rem 0 1.25rem;
                        font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400;
                        font-size:1.75rem; line-height:1; color:var(--shop-text); }
.checkout-form form > .checkout-section-head:first-child{ margin-top:0; }
.checkout-section-head__number{ width:30px; height:30px; flex:none; border-radius:var(--shop-radius-lg);
                        background:var(--shop-accent); color:var(--shop-surface); display:flex;
                        align-items:center; justify-content:center; font-family:var(--shop-font-body); font-weight:600; font-size:.875rem; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 var(--shop-gap); }
.checkout-form .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:0 var(--shop-gap); }
.radio-card{ display:flex; align-items:center; gap:.75rem; border:1.5px solid var(--shop-line);
             border-radius:var(--shop-radius); padding:1rem 1.125rem; cursor:pointer; background:var(--shop-bg);
             font-family:var(--shop-font-body); font-size:.9375rem; color:var(--shop-text); transition:.15s; }
.radio-card:hover{ border-color:var(--shop-accent-soft); }
.radio-card input{ flex:none; accent-color:var(--shop-accent); }
.radio-card.selected,.radio-card:has(input:checked){ border-color:var(--shop-accent); background:var(--shop-surface-alt);
             outline:1px solid var(--shop-accent); outline-offset:-2px; }
.delivery-methods{ display:grid; grid-template-columns:1fr 1fr; gap:var(--shop-gap); margin-bottom:var(--shop-gap); }
.payment-options{ display:flex; flex-direction:column; gap:.625rem; margin-bottom:var(--shop-gap); }
.checkout-hint{ background:var(--shop-surface-alt); border:1px dashed var(--shop-line); border-radius:var(--shop-radius);
                padding:1.125rem; text-align:center; font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.5; color:var(--shop-text-muted); }
.postcode-check{ display:block; margin-top:.25rem; }
.btn--primary{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
               background:var(--shop-accent); color:var(--shop-surface); border:1px solid var(--shop-accent);
               border-radius:var(--shop-radius-lg); padding:.875rem 1.625rem; font-family:var(--shop-font-body);
               font-weight:600; font-size:.9375rem; line-height:1; cursor:pointer; text-decoration:none; transition:background .2s, transform .15s; }
.btn--primary:hover,.btn--primary:focus-visible{ background:var(--shop-accent-deep); border-color:var(--shop-accent-deep); transform:translateY(-1px); }
.btn--primary[disabled],.btn--primary:disabled{ background:var(--shop-accent-soft); border-color:var(--shop-accent-soft); cursor:not-allowed; transform:none; }
.checkout-form .btn--primary{ margin-top:1.25rem; }
.error{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.4; color:var(--shop-danger); margin:0; }
.delivery-method,.delivery-when,.delivery-date,.delivery-zone,.delivery-slot-confirmed{ font-family:var(--shop-font-body); font-size:.8125rem; color:var(--shop-text-muted); }
.delivery-method p,.delivery-when p{ margin:0; }
.delivery-calendar-page,.delivery-slots-page{ max-width:560px; margin:0 auto; padding:1.5rem 0 5rem; }
.delivery-calendar-page .btn-ghost,.delivery-slots-page .btn-ghost{ margin-top:1rem; }
.delivery-slots-page .link-sm{ display:inline-block; margin:.5rem 0; }
.payment-redirect{ max-width:480px; margin:0 auto; padding:4rem 0; text-align:center; font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.6; color:var(--shop-text-muted); }
.payment-redirect p{ margin:0 0 1rem; }
.confirmation{ max-width:640px; margin:0 auto; padding:.5rem 0 5rem; }
.confirmation-message{ background:var(--shop-surface); border:1px solid var(--shop-success);
                       border-radius:var(--shop-radius); padding:1.25rem 1.5rem; margin-bottom:1.5rem; }
.confirmation-message p{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.6; color:var(--shop-text); margin:0 0 .5rem; }
.confirmation-message p:last-child{ margin-bottom:0; }
.confirmation-details{ margin-bottom:1.5rem; }
.order-summary-table{ width:100%; border-collapse:collapse; font-family:var(--shop-font-body); }
.order-summary-table td{ padding:.6rem 0; border-bottom:1px solid var(--shop-line); font-size:.9375rem; color:var(--shop-text); }
.order-summary-table td:first-child{ color:var(--shop-text-muted); }
.order-summary-table td:last-child{ text-align:right; }
.order-summary-table tr:last-child td{ border-bottom:0; font-weight:600; color:var(--shop-text); }
.order-items-table{ width:100%; border-collapse:collapse; font-family:var(--shop-font-body); margin-top:.5rem; }
.order-items-table th{ text-align:left; font-family:var(--shop-font-body); font-weight:600; font-size:.6875rem;
                       letter-spacing:.08em; text-transform:uppercase; color:var(--shop-text-muted); padding:.6rem .75rem; border-bottom:1px solid var(--shop-line); }
.order-items-table th:nth-child(2){ text-align:center; }
.order-items-table th:last-child{ text-align:right; }
.order-items-table td{ padding:.75rem; border-bottom:1px solid var(--shop-line); font-size:.875rem; color:var(--shop-text); }
.order-items-table td:nth-child(2){ text-align:center; }
.order-items-table td:last-child{ text-align:right; white-space:nowrap; }
.order-items-table tr:last-child td{ border-bottom:0; }
@media(max-width:860px){
  .checkout-layout{ grid-template-columns:1fr; gap:1.5rem; }
  .form-grid,.checkout-form .form-row{ grid-template-columns:1fr; }
}
@media(max-width:560px){ .delivery-methods{ grid-template-columns:1fr; } }

/* ===== Reviews + related products ===== */
.review-summary{ display:grid; grid-template-columns:auto 1fr; gap:2rem; align-items:center; margin:1rem 0 1.5rem; }
.review-summary-score{ display:flex; flex-direction:column; align-items:center; gap:.35rem; text-align:center; }
.review-summary-avg{ font-family:var(--shop-font-heading); font-size:3rem; line-height:1; color:var(--shop-text); }
.review-summary-bars{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.4rem; }
.review-summary-bar-row{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.75rem; }
.review-summary-bar-label{ font-family:var(--shop-font-body); font-size:.75rem; line-height:1; color:var(--shop-text-muted); white-space:nowrap; min-width:3.5rem; }
.review-summary-bar-track{ height:.5rem; background:var(--shop-surface-alt); border-radius:var(--shop-radius-lg); overflow:hidden; }
.review-summary-bar-fill{ display:block; height:100%; background:var(--shop-accent); }
.review-summary-bar-count{ font-family:var(--shop-font-body); font-size:.75rem; line-height:1; color:var(--shop-text-muted); min-width:1.5rem; text-align:right; }
.review-cta{ margin:1rem 0 0; }
.review-list{ margin-top:1.5rem; }
.review-empty{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.6; color:var(--shop-text-muted); margin:1.25rem 0 0; }
.review-empty a{ color:var(--shop-accent); text-decoration:none; }
.review-empty a:hover{ color:var(--shop-accent-deep); }
.review{ padding:1.25rem 0; border-top:1px solid var(--shop-line); }
.review:first-child{ border-top:none; }
.review-head{ display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
.review-avatar{ width:44px; height:44px; flex:none; border-radius:var(--shop-radius-lg); background:var(--shop-surface-alt);
                color:var(--shop-accent-deep); display:flex; align-items:center; justify-content:center;
                font-family:var(--shop-font-body); font-weight:600; font-size:.9375rem; line-height:1; }
.review-author{ font-family:var(--shop-font-body); font-weight:600; font-size:.875rem; color:var(--shop-text); }
.review-verified{ font-family:var(--shop-font-body); font-weight:600; font-size:.5625rem; line-height:1; letter-spacing:.1em;
                  text-transform:uppercase; color:var(--shop-success); background:var(--shop-surface-alt); border-radius:var(--shop-radius); padding:4px 8px; }
.review-head time{ font-family:var(--shop-font-body); font-size:.75rem; line-height:1; color:var(--shop-text-muted); margin-left:auto; }
.review-title{ font-family:var(--shop-font-body); font-weight:600; font-size:.9375rem; line-height:1.3; color:var(--shop-text); margin:.6rem 0 .35rem; }
.review-body{ font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.7; color:var(--shop-text-muted); margin:0; }
.review-add{ max-width:680px; margin-top:1rem; padding-bottom:4rem; }
.review-add h1{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:500; font-size:clamp(2rem,4vw,2.75rem);
                line-height:1.05; color:var(--shop-text); margin-bottom:.35rem; }
.review-add-product{ font-family:var(--shop-font-heading); font-style:italic; font-size:1.1875rem; line-height:1.3; color:var(--shop-text-muted); margin:0 0 1.5rem; }
.review-form{ margin-top:1.5rem; max-width:520px; }
.review-form .btn{ margin-top:.5rem; }
.review-form-thanks{ background:var(--shop-surface-alt); border-radius:var(--shop-radius); padding:1rem 1.25rem;
                     font-family:var(--shop-font-body); font-weight:500; font-size:.9375rem; line-height:1.5; color:var(--shop-success); }
.review-form-ineligible{ background:var(--shop-surface-alt); border-radius:var(--shop-radius); padding:1rem 1.25rem;
                         font-family:var(--shop-font-body); font-size:.9375rem; line-height:1.5; color:var(--shop-text-muted); }
.rating-input{ border:0; padding:0; margin:0 0 1.25rem; }
.rating-input::after{ content:""; display:table; clear:both; }
.rating-input legend{ display:block; float:none; padding:0; margin-bottom:.5rem; font-family:var(--shop-font-body);
                      font-weight:600; font-size:.75rem; letter-spacing:.14em; text-transform:uppercase; color:var(--shop-text); }
.rating-input input{ position:absolute; opacity:0; width:1px; height:1px; }
.rating-input label{ float:right; cursor:pointer; padding:0 .1rem; font-size:1.75rem; line-height:1; color:var(--shop-accent-soft); transition:color .15s; }
.rating-input input:checked ~ label{ color:var(--shop-accent); }
.rating-input:hover input ~ label{ color:var(--shop-accent-soft); }
.rating-input label:hover,.rating-input label:hover ~ label{ color:var(--shop-accent); }
.rating-input input:focus-visible + label{ outline:2px solid var(--shop-accent); outline-offset:3px; border-radius:var(--shop-radius); }
.related{ background:var(--shop-surface); border-top:1px solid var(--shop-line); padding:4.75rem 0; }
.related-head{ text-align:center; margin-bottom:2.5rem; }
.related-head h2{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:500; font-size:clamp(2rem,4vw,3.125rem);
                  line-height:1.05; color:var(--shop-text); margin-top:.625rem; }
.rgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
@media(max-width:860px){
  .review-summary{ grid-template-columns:1fr; gap:1.25rem; }
  .review-summary-score{ align-items:flex-start; text-align:left; }
  .review-add{ padding-bottom:2.5rem; }
  .related{ padding:3.5rem 0; }
  .related-head{ margin-bottom:1.75rem; }
  .rgrid{ grid-template-columns:1fr 1fr; gap:.875rem; }
}

/* ===== Gift (cards, voucher, box builder, options) ===== */
.gift-options,.gift-voucher{ padding-top:calc(var(--shop-gap) * 3); padding-bottom:calc(var(--shop-gap) * 3); }
.gift-boxes{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:calc(var(--shop-gap) * 1.25);
             align-items:start; padding-top:calc(var(--shop-gap) * 3); padding-bottom:calc(var(--shop-gap) * 3); }
.gift-boxes .section-head{ grid-column:1 / -1; }
.gift-hero-copy{ display:flex; flex-direction:column; align-items:center; }
.gift-hero-copy .script{ order:-1; margin-bottom:.25rem; }
.gift-hero-copy p{ font-family:var(--shop-font-body); font-size:1.0625rem; line-height:1.6; color:var(--shop-text-muted); max-width:34rem; margin:calc(var(--shop-gap) / 2) auto 0; }
.options{ display:grid; grid-template-columns:1fr 1fr; gap:calc(var(--shop-gap) * 1.5); }
.opt-card{ display:flex; flex-direction:column; background:var(--shop-surface); border:1.5px solid var(--shop-line);
           border-radius:var(--shop-radius-lg); overflow:hidden; color:var(--shop-text); text-decoration:none; cursor:pointer;
           transition:transform .2s,box-shadow .2s,border-color .2s; }
.opt-card:hover{ transform:translateY(-.25rem); box-shadow:var(--shop-shadow); }
.opt-card.selected{ border-color:var(--shop-accent); }
.opt-media{ position:relative; aspect-ratio:16 / 10; overflow:hidden; background:var(--shop-surface-alt); }
.opt-media .placeholder{ position:absolute; inset:0; }
.opt-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.opt-media-box .placeholder{ background:var(--shop-accent-soft); }
.opt-media-voucher .placeholder{ background:var(--shop-accent-deep); }
.opt-body{ display:flex; flex-direction:column; flex:1; padding:calc(var(--shop-gap) * 1.5); }
.opt-body .tag{ font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; letter-spacing:.1em; text-transform:uppercase; color:var(--shop-accent-soft); margin-bottom:calc(var(--shop-gap) / 2); }
.opt-body h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.75rem; line-height:1.05; color:var(--shop-text); margin-bottom:calc(var(--shop-gap) / 2); }
.opt-body p{ font-family:var(--shop-font-body); font-size:.875rem; line-height:1.6; color:var(--shop-text-muted); margin:0 0 var(--shop-gap); }
.opt-body .btn{ align-self:flex-start; margin-top:auto; }
.gift-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:calc(var(--shop-gap) * 1.25); }
.gcard{ display:flex; flex-direction:column; background:var(--shop-surface); border:1px solid var(--shop-line);
        border-radius:var(--shop-radius-lg); overflow:hidden; transition:transform .2s,box-shadow .2s; }
.gcard:hover{ transform:translateY(-.25rem); box-shadow:var(--shop-shadow); }
.gcard.sold{ opacity:.6; }
.gcard-media{ position:relative; display:block; aspect-ratio:4 / 5; overflow:hidden; background:var(--shop-surface-alt); }
.gcard-media .placeholder{ position:absolute; inset:0; }
.gcard-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gcard-tag{ position:absolute; top:.75rem; left:.75rem; z-index:2; background:var(--shop-badge-bg); color:var(--shop-badge-text);
            font-family:var(--shop-font-body); font-weight:600; font-size:.625rem; letter-spacing:.1em; text-transform:uppercase; padding:.375rem .625rem; border-radius:var(--shop-radius-lg); }
.gcard-body{ display:flex; flex-direction:column; flex:1; padding:var(--shop-gap); }
.gcard h3{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.375rem; line-height:1.05; margin:calc(var(--shop-gap) / 4) 0 calc(var(--shop-gap) / 2); }
.gcard h3 a{ color:var(--shop-text); text-decoration:none; }
.gcard h3 a:hover{ color:var(--shop-accent); }
.gcard-foot{ display:flex; align-items:center; justify-content:space-between; gap:calc(var(--shop-gap) / 2); margin-top:auto; }
.pick{ display:flex; flex-direction:column; background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg); overflow:hidden; transition:transform .2s,box-shadow .2s; }
.pick:hover{ transform:translateY(-.25rem); box-shadow:var(--shop-shadow); }
.pick-media{ position:relative; display:block; aspect-ratio:1 / 1; overflow:hidden; background:var(--shop-surface-alt); }
.pick-media .placeholder{ position:absolute; inset:0; }
.pick-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pick-body{ display:flex; flex-direction:column; flex:1; gap:.2rem; padding:var(--shop-gap); }
.pick-body h4{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.25rem; line-height:1.05; }
.pick-body h4 a{ color:var(--shop-text); text-decoration:none; }
.pick-body h4 a:hover{ color:var(--shop-accent); }
.pick .desc{ font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.45; color:var(--shop-text-muted); }
.pick-slots{ font-family:var(--shop-font-body); font-size:.75rem; letter-spacing:.04em; color:var(--shop-text-muted); }
.pick-body .p{ font-family:var(--shop-font-body); font-weight:600; font-size:.8125rem; color:var(--shop-accent-soft); }
.pick-body .btn{ align-self:flex-start; margin-top:calc(var(--shop-gap) / 2); }
.box-builder-page{ padding-top:calc(var(--shop-gap) * 3); padding-bottom:calc(var(--shop-gap) * 3); }
.box-builder-sidebar{ min-width:0; }
.voucher-page{ padding-top:calc(var(--shop-gap) * 3); padding-bottom:calc(var(--shop-gap) * 3); }
.voucher-aside > button{ width:100%; margin-top:var(--shop-gap); }
.voucher-chip-custom{ display:inline-flex; align-items:center; }
.voucher-recipient,.voucher-message{ margin-bottom:calc(var(--shop-gap) * 1.5); }
.voucher-recipient label,.voucher-message label{ display:block; font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; letter-spacing:.06em; text-transform:uppercase; color:var(--shop-text-muted); margin-bottom:.4rem; }
.voucher-recipient input,.voucher-message textarea{ width:100%; font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); background:var(--shop-bg); border:1px solid var(--shop-line); border-radius:var(--shop-radius); padding:.7rem .9rem; margin-bottom:var(--shop-gap); }
.voucher-recipient input:focus-visible,.voucher-message textarea:focus-visible{ outline:2px solid var(--shop-accent); }
.voucher-recipient small,.voucher-message small{ display:block; margin-top:-.5rem; margin-bottom:var(--shop-gap); font-family:var(--shop-font-body); font-size:.75rem; color:var(--shop-text-muted); }
.vcard{ display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; min-height:13rem; margin-bottom:var(--shop-gap);
        padding:calc(var(--shop-gap) * 1.75); background:var(--shop-accent); color:var(--shop-surface); border-radius:var(--shop-radius-lg); box-shadow:var(--shop-shadow); }
.vcard::after{ content:""; position:absolute; right:-2.5rem; top:-2.5rem; width:11rem; height:11rem; border:1px solid var(--shop-accent-soft); border-radius:var(--shop-radius-lg); }
.vtop{ display:flex; justify-content:space-between; align-items:flex-start; position:relative; z-index:2; }
.vlogo{ font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:400; font-size:1.25rem; }
.vcard .script{ font-size:1.5rem; line-height:.9; color:var(--shop-accent-soft); }
.vamt{ position:relative; z-index:2; margin:.5rem 0; font-family:var(--shop-font-heading); font-style:var(--shop-heading-style); font-weight:500; font-size:3.25rem; line-height:1; }
.vfoot{ position:relative; z-index:2; font-family:var(--shop-font-body); font-weight:500; font-size:.6875rem; letter-spacing:.08em; text-transform:uppercase; color:var(--shop-surface-alt); }
.redeem{ padding:calc(var(--shop-gap) * 1.25); background:var(--shop-surface-alt); color:var(--shop-text); border-radius:var(--shop-radius); }
.redeem h4{ font-family:var(--shop-font-body); font-weight:600; font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color:var(--shop-text-muted); margin-bottom:calc(var(--shop-gap) / 2); }
.redeem ol{ margin:0; padding-left:1.1rem; font-family:var(--shop-font-body); font-size:.8125rem; line-height:1.6; color:var(--shop-text); }
.redeem li{ margin-bottom:.35rem; }
.ded-card{ background:var(--shop-surface); border:1px solid var(--shop-line); border-radius:var(--shop-radius-lg); padding:calc(var(--shop-gap) * 1.5); }
.gift-message-field label{ display:flex; align-items:baseline; justify-content:space-between; gap:var(--shop-gap); }
.char-count{ font-family:var(--shop-font-body); font-weight:400; font-size:.6875rem; letter-spacing:normal; text-transform:none; color:var(--shop-text-muted); }
.gift-toggle-label{ font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }
@media(max-width:1024px){ .gift-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:860px){
  .options{ grid-template-columns:1fr; }
  .gift-boxes{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:560px){
  .gift-grid,.gift-boxes{ grid-template-columns:repeat(2,1fr); }
  .opt-body{ padding:var(--shop-gap); }
  .vamt{ font-size:2.75rem; }
}

/* Email-verification soft-gate notice (account dashboard) */
.verify-notice{ margin:0 0 1rem; padding:.75rem 1rem; background:var(--shop-surface-alt);
  border:1px solid var(--shop-accent-soft); border-radius:var(--shop-radius);
  font-family:var(--shop-font-body); font-size:.875rem; color:var(--shop-text); }

/* Checkout delivery address block (#10) */
.delivery-address{ margin-top:1rem; }
.saved-addresses{ display:flex; flex-direction:column; gap:.5rem; margin-bottom:1rem; }
.saved-addresses .radio-card{ text-align:left; }
.address-fields{ margin-top:.5rem; }

/* Checkout inline account creation (#11) */
.create-account{ margin:1rem 0 .5rem; padding:1rem; background:var(--shop-surface-alt);
  border-radius:var(--shop-radius); }
.create-account-fields{ margin-top:.75rem; display:flex; flex-direction:column; gap:.75rem; }
