
:root {
  color-scheme: light;
  --bg: #fbf6ea; --panel: #fffdf7; --panel2: #f3e9d4; --line: #dfcfae; --ink: #38240f; --soft: #6d563c;
  --brand: #b4541a; --brand-ink: #fffaf0; --accent: #a34a14; --olive: #5d6b2c; --good-bg: #e6ecd0; --good: #3d4a15; --bad-bg: #fbe0d3; --bad: #8a2c0f;
  --hero1: #f1e2c1; --hero2: #e4cfa3; --gate1: #8a5a2b; --gate2: #5c3a17; --gate3: #d9b06c; --gate4: #5d6b2c; --fruit: #e0782a; --pattern: .05;
  --deep: #3b2a1e; --deep2: #2a1d14; --deep-ink: #f6efe0; --deep-soft: #f0a05a;
  --r: 14px; --gap: 16px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0d1726; --panel: #15233a; --panel2: #1b2c47; --line: #2f435f; --ink: #f1e9d8; --soft: #b9b4a6;
  --brand: #d0a955; --brand-ink: #14100a; --accent: #d9b465; --olive: #9fb07a; --good-bg: #17352b; --good: #a9dcb9; --bad-bg: #44211f; --bad: #ffb9ac;
  --hero1: #12264a; --hero2: #0b1730; --gate1: #2f5ea8; --gate2: #d0a955; --gate3: #e9cf93; --gate4: #86a06a; --fruit: #e58a3c; --pattern: .07;
  --deep: #1a3157; --deep2: #12233f; --deep-ink: #f3ebdb; --deep-soft: #d9be83; } }
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1726; --panel: #15233a; --panel2: #1b2c47; --line: #2f435f; --ink: #f1e9d8; --soft: #b9b4a6;
  --brand: #d0a955; --brand-ink: #14100a; --accent: #d9b465; --olive: #9fb07a; --good-bg: #17352b; --good: #a9dcb9; --bad-bg: #44211f; --bad: #ffb9ac;
  --hero1: #12264a; --hero2: #0b1730; --gate1: #2f5ea8; --gate2: #d0a955; --gate3: #e9cf93; --gate4: #86a06a; --fruit: #e58a3c; --pattern: .07;
  --deep: #1a3157; --deep2: #12233f; --deep-ink: #f3ebdb; --deep-soft: #d9be83; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 1rem/1.7 "Segoe UI", "Noto Sans Arabic", "Noto Kufi Arabic", Tahoma, system-ui, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .5em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.15rem; }
p { margin: 0 0 .7em; } ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
small, .note { color: var(--soft); font-size: .88rem; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 16px; }
main { flex: 1; padding-block: 20px 48px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-block-start: -60px; inset-inline-start: 12px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 0 0 10px 10px; z-index: 5; }
.skip:focus { inset-block-start: 0; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-star { width: 15px; height: 15px; fill: var(--fruit); stroke: none; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.spread { justify-content: space-between; }
.inline { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lines { white-space: pre-line; }

.top { background: var(--panel); position: relative; }
.bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; color: var(--ink); text-decoration: none; margin: 0; }
.mark { width: 38px; height: 38px; } .mark-gate { fill: var(--gate1); } .mark-palm { fill: var(--gate4); } .mark-fruit { fill: var(--fruit); }
.find { display: flex; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); overflow: hidden; }
.find input { flex: 1; min-width: 0; border: 0; background: none; color: inherit; font: inherit; padding: 8px 16px; }
.find button { border: 0; background: none; color: var(--accent); padding: 0 14px; cursor: pointer; display: grid; place-items: center; min-width: 48px; }
.find:focus-within { outline: 2px solid var(--accent); } .find input:focus { outline: none; }
.tools { display: flex; gap: 4px; }
.tools a { display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 4px 6px; border-radius: 10px; font-size: .76rem; line-height: 1.4; color: var(--ink); text-decoration: none; }
.tools a:hover { background: var(--panel2); }
.prefs { display: flex; align-items: center; gap: 4px; }
.lang, .theme { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.frieze { height: 12px; background: var(--olive); opacity: .75; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V9h6V5h6V1h12v4h6v4h6v5zM38 5h8l-4 7z'/%3E%3C/svg%3E") center / 40px 12px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V9h6V5h6V1h12v4h6v4h6v5zM38 5h8l-4 7z'/%3E%3C/svg%3E") center / 40px 12px repeat-x; }
.bottom { margin-top: auto; } .bottom .frieze { background: var(--gate1); }
.foot { padding-block: 24px 32px; } .bottom .foot { max-width: none; background: var(--panel2); text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; } .foot nav a { padding: 6px 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); } .btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent); border-color: var(--line); } .btn.ghost:hover { background: var(--panel2); filter: none; }
.btn.big { min-height: 50px; padding-inline: 28px; } .btn.small { min-height: 38px; padding: 4px 14px; font-size: .88rem; }
.btn.danger { background: var(--bad); border-color: var(--bad); color: var(--bg); }

.panel { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-bottom: var(--gap); color: inherit; text-decoration: none; }
a.panel.row, .panel.row { display: flex; } a.panel:hover { border-color: var(--accent); }
.narrow { max-width: 460px; margin-inline: auto; } .ask, .fresh { border-inline-start: 5px solid var(--brand); }
.flash { padding: 10px 16px; border-radius: 10px; } .good { background: var(--good-bg); color: var(--good); } .bad { background: var(--bad-bg); color: var(--bad); }
.stack > li { margin-bottom: 0; } .end { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.split > aside { position: sticky; top: 16px; } aside .btn.big { width: 100%; margin-bottom: 10px; }
.empty { text-align: center; padding: 36px 12px; color: var(--soft); } .empty .nopic { width: 96px; margin: 0 auto 12px; }
.error { text-align: center; padding: 40px 8px; } .error .row { justify-content: center; } .error .code { font-size: 4rem; font-weight: 800; line-height: 1; color: var(--gate3); margin: 0 0 12px; }
.badge { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--panel2); font-size: .82rem; font-weight: 700; margin-inline-start: 6px; }
.b-completed, .b-confirmed, .b-delivered, .b-approved, .b-received, .b-released { background: var(--good-bg); color: var(--good); }
.b-rejected, .b-cancelled, .b-refused, .b-ask { background: var(--bad-bg); color: var(--bad); }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.nopic { fill: var(--gate3); opacity: .75; } .nopic circle { fill: var(--fruit); }
.pattern, .hero, .owner { position: relative; isolation: isolate; }
.hero::before, .owner::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--pattern); background: var(--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='5'/%3E%3Cpath d='M60 53c-5-9-5-15 0-22 5 7 5 13 0 22Zm0 14c-5 9-5 15 0 22 5-7 5-13 0-22Zm-7-7c-9-5-15-5-22 0 7 5 13 5 22 0Zm14 0c9-5 15-5 22 0-7 5-13 5-22 0Zm-12-5c-3-10-7-14-15-16 1 8 6 13 15 16Zm10 10c3 10 7 14 15 16-1-8-6-13-15-16Zm0-10c3-10 7-14 15-16-1 8-6 13-15 16ZM55 65c-3 10-7 14-15 16 1-8 6-13 15-16Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='5'/%3E%3Cpath d='M60 53c-5-9-5-15 0-22 5 7 5 13 0 22Zm0 14c-5 9-5 15 0 22 5-7 5-13 0-22Zm-7-7c-9-5-15-5-22 0 7 5 13 5 22 0Zm14 0c9-5 15-5 22 0-7 5-13 5-22 0Zm-12-5c-3-10-7-14-15-16 1 8 6 13 15 16Zm10 10c3 10 7 14 15 16-1-8-6-13-15-16Zm0-10c3-10 7-14 15-16-1 8-6 13-15 16ZM55 65c-3 10-7 14-15 16 1-8 6-13 15-16Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: end; gap: 24px; padding: 32px 32px 0; margin-bottom: 24px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--hero1), var(--hero2)); }
.hero > div { padding-bottom: 32px; align-self: center; } .hero h1 { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem); } .hero p { font-size: 1.05rem; }
.hero .btn.ghost { border-color: currentColor; }
.gate { width: 100%; } .g1 { fill: var(--gate1); } .g2, .g5 { fill: var(--gate2); } .g3 { fill: var(--gate3); } .g4 { fill: var(--gate4); } .g5 { fill: var(--fruit); }
.shelf { margin-bottom: 28px; } .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; } .head h2 { font-size: 1.3rem; margin: 0 0 10px; }
.head h2 a { color: inherit; text-decoration: none; }
.banners, .offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--gap); margin-bottom: 28px; }
.banner, .offer { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: var(--panel2); color: var(--ink); text-decoration: none; border: 1px solid var(--line); margin-bottom: 0; }
.banner .pic, .offer .pic { aspect-ratio: 16 / 7; max-height: 340px; width: 100%; } .banner strong, .offer strong { display: block; padding: 10px 16px; }
.pic { display: grid; place-items: center; background: var(--panel2); overflow: hidden; } .pic img { width: 100%; height: 100%; object-fit: cover; }
.grid + .panel { margin-top: 20px; } .price > * { white-space: nowrap; } html[dir=rtl] :is(.what, .choice, h1, h2) :is(small, span, a) { text-align: right; } html[dir=ltr] :is(.what, .choice, h1, h2) :is(small, span, a) { text-align: left; } html[dir=rtl] :is(h1, h2) { text-align: right; } html[dir=ltr] :is(h1, h2) { text-align: left; }
.error h1 { text-align: center !important; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }
.card a { position: relative; display: flex; flex-direction: column; gap: 2px; height: 100%; padding-bottom: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; }
.card a:hover { border-color: var(--accent); } .card .pic { aspect-ratio: 1; margin-bottom: 8px; } .card .nopic { width: 60%; }
.card a > span:not(.pic, .tag) { padding-inline: 12px; } .card .name { font-weight: 700; line-height: 1.45; } .card .sub { color: var(--soft); font-size: .84rem; }
.tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 0 12px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: .8rem; font-weight: 700; }
.card .price { margin-top: auto; padding-top: 4px; } .price strong { color: var(--accent); } .price s, .sums s { color: var(--soft); font-size: .86rem; margin-inline-start: 8px; }
.foot-line { display: flex; gap: 8px; justify-content: space-between; min-height: 1.6em; } .out { color: var(--bad); font-size: .84rem; font-weight: 700; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .88rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 12px; margin-bottom: 18px; }
.tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; padding: 14px 8px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; text-align: center; font-weight: 600; }
.tiles a:hover { border-color: var(--accent); } .tiles .pic { width: 64px; height: 64px; border-radius: 50%; color: var(--olive); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips a { display: inline-block; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: inherit; text-decoration: none; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 12px; font-size: .88rem; } .crumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--soft); }
.more { text-align: center; margin: 20px 0; }
.owner { display: flex; gap: 18px; align-items: center; padding: 20px; margin-bottom: 20px; border-radius: var(--r); background: var(--panel2); } .owner .pic { width: 84px; height: 84px; flex: none; border-radius: 50%; background: var(--panel); } .owner > div { min-width: 0; } .owner p:last-child, .owner h1:last-child { margin: 0; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-bottom: 24px; }
.gallery > .pic, .gallery .main .pic { aspect-ratio: 1; border-radius: var(--r); border: 1px solid var(--line); } .gallery .main img { object-fit: contain; } .gallery > .pic .nopic { width: 50%; }
.gallery ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .gallery li .pic { width: 72px; height: 72px; border-radius: 10px; border: 1px solid var(--line); }
.details > .price { display: block; font-size: 1.35rem; margin-bottom: 12px; } .share { font-size: .82rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 0 0 14px; min-width: 0; } legend { padding-inline: 8px; font-weight: 700; } legend .icon { display: inline; vertical-align: middle; }
.choice { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 8px; border-radius: 10px; cursor: pointer; } .choice:hover { background: var(--panel2); } .choice:has(:checked) { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--accent); } .choice.off { opacity: .6; cursor: default; }
.choice > input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; flex: none; } .choice > span:not(.price) { flex: 1; min-width: 0; } .choice + .choice { margin-top: 4px; } .rate .choice { color: var(--fruit); }
.swatch { width: 22px; height: 22px; flex: none; } .swatch circle { stroke: var(--line); stroke-width: .6; }
.qty { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; } .qty input { width: 84px; }
.facts { margin: 14px 0; } .facts li { padding-inline-start: 24px; position: relative; } .facts li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .55em; width: 10px; height: 10px; background: var(--olive); transform: rotate(45deg); }
.specs { width: 100%; border-collapse: collapse; background: var(--panel); margin-bottom: 20px; } .specs th, .specs td { text-align: start; padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; } .specs th { width: 34%; background: var(--panel2); }
.prose { max-width: 75ch; margin-bottom: 24px; } .review { padding: 14px 0; border-top: 1px solid var(--line); }
.line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); } .line .pic { width: 72px; height: 72px; border-radius: 10px; flex: none; } .line .what { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .line .flash { margin: 4px 0; } .line .total { white-space: nowrap; } .line:last-child { border: 0; }
.line .what > .price s { margin-inline-start: 8px; } .narrow .row > .pic { width: 64px; height: 64px; border-radius: 10px; }
.sums { margin: 0 0 14px; } .sums div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; } .sums dd { margin: 0; text-align: end; } .sums .grand { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 800; font-size: 1.1rem; } .grand dd { color: var(--accent); }
.steps { display: flex; gap: 4px; margin: 10px 0 14px; } .steps li { flex: 1; min-width: 0; padding-top: 8px; border-top: 5px solid var(--line); font-size: .78rem; line-height: 1.3; color: var(--soft); overflow-wrap: normal; } .steps .past { border-color: var(--olive); } .steps .now { border-color: var(--brand); color: var(--ink); font-weight: 700; }
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-bottom: 20px; } .menu a { display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 56px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; font-weight: 600; } .menu .icon { color: var(--olive); } .menu a:hover { border-color: var(--accent); }
.field { margin-bottom: 14px; min-width: 0; } .field label { display: block; font-weight: 600; margin-bottom: 4px; } .req { color: var(--bad); } .field small { display: block; }
input:not([type=radio], [type=checkbox], [type=hidden], [type=file], [type=search]), select, textarea { width: 100%; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; } textarea { resize: vertical; }
.qty input:not([type=hidden]) { width: 84px; } .check { display: flex; align-items: center; gap: 10px; min-height: 44px; } .check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.form2, .filters form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); column-gap: 18px; } .form2 > .place, .form2 > .row, .form2 > .check, .filters .row { grid-column: 1 / -1; } .place { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; } .place > .btn, .place > p { grid-column: 1 / -1; justify-self: start; }
.filters { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; margin-bottom: 18px; } summary { cursor: pointer; padding: 10px 0; font-weight: 600; color: var(--accent); } .filters[open] { padding-bottom: 14px; }
.chat { max-width: 720px; margin-inline: auto; } .messages { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; } .messages li { max-width: 85%; padding: 10px 14px; border-radius: 16px; } .messages p { margin: 0; } .m-me { align-self: flex-end; background: var(--panel2); border-end-end-radius: 4px; } .m-them { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); border-end-start-radius: 4px; } .m-system { align-self: center; color: var(--soft); font-size: .88rem; }
video { width: 100%; border-radius: var(--r); background: #000; margin-bottom: 12px; }
@media (max-width: 900px) { .split, .product { grid-template-columns: minmax(0, 1fr); } .split > aside { position: static; } }
@media (max-width: 760px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; } .find { grid-column: 1 / -1; order: 3; } .tools { grid-column: 1 / -1; order: 4; justify-content: space-between; } .tools a { flex: 1; min-width: 0; min-height: 48px; }
  h1 { font-size: 1.35rem; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .card a > span:not(.pic, .tag) { padding-inline: 10px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 0; gap: 0; } .hero > div { padding-bottom: 16px; } .gate { max-width: 300px; margin-inline: auto; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 4px; } .line { flex-wrap: wrap; } .line .what { flex-basis: calc(100% - 90px); } .line .total { margin-inline-start: auto; } .panel { padding: 14px; }
  .price s { margin-inline-start: 4px; } .buy .choice > span:not(.price) { flex-basis: calc(100% - 100px); } .buy .choice > .price { margin-inline-start: 30px; }
}
@media (prefers-reduced-motion: no-preference) { .btn, .card a, .tiles a, .menu a { transition: background-color .15s, border-color .15s; } }
@media print { .top, .bottom, .btn, form { display: none !important; } }

.eyebrow { margin: 0 0 .4em; color: var(--accent); font-size: .88rem; font-weight: 700; }
.facts-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: -8px 0 24px; padding: 2px; }
.facts-row::-webkit-scrollbar { display: none; }
.facts-row li { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .9rem; font-weight: 600; }
html[dir=rtl] .facts-row li { padding: 6px 8px 6px 16px; }
.facts-row .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--good-bg); color: var(--good); }
.head > div { min-width: 0; } .head .note { margin: -8px 0 10px; }

