/* Samarkand Food Market — "Zarafshan Wave" design skin (Stage 2).
   ================================================================
   THE SKIN LIVES IN THIS ONE FILE (plus the CSS variables below).
   Further design changes from Rob's list land HERE: change a variable
   or a rule in this file and every guest page follows. Page structure
   (HTML) lives in server.js; this file owns only the look.

   Palette — measured from the store's own emblem (design/DESIGN.md):
     --red #FB0200 emblem field, --blue #1336F9 star, --gold #FBCD02 wave,
     --ivory #FBF7EE paper background, --ring #000000 islimiy ring.
   Derivatives (labelled in DESIGN.md): crimson #A8121A / #7C0C13 for large
   surfaces, wordmark blue #4A5BB3 (readable link blue #3D4E9E), dark gold
   #B98A00 for small text. */
@font-face{ font-family:'Playfair Display'; src:url('/fonts/PlayfairDisplay.ttf') format('truetype'); font-weight:400 900; }
@font-face{ font-family:'Playfair Display'; src:url('/fonts/PlayfairDisplay-Italic.ttf') format('truetype'); font-weight:400 900; font-style:italic; }
@font-face{ font-family:'Fira Sans'; src:url('/fonts/FiraSans-400.ttf') format('truetype'); font-weight:400; }
@font-face{ font-family:'Fira Sans'; src:url('/fonts/FiraSans-600.ttf') format('truetype'); font-weight:600; }
@font-face{ font-family:'Fira Sans'; src:url('/fonts/FiraSans-700.ttf') format('truetype'); font-weight:700; }

:root{
  --red:#FB0200; --blue:#1336F9; --gold:#FBCD02; --ivory:#FBF7EE;
  --crimson:#A8121A; --crimson-deep:#7C0C13; --ink:#141210;
  --wordmark-blue:#4A5BB3; --blue-ink:#3D4E9E; --gold-deep:#B98A00;
  --line:#EBDCC4; --muted:#7A6C5E;
}
*{ margin:0; padding:0; box-sizing:border-box; min-width:0; }
html{ -webkit-text-size-adjust:100%; }
body{ font-family:'Fira Sans',system-ui,Arial,sans-serif; background:var(--ivory); color:var(--ink); }
img{ max-width:100%; }
a{ color:var(--blue-ink); }
.wrap{ max-width:1280px; margin:0 auto; padding:0 24px; }
.serif{ font-family:'Playfair Display',serif; }

