[hidden] { display: none !important; }
@font-face { font-family: 'Readex Pro'; src: url(/static/fonts/ReadexPro-subset.woff) format('woff'); font-weight: 160 700; font-display: swap; }
:root {
  --green: #315C48; --green-dark: #1F4032; --bg: #FAF8F3; --section: #F1F3EF; --beige: #F1E5D8;
  --accent: #C8784F; --accent-ink: #94532F; --text: #1F2924; --muted: #5C6660; --line: #E3E1DA; --surface: #FFFFFF;
  --r: 14px; --r-l: 20px; --sh: 0 1px 2px rgba(31,41,36,.06), 0 6px 20px rgba(31,41,36,.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Readex Pro', system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* environment ribbon: outside production every page says the data is test data */
.ribbon { background: #FFF6D8; color: #5A4500; font-size: 12.5px; text-align: center; padding: 6px 16px; border-bottom: 1px solid #F0E2B0; }

/* delivery bar (kept from V3) */
.bar { background: var(--green-dark); color: #fff; font-size: 13.5px; }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.bar-msg { display: flex; align-items: center; gap: 8px; }
.bar-msg b { color: #F6C7A9; font-weight: 600; }
.bar-links { display: flex; gap: 22px; opacity: .9; }
.bar-links span, .bar-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.bar-links .ic { width: 16px; height: 16px; }

/* header */
.hdr { background: var(--surface); border-bottom: 1px solid var(--line); }
.hdr-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-plate { background: var(--green-dark); border-radius: 0 0 14px 14px; padding: 6px 14px 10px; align-self: start; }
.logo-plate svg, .logo-plate img { height: 62px; width: auto; display: block; }
.search { display: flex; align-items: center; gap: 10px; height: 50px; border: 1.5px solid #CFD5CF; border-radius: 12px; background: var(--surface); padding-inline: 16px 6px; max-width: 640px; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; background: transparent; color: var(--text); min-width: 0; }
.search input::placeholder { color: #7A847E; }
.search button { height: 40px; padding: 0 18px; border-radius: 9px; background: var(--green); color: #fff; font-weight: 600; }
.acts { display: flex; gap: 6px; }
.act { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 10px; font-size: 14px; }
.act .count { position: absolute; top: 4px; inset-inline-start: 22px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 4px; min-height: 50px; overflow-x: auto; scrollbar-width: none; }
.nav a { white-space: nowrap; padding: 8px 9px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.nav a.all { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.nav a.offers { color: var(--accent-ink); }
.nav .sep { width: 1px; height: 22px; background: var(--line); margin-inline: 6px; flex: none; }

/* image frames: real packshots sit on white, so frames are white or blend with multiply */
.shot { position: relative; background: #fff; display: grid; place-items: center; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ph { position: relative; overflow: hidden; background: #E8E2D6; }
.ph > img { width: 100%; height: 100%; object-fit: cover; }
.fallback { display: none; position: absolute; inset: 0; place-items: center; text-align: center; padding: 10px; font-size: 12px; color: var(--muted); background: repeating-linear-gradient(135deg, #F3EFE6 0 10px, #EDE8DD 10px 20px); }
.broken > .fallback { display: grid; }
.broken > img { visibility: hidden; }
.credit { position: absolute; bottom: 8px; inset-inline-end: 10px; font-size: 10.5px; color: rgba(255,255,255,.92); background: rgba(0,0,0,.28); padding: 2px 8px; border-radius: 999px; direction: ltr; }

/* hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 18px; padding-block: 22px 10px; }
.hero { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 420px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--beige); }
.hero-copy { position: relative; z-index: 2; padding: 36px 40px 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.kicker { display: inline-flex; align-self: flex-start; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--green); background: rgba(255,255,255,.7); padding: 5px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(26px, 2.2vw, 33px); line-height: 1.35; font-weight: 600; color: var(--green-dark); max-width: 15ch; text-wrap: balance; }
.hero p { color: #44504A; max-width: 34ch; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; background: var(--green); color: #fff; font-weight: 600; align-self: flex-start; }
.cta.ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-art { position: relative; }
.hero-art .ph { position: absolute; inset: 0; }
.shelf { position: absolute; inset-inline-start: 6%; width: 62%; bottom: 20px; background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: 0 20px 50px rgba(31,64,50,.25); padding: 14px 12px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.shelf .shot { height: 104px; background: transparent; }
.shelf .shot img { mix-blend-mode: multiply; }
.shelf figcaption { grid-column: 1 / -1; text-align: center; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
.dots { position: absolute; bottom: 12px; inset-inline-start: 44px; display: flex; gap: 6px; z-index: 3; }
.dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(31,64,50,.25); }
.dots i.on { width: 22px; background: var(--green); }

.subs { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.sub { position: relative; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 46%; background: var(--surface); box-shadow: var(--sh); min-height: 128px; }
.sub-copy { padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.sub-copy b { font-size: 17px; font-weight: 600; color: var(--green-dark); }
.sub-copy span { font-size: 13px; color: var(--muted); }
.sub-copy em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent-ink); margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.sub .ph { height: 100%; position: relative; }
.sub .ph > img { position: absolute; inset: 0; }
.hero-grid { height: 500px; }
.hero, .subs { min-height: 0; }
.sub { min-height: 0; }
.sun-art { background: #F7EAD2; display: grid; place-items: center; }
.sun-art .shot { width: 78%; height: 88%; background: transparent; }
.icon-tile svg { width: 46px; height: 46px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .ph img { object-position: 50% 30%; }
.need .ph img { object-position: 50% 15%; }
.sub .ph img { object-position: 50% 25%; }
.sub .pack { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 64px; height: 84px; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); padding: 4px; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); margin-block: 16px 8px; }
.trust div { display: flex; gap: 12px; align-items: center; padding: 16px 18px; }
.trust div + div { border-inline-start: 1px solid var(--line); }
.trust .ic { width: 28px; height: 28px; color: var(--green); stroke-width: 1.6; }
.trust b { display: block; font-size: 14.5px; font-weight: 600; }
.trust span { font-size: 12.5px; color: var(--muted); }

/* sections */
.sec { padding-block: 26px 6px; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { font-size: 24px; font-weight: 600; }
.sec-head p { font-size: 13.5px; color: var(--muted); }
.sec-head a { font-size: 14.5px; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 4px; min-height: 32px; white-space: nowrap; }

.needs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.need { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); display: flex; flex-direction: column; }
.need .shot, .need .ph { height: 120px; }
.need .shot { padding: 10px; }
.need-tint .shot { background: var(--tint, #fff); }
.need b { padding: 10px 10px 2px; font-size: 14.5px; font-weight: 600; text-align: center; }
.need small { padding: 0 10px 12px; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; }
.need .tag { align-self: center; font-size: 11px; color: var(--accent-ink); background: #F8EDE5; border-radius: 999px; padding: 1px 8px; margin-bottom: 10px; margin-top: -4px; }

.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); padding: 12px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.card .shot { height: 190px; border-radius: 10px; padding: 8px; }
.wish { position: absolute; top: 18px; inset-inline-end: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.08); z-index: 2; }
.wish::after { content: ''; position: absolute; inset: -3px; }
.badge { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 2; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--beige); color: var(--accent-ink); }
.brand { font-size: 12.5px; font-weight: 600; color: var(--muted); direction: ltr; text-align: right; }
.name { font-size: 14.5px; font-weight: 500; line-height: 1.45; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.name-en { font-size: 12px; color: var(--muted); direction: ltr; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.price b { font-size: 18px; font-weight: 700; }
.price span { font-size: 12px; }
.price small { font-size: 11px; color: var(--muted); margin-inline-start: auto; }
.add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 600; font-size: 14.5px; margin-top: 4px; }

.promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.promo { border-radius: var(--r-l); overflow: hidden; position: relative; min-height: 210px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); box-shadow: var(--sh); }
.promo-copy { padding: 22px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.promo-copy b { font-size: 20px; font-weight: 600; line-height: 1.35; }
.promo-copy span { font-size: 13.5px; opacity: .85; }
.promo .cta { min-height: 42px; padding: 0 16px; font-size: 14px; margin-top: 8px; }
.p-ask { background: var(--green-dark); color: #fff; }
.p-ask .cta { background: #fff; color: var(--green-dark); }
.ask-art { position: relative; }
.ask-art .ph { position: absolute; inset: 0; }
.ask-bubble { width: 150px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 14px; display: grid; gap: 8px; font-size: 12.5px; }
.ask-bubble i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.22); }
.ask-bubble i:nth-child(2) { width: 70%; }
.ask-bubble .who { display: flex; gap: 8px; align-items: center; font-style: normal; }
.ask-bubble .av { width: 30px; height: 30px; border-radius: 50%; background: #F6C7A9; color: var(--green-dark); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.p-routine { background: var(--beige); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 2px; padding: 16px 12px 16px 0; }
.trio .shot { height: 150px; background: transparent; }
.trio .shot:nth-child(2) { height: 176px; }
.trio .shot img { mix-blend-mode: multiply; }
.steps { display: flex; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.steps span { background: rgba(255,255,255,.7); border-radius: 999px; padding: 2px 9px; }
.p-gift { background: var(--section); }
.voucher { margin: 22px 18px 22px 0; border-radius: 16px; background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; min-height: 150px; }
.voucher::after { content: ''; position: absolute; inset-inline-end: -40px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; border: 12px solid rgba(200,120,79,.35); }
X { font-size: 22px; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands a { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; font-weight: 600; letter-spacing: .02em; direction: ltr; color: #3B4640; }

.notes { margin-block: 28px 0; background: #FFF9E8; border: 1px solid #F0E2B0; border-radius: var(--r); padding: 14px 18px; font-size: 12.5px; color: #5A4500; }
.notes b { font-weight: 600; }

.ftr { background: var(--green-dark); color: rgba(255,255,255,.86); margin-top: 32px; padding-block: 26px; font-size: 13px; }
.ftr .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.ftr svg, .ftr img { height: 54px; width: auto; }

.bnav { display: none; }
.only-m { display: none; }
html.export .bnav { position: relative; }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  body { font-size: 14.5px; padding-bottom: 72px; }
  .ribbon { font-size: 11.5px; }
  .bar .wrap { min-height: 34px; justify-content: center; font-size: 12.5px; }
  .bar-links { display: none; }
  .hdr-main { grid-template-columns: auto 1fr auto; gap: 8px; min-height: 64px; }
  .menu { display: inline-grid !important; place-items: center; width: 44px; height: 44px; }
  .logo-plate { padding: 4px 10px 8px; }
  .logo-plate svg, .logo-plate img { height: 46px; width: auto; }
  .hdr-main .search { display: none; }
  .acts .act span.lbl, .act-wish { display: none !important; }
  .msearch { display: flex !important; margin-block: 2px 12px; height: 48px; }
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 14px; gap: 12px; height: auto; }
  .sub { min-height: 132px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 22px 20px 4px; gap: 8px; }
  .hero h1 { font-size: 25px; max-width: none; }
  .hero p { font-size: 14px; }
  .hero-ctas { margin-top: 2px; }
  .cta { min-height: 46px; padding: 0 20px; }
  .hero-art { height: 300px; }
  .shelf { inset-inline: 14px; bottom: 30px; padding: 10px 8px 8px; }
  .shelf .shot { height: 118px; }
  .dots { inset-inline-start: 50%; transform: translateX(-50%); bottom: 10px; }
  .subs { grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .sub { scroll-snap-align: start; min-height: 132px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust div { padding: 12px; gap: 8px; }
  .trust div + div { border-inline-start: 0; }
  .trust div:nth-child(even) { border-inline-start: 1px solid var(--line); }
  .trust div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust .ic { width: 24px; height: 24px; }
  .trust b { font-size: 13px; }
  .trust span { font-size: 11.5px; }
  .sec { padding-top: 22px; }
  .sec-head h2 { font-size: 19px; }
  .sec-head p { display: none; }
  .needs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 112px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .need .shot, .need .ph { height: 92px; }
  .need b { font-size: 13.5px; }
  .need small { display: none; }
  .need b { padding-bottom: 10px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 10px; }
  .card .shot { height: 150px; }
  .wish { top: 14px; inset-inline-end: 14px; }
  .badge { top: 14px; inset-inline-start: 14px; }
  .card.m-hide { display: none; }
  .promos { grid-template-columns: 1fr; }
  .promo { min-height: 180px; }
  .brands a { padding: 10px 14px; font-size: 13px; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset-inline: 0; bottom: 0; height: 66px; background: var(--surface); border-top: 1px solid var(--line); z-index: 20; }
  .bnav a { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11.5px; color: var(--muted); position: relative; }
  .bnav a.on { color: var(--green); }
  .bnav .count { position: absolute; top: 8px; inset-inline-start: calc(50% + 4px); background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; }
  .only-m { display: inline; }
  .only-d { display: none; }
  .price { flex-wrap: wrap; }
  .price small { flex-basis: 100%; margin: 0; }
  .promo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .p-ask { grid-template-columns: 1fr; }
  .p-ask .ask-art { display: none; }
  .ftr { margin-bottom: 0; }
}
.menu, .msearch { display: none; }
@media print {
  @page { margin: 8mm; }
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------------------------------------------------------------- V4 operational additions */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.money { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.money .cur { font-size: .78em; font-weight: 500; }
.money img.omr { width: .9em; height: .9em; align-self: center; }
.price .money b { font-size: 18px; font-weight: 700; }
.price.big .money b { font-size: 26px; }
.price small { font-size: 11px; color: var(--muted); margin-inline-start: auto; }
.stock { font-size: 12px; color: var(--accent-ink); }
.stock.out_of_stock { color: #9B2C2C; }
.stock.unverified { color: var(--muted); }
.add.alt { background: var(--beige); color: var(--accent-ink); }
.add.off { background: var(--section); color: var(--muted); cursor: default; font-weight: 500; font-size: 13px; text-align: center; padding: 0 8px; }
.add[disabled] { opacity: .6; }
.wish { color: var(--muted); }
.wish.on { color: #B4413B; }
.wish.on svg { fill: currentColor; }
.card .shot { display: grid; }
.card .shot img, .need .shot img { object-fit: contain; }
.need .shot img { mix-blend-mode: multiply; }
.vnote { font-size: 12px; opacity: .85; }
.voucher .money b { font-size: 22px; color: #fff; }
.voucher .money .cur { color: #fff; }
.voucher svg { height: 34px; width: auto; }
a.need:hover b, a.card:hover .name { color: var(--green); }

.page { padding-block: 22px 12px; }
.page h1 { font-size: 26px; font-weight: 600; color: var(--green-dark); margin-bottom: 8px; }
.page .lead { font-size: 16px; color: #44504A; max-width: 70ch; margin-bottom: 10px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.empty { background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); }
.crumb { display: inline-flex; min-height: 32px; align-items: center; color: var(--green); font-weight: 600; font-size: 14px; }
.tag { display: inline-block; font-size: 11.5px; color: var(--accent-ink); background: #F8EDE5; border-radius: 999px; padding: 1px 9px; }
.cta.sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.cta.wide { width: 100%; }
.cta[disabled] { background: #A9B5AE; cursor: not-allowed; }

.col-head { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh); padding: 18px; }
.col-cover { height: 180px; border-radius: 14px; }
.col-cover img { object-fit: contain; padding: 0; max-height: 100%; }
.col-cover.icon-tile svg { width: 72px; height: 72px; }
.col-head p { color: #44504A; margin-top: 6px; max-width: 70ch; }
.routine-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rcard { background: var(--beige); border-radius: var(--r-l); padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--sh); min-height: 170px; }
.rcard b { font-size: 19px; font-weight: 600; color: var(--green-dark); }
.rcard > span { font-size: 13.5px; color: #44504A; }
.rcard em { font-style: normal; color: var(--green); font-weight: 600; font-size: 14px; margin-top: auto; }
.needs.grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.routine .note { display: flex; gap: 8px; align-items: flex-start; background: #EEF4F0; color: var(--green-dark); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 8px; max-width: 80ch; }
.rsteps { list-style: none; display: grid; gap: 14px; margin-block: 14px; }
.rstep { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px; }
.rstep-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.rstep-h .num { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.rstep-h b { font-size: 17px; font-weight: 600; }
.rstep-h small { color: var(--muted); }
.rstep ul { list-style: none; display: grid; gap: 8px; }
.ritem label { display: grid; grid-template-columns: 24px 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; min-height: 80px; }
.ritem input { width: 22px; height: 22px; accent-color: var(--green); }
.ritem .shot { width: 64px; height: 64px; border-radius: 10px; }
.ritem .ri-t { display: flex; flex-direction: column; gap: 2px; }
.ritem .ri-t a { font-weight: 500; }
.ritem .ri-p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.ritem.off label { opacity: .65; cursor: default; background: var(--section); }
.state { color: #9B2C2C; font-size: 12.5px; }
.rtotal { position: sticky; bottom: 0; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--surface); border-radius: var(--r); box-shadow: 0 -4px 20px rgba(31,41,36,.08); padding: 12px 16px; margin-top: 8px; z-index: 5; }
.rtotal b .money b { font-size: 22px; }
.rtotal .cta { margin-inline-start: auto; }
.rresult { margin-top: 12px; border-radius: 12px; padding: 12px 16px; background: #EEF4F0; }
.rresult.warn { background: #FFF6E5; }
.rresult ul { margin: 6px 18px 0; }

.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.pdp-img { height: 420px; border-radius: var(--r-l); box-shadow: var(--sh); padding: 24px; }
.pdp-info { display: flex; flex-direction: column; gap: 8px; }
.pdp-actions .card { box-shadow: none; padding: 0; background: none; }
.pdp-actions .card > :not(.add):not(.wish):not(.stock) { display: none; }
.pdp-actions .card .wish { position: static; }
.pdp-actions .card { flex-direction: row; flex-wrap: wrap; align-items: center; }
.pdp-actions .add { flex: 1; min-width: 200px; }

.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.lines { list-style: none; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); padding: 10px 14px; }
.line .shot { width: 92px; height: 92px; border-radius: 10px; }
.line.off { opacity: .7; }
.line-t { display: flex; flex-direction: column; gap: 3px; }
.line-t > a { font-weight: 500; }
.line-acts { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.linklike { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--green); font-weight: 600; font-size: 13.5px; }
.linklike .ic { width: 16px; height: 16px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 44px; }
.stepper button { width: 44px; height: 44px; font-size: 18px; }
.stepper input { width: 46px; height: 42px; text-align: center; border: 0; font: inherit; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.summary { background: var(--surface); border-radius: var(--r); box-shadow: var(--sh); padding: 16px; display: grid; gap: 10px; position: sticky; top: 12px; }
.summary .row { display: flex; justify-content: space-between; align-items: baseline; }
.summary .row .money b { font-size: 20px; }
.ship p { font-size: 13.5px; }
.ship.qualified p { color: var(--green); font-weight: 600; }
.track { height: 8px; background: var(--section); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.track i { display: block; height: 100%; background: var(--green); border-radius: 4px; }

.consent { position: fixed; inset-inline: 16px; bottom: 16px; max-width: 560px; margin-inline: auto; background: var(--surface); border-radius: var(--r); box-shadow: 0 10px 40px rgba(31,41,36,.22); padding: 14px 16px; z-index: 40; display: grid; gap: 10px; font-size: 13.5px; }
.consent div { display: flex; gap: 8px; }
.toast { position: fixed; inset-inline: 0; bottom: 84px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); background: var(--green-dark); color: #fff; border-radius: 12px; padding: 10px 16px; z-index: 50; font-size: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: no-preference) { .toast { transition: opacity .2s; } }

@media (max-width: 1023px) {
  .routine-cards { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-img { height: 300px; }
}
@media (max-width: 760px) {
  .col-head { grid-template-columns: 1fr; }
  .col-cover { height: 150px; }
  .page h1 { font-size: 22px; }
  .ritem label { grid-template-columns: 24px 52px minmax(0, 1fr); }
  .ritem .ri-p { grid-column: 3; align-items: flex-start; flex-direction: row; gap: 8px; }
  .ritem .shot { width: 52px; height: 52px; }
  .rtotal { bottom: 66px; }
  .line { grid-template-columns: 72px minmax(0, 1fr); }
  .line .shot { width: 72px; height: 72px; }
  .line-p { grid-column: 2; }
  .consent { bottom: 78px; }
  .needs.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; }
}
html[dir="ltr"] .brand, html[dir="ltr"] .name-en { text-align: left; }

.voucher img { height: 34px; width: auto; align-self: flex-start; }

/* checkout and order pages: the approved V3 prototype's checkout (prototype/src/styles.css "checkout"), on the store's tokens */
.checkout { padding-bottom: 32px; }
.co-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; }
.co-top > a { color: var(--green); font-weight: 600; white-space: nowrap; }
.co-secure { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--green); white-space: nowrap; }
.co-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.5fr); gap: 24px; align-items: start; padding-block: 8px 32px; }
.co-steps { display: flex; gap: 10px; list-style: none; margin-bottom: 16px; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.co-steps li + li::before { content: ''; width: 40px; height: 2px; background: var(--line); margin-inline-end: 4px; }
.co-steps span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--green); color: var(--green); font-size: 14px; }
.co-card { background: var(--surface); border-radius: var(--r-l); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--sh); border: 1.5px solid transparent; }
.co-card.open { border-color: var(--green); }
.co-card > header { display: flex; justify-content: space-between; align-items: center; }
.co-card h2 { font-size: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.co-card h2 span { color: var(--green); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.form-grid > label, .coupon-row > label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form-grid .span2 { grid-column: 1 / -1; }
.form-grid input:not([type=radio]):not([type=checkbox]), .form-grid select { font: inherit; min-height: 46px; border: 1.5px solid #CFCBC0; border-radius: 10px; padding: 0 12px; background: #fff; color: var(--text); width: 100%; }
.form-grid input:focus-visible, .form-grid select:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.form-grid fieldset { border: 0; display: grid; gap: 8px; }
.form-grid legend { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.radio-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.radio-cards legend { grid-column: 1 / -1; }
.pick { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #CFCBC0; border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.pick:has(input:checked), .pick.on { border-color: var(--green); background: #EAF1EC; }
.pick input { margin-top: 5px; accent-color: var(--green); }
.pick > span { display: grid; gap: 2px; }
.pick > span > .ic { color: var(--green); }
.pick small { color: var(--muted); }
.note, .pending, .proposal, .blocked, .co-alert { display: flex; gap: 8px; align-items: flex-start; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.note { background: var(--section); }
.pending { background: #FFF6D8; color: #5A4500; }
.proposal { background: #F8F1E9; }
.blocked, .co-alert { background: #FBEAE6; color: #8A2A17; }
.co-alert { margin-bottom: 12px; }
.blocked a { color: inherit; text-decoration: underline; }
.note .ic, .pending .ic, .proposal .ic, .blocked .ic, .co-alert .ic { margin-top: 2px; width: 17px; height: 17px; flex: none; }
.f-err, .warn-t { color: #A3341C; font-size: 13px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.coupon-row { display: flex; gap: 10px; align-items: end; }
.coupon-row > label { flex: 1; }
.coupon-row input { font: inherit; min-height: 46px; border: 1.5px solid #CFCBC0; border-radius: 10px; padding: 0 12px; width: 100%; }
.center { text-align: center; }
.co-side { background: var(--surface); border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh); display: grid; gap: 12px; position: sticky; top: 16px; }
.sub-title { font-size: 17px; font-weight: 600; color: var(--green-dark); }
.co-lines { list-style: none; display: grid; gap: 10px; width: 100%; }
.co-lines li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 14px; text-align: start; }
.co-lines li.off { opacity: .75; }
.co-img { width: 48px; height: 48px; background: var(--section); border-radius: 8px; overflow: hidden; display: block; }
.co-img img { width: 100%; height: 100%; object-fit: contain; }
.co-name { display: grid; }
.co-name small { color: var(--muted); }
.sum-rows { display: grid; gap: 8px; width: 100%; }
.sum-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sum-rows dt { color: var(--muted); }
.sum-rows .tot { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 600; }
.sum-rows .tot dt { color: var(--text); }
.sum-rows .tot .money b { font-size: 20px; }
.sum-rows .disc dd { color: var(--green); }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 99px; background: var(--section); font-size: 13px; font-weight: 600; }
.pill.ok { background: #EAF1EC; color: var(--green-dark); }
.pill.warn { background: #FFF6D8; color: #5A4500; }
.order-done { display: grid; justify-items: center; }
.od-card { background: var(--surface); border-radius: var(--r-l); padding: 28px; max-width: 600px; width: 100%; display: grid; gap: 14px; justify-items: center; text-align: center; box-shadow: var(--sh); }
.od-card h1 { margin: 0; }
.od-card .lead { margin: 0; }
.od-card .sum-rows, .od-card .pending, .od-card .blocked { text-align: start; width: 100%; }
.od-ic { width: 60px; height: 60px; border-radius: 50%; background: #EAF1EC; color: var(--green); display: grid; place-items: center; }
.od-ic.warn { background: #FFF6D8; color: #5A4500; }
.od-ic .ic { width: 28px; height: 28px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.row-btns form { display: contents; }
.js .js-hide { display: none; }
@media (max-width: 1023px) { .co-grid { grid-template-columns: 1fr; } .co-side { position: static; order: -1; } }
@media (max-width: 760px) { .form-grid, .radio-cards { grid-template-columns: 1fr; } .co-steps li + li::before { width: 16px; } .od-card { padding: 20px 16px; } .co-top { font-size: 13.5px; } }

/* the payment simulator's page (development and test only) */
.sim-pay { background: #ECEFF3; }
.sim-card { max-width: 560px; margin: 40px auto; background: #fff; border-radius: 16px; padding: 24px; display: grid; gap: 12px; box-shadow: var(--sh); }
.sim-badge { background: #FFF6D8; color: #5A4500; border-radius: 8px; padding: 6px 10px; font-weight: 600; font-size: 13px; justify-self: start; }
.sim-acts { display: grid; gap: 10px; }
.sim-acts .cta { width: 100%; }
@media (max-width: 600px) { .sim-card { margin: 16px; } }

/* listing, product page, reviews, account and footer: the approved V3 prototype (prototype/src/styles.css "listing, filters",
   "product page", "account", "footer"), on the store's tokens */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--green); }
.list-head h1 { margin-bottom: 4px; }
.subcats, .chips, .rv-sort { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #CFCBC0; background: var(--surface); font-size: 13.5px; font-weight: 500; color: var(--text); }
.chip.on { border-color: var(--green); background: #EAF1EC; color: var(--green-dark); }
.chip .ic { width: 14px; height: 14px; }
.list-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.filters { background: var(--surface); border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh); position: sticky; top: 16px; }
.filters > summary { display: none; }
.filters form { display: grid; gap: 16px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h2 { font-size: 17px; font-weight: 600; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 2px; }
.filters legend { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.filters .check { min-height: 36px; align-items: center; }
.filters .check small { margin-inline-start: auto; color: var(--muted); }
.list-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 16px; }
.list-tools .chips { flex: 1; margin: 0; }
.list-count { font-weight: 600; font-size: 14.5px; }
.sort { margin-inline-start: auto; display: flex; gap: 8px; align-items: center; }
.sort label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select, .qty-pick select { font: inherit; height: 42px; border: 1.5px solid #CFCBC0; border-radius: 10px; background: var(--surface); padding-inline: 10px 28px; color: var(--text); }
.list-main .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; font-size: 14px; }
.pdp-page .pdp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3.3fr); gap: 28px; align-items: start; }
.gallery .g-main { aspect-ratio: 1 / 1; background: var(--surface); border-radius: var(--r-l); overflow: hidden; display: grid; place-items: center; box-shadow: var(--sh); }
.gallery .g-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery.is-oos img { filter: grayscale(1); opacity: .82; }
.g-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.g-thumb { aspect-ratio: 1 / 1; border: 2px solid transparent; border-radius: 12px; background: var(--surface); padding: 4px; overflow: hidden; box-shadow: var(--sh); }
.g-thumb[aria-pressed="true"] { border-color: var(--green); }
.g-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp-brand { font-weight: 600; font-size: 14.5px; color: var(--green); }
.pdp-info h1 { font-size: clamp(22px, 2.4vw, 29px); line-height: 1.38; margin: 6px 0 2px; color: var(--text); }
.pdp-info .name-en { white-space: normal; text-align: start; }
.pdp-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.pdp-rating a { color: var(--green); }
.pdp-short { margin-top: 12px; color: #44504A; }
.attrs { margin: 18px 0 0; background: var(--section); border-radius: var(--r); padding: 6px 16px; }
.attrs > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 9px 0; font-size: 14.5px; }
.attrs > div + div { border-top: 1px solid var(--line); }
.attrs dt { color: var(--muted); }
.attrs dd { margin: 0; }
.attrs a { color: var(--green); }
.buybox { background: var(--surface); border-radius: var(--r-l); padding: 20px; box-shadow: var(--sh); display: grid; gap: 14px; position: sticky; top: 16px; }
.bb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.money.big b { font-size: 26px; font-weight: 700; }
.pdp-stock { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; }
.pdp-stock.ok { color: var(--green); }
.pdp-stock.low { color: #7E5410; }
.pdp-stock.oos, .pdp-stock.rx { color: #A33A2E; }
.pdp-stock.unv { color: var(--muted); font-weight: 500; }
.pdp-stock .ic { width: 18px; height: 18px; }
.buy-row { display: flex; gap: 10px; }
.buy-row .grow { flex: 1; align-self: stretch; }
.bb-info { list-style: none; display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.bb-info li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.bb-info .ic { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }
.bb-info b { display: block; font-size: 14px; font-weight: 600; }
.bb-info span { color: var(--muted); }
.notify-form { display: grid; gap: 8px; background: var(--section); border-radius: var(--r); padding: 14px; }
.notify-form h3 { font-size: 16px; font-weight: 600; }
.notify-form p { font-size: 13.5px; color: var(--muted); }
.notify-form input, .acct input, textarea { font: inherit; width: 100%; min-height: 44px; border: 1.5px solid #CFCBC0; border-radius: 10px; background: var(--surface); padding: 8px 12px; }
.pdp-details { margin-top: 36px; display: grid; gap: 10px; max-width: 860px; }
.pdp-details details { background: var(--surface); border-radius: var(--r); padding: 4px 18px; box-shadow: var(--sh); }
.pdp-details summary { cursor: pointer; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; }
.pdp-details summary::-webkit-details-marker { display: none; }
.pdp-details summary h2 { font-size: 17px; font-weight: 600; }
.pdp-details summary::after { content: '+'; font-size: 22px; color: var(--green); line-height: 1; }
.pdp-details details[open] summary::after { content: '−'; }
.pdp-details details p { padding-bottom: 12px; color: #44504A; }
.reviews { margin-top: 36px; max-width: 860px; }
.sec-title { font-size: 22px; font-weight: 600; color: var(--green-dark); }
.rv-summary { display: flex; align-items: center; gap: 10px; margin: 10px 0 12px; }
.rv-summary b { font-size: 30px; }
.rv-dist { display: grid; gap: 4px; max-width: 360px; margin-bottom: 14px; font-size: 13px; }
.rv-dist div { display: grid; grid-template-columns: 14px 14px 1fr 28px; gap: 6px; align-items: center; }
.rv-dist .ic { width: 13px; height: 13px; color: #C98A1B; fill: #C98A1B; }
.rv-dist i { height: 8px; border-radius: 4px; background: linear-gradient(to left, #C98A1B var(--w), var(--section) var(--w)); }
html[dir=ltr] .rv-dist i { background: linear-gradient(to right, #C98A1B var(--w), var(--section) var(--w)); }
.rv-list { list-style: none; display: grid; gap: 10px; }
.rv-list li { background: var(--surface); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh); }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 6px; font-size: 14px; }
.rv-head time { color: var(--muted); font-size: 12.5px; margin-inline-start: auto; }
.rv-title { font-weight: 600; }
.rv-photos { display: flex; gap: 8px; margin-top: 8px; }
.rv-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; }
.verified { display: inline-flex; gap: 4px; align-items: center; color: var(--green); font-size: 12.5px; font-weight: 600; background: #EAF1EC; padding: 1px 8px; border-radius: 999px; }
.verified .ic { width: 14px; height: 14px; }
.stars { display: inline-flex; gap: 1px; color: #C98A1B; }
.stars .ic { width: 16px; height: 16px; }
.stars .on .ic { fill: #C98A1B; }
.stars .half .ic { fill: #E9C77F; }
.rating-pick, .form-grid fieldset.rating-pick { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rating-pick legend { font-weight: 500; font-size: 14px; margin-bottom: 6px; width: 100%; }
.rating-pick label { display: inline-flex; }
.rating-pick input { position: absolute; opacity: 0; }
.rating-pick span { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 1.5px solid #CFCBC0; border-radius: 12px; cursor: pointer; }
.rating-pick input:checked + span { border-color: var(--green); background: #EAF1EC; }
.rating-pick input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.rating-pick .ic { width: 16px; height: 16px; color: #C98A1B; fill: #C98A1B; }
.content-page p { margin-bottom: 12px; max-width: 72ch; }
.acct h1, .acct-page h1 { margin-bottom: 6px; }
.head-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
table.simple { width: 100%; border-collapse: collapse; font-size: 14px; }
table.simple td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ftr { padding-block: 0; }
.ftr .wrap.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-block: 30px 18px; align-items: start; }
.ftr h2 { font-size: 15px; color: #fff; margin-bottom: 10px; font-weight: 600; }
.ftr ul { list-style: none; display: grid; gap: 6px; }
.ftr a { color: rgba(255,255,255,.86); font-size: 14px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .wrap.ftr-bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 14px; font-size: 13px; display: block; }
@media (max-width: 1023px) {
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: static; padding: 0; background: none; box-shadow: none; }
  .filters > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--green); border-radius: 12px; color: var(--green); font-weight: 600; cursor: pointer; list-style: none; margin-bottom: 10px; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters[open] form { background: var(--surface); border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh); margin-bottom: 14px; }
  .list-main .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-page .pdp-grid { grid-template-columns: 1fr; gap: 18px; }
  .buybox { position: static; }
  .g-thumbs { grid-template-columns: repeat(5, 64px); overflow-x: auto; }
}
@media (max-width: 760px) {
  .list-main .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sort label span { display: none; }
  .ftr .wrap.ftr-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ftr-brand { grid-column: 1 / -1; }

}

/* V4 stage 4: the pharmacy's contact data (footer column, «تواصل معنا» block, WhatsApp only once confirmed) */
.ftr .wrap.ftr-grid { grid-template-columns: 1.3fr repeat(4, 1fr); }
.ftr .ftr-tag { margin-top: 10px; max-width: 30ch; color: rgba(255,255,255,.78); }
.ftr .ftr-contact li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.ftr .ftr-contact .ic { width: 16px; height: 16px; margin-top: 2px; opacity: .85; }
.ftr .ftr-dev { opacity: .7; }
.contact-block { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--sh); padding: 20px; margin: 6px 0 22px; }
.contact-block h2 { font-size: 18px; color: var(--green-dark); margin-bottom: 14px; }
.contact-block .cb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; }
.contact-block .cb-row { display: flex; gap: 10px; align-items: flex-start; }
.contact-block .cb-row .ic { color: var(--green); margin-top: 3px; }
.contact-block .cb-row b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-block .cb-row span { display: block; }
.contact-block .cb-row small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.contact-block .cb-row a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.contact-block .cta.wa { margin-top: 18px; }
@media (max-width: 1023px) { .ftr .wrap.ftr-grid { grid-template-columns: repeat(3, 1fr); } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ftr .wrap.ftr-grid { grid-template-columns: 1fr 1fr; } .ftr .ftr-contact { grid-column: 1 / -1; } .contact-block .cb-grid { grid-template-columns: 1fr; } }

/* stage 6: the brand «الشفاء» — the logo's emblem above the word, in the approved green tab */
.brandmark { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; }
.logo-plate.brandmark { padding: 8px 18px 10px; }
.logo-plate.brandmark img, .logo-plate.brandmark svg { height: 46px; width: auto; }
.brandmark .brandword { color: #fff; font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
html[lang="en"] .brandmark .brandword { font-size: 17px; }
.ftr .ftr-brand .brandmark img, .ftr .ftr-brand .brandmark svg { height: 52px; }
.ftr .ftr-brand .brandmark { align-items: flex-start; }
.ftr .ftr-brand .brandword { font-size: 22px; }
@media (max-width: 760px) {
  .logo-plate.brandmark { padding: 5px 12px 7px; }
  .logo-plate.brandmark img, .logo-plate.brandmark svg { height: 32px; }
  .brandmark .brandword { font-size: 15px; }
}
/* the client's legal texts */
.content-page.legal .legal-text { line-height: 1.85; }
.legal-text .lt-h { font-size: 18px; color: var(--green-dark); margin: 22px 0 8px; }
.legal-text .lt-num { margin-bottom: 10px; }
.legal-text .lt-num p { margin-bottom: 6px; }
.legal-text .lt-n { color: var(--green); }
.legal-text .lt-list { margin: 4px 0 12px; padding-inline-start: 22px; list-style: disc; display: grid; gap: 4px; }
.legal-text a { color: var(--green); text-decoration: underline; }
.alt-login { margin-top: 12px; text-align: center; }
.alt-login a { color: var(--green); text-decoration: underline; }
/* after-sale requests on the order page, request and complaint forms */
.after-sale{margin-top:20px;border-top:1px solid var(--line,#e5e7eb);padding-top:16px;text-align:start}
.after-sale h2{font-size:1.05rem;margin:0 0 10px}.after-sale h3{font-size:.95rem;margin:14px 0 6px}
.as-form{display:grid;gap:8px;margin-bottom:12px}.as-form label{display:grid;gap:4px}
.req-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}
.req-item{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:6px 0}.req-item input{width:80px}
.as-form input { font: inherit; min-height: 46px; border: 1.5px solid #CFCBC0; border-radius: 10px; padding: 0 12px; background: #fff; color: var(--text); width: 100%; }
.as-form input:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.after-sale .small a { color: var(--green); text-decoration: underline; }
.form-grid textarea { font: inherit; border: 1.5px solid #CFCBC0; border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--text); width: 100%; }
.resend { text-align: center; margin-top: 4px; }
.resend button.linklike { background: none; border: 0; cursor: pointer; padding: 0 4px; font: inherit; font-weight: 600; color: var(--green); }
.acct .cta .ic { width: 18px; height: 18px; }

/* ================================================================ audit remediation (19 Oct 2026): approved V3 elements restored
   (prototype/src/styles.css: product card, snake-to-goblet indicator, trust card, «اسأل الصيدلي», suggestions, sizes,
   doctors directory, gift vouchers), on the store's tokens */
:root { --green-tint: #EAF1EC; --beige-soft: #F7F0E7; --warn-soft: #FFF3E0; --warn-ink: #7E5410; --sh-2: 0 12px 40px rgba(31,41,36,.16); }

/* product card: «أضف» on hover and keyboard focus on a computer (its space is not taken, nothing jumps); always shown
   on touch screens; on a phone it reads «أضف» with a small cart icon */
.add .add-s { display: none; }
.card .price .from, .bb-price .from, .sg-price .from { font-style: normal; font-size: 12.5px; color: var(--muted); margin-inline-end: 2px; }
.add.choose { background: var(--surface); color: var(--green); border: 1.5px solid var(--green); }
.card.is-oos .shot img { filter: grayscale(1); opacity: .82; }
@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .card { padding-bottom: 14px; }
  .card .add:not(.off):not(.alt) { position: absolute; inset-inline: 22px; top: 150px; opacity: 0; transform: translateY(6px); pointer-events: none;
    transition: opacity .16s, transform .16s; box-shadow: 0 6px 18px rgba(31,64,50,.22); z-index: 3; }
  .card:hover .add:not(.off):not(.alt), .card:focus-within .add:not(.off):not(.alt) { opacity: 1; transform: none; pointer-events: auto; }
  .list-main .card .add:not(.off):not(.alt) { top: 150px; }
}
@media (prefers-reduced-motion: reduce) { .card .add { transition: none !important; transform: none !important; } }
@media (max-width: 760px) {
  .add { min-height: 40px; font-size: 14px; gap: 6px; }
  .add .ic { width: 17px; height: 17px; }
  .add .add-l { display: none; }
  .add .add-s { display: inline; }
}

/* the snake-to-goblet delivery indicator */
.snake { background: var(--beige-soft); border-radius: var(--r); padding: 12px 14px 10px; }
.snake-msg { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.snake-msg b { color: var(--green); font-weight: 700; }
.snake-line { margin-top: 4px; }
.snake-svg { width: 100%; height: auto; max-height: 58px; overflow: visible; display: block; }
.sn-track { fill: none; stroke: #E2D8C8; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.sn-track.is-off { stroke: #DAD6CD; stroke-dasharray: 1.2 2.2; }
.sn-fill { fill: none; stroke: var(--green); stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.sn-glint { fill: none; stroke: rgba(255,255,255,.8); stroke-width: 4.4; stroke-linecap: round; stroke-dasharray: 8 92; animation: glint 6.5s linear infinite; }
@keyframes glint { from { stroke-dashoffset: 8; } to { stroke-dashoffset: -100; } }
.snake:hover .sn-glint, .snake:focus-within .sn-glint { animation-play-state: paused; }
.snake.no-motion .sn-glint, body[data-motion="off"] .sn-glint { animation: none; display: none; }
@media (prefers-reduced-motion: reduce) { .sn-glint { animation: none; display: none; } }
.sn-head { fill: var(--surface); stroke: var(--green); stroke-width: 2.6; }
.sn-head.is-off { stroke: #B9B4A8; }
.goblet { width: 30px; height: 38px; overflow: visible; }
.goblet .bowl { fill: var(--surface); stroke: var(--green); stroke-width: 2.1; stroke-linejoin: round; }
.goblet .stem { fill: none; stroke: var(--green); stroke-width: 2.1; stroke-linecap: round; }
.goblet .shine { fill: none; stroke: transparent; stroke-width: 1.6; stroke-linecap: round; }
.goblet.is-full .bowl { fill: var(--accent); stroke: var(--accent-ink); }
.goblet.is-full .stem { stroke: var(--accent-ink); }
.goblet.is-full .shine { stroke: rgba(255,255,255,.75); }
.snake.st-qualified { background: var(--green-tint); }
.snake.st-out_of_coverage { background: var(--warn-soft); }
.snake.st-out_of_coverage .snake-msg { color: var(--warn-ink); }
.snake-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.snake-mini { padding: 10px 12px 8px; }

/* the trust card: the last item of every product gallery */
.gallery .g-main { position: relative; }
.g-slide { position: absolute; inset: 0; display: grid; place-items: center; }
.g-slide > img { width: 100%; height: 100%; object-fit: contain; }
.g-slide.g-trust { padding: 0; }
.gallery.is-oos .g-slide:not(.g-trust) img { filter: grayscale(1); opacity: .82; }
.gallery.is-oos .g-thumb:not(.g-trust) img { filter: grayscale(1); opacity: .82; }
.g-thumb { cursor: pointer; display: grid; place-items: center; }
.g-thumb.g-trust { padding: 0; }
.trust-thumb { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 10px; }
.trust-thumb.tt-v1 { background: var(--beige); }
.trust-thumb.tt-v2 { background: var(--green-dark); }
.trust-thumb .tc-logo { padding: 4px 6px 5px; border-radius: 8px; }
.trust-thumb .tc-logo img { height: auto; width: 100%; max-width: 40px; }
.trust-thumb.tt-v2 .tc-logo { padding: 0; }
.trust-card { width: 100%; height: 100%; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 9%; text-align: center; }
.tc-v1 { background: var(--beige); color: var(--text); }
.tc-v2 { background: var(--green-dark); color: #fff; }
.tc-logo { display: inline-flex; padding: 10px 16px 12px; background: var(--green-dark); border-radius: 14px; }
.tc-v2 .tc-logo { background: transparent; padding: 0; }
.tc-logo img { height: 62px; width: auto; }
.trust-card b { font-size: 19px; font-weight: 600; line-height: 1.4; max-width: 20ch; }
.trust-card > span { font-size: 14px; opacity: .9; }
.trust-card ul { display: grid; gap: 8px; text-align: start; font-size: 14px; list-style: none; }
.trust-card li { display: flex; gap: 8px; align-items: center; }
.trust-card li .ic { color: var(--green); width: 18px; height: 18px; }
.trust-card:not(.big) { padding: 10px; gap: 6px; }
.trust-card:not(.big) .tc-logo img { height: 34px; }
.trust-card:not(.big) b { font-size: 13px; }
.trust-card:not(.big) ul, .trust-card:not(.big) > span { font-size: 11px; }
.trust-img { width: 100%; height: 100%; object-fit: cover; }

/* sizes and types (V3 D05): the customer chooses; no size is preselected */
.opts { margin-top: 18px; border: 0; }
.opts legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid #CFCBC0; border-radius: 12px; background: var(--surface); font-size: 14px; }
.opt b { font-weight: 600; }
.opt .money b { font-size: 13.5px; font-weight: 600; }
.opt small { color: #9B2C2C; font-size: 12px; }
.opt.on { border-color: var(--green); background: var(--green-tint); }
.opt.out:not(.on) { color: var(--muted); }

/* «اسأل الصيدلي» */
.ask-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-content: start; background: var(--surface); border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh); }
.ask-card .ask-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--green); grid-row: span 2; }
.ask-card h3 { font-size: 16.5px; font-weight: 600; }
.ask-card p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.ask-card .ask-hours { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.ask-card .ask-hours .ic { width: 15px; height: 15px; }
.ask-card .cta { grid-column: 1 / -1; margin-top: 10px; align-self: stretch; }
.ask-card.compact { align-items: center; padding: 12px 14px; background: var(--green-tint); box-shadow: none; gap: 4px 12px; }
.ask-card.compact .ask-ic { grid-row: auto; width: 36px; height: 36px; background: var(--surface); }
.ask-card.compact p:not(.ask-hours) { display: none; }
.ask-card.compact h3 { font-size: 14.5px; }
.ask-card.compact .cta { margin: 4px 0 0; min-height: 40px; font-size: 14px; background: var(--surface); }
.cart-main { display: grid; gap: 12px; align-content: start; }
.list-ask { margin-top: 18px; max-width: 560px; }
.low-note { background: var(--warn-soft); color: var(--warn-ink); }
.stock.low_stock { color: var(--warn-ink); }

/* search: suggestions while typing, the closest-match note, no results */
.search { position: relative; }
.suggest { position: absolute; top: calc(100% + 8px); inset-inline: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-2); padding: 14px; z-index: 40; max-height: 70vh; overflow: auto; text-align: start; }
.sg-note { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.sg-group + .sg-group { margin-top: 14px; }
.sg-group h3 { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.sg-group .chips { margin: 0; }
.sg-brand { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 10px; background: var(--section); margin-bottom: 6px; }
.sg-brand span { color: var(--muted); font-size: 13px; }
.sg-prod { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 6px; border-radius: 10px; }
.sg-prod:hover, .sg-prod:focus-visible { background: var(--section); }
.sg-img { width: 44px; height: 44px; background: #fff; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.sg-img img { width: 100%; height: 100%; object-fit: contain; }
.sg-prod.is-oos .sg-img img { filter: grayscale(1); }
.sg-name { font-size: 14px; display: grid; }
.sg-name small { color: var(--muted); }
.sg-all { display: block; text-align: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; color: var(--green); }
.sg-empty { text-align: center; color: var(--muted); display: grid; gap: 6px; }
.sg-empty a { color: var(--green); font-weight: 600; }
.note.corrected { margin-top: 6px; max-width: 70ch; }
.noresults { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; background: var(--surface); border-radius: var(--r-l); padding: 28px; box-shadow: var(--sh); }
.noresults .chips { margin-top: 8px; }
.noresults .sub-title { margin-top: 18px; }
@media (max-width: 1023px) { .noresults { grid-template-columns: 1fr; padding: 20px; } }

/* home: picture slots with no licensed picture yet, recently viewed */
.slot-empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 6px; background: repeating-linear-gradient(135deg, #EFE8DC 0 12px, #EAE2D4 12px 24px); color: #9A8F7C; text-align: center; padding: 10px; }
.slot-empty .ic { width: 34px; height: 34px; stroke-width: 1.4; }
.slot-empty small { font-size: 11px; background: rgba(255,255,255,.7); border-radius: 999px; padding: 2px 8px; color: #6E6556; }
.recent .sec-head form { margin: 0; }

/* doctors directory */
.nav a.nav-doctors, .nav a[href="/gift-vouchers"] { display: inline-flex; gap: 6px; align-items: center; }
.nav a .ic { width: 17px; height: 17px; }
.dr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dr-card { background: var(--surface); border-radius: var(--r-l); padding: 18px 20px; box-shadow: var(--sh); display: grid; gap: 10px; align-content: start; }
.dr-head { display: flex; gap: 14px; align-items: center; padding-bottom: 8px; }
.dr-head h2 { font-size: 18px; font-weight: 600; }
.dr-work { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin-top: 2px; }
.dr-work .ic { width: 16px; height: 16px; color: var(--green); }
.dr-photo { width: 76px; height: 76px; flex: none; border-radius: 50%; background: var(--section); display: grid; place-items: center; object-fit: cover; }
.dr-initials { background: var(--green-tint); color: var(--green-dark); font-weight: 700; font-size: 22px; }
.dr-exp { font-size: 14.5px; }
.dr-exp b { font-weight: 600; }
.dr-bio { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.dr-bio.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dr-card .linklike { min-height: 32px; justify-self: start; }
.empty .ic { width: 36px; height: 36px; margin: 0 auto 8px; display: block; }
@media (max-width: 760px) { .dr-grid { grid-template-columns: 1fr; } .dr-photo { width: 64px; height: 64px; } }

/* gift vouchers */
.gift-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); gap: 24px; align-items: start; }
.gift-form { display: grid; gap: 0; }
.gift-form header { margin-bottom: 12px; }
.gift-form .co-card h2 { margin-bottom: 4px; }
.amounts { gap: 10px; margin: 10px 0 0; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; }
.chip-radio > span { display: inline-flex; min-height: 46px; padding: 0 18px; align-items: center; border: 1.5px solid #CFCBC0; border-radius: 12px; cursor: pointer; background: var(--surface); }
.chip-radio input:checked + span { border-color: var(--green); background: var(--green-tint); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.chip-radio input:disabled + span { cursor: default; opacity: .7; }
.gift-side { background: var(--surface); border-radius: var(--r-l); padding: 20px; box-shadow: var(--sh); display: grid; gap: 14px; position: sticky; top: 16px; }
.voucher-visual { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 8px; position: relative; overflow: hidden; aspect-ratio: 1.6 / 1; align-content: start; }
.voucher-visual::after { content: ''; position: absolute; inset-inline-end: -56px; bottom: -84px; width: 220px; height: 220px; border-radius: 50%; border: 14px solid rgba(200,120,79,.32); }
.vv-top { display: flex; justify-content: space-between; align-items: center; }
.vv-logo img { height: 52px; width: auto; }
.vv-amount .money b { font-size: 24px; color: #fff; }
.vv-amount .money .cur { color: #fff; }
.vv-to { margin-top: 6px; }
.vv-msg { font-size: 14px; opacity: .92; max-width: 32ch; }
.vv-from { font-size: 13px; opacity: .85; }
.vv-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; letter-spacing: .04em; background: rgba(255,255,255,.14); border-radius: 8px; padding: 6px 10px; justify-self: start; position: relative; z-index: 1; direction: ltr; }
.gv-rules { list-style: none; display: grid; gap: 6px; font-size: 13.5px; color: #44504A; }
.gv-rules li { padding-inline-start: 18px; position: relative; }
.gv-rules li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.gv-refund summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--green); min-height: 32px; }
.gv-refund p { font-size: 13.5px; color: #44504A; white-space: pre-line; }
.gv-sale { width: 100%; text-align: start; border-top: 1px solid var(--line); padding-top: 12px; }
.gv-sale h2 { display: flex; gap: 8px; align-items: center; font-size: 17px; margin-bottom: 8px; }
.gr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; }
.gr-grid > div { display: grid; gap: 12px; align-content: start; }
.how { display: grid; gap: 8px; margin: 6px 0 6px; padding-inline-start: 22px; }
.sum-rows .due dd .money b { color: var(--green); }
@media (max-width: 1023px) { .gift-grid, .gr-grid { grid-template-columns: 1fr; } .gift-side { position: static; } }
/* cart (V3 F09): the indicator heads the lines, full width; «اسأل الصيدلي» closes the summary */
.cart-main > .snake { padding: 16px 20px 12px; }
.cart-main > .snake .snake-svg { max-height: 64px; }
.summary .ask-card.compact { margin-top: 14px; background: var(--green-tint); }
.summary .ask-card.compact .cta { width: 100%; }

/* the cart drawer (V3 F02–F08): from the inline end, over a dimmed page; full width on a phone */
.cd-back { position: fixed; inset: 0; background: rgba(20,32,26,.45); z-index: 60; }
.cart-drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg); z-index: 61; display: grid; grid-template-rows: auto 1fr auto;
  box-shadow: -12px 0 40px rgba(20,32,26,.2); }
.cart-drawer[hidden], .cd-back[hidden] { display: none; }
html.drawer-open { overflow: hidden; }
.dr-head-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.dr-head-bar h2 { font-size: 19px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; }
.icon-btn:hover { background: var(--section); }
.cd-body { overflow: auto; padding: 14px 16px; display: grid; gap: 10px; align-content: start; }
.cd-body .line { grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px; }
.cd-body .line .shot { width: 64px; height: 64px; }
.cd-body .sum-rows { background: var(--surface); border-radius: var(--r); padding: 12px 14px; }
.cd-body .sum-rows .tot { display: flex; justify-content: space-between; font-weight: 600; }
.cd-body .sum-rows dd { margin: 0; }
.cd-foot { display: grid; gap: 8px; padding: 12px 16px 16px; background: var(--bg); border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) { .cart-drawer:not([hidden]) { animation: cd-in .2s ease-out; } }
@keyframes cd-in { from { transform: translateX(-24px); opacity: .4; } to { transform: none; opacity: 1; } }
[dir="ltr"] .cart-drawer { box-shadow: 12px 0 40px rgba(20,32,26,.2); }
@keyframes cd-in-ltr { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { [dir="ltr"] .cart-drawer:not([hidden]) { animation-name: cd-in-ltr; } }
/* main nav (V3 A01): the categories scroll and fade at their end; offers, routines, gift vouchers and the doctors
   directory always stay in view */
.nav .wrap { overflow: visible; }
.nav .nav-cats { display: flex; gap: 4px; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
[dir="ltr"] .nav .nav-cats { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.nav .nav-cats::-webkit-scrollbar { display: none; }
.nav .nav-extra { display: flex; gap: 4px; flex: none; align-items: center; }
.nav a.all { flex: none; }


/* ALSHIFA_HERO_SLIDER_V2 */
.hero { position: relative; display: block; min-height: 420px; overflow: hidden; background: var(--beige); isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: 0; height: auto; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide > img, .hero-slide > .slot-empty { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(246,240,229,.02) 0%, rgba(246,240,229,.05) 44%, rgba(246,240,229,.27) 70%, rgba(246,240,229,.70) 100%); }
.hero-copy { position: relative; z-index: 3; box-sizing: border-box; width: min(47%, 520px); min-height: 420px; margin-left: auto; padding: 42px 42px 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.hero-copy h1 { text-shadow: 0 1px 12px rgba(255,255,255,.35); }
.hero-dots { position: absolute; z-index: 4; inset-inline-start: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; padding: 7px 9px; border-radius: 999px; background: rgba(255,255,255,.60); backdrop-filter: blur(8px); }
.hero-dots button { width: 9px; height: 9px; min-height: 0; padding: 0; border-radius: 50%; background: rgba(31,64,50,.30); border: 0; }
.hero-dots button[aria-current="true"] { width: 24px; border-radius: 999px; background: var(--green); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
@media (max-width: 760px) {
  .hero { min-height: 510px; }
  .hero-art { height: auto; }
  .hero-slide > img { object-position: 44% center; }
  .hero::after { background: linear-gradient(to bottom, rgba(246,240,229,.05) 0%, rgba(246,240,229,.12) 44%, rgba(246,240,229,.78) 100%); }
  .hero-copy { width: 100%; min-height: 510px; margin: 0; padding: 300px 22px 58px; justify-content: flex-end; }
  .hero-dots { bottom: 18px; }
}
/* Rendering optimisation for long product grids; unsupported browsers simply ignore it. */
/* Product cards stay visible so their first-row images start fetching immediately. */

/* ALSHIFA_UI_SPEED_FIX_V2 */
.bar .wrap { overflow: hidden; }
.bar-ticker { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); }
.bar-track { --ticker-gap: 72px; width: max-content; display: flex; align-items: center; gap: var(--ticker-gap); direction: ltr; will-change: transform; animation: ash-bar-ticker 18s linear infinite; }
.bar-msg { flex: none; width: max-content; white-space: nowrap; }
[dir="rtl"] .bar-msg { direction: rtl; }
.bar:hover .bar-track { animation-play-state: paused; }
@keyframes ash-bar-ticker { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 36px)); } }
@media (prefers-reduced-motion: reduce) { .bar-track { animation: none; } }

.nav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 8px; min-height: 0; padding-block: 8px; overflow: visible; }
.nav .nav-cats { display: flex; flex: 1 1 760px; flex-wrap: wrap; gap: 6px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.nav .nav-extra { display: flex; flex: 0 1 auto; flex-wrap: wrap; gap: 6px; align-items: center; }
.nav .sep { display: none; }
.nav a { padding: 7px 11px; border-radius: 999px; font-size: 13.5px; line-height: 1.25; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.nav .nav-cats a { background: #F7F6F1; border: 1px solid #E5E2D9; }
.nav .nav-cats a:hover { background: var(--green-tint, #EAF1ED); border-color: #C8D7CF; color: var(--green-dark); }
.nav a.all { background: var(--green); color: #fff; padding-inline: 14px; border: 1px solid var(--green); }
.nav .nav-extra a { border: 1px solid transparent; }
.nav .nav-extra a:hover { background: var(--section); }

.hdr .cart-trigger { min-height: 44px; padding-inline: 13px; border: 1px solid #DDE3DE; background: #F8FAF8; border-radius: 999px; font-weight: 600; gap: 7px; }
.hdr .cart-trigger:hover { background: #EDF4F0; border-color: #C5D5CC; }
.hdr .cart-trigger .ic { width: 21px; height: 21px; }
.hdr .cart-trigger .count { position: static; min-width: 20px; height: 20px; border-radius: 999px; box-shadow: none; font-size: 11px; }

.snake-line { position: relative; padding-inline: 38px; }
.snake-cup { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 40px; display: grid; place-items: center; z-index: 3; background: var(--beige-soft); border-radius: 8px; }
[dir="rtl"] .snake-cup { left: 0; right: auto; }
[dir="ltr"] .snake-cup { right: 0; left: auto; }
.snake-cup .goblet { width: 30px; height: 38px; }
.snake.st-qualified .snake-cup { background: var(--green-tint); }

[dir="ltr"] .hero-copy { margin-left: 0; margin-right: auto; text-align: left; align-items: flex-start; }
[dir="ltr"] .hero::after { background: linear-gradient(to right, rgba(246,240,229,.82) 0%, rgba(246,240,229,.48) 31%, rgba(246,240,229,.12) 58%, rgba(246,240,229,.02) 100%); }
[dir="ltr"] .hero-copy h1, [dir="ltr"] .hero-copy p { text-align: left; }

.wish.is-pending, [data-wish].is-pending { opacity: .72; }

@media (max-width: 1050px) and (min-width: 761px) {
  .nav .nav-cats { flex-basis: 100%; order: 3; }
  .nav .nav-extra { flex: 1 1 auto; }
}
@media (max-width: 760px) {
  .bar-ticker { width: 100%; }
  .bar-track { animation-duration: 14s; }
  .hdr .cart-trigger { min-width: 44px; width: 44px; height: 44px; padding: 0; justify-content: center; background: transparent; border-color: transparent; }
  .hdr .cart-trigger .count { position: absolute; top: 2px; inset-inline-start: 24px; }
  [dir="ltr"] .hero-copy { width: 100%; margin: 0; align-items: flex-start; }
  [dir="ltr"] .hero::after { background: linear-gradient(to bottom, rgba(246,240,229,.04) 0%, rgba(246,240,229,.12) 44%, rgba(246,240,229,.82) 100%); }
}

/* ALSHIFA_PERCEIVED_IMAGE_SPEED_V2 */
img.alshifa-product-img {
  background-color: #f4f1e9;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  opacity: 0;
  transition: opacity .16s ease-out;
  transform: translateZ(0);
}
img.alshifa-product-img.alshifa-img-loading {
  background-image:
    linear-gradient(
      100deg,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,.62) 42%,
      rgba(255,255,255,0) 64%
    );
  background-size: 220% 100%;
  animation: alshifaProductShimmer 1.05s ease-in-out infinite;
}
img.alshifa-product-img.alshifa-img-loaded {
  opacity: 1;
  background-image: none;
  animation: none;
}
img.alshifa-product-img.alshifa-img-error {
  opacity: 1;
  background-image: none;
  animation: none;
}
@keyframes alshifaProductShimmer {
  0% { background-position: 110% 0; }
  100% { background-position: -110% 0; }
}
@media (prefers-reduced-motion: reduce) {
  img.alshifa-product-img { transition: none; }
  img.alshifa-product-img.alshifa-img-loading { animation: none; }
}

/* ALSHIFA_APPROVED_HOME_POLISH_V1
   Preserve the client-approved homepage composition; only polish spacing,
   hero balance and category navigation. */

@media (min-width: 761px) {
  /* Approved category-chip design, arranged as one clean navigation rail. */
  .nav .wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding-block: 10px;
    overflow: visible;
  }
  .nav .nav-cats {
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 3px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  [dir="ltr"] .nav .nav-cats {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 22px), transparent 100%);
  }
  .nav .nav-cats::-webkit-scrollbar { display: none; }
  .nav .nav-cats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #F8F6F1;
    border: 1px solid #E4E0D6;
    box-shadow: 0 1px 2px rgba(31,64,50,.04);
    color: var(--green-dark);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }
  .nav .nav-cats a:hover {
    background: #EEF3F0;
    border-color: #C7D5CD;
    transform: translateY(-1px);
  }
  .nav a.all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding-inline: 15px;
    box-shadow: 0 4px 12px rgba(31,64,50,.12);
    white-space: nowrap;
  }
  .nav .nav-extra {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }
  .nav .nav-extra a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 10px;
    border-radius: 999px;
  }
  .nav .sep { display: none; }

  /* Keep the approved hero + three side banners, but remove the visual clash
     between the Arabic copy and the pharmacist in the existing hero photo. */
  .hero-grid {
    grid-template-columns: minmax(0, 1.88fr) minmax(285px, .96fr);
    gap: 16px;
    height: 500px;
    padding-block: 20px 10px;
  }
  .hero {
    min-height: 0;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(31,64,50,.08);
  }
  .hero::after {
    background: linear-gradient(to right,
      rgba(248,244,236,.92) 0%,
      rgba(248,244,236,.76) 27%,
      rgba(248,244,236,.38) 46%,
      rgba(248,244,236,.08) 66%,
      rgba(248,244,236,0) 100%);
  }
  .hero-copy {
    width: min(44%, 490px);
    min-height: 100%;
    margin-left: 0;
    margin-right: auto;
    padding: 42px 34px 46px;
    gap: 12px;
    justify-content: center;
  }
  [dir="rtl"] .hero-copy {
    text-align: right;
    align-items: flex-start;
  }
  [dir="ltr"] .hero-copy {
    text-align: left;
    align-items: flex-start;
    margin-left: 0;
    margin-right: auto;
  }
  [dir="ltr"] .hero::after {
    background: linear-gradient(to right,
      rgba(248,244,236,.92) 0%,
      rgba(248,244,236,.76) 27%,
      rgba(248,244,236,.38) 46%,
      rgba(248,244,236,.08) 66%,
      rgba(248,244,236,0) 100%);
  }
  .hero h1 {
    max-width: 14ch;
    font-size: clamp(30px, 2.25vw, 36px);
    line-height: 1.25;
    letter-spacing: -.015em;
    text-shadow: 0 1px 14px rgba(255,255,255,.55);
  }
  .hero p {
    max-width: 31ch;
    font-size: 16px;
    line-height: 1.75;
    color: #3F4C46;
  }
  .hero-ctas { gap: 9px; margin-top: 7px; }
  .hero-ctas .cta {
    min-height: 46px;
    padding-inline: 20px;
    border-radius: 11px;
  }
  .hero-slide > img { object-position: center center; }
  .hero-dots { bottom: 14px; }

  /* Keep the same three approved sub-banners; just make them consistent. */
  .subs { gap: 14px; }
  .sub {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 45%;
    border: 1px solid #EAE6DD;
    box-shadow: 0 7px 20px rgba(31,64,50,.065);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  }
  .sub:hover {
    transform: translateY(-1px);
    border-color: #D9E0DB;
    box-shadow: 0 10px 24px rgba(31,64,50,.09);
  }
  .sub-copy { padding: 17px 19px; gap: 5px; }
  .sub-copy b { font-size: 18px; line-height: 1.35; }
  .sub-copy span { line-height: 1.45; }
  .sub-copy em { margin-top: 7px; }
  .sub .ph img { object-position: center 30%; }
}

@media (max-width: 1050px) and (min-width: 761px) {
  .nav .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .nav .nav-extra { grid-column: 1 / -1; justify-content: flex-start; }
  .hero-grid { grid-template-columns: minmax(0, 1.65fr) minmax(250px, .92fr); }
  .hero-copy { width: min(50%, 430px); padding-inline: 28px; }
}

/* ALSHIFA_CATEGORY_NAV_ACCESS_V1
   Keep the client-approved chip design, but make every category directly
   reachable on desktop instead of hiding overflow in a horizontal rail. */
@media (min-width: 761px) {
  .nav .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 8px;
    overflow: visible;
    padding-block: 9px;
  }

  .nav .nav-cats {
    display: flex;
    flex: 1 1 820px;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    min-width: 0;
    overflow: visible;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: auto;
  }

  .nav .nav-cats::-webkit-scrollbar {
    display: none;
  }

  .nav .nav-cats a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 13px;
    white-space: nowrap;
  }

  .nav a.all {
    flex: 0 0 auto;
  }

  .nav .sep {
    display: none;
  }

  .nav .nav-extra {
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    overflow: visible;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .nav .nav-cats {
    flex-basis: 100%;
    order: 3;
  }

  .nav .nav-extra {
    flex: 1 1 auto;
  }
}

/* ALSHIFA_CATEGORY_NAV_SINGLE_ROW_V1 */
@media (min-width: 761px) {
  .nav.nav-single-row { overflow: visible; }

  .nav.nav-single-row .wrap {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding-block: 8px;
    overflow: visible;
  }

  .nav.nav-single-row .all-menu {
    position: relative;
    flex: 0 0 auto;
    z-index: 25;
  }

  .nav.nav-single-row .all-menu > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
  }

  .nav.nav-single-row .all-menu > summary::-webkit-details-marker { display: none; }

  .nav.nav-single-row .all-menu > summary.all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 15px;
    border: 1px solid var(--green);
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
  }

  .nav.nav-single-row .all-menu[open] > summary.all {
    background: var(--green-dark);
    border-color: var(--green-dark);
  }

  .nav.nav-single-row .all-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    width: min(680px, calc(100vw - 48px));
    padding: 18px;
    border: 1px solid #E3E3DD;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(24, 52, 40, .16);
  }

  .nav.nav-single-row .all-menu-title {
    margin-bottom: 12px;
    color: var(--green-dark);
    font-size: 17px;
    font-weight: 800;
  }

  .nav.nav-single-row .all-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .nav.nav-single-row .all-menu-grid a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid #E8E5DD;
    border-radius: 11px;
    background: #FAF9F5;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    white-space: normal;
  }

  .nav.nav-single-row .all-menu-grid a:hover {
    background: var(--green-tint, #EAF1ED);
    border-color: #C7D8CF;
    color: var(--green-dark);
  }

  .nav.nav-single-row .all-menu-footer {
    display: inline-flex;
    margin-top: 13px;
    padding: 7px 2px;
    color: var(--green);
    font-weight: 700;
  }

  .nav.nav-single-row .nav-cats {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .nav.nav-single-row .nav-cats a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 7px 12px;
    white-space: nowrap;
  }

  .nav.nav-single-row .nav-extra {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
  }

  .nav.nav-single-row .nav-extra a { padding-inline: 8px; }
  .nav.nav-single-row .sep { display: none; }
}

@media (min-width: 761px) and (max-width: 1380px) {
  .nav.nav-single-row .nav-cats [data-quick-cat="6"],
  .nav.nav-single-row .nav-cats [data-quick-cat="7"] { display: none; }

  .nav.nav-single-row .nav-cats a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .nav.nav-single-row .nav-extra a { font-size: 13px; }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .nav.nav-single-row .nav-cats [data-quick-cat="5"] { display: none; }
  .nav.nav-single-row .all-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ALSHIFA_CATEGORY_NAV_NO_CLIPPING_V1 */
@media (min-width: 761px) {
  .nav.nav-single-row .nav-cats {
    overflow: hidden;
  }

  .nav.nav-single-row .nav-cats [data-quick-cat][hidden],
  .nav.nav-single-row .nav-cats .quick-cat-fit-hidden {
    display: none !important;
  }

  .nav.nav-single-row .nav-cats a {
    max-width: 100%;
  }
}


/* ALSHIFA_HOME_NEEDS_BALANCE_V2 */
@media (min-width: 1101px) {
  .sec > .needs:not(.grid) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
  .sec > .needs:not(.grid) .need { min-width: 0; min-height: 200px; }
  .sec > .needs:not(.grid) .need .shot,
  .sec > .needs:not(.grid) .need .ph { height: 132px; }
  .sec > .needs:not(.grid) .need b { padding: 11px 10px 4px; font-size: 15px; line-height: 1.45; }
  .sec > .needs:not(.grid) .need small { padding-bottom: 13px; font-size: 12.5px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .sec > .needs:not(.grid) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}


/* ALSHIFA_CART_INSTANT_TOTALS_V2 */
.qty-syncing [data-qty] { opacity: .82; }

/* ALSHIFA_MOBILE_UI_FIX_20261107
   Mobile header, free-delivery bar, search zoom and horizontal overflow
*/
@media (max-width: 760px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap,
  .wrap > *,
  main,
  section,
  .cards,
  .card {
    min-width: 0;
    max-width: 100%;
  }

  .bar {
    overflow: hidden;
  }

  .bar .wrap {
    width: 100%;
    max-width: 100%;
    min-height: 36px;
    padding-inline: 12px;
    justify-content: center;
    box-sizing: border-box;
  }

  .bar-ticker {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .bar-track {
    width: 100% !important;
    min-width: 0;
    display: block !important;
    /* transform controlled by ash-bar-ticker */
    animation: none !important;
  }

  .bar-msg {
    width: 100%;
    min-width: 0;
    min-height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    padding: 5px 0;
    box-sizing: border-box;
  }

  .bar-msg[aria-hidden="true"] {
    display: none !important;
  }

  .hdr-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 64px;
  }

  .hdr-main .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hdr-main .acts {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .hdr-main .act {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    display: inline-grid;
    place-items: center;
  }

  .hdr-main .act .ic {
    width: 22px;
    height: 22px;
  }

  .hdr-main .act .count {
    top: 1px;
    inset-inline-start: 25px;
  }

  .hdr-main .act-wish {
    display: none !important;
  }

  .msearch {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 48px;
    margin: 2px 0 12px;
    box-sizing: border-box;
    overflow: visible;
  }

  .msearch input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 16px !important;
    line-height: 1.4;
  }

  .msearch .suggest {
    max-width: 100%;
    box-sizing: border-box;
  }

  .cards {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }

  .cards > *,
  .card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .card .shot,
  .card img {
    max-width: 100%;
  }

  .card .name,
  .card .name-en,
  .card .price {
    min-width: 0;
    max-width: 100%;
  }
}

/* ALSHIFA_MOBILE_DELIVERY_TICKER_RESTORE_20261107 */
@media (max-width: 760px) {
  .bar-ticker {
    width: 100%;
    overflow: hidden;
  }

  .bar-track {
    width: max-content !important;
    min-width: max-content !important;
    display: flex !important;
    align-items: center;
    animation: ash-bar-ticker 14s linear infinite !important;
    will-change: transform;
  }

  .bar-msg {
    width: auto !important;
    min-width: max-content !important;
    flex: 0 0 auto;
    white-space: nowrap;
    padding-inline: 32px;
  }

  .bar-msg[aria-hidden="true"] {
    display: flex !important;
  }
}

/* ALSHIFA_MOBILE_HERO_REFINEMENT_20261107 */
@media (max-width: 760px) {

  .hero {
    min-height: 405px !important;
    height: 405px;
    border-radius: 16px;
  }

  .hero-art,
  .hero-slides,
  .hero-slide {
    height: 100% !important;
  }

  .hero-slide > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% 38%;
  }

  /* Keep image visible while creating a clean reading area below */
  .hero::after {
    background:
      linear-gradient(
        to bottom,
        rgba(246,240,229,0) 0%,
        rgba(246,240,229,.05) 38%,
        rgba(246,240,229,.68) 65%,
        rgba(246,240,229,.95) 100%
      ) !important;
  }

  .hero-copy {
    width: 100% !important;
    min-height: 405px !important;
    height: 405px;
    margin: 0 !important;
    padding: 205px 18px 48px !important;
    justify-content: flex-end !important;
    gap: 8px;
    box-sizing: border-box;
  }

  .hero .kicker {
    font-size: 11.5px;
    padding: 4px 9px;
    margin: 0;
  }

  .hero h1 {
    font-size: 24px !important;
    line-height: 1.25;
    max-width: 18ch !important;
    margin: 0;
  }

  .hero p {
    font-size: 13px;
    line-height: 1.55;
    max-width: 34ch;
    margin: 0;
  }

  .hero-ctas {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 4px;
  }

  .hero-ctas .cta {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .hero-dots {
    bottom: 10px !important;
    padding: 5px 7px;
    gap: 6px;
  }

  .hero-dots button {
    width: 7px;
    height: 7px;
  }

  .hero-dots button[aria-current="true"] {
    width: 20px;
  }
}


/* ALSHIFA_MOBILE_HERO_FINE_TUNE_20261107 */
@media (max-width: 760px) {
  .hero-slide > img {
    object-position: 40% 38% !important;
  }

  .hero-copy {
    padding: 195px 18px 58px !important;
  }

  .hero-dots {
    bottom: 8px !important;
  }
}