/* One sideways line of cards; the page never scrolls sideways. */
.rail, .grid.rail, .stores.rail, .tiles.rail, .offers.rail { display: grid; grid-template-columns: none; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 2px 2px 10px; margin-bottom: 0; }
.rail > li { scroll-snap-align: start; min-width: 0; }
.grid.rail { grid-auto-columns: clamp(168px, 44vw, 218px); }
.tiles.rail { grid-auto-columns: 120px; }
.offers.rail { grid-auto-columns: clamp(240px, 72vw, 330px); }
.stores.rail { grid-auto-columns: clamp(228px, 66vw, 270px); }

/* Banners: scroll snap; the script adds arrows, dots and a slow turn. */
.carousel { margin-bottom: 30px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r); }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: center; min-width: 0; } .slide .banner { height: 100%; }
.banner.art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); align-items: center; min-height: 230px; border: 0; color: var(--deep-ink); background: linear-gradient(160deg, var(--deep), var(--deep2)); isolation: isolate; position: relative; }
.banner.art::before, .deals::before, .cover::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: var(--deep-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='5'/%3E%3Cpath d='M60 53c-5-9-5-15 0-22 5 7 5 13 0 22Zm0 14c-5 9-5 15 0 22 5-7 5-13 0-22Zm-7-7c-9-5-15-5-22 0 7 5 13 5 22 0Zm14 0c9-5 15-5 22 0-7 5-13 5-22 0Zm-12-5c-3-10-7-14-15-16 1 8 6 13 15 16Zm10 10c3 10 7 14 15 16-1-8-6-13-15-16Zm0-10c3-10 7-14 15-16-1 8-6 13-15 16ZM55 65c-3 10-7 14-15 16 1-8 6-13 15-16Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='5'/%3E%3Cpath d='M60 53c-5-9-5-15 0-22 5 7 5 13 0 22Zm0 14c-5 9-5 15 0 22 5-7 5-13 0-22Zm-7-7c-9-5-15-5-22 0 7 5 13 5 22 0Zm14 0c9-5 15-5 22 0-7 5-13 5-22 0Zm-12-5c-3-10-7-14-15-16 1 8 6 13 15 16Zm10 10c3 10 7 14 15 16-1-8-6-13-15-16Zm0-10c3-10 7-14 15-16-1 8-6 13-15 16ZM55 65c-3 10-7 14-15 16 1-8 6-13 15-16Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 96px; }
.banner.art strong { padding: 24px 32px; font-size: clamp(1.35rem, 1rem + 1.6vw, 2.2rem); line-height: 1.35; }
.banner.art .drawn { align-self: end; display: block; } .banner.art .gate { width: 100%; }
.banner.art::after, .deals::after, .cover::after { content: ""; position: absolute; inset: auto 0 0; height: 12px; background: var(--fruit); opacity: .85; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V9h6V5h6V1h12v4h6v4h6v5zM38 5h8l-4 7z'/%3E%3C/svg%3E") center / 40px 12px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V9h6V5h6V1h12v4h6v4h6v5zM38 5h8l-4 7z'/%3E%3C/svg%3E") center / 40px 12px repeat-x; }
.dots { display: flex; justify-content: center; align-items: center; gap: 2px; margin-top: 10px; }
.dots .dot { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
.dots .dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--line); }
.dots .dot[aria-current]::before { width: 26px; background: var(--accent); }
.dots .nav { display: grid; place-items: center; width: 44px; height: 44px; margin-inline: 6px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--ink); cursor: pointer; }
html[dir=rtl] :is(.icon-next, .icon-prev) { transform: scaleX(-1); }