/* ————— top bar ————— */
.topbar{ background:var(--crimson-deep); color:#F6E8DC; font-size:13px; }
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; gap:10px 16px; padding-top:7px; padding-bottom:7px; flex-wrap:wrap; }
.topbar b{ color:var(--gold); font-weight:600; }
.topbar a{ color:#F6E8DC; text-decoration:none; }
.langs{ display:flex; gap:2px; align-items:center; }
.langs a{ padding:2px 7px; border-radius:20px; opacity:.85; color:#F6E8DC; text-decoration:none; }
.langs a.on{ background:var(--gold); color:var(--ink); font-weight:700; opacity:1; }

/* ————— header: the store's ORIGINAL lockup art (brand files, unmodified) ————— */
.header{ background:linear-gradient(160deg,var(--crimson) 0%,var(--crimson-deep) 88%); color:#FFF7EA; }
.header .wrap{ display:flex; align-items:center; gap:24px; padding-top:18px; padding-bottom:20px; }
.brandlockup{ flex:0 1 auto; }
.brandlockup img{ height:104px; width:auto; display:block; }
.search{ flex:1 1 auto; }
.search .box{ background:#FFFFFF; border-radius:999px; display:flex; align-items:center; padding:6px 6px 6px 22px; box-shadow:0 8px 24px rgba(0,0,0,.22); }
.search input{ border:0; outline:0; flex:1 1 auto; font-family:'Fira Sans',sans-serif; font-size:16px; color:var(--ink); background:transparent; min-width:0; }
.search input::placeholder{ color:#8B8177; }
.search button{ border:0; cursor:pointer; background:var(--red); color:#fff; font-family:'Fira Sans',sans-serif; font-weight:700; font-size:15px; padding:11px 24px; border-radius:999px; }
.actions{ display:flex; gap:12px; flex:0 0 auto; align-items:center; }
.actions a{ color:#FFF3E2; text-decoration:none; font-size:13.5px; text-align:center; line-height:1.35; }
.actions a b{ display:block; font-size:15px; }
.cartbtn{ background:var(--gold); color:var(--ink) !important; font-weight:700; border-radius:999px; padding:10px 20px; box-shadow:0 6px 18px rgba(0,0,0,.25); white-space:nowrap; }

/* light-surface variant of the header (same original art, light file) */
.header.light{ background:var(--ivory); border-bottom:3px solid var(--gold); }
.header.light .actions a{ color:var(--crimson); }

/* ————— department nav ————— */
.deptnav{ background:#FFFFFF; border-bottom:1px solid #EAD9C2; }
.deptnav .wrap{ display:flex; gap:4px; flex-wrap:wrap; justify-content:center; padding-top:0; padding-bottom:0; }
.deptnav a{ flex:0 0 auto; white-space:nowrap; text-decoration:none; color:var(--ink); font-size:14.5px; font-weight:600; padding:13px 12px; border-bottom:3px solid transparent; }
.deptnav a:hover{ color:var(--crimson); border-bottom-color:var(--gold); }
.deptnav a.hot{ color:var(--crimson); }
.deptnav a.shaw{ color:#fff; background:var(--crimson); border-radius:0 0 10px 10px; }

/* ————— hero ————— */
.hero{ background:linear-gradient(158deg,var(--crimson) 0%,var(--crimson-deep) 90%); color:#FFF7EA; position:relative; overflow:hidden; }
.hero .wrap{ display:flex; align-items:center; gap:40px; padding-top:46px; padding-bottom:0; position:relative; z-index:2; }
.hero .copy{ flex:1 1 auto; padding-bottom:56px; }
.hero .kick{ color:var(--gold); font-weight:700; letter-spacing:.28em; font-size:12.5px; text-transform:uppercase; }
.hero h1{ font-family:'Playfair Display',serif; font-weight:800; font-size:48px; line-height:1.07; margin:14px 0 16px; color:#FFFFFF; }
.hero h1 em{ color:var(--gold); font-style:italic; }
.hero p{ font-size:17px; line-height:1.55; color:#F7E4D2; max-width:560px; }
.hero .fresh{ margin-top:18px; background:rgba(255,255,255,.10); border:1px solid rgba(251,205,2,.55); border-radius:14px; padding:13px 16px; font-size:14.5px; line-height:1.5; color:#FFF3E2; max-width:560px; }
.hero .fresh b{ color:var(--gold); }
.hero .ctas{ display:flex; gap:14px; margin-top:24px; flex-wrap:wrap; }
.btn-gold{ background:var(--gold); color:var(--ink); font-weight:700; text-decoration:none; padding:13px 28px; border-radius:999px; font-size:16px; box-shadow:0 8px 22px rgba(0,0,0,.28); display:inline-block; }
.btn-line{ border:2px solid #F3D9B8; color:#FFF3E2; text-decoration:none; padding:11px 26px; border-radius:999px; font-size:16px; font-weight:600; display:inline-block; }
.hero .chips{ display:flex; gap:10px; margin-top:26px; flex-wrap:wrap; }
.hero .chips span{ border:1px solid rgba(251,205,2,.55); color:#FFEFC4; font-size:13.5px; padding:7px 14px; border-radius:999px; }
.hero .chips b{ color:var(--gold); }
.hero .art{ flex:0 0 auto; padding-bottom:48px; }
.plate{ background:#FFFFFF; border-radius:50%; padding:10px; box-shadow:0 0 0 3px var(--gold), 0 10px 28px rgba(0,0,0,.28); display:inline-block; }
.plate img{ width:270px; height:270px; border-radius:50%; display:block; }
.hero .wave{ display:block; width:100%; height:60px; margin-top:-6px; position:relative; z-index:1; }

/* ————— delivery windows card ————— */
.windows{ padding:36px 0 4px; }
.windows .card{ background:#FFFFFF; border:1px solid var(--line); border-radius:20px; padding:24px 26px; display:flex; align-items:center; gap:24px; box-shadow:0 10px 30px rgba(124,12,19,.07); }
.windows h2{ font-family:'Playfair Display',serif; font-size:23px; font-weight:800; color:var(--crimson); }
.windows .note{ font-size:13.5px; color:#6E6156; margin-top:5px; max-width:420px; }
.slots{ display:flex; gap:9px; flex-wrap:wrap; }
.slot{ border:2px solid #E4D3B8; border-radius:12px; padding:9px 15px; font-weight:600; font-size:15px; background:var(--ivory); }
.slot.asap{ background:var(--crimson); border-color:var(--crimson); color:#fff; }
.soon{ background:var(--gold); color:var(--ink); font-size:11.5px; font-weight:700; letter-spacing:.08em; padding:3px 9px; border-radius:20px; vertical-align:2px; margin-left:8px; }

/* ————— sections & tiles ————— */
.section{ padding:40px 0 6px; }
.section .head{ display:flex; align-items:baseline; gap:8px 16px; margin-bottom:6px; flex-wrap:wrap; }
.section h2{ font-family:'Playfair Display',serif; font-size:30px; font-weight:800; color:var(--ink); }
.section h2 .star{ color:var(--blue); font-size:21px; vertical-align:6px; }
.section .head a{ color:var(--blue-ink); font-weight:600; text-decoration:none; font-size:15px; }
.islimiy{ height:10px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M1 8 Q 9 -2 18 5 T 35 2' fill='none' stroke='%23B98A00' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat:repeat-x; opacity:.55; margin:6px 0 20px; }
.tiles{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.tile{ background:#FFFFFF; border:1px solid var(--line); border-radius:16px; padding:20px 18px 16px; text-decoration:none; color:var(--ink); display:block; }
.tile .glyph{ width:46px; height:46px; border-radius:50%; background:var(--ivory); border:2px solid var(--gold); color:var(--crimson); font-family:'Playfair Display',serif; font-weight:800; font-size:22px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.tile h3{ font-size:16.5px; font-weight:700; line-height:1.25; }
.tile p{ font-size:13px; color:var(--muted); margin-top:4px; }
.tile.dark{ background:var(--ink); border-color:var(--ink); }
.tile.dark h3{ color:var(--gold); }
.tile.dark p{ color:#CBB99B; }
.tile.dark .glyph{ background:transparent; }

/* ————— product cards / grids ————— */
.grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:14px; }
.card{ background:#FFFFFF; border:1px solid var(--line); border-radius:16px; padding:16px; display:flex; flex-direction:column; gap:7px; }
.card .pname{ font-weight:600; line-height:1.3; }
.card .pname a{ color:var(--ink); text-decoration:none; }
.price{ color:var(--crimson); font-weight:700; font-size:17px; }
.price small{ color:var(--muted); font-weight:400; font-size:13px; }
.btn{ background:var(--crimson); color:#fff; border:0; border-radius:999px; padding:10px 18px; cursor:pointer; font-family:'Fira Sans',sans-serif; font-weight:700; font-size:14.5px; }
.btn.gold{ background:var(--gold); color:var(--ink); }
.btn.line{ background:#fff; color:var(--crimson); border:2px solid var(--crimson); }
.btn:disabled{ opacity:.45; cursor:default; }
.stock{ font-size:12.5px; font-weight:600; }
.stock.in{ color:#2E7D32; } .stock.out{ color:var(--crimson); }
.samplenote{ font-size:13px; color:var(--muted); margin:10px 0; }

/* ————— bundles / pairings ————— */
.bundle{ background:#FFFFFF; border:2px solid var(--gold); border-radius:18px; padding:20px 22px; margin:0 0 18px; }
.bundle h3{ font-family:'Playfair Display',serif; font-size:21px; font-weight:800; color:var(--crimson); margin-bottom:12px; }
.bundle .items{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.bundle .bitem{ background:var(--ivory); border:1px solid var(--line); border-radius:12px; padding:9px 13px; font-size:14.5px; }
.bundle .bitem b{ color:var(--crimson); }
.pairrail{ display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:14px; }

/* ————— cart extras ————— */
.forgot{ background:#FFFFFF; border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:16px; padding:18px 20px; margin:22px 0; }
.forgot h2{ font-family:'Playfair Display',serif; font-size:22px; font-weight:800; color:var(--crimson); margin-bottom:12px; }
.forgot .grid{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
#cartItems .cline{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:11px 14px; margin-bottom:8px; display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.subtotal{ font-size:17px; font-weight:700; margin:12px 0; }

/* ————— product page ————— */
.ppage{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:start; }
.ppage .phero{ background:#FFFFFF; border:1px solid var(--line); border-radius:20px; padding:30px; text-align:center; }
.ppage .phero .glyph{ width:110px; height:110px; border-radius:50%; background:var(--ivory); border:3px solid var(--gold); color:var(--crimson); font-family:'Playfair Display',serif; font-weight:800; font-size:52px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.ppage h1{ font-family:'Playfair Display',serif; font-size:32px; font-weight:800; line-height:1.15; }
.bigprice{ font-size:30px; color:var(--crimson); font-weight:700; margin:10px 0; }
.bigprice small{ font-size:15px; color:var(--muted); font-weight:400; }

/* ————— forms (checkout / signup / staff) ————— */
form.panel{ background:#FFFFFF; border:1px solid var(--line); border-radius:16px; padding:20px 22px; margin:16px 0; }
form.panel input[type=text], form.panel input[type=tel], form.panel input[type=email], form.panel input[type=password], form.panel input[type=date], form.panel select{ width:100%; padding:11px 12px; margin:6px 0; border:1px solid #D8C9AE; border-radius:10px; font-family:'Fira Sans',sans-serif; font-size:15px; box-sizing:border-box; background:#fff; }
form.panel label{ font-size:14.5px; }
.smsclub{ background:#FFF7DC; border:1.5px dashed var(--gold-deep); border-radius:14px; padding:14px 16px; margin:14px 0; }
.smsclub label{ display:flex; gap:10px; align-items:flex-start; font-weight:600; font-size:15px; cursor:pointer; }
.smsclub input[type=checkbox]{ width:20px; height:20px; flex:0 0 auto; margin-top:1px; }
.smsclub .note{ font-size:13px; color:#6E6156; margin:8px 0 0 30px; line-height:1.45; }
.cancel{ display:inline-block; padding:10px 16px; color:var(--crimson); font-weight:600; }

/* ————— story + trust + footer ————— */
.story{ padding:44px 0 4px; }
.story .grid2{ display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:32px; align-items:center; }
.story h2{ font-family:'Playfair Display',serif; font-size:29px; font-weight:800; margin-bottom:13px; }
.story p{ font-size:16px; line-height:1.65; color:#463A30; }
.story .emblem-side{ display:flex; align-items:center; gap:18px; background:#FFFFFF; border:1px solid var(--line); border-radius:20px; padding:20px 22px; }
.story .emblem-side img{ width:110px; height:110px; flex:0 0 auto; }
.story .emblem-side p{ font-size:14.5px; }
.trust{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:32px 0 50px; }
.trust .t{ background:#FFFFFF; border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:14px; padding:17px; text-align:center; }
.trust .t b{ display:block; font-size:16px; margin-bottom:5px; }
.trust .t span{ font-size:13.5px; color:var(--muted); line-height:1.45; display:block; }
footer{ background:var(--crimson-deep); color:#F3DCC8; }
footer .wrap{ display:flex; gap:36px; padding-top:38px; padding-bottom:28px; flex-wrap:wrap; }
footer .fbrand img{ height:74px; width:auto; background:#fff; border-radius:10px; padding:6px; }
footer h4{ font-family:'Playfair Display',serif; color:#FFFFFF; font-size:18px; letter-spacing:.08em; margin-bottom:8px; }
footer p, footer a{ font-size:14.5px; line-height:1.6; color:#F3DCC8; text-decoration:none; }
footer .col b{ color:var(--gold); display:block; margin-bottom:10px; font-size:13px; letter-spacing:.16em; }
footer .col a{ display:block; margin-bottom:6px; }
.legal{ border-top:1px solid rgba(251,205,2,.30); }
.legal .wrap{ padding-top:15px; padding-bottom:17px; font-size:13px; display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.depthead{ padding:30px 0 4px; }
.depthead h1{ font-family:'Playfair Display',serif; font-size:34px; font-weight:800; }
.depthead h1 .star{ color:var(--blue); font-size:23px; vertical-align:7px; }

/* ————— phone (390px measured — see Stage-2 report) ————— */
@media (max-width:900px){
  .wrap{ padding:0 16px; }
  .header .wrap{ flex-wrap:wrap; gap:14px; padding-top:14px; padding-bottom:16px; }
  .brandlockup img{ height:64px; }
  .search{ order:3; flex:1 1 100%; }
  .actions{ margin-left:auto; }
  .actions .hideS{ display:none; }
  .deptnav .wrap{ flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:none; }
  .deptnav .wrap::-webkit-scrollbar{ display:none; }
  .hero .wrap{ flex-direction:column; gap:6px; padding-top:30px; }
  .hero h1{ font-size:34px; }
  .hero .copy{ padding-bottom:6px; }
  .hero .art{ padding-bottom:34px; align-self:center; }
  .plate img{ width:180px; height:180px; }
  .windows .card{ flex-direction:column; align-items:flex-start; gap:14px; padding:19px; }
  .tiles{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .trust{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .story .grid2{ grid-template-columns:minmax(0,1fr); }
  .ppage{ grid-template-columns:minmax(0,1fr); }
  .section h2{ font-size:25px; }
  .grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .topbar .addr{ display:none; }
  footer .fbrand img{ height:58px; }
}

/* ————— Phase A: product cards v2, search, fresh pages, collections —————
   Product photos + the clean letter placeholder; public special pricing
   (struck-through regular price — shown to EVERYONE, Q1); halal and
   evening-markdown badges; unit-price lines; the search autocomplete;
   catalog facet bar; the fresh-department copy block with the numeric
   holding temps; the product-page trust (info) block. */
.card .pimglink{ display:block; }
.pimg{ width:100%; height:132px; object-fit:cover; border-radius:12px; display:block; background:var(--ivory); }
.pimg.ph{ display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-weight:800; font-size:52px; color:var(--crimson); border:2px solid var(--gold); box-sizing:border-box; }
.pimgbig{ width:100%; max-height:320px; object-fit:cover; border-radius:14px; display:block; margin-bottom:14px; }
.badges{ display:flex; gap:6px; flex-wrap:wrap; }
.badge{ font-size:11.5px; font-weight:700; letter-spacing:.04em; padding:3px 9px; border-radius:20px; }
.badge.halal{ background:#2E7D32; color:#fff; }
.badge.sale{ background:var(--gold); color:var(--ink); }
.badge.md{ background:var(--crimson); color:#fff; }
.was{ color:var(--muted); font-weight:400; font-size:14px; }
.unitline{ font-size:13px; color:var(--muted); line-height:1.35; }
.unitline.big{ font-size:15px; }
.bitem.oos{ opacity:.62; }
.noresults{ padding:26px 4px 40px; font-size:16px; color:var(--muted); }
.filters{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; background:#FFFFFF; border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin:0 0 18px; }
.filters input[type=search]{ flex:1 1 180px; min-width:0; padding:9px 12px; border:1px solid #D8C9AE; border-radius:10px; font-family:'Fira Sans',sans-serif; font-size:15px; }
.filters select{ padding:9px 10px; border:1px solid #D8C9AE; border-radius:10px; font-family:'Fira Sans',sans-serif; font-size:14.5px; background:#fff; max-width:100%; }
.filters label{ font-size:14px; display:flex; align-items:center; gap:6px; }
.filters label input[type=checkbox]{ width:17px; height:17px; }
.freshblock{ background:#FFFFFF; border:1px solid var(--line); border-left:5px solid var(--gold); border-radius:14px; padding:16px 18px; margin:0 0 18px; font-size:15.5px; line-height:1.55; }
.freshblock .temps{ margin-top:8px; font-weight:600; color:var(--crimson); }
.infoblock{ background:#FFFFFF; border:1px solid var(--line); border-radius:14px; padding:6px 16px; margin:14px 0; }
.infoblock .irow{ display:flex; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); font-size:14.5px; }
.infoblock .irow:last-child{ border-bottom:0; }
.infoblock .irow b{ flex:0 0 110px; color:var(--crimson); }
.acwrap{ position:relative; flex:1 1 auto; min-width:0; }
.acwrap input{ width:100%; }
.aclist{ position:absolute; top:calc(100% + 6px); left:0; right:0; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 16px 36px rgba(124,12,19,.18); z-index:60; overflow:hidden; }
.acitem{ display:flex; align-items:center; gap:10px; padding:9px 12px; text-decoration:none; color:var(--ink); border-bottom:1px solid var(--line); }
.acitem:last-child{ border-bottom:0; }
.acitem:hover{ background:var(--ivory); }
.acitem img{ width:38px; height:38px; object-fit:cover; border-radius:8px; flex:0 0 auto; }
.acitem .acmain{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
.acitem .acmain b{ font-size:14.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.acitem .acmain small{ color:var(--muted); font-size:12.5px; }
.acitem .acprice{ color:var(--crimson); font-weight:700; font-size:14.5px; }
.acitem.oos{ opacity:.6; }
/* ————— Heritage (2026-11-10): the #heritage section —————
   Six story cards under an islimiy arch band, inside the Zarafshan Wave
   skin. The band is an inline SVG data-URI: a row of pointed arches in
   gold on crimson (Samarkand arch motif), built from the palette only —
   no new image assets. Cards carry a gold arch-line on top via the same
   pointed-arch curve. Photos are real photographs (see HERITAGE_NOTES.md). */
.heritage{ padding:46px 0 8px; position:relative; }
.heritage::before{ content:''; display:block; height:26px; margin:-46px 0 30px;
  background-color:var(--crimson-deep);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='26' viewBox='0 0 72 26'%3E%3Cpath d='M4 26 L4 15 Q4 5 18 1 Q32 5 32 15 L32 26 M40 26 L40 15 Q40 5 54 1 Q68 5 68 15 L68 26' fill='none' stroke='%23FBCD02' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:repeat-x; background-position:center bottom; }
.heritage .head{ display:flex; align-items:baseline; gap:8px 16px; margin-bottom:6px; flex-wrap:wrap; }
.heritage h2{ font-family:'Playfair Display',serif; font-size:30px; font-weight:800; color:var(--ink); }
.heritage h2 .star{ color:var(--blue); font-size:21px; vertical-align:6px; }
.heritage .hintro{ font-size:16.5px; line-height:1.6; color:#463A30; max-width:820px; margin-bottom:24px; }
.hgrid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.hcard{ background:#FFFFFF; border:1px solid var(--line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 8px 24px rgba(124,12,19,.05); }
.hcard figure{ position:relative; }
.hcard figure::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:7px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='7' viewBox='0 0 72 7'%3E%3Cpath d='M4 7 L4 4 Q4 1 18 0 Q32 1 32 4 L32 7 M40 7 L40 4 Q40 1 54 0 Q68 1 68 4 L68 7' fill='none' stroke='%23FBCD02' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:repeat-x; background-color:rgba(124,12,19,.88); }
.hcard figure img{ width:100%; height:190px; object-fit:cover; display:block; }
.hcard figcaption{ position:absolute; top:10px; left:10px; background:rgba(20,18,16,.72); color:#FFEFC4; font-size:12px; font-weight:600; letter-spacing:.03em; padding:4px 10px; border-radius:20px; max-width:calc(100% - 20px); }
.hcard .hbody{ padding:17px 19px 19px; }
.hcard h3{ font-family:'Playfair Display',serif; font-size:19.5px; font-weight:800; color:var(--crimson); line-height:1.25; margin-bottom:8px; }
.hcard p{ font-size:14.5px; line-height:1.6; color:#463A30; }
.heritage .hcredits{ font-size:12px; color:var(--muted); margin-top:18px; line-height:1.5; }
/* ————— Heritage: Registan card notes (2026-11-10) —————
   The three madrasas as a compact gold-ruled list inside the card. */
.hcard .hnotes{ list-style:none; margin-top:10px; display:flex; flex-direction:column; gap:8px; }
.hcard .hnotes li{ font-size:14px; line-height:1.55; color:#463A30; padding-left:12px; border-left:3px solid var(--gold); }
.hcard .hnotes b{ color:var(--crimson); }
/* ————— Heritage: tall photo slot (2026-11-10) —————
   The statue cards show the FULL figures (Rob's order), so their
   figures take a portrait slot instead of the wide 2:1 slot; since
   fix pass #3 the slot carries Rob's own artworks and each file's
   exact ratio rides inline (aspect-ratio style from the card's `ar`),
   so object-fit never crops a figure — the 4/5 below is only the
   pre-inline default. The caption chip and the gold arch line under
   the photo are the same as every other card. */
.hcard figure.tall img{ height:auto; aspect-ratio:4/5; }
/* Near-square slot (fix pass #2, 2026-11-10): the Friendship card's
   Gala Osiyo photo (Rob's own finished stack shot, 1199×1312) fills
   its frame edge to edge, so the slot takes the file's own ratio —
   the loaves are never cropped. */
.hcard figure.sq img{ height:auto; aspect-ratio:1199/1312; }
@media (max-width:900px){
  .heritage h2{ font-size:25px; }
  .hgrid{ grid-template-columns:minmax(0,1fr); }
  .hcard figure img{ height:200px; }
}


/* ————— Meat origin + home meat strip (2026-11-10) —————
   .meatstory: the provenance panel on the meat department page,
   directly under the fresh block. .meathome: the compact 2-line
   version under the trust tiles in the home story section. Palette
   only — white cards like the trust tiles, gold/crimson accents. */
.meatstory{ background:#FFFFFF; border:1px solid var(--line); border-left:5px solid var(--crimson); border-radius:14px; padding:18px 20px; margin:0 0 18px; }
.meatstory h3{ font-family:'Playfair Display',serif; font-size:20px; font-weight:800; color:var(--crimson); margin-bottom:8px; }
.meatstory p{ font-size:15.5px; line-height:1.6; color:#463A30; }
.meatchips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.meatchips span{ background:var(--ivory); border:1px solid var(--gold); color:#6D5200; font-size:13px; font-weight:600; padding:5px 12px; border-radius:20px; }
.meathome{ background:#FFFFFF; border:1px solid var(--line); border-left:5px solid var(--gold); border-radius:14px; padding:15px 18px; margin:-24px 0 50px; font-size:15px; line-height:1.55; color:#463A30; }

/* ————— Delivery promo (2026-11-10): CaravanGo advertisement card —————
   A crimson panel with gold fact chips, directly under the delivery
   windows card on the home page. The COMING SOON badge reuses the
   global .soon style; the card makes no live order promise while the
   delivery switch is off. */
.dlpromo{ padding:22px 0 2px; }
.dlcard{ background:linear-gradient(135deg, var(--crimson-deep), var(--crimson)); color:#FBEFE3; border-radius:20px; padding:26px 28px; box-shadow:0 12px 30px rgba(124,12,19,.18); }
.dlcard h2{ font-family:'Playfair Display',serif; font-size:25px; font-weight:800; color:#FFFFFF; }
.dllead{ font-size:16px; line-height:1.55; margin-top:8px; max-width:780px; }
.dlchips{ display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.dlchip{ background:rgba(255,255,255,.10); border:1px solid var(--gold); color:#FFEFC4; font-size:13.5px; font-weight:600; padding:7px 13px; border-radius:20px; }
.dlcall{ margin-top:16px; font-size:15.5px; font-weight:700; color:#FFFFFF; }
.dlsoon{ margin-top:6px; font-size:13px; color:#F3D9C8; }
@media (max-width:900px){
  .dlcard{ padding:20px; }
  .dlcard h2{ font-size:21px; }
  .meathome{ margin-top:-16px; }
}