/* Deals: the brand panel. */
.deals { position: relative; isolation: isolate; margin: 4px 0 32px; padding-bottom: 22px; border-radius: 22px; overflow: hidden; color: var(--deep-ink); background: linear-gradient(160deg, var(--deep), var(--deep2)); }
.deals::after { inset: 0 0 auto; }
.deals .head { align-items: center; gap: 14px; padding: 30px 20px 12px; }
.deals .head > div { flex: 1; } .deals h2 { margin: 0; color: var(--deep-ink); } .deals .head p { margin: 0; color: var(--deep-soft); font-weight: 600; }
.deals .head a { color: var(--deep-soft); font-weight: 700; }
.badge-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--brand); color: var(--brand-ink); }
.deals .rail { padding-inline: 20px; scroll-padding-inline: 20px; } .deals .card a { color: var(--ink); }

/* Offers. */
.offer { display: flex; flex-direction: column; height: 100%; } .offer .pic { aspect-ratio: 16 / 9; max-height: none; }
.offer .pic.drawn { position: relative; isolation: isolate; place-items: end center; background: linear-gradient(160deg, var(--deep), var(--deep2)); } .offer .drawn .gate { width: 72%; }
.offer strong { padding: 12px 16px 0; } .offer .when { display: flex; align-items: center; gap: 6px; padding: 2px 16px 14px; color: var(--accent); font-size: .86rem; font-weight: 600; } .offer .when .icon { width: 17px; height: 17px; }

/* Stores. */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr)); gap: var(--gap); margin-bottom: 8px; }
.store a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 0 16px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: inherit; text-decoration: none; }
.store a:hover { border-color: var(--accent); }
.cover { position: relative; isolation: isolate; display: block; height: 66px; background: linear-gradient(160deg, var(--deep), var(--deep2)); }
.store .cover { margin-inline: -16px; }
.store .logo, .store-head .logo { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin-top: -35px; flex: none; border: 4px solid var(--panel); border-radius: 50%; overflow: hidden; background: var(--good-bg); color: var(--good); font-size: 1.6rem; font-weight: 800; box-shadow: 0 2px 10px rgba(0, 0, 0, .14); }
.store .logo img, .store-head .logo img { width: 100%; height: 100%; object-fit: cover; }
.store .name { margin-top: 6px; font-size: 1.05rem; font-weight: 800; line-height: 1.45; }
.place { display: flex; align-items: center; gap: 4px; margin: 0; color: var(--soft); font-size: .88rem; } .place .icon { width: 17px; height: 17px; flex: none; }
.chips-line { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.chip { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--panel2); color: var(--ink); font-size: .8rem; font-weight: 700; } .chip.warn { background: var(--bad-bg); color: var(--bad); }
.lead p { max-width: 62ch; color: var(--soft); }
.rated { display: inline-flex; align-items: center; gap: 8px; } .rated .stars small { display: none; }
.tools a span { overflow-wrap: normal; white-space: nowrap; }
.store-find { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 0 14px; align-items: end; padding: 16px 18px 2px; margin-bottom: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); }
.store-find .row { margin-bottom: 14px; }
.store-find input[type=search] { width: 100%; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; }
.store-head { margin-bottom: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.store-head .cover { height: 124px; }
.store-head .body { display: flex; gap: 18px; align-items: flex-start; padding: 0 24px 16px; }
.store-head .logo { width: 108px; height: 108px; margin-top: -54px; font-size: 2.6rem; }
.store-head h1 { margin: 12px 0 2px; } .store-head .body p { margin: 4px 0 0; }
.store-head .about { padding: 16px 24px 20px; border-top: 1px solid var(--line); } .store-head .about h2 { margin-bottom: 4px; font-size: 1rem; } .store-head .about p { margin: 0; }
@media (max-width: 760px) {
  .tools a { padding-inline: 2px; font-size: .72rem; }
  .banner.art { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); min-height: 170px; } .banner.art strong { padding: 18px; }
  .store-find { grid-template-columns: minmax(0, 1fr); }
  .store-head .body { flex-direction: column; gap: 0; padding: 0 16px 14px; } .store-head .about { padding: 14px 16px 16px; }
  .deals .head { padding: 28px 16px 10px; } .deals .rail { padding-inline: 16px; }
}
@media (prefers-reduced-motion: no-preference) { .slides { scroll-behavior: smooth; } .store a { transition: border-color .15s; } .dots .dot::before { transition: width .2s, background-color .2s; } }
