/* self-hosted Alexandria (variable weight), split into Latin and Arabic subsets */
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/alexandria-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+2605; }
@font-face { font-family: 'Alexandria'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/alexandria-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
/* Garagat theme — shared by every page (header, footer, Market band, restyle of content pages).
   Tokens live on :root so pages that don't use .nh (content + Market pages) get them too. */
:root {
  --n-900: #01062e; --n-800: #020940; --n-700: #030c54; --n-600: #0a1a6b; --n-500: #1b2a8c;
  --y: #fff200; --y-soft: rgba(255, 242, 0, .14);
  --cr: #fbf8f1; --ink-1: #0c1330; --ink-2c: #4a5168; --ink-3c: #626a80; --ln: #e8e2d2;
  --ink-2: #4a5168; --ink-3: #626a80;
  --gut: 20px; --hdr: 72px;
  --ease-n: cubic-bezier(.22,.61,.36,1);
}
@media (min-width: 900px) { :root { --gut: 40px; } }
html { scroll-padding-top: calc(var(--hdr) + 12px); }
body { background: var(--cr); }
.nh-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); box-sizing: border-box; }

/* ---------------- header — cream and translucent, navy text (the original garagat.ai look) */
.nh-header { position: fixed; inset: 0 0 auto 0; z-index: 100; font-family: 'Alexandria', system-ui, sans-serif;
  background: rgba(251,248,241,.82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-n), background .3s var(--ease-n); }
.nh-header.solid { background: rgba(251,248,241,.94); border-bottom-color: var(--ln); }
.nh-head { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }
.nh-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--n-700) !important; text-decoration: none; }
.nh-mark { width: 42px; height: 42px; background: var(--n-700); border-radius: 12px; display: grid; place-items: center; transition: transform .6s var(--ease-n); }
.nh-mark img { width: 28px; height: 28px; transform: rotate(-22deg); }
.nh-logo:hover .nh-mark { transform: rotate(-8deg); }
.nh-word { font-size: 1.4rem; letter-spacing: -.02em; font-weight: 400; color: var(--n-700); }
.nh-nav { display: none; }
.nh-nav a { color: var(--ink-1); font-size: .94rem; font-weight: 500; text-decoration: none; padding: 6px 0; position: relative; }
.nh-nav a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -2px; width: 0; height: 2px; background: var(--y); transition: width .35s var(--ease-n); }
.nh-nav a:hover::after, .nh-nav a.on::after { width: 100%; }
.nh-portal { background: var(--n-700); color: #fff !important; padding: 11px 22px !important; border-radius: 999px; font-weight: 600 !important; }
.nh-portal::after, .nh-lang::after { display: none; }
.nh-portal:hover { background: var(--n-600); }
.nh-lang { border: 1px solid var(--ln); border-radius: 999px; padding: 8px 14px !important; color: var(--n-700) !important; font-weight: 600 !important; font-size: .88rem !important; }
.nh-burger { background: none; border: 0; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nh-burger span { width: 24px; height: 2px; background: var(--n-700); border-radius: 2px; }
.nh-nav.open { display: flex; position: absolute; top: var(--hdr); inset-inline: 0; flex-direction: column; gap: 4px; padding: 18px var(--gut) 24px; background: #fff; border-bottom: 1px solid var(--ln); box-shadow: 0 20px 40px -24px rgba(3,12,84,.25); }
.nh-nav.open a { padding: 12px 0 !important; }
.nh-nav.open .nh-portal, .nh-nav.open .nh-lang { text-align: center; margin-top: 6px; }
@media (min-width: 980px) { .nh-nav { display: flex; align-items: center; gap: 28px; } .nh-burger { display: none; } }

/* ---------------- footer */
.nh-footer { background: var(--n-900); color: rgba(255,255,255,.72); font-family: 'Alexandria', system-ui, sans-serif; padding: 64px 0 28px; }
.nh-foot-top { display: grid; gap: 34px; grid-template-columns: 1fr 1fr; }
.nh-foot-brand { grid-column: 1 / -1; }
@media (min-width: 1000px) { .nh-foot-top { grid-template-columns: 1.6fr repeat(5, 1fr); } .nh-foot-brand { grid-column: auto; } }
.nh-footer .nh-word { color: #fff; }
.nh-footer .nh-mark { background: var(--n-600); }
.nh-foot-brand p { margin: 14px 0 18px; font-size: .92rem; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,.7); }
.nh-foot-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.nh-foot-badges img { height: 40px; width: auto; }
.nh-socials { display: flex; gap: 10px; margin-top: 18px; }
.nh-socials a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; text-decoration: none; transition: background .25s; }
.nh-socials a:hover { background: var(--y); color: var(--n-700); }
.nh-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 14px; font-weight: 700; }
[dir="rtl"] .nh-footer h4 { letter-spacing: 0; }
.nh-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nh-footer ul a { color: rgba(255,255,255,.72); font-size: .9rem; text-decoration: none; transition: color .2s; }
.nh-footer ul a:hover { color: var(--y); }
.nh-foot-all { color: var(--y) !important; font-weight: 600; }
.nh-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------------- Market pages: navy band under the header */
.nh-band { background: radial-gradient(900px 340px at 90% 0%, rgba(255,242,0,.16), transparent 60%), var(--cr);
  color: var(--ink-1); padding: calc(var(--hdr) + 22px) 0 6px; }
.nh-band .crumbs { color: var(--ink-3c); margin: 0 0 12px; font-size: 13px; }
.nh-band .crumbs a { color: var(--n-700); }
.nh-band .mkt-search { margin: 0; max-width: 720px; }
.nh-band .mkt-search .sinput { height: 52px; border: 1.5px solid var(--ln); background: #fff; box-shadow: 0 1px 0 rgba(3,12,84,.04), 0 18px 30px -22px rgba(3,12,84,.18); }
.mkt { padding-top: 26px !important; }

/* ---------------- content pages from the real site: original look, only spacing for the new header */
.nh-legacy .page-hero { padding-top: calc(var(--hdr) + 80px); }
.nh-legacy .legal-content { max-width: 820px; }

/* category FAQ (Market) */
.mkt-faq { margin-top: 40px; max-width: 860px; }
.mkt-faq details { background: #fff; border: 1px solid var(--ln); border-radius: 14px; margin-bottom: 10px; }
.mkt-faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; color: var(--n-700); }
.mkt-faq summary::-webkit-details-marker { display: none; }
.mkt-faq summary::after { content: "+"; float: inline-end; color: var(--n-500); font-weight: 800; }
.mkt-faq details[open] summary::after { content: "–"; }
.mkt-faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2c); line-height: 1.6; }

/* demo label — small, out of the way */
.demo-pill { position: fixed; top: calc(var(--hdr) + 8px); inset-inline-end: 10px; z-index: 95; background: var(--n-700); color: var(--y); font: 700 11px/1 'Alexandria', system-ui, sans-serif; padding: 6px 10px; border-radius: 999px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); opacity: .9; }

/* ---------- phone mock-ups (HTML, live data, never a price) */
.nh-mock { position: relative; z-index: 1; width: 290px; background: #fff; color: var(--ink); border-radius: 38px; padding: 14px 14px 18px;
  box-shadow: 0 0 0 9px #0b0f24, 0 0 0 10px #2a2f4a, 0 40px 80px -30px rgba(0,0,0,.7); font-size: 13px; text-align: start; }
.nh-m-status { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; padding: 2px 8px 10px; color: var(--ink); }
.nh-m-search { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; color: var(--ink-2); margin-bottom: 12px; }
.nh-m-search i { color: var(--n-700); margin-inline-end: 6px; }
.nh-m-h { font-weight: 800; color: var(--n-700) !important; font-size: 15px; margin: 4px 4px 8px !important; line-height: 1.25; }
.nh-m-h small { font-weight: 500; color: var(--ink-3); font-size: 11px; margin-inline-start: 6px; }
.nh-m-sub { margin: -4px 4px 10px !important; font-size: 12px; color: var(--ink-2) !important; }
.nh-m-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 9px 6px; border-top: 1px solid var(--line); }
.nh-m-row img, .nh-m-row > span { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.nh-m-row b { display: block; font-size: 12.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-m-row small { color: var(--ink-3); font-size: 11px; }
.nh-m-row > i { color: var(--ink-3); font-size: 11px; }
.nh-m-star { color: #f5a623; }
.nh-m-tabbar { display: flex; justify-content: space-around; padding: 12px 0 0; margin-top: 10px; border-top: 1px solid var(--line); color: var(--ink-3); }
.nh-m-tabbar .on { color: var(--n-700); }
.nh-m-hero { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 18px; margin-bottom: 10px; }
.nh-m-label { margin: 8px 4px 6px !important; font-size: 11px; font-weight: 700; color: var(--ink-3) !important; text-transform: uppercase; letter-spacing: .06em; }
.nh-m-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px; }
.nh-m-chips span { font-size: 11px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.nh-m-chips span.on { background: var(--n-700); color: #fff; border-color: var(--n-700); }
.nh-m-price { display: flex; justify-content: space-between; align-items: center; margin: 14px 4px 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
.nh-m-blur { filter: blur(6px); color: var(--n-700); font-size: 16px; user-select: none; }
.nh-m-btn { background: var(--y); color: var(--n-700); font-weight: 800; text-align: center; border-radius: 999px; padding: 11px; }
.nh-qrbox .nh-phone::before { inset: 0 -20%; }
/* the mock sits inside dark bands whose `p` rules are !important — out-rank them here */
.nh-mock p { color: var(--ink-2) !important; }
.nh-mock .nh-m-h { color: var(--n-700) !important; }
.nh-mock .nh-m-label { color: var(--ink-3) !important; }


/* the mock inside the original homepage's phone frame */
.phone-screen .nh-mock-bare { width: 100%; height: 100%; border-radius: 0; box-shadow: none; padding: 12px 10px; font-size: 12px; overflow: hidden; }
.phone-screen .nh-mock-bare p { color: var(--ink-2) !important; }
.phone-screen .nh-mock-bare .nh-m-h { color: var(--n-700) !important; }

/* original homepage: partner cards link to their garage pages */
.partner-card { position: relative; }
.partner-card .card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.partner-card:hover { transform: translateY(-3px); }

/* Market category intro (unique copy per category) */
.mkt-intro { max-width: 820px; color: var(--ink-2); line-height: 1.65; margin: 4px 0 18px; font-size: 1rem; }
.rating-src { font-size: 12px; color: var(--ink-3); }
.rating-src a { color: var(--n-500); }

/* guides */
.guide { max-width: 820px; }
.guide h2 { margin-top: 30px !important; }
.guide p { line-height: 1.75; color: var(--ink-1); }
.guide-meta { color: var(--ink-3c); font-size: 13px; margin: 0 0 16px; }
.guide-answer { background: #fff; border: 1px solid var(--ln); border-inline-start: 4px solid var(--y); border-radius: 14px; padding: 16px 18px; line-height: 1.7; margin: 10px 0 8px; }
.guide-answer b { color: var(--n-700); }
.guide-cta { background: var(--n-700); color: #fff; border-radius: 18px; padding: 20px; margin: 30px 0; }
.guide-cta p { color: rgba(255,255,255,.85) !important; margin: 0 0 12px; }
.guide-cta .cats { margin-bottom: 14px; }
.guide-cta .price-hook { background: var(--y); color: var(--n-700); }
.guide-src { font-size: 14px; line-height: 1.8; padding-inline-start: 18px; }
.guide-src a { color: var(--n-500); }
.guide-draft { background: #fff4d6; color: #5c3d00; border-radius: 10px; padding: 8px 12px; font-size: 13px; display: inline-block; }
.guide-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 18px; }
.guide-card { background: #fff; border: 1px solid var(--ln); border-radius: 18px; padding: 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--n-700); transform: translateY(-2px); }
.guide-card h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--n-700); }
.guide-card p { margin: 0; color: var(--ink-2c); font-size: .92rem; line-height: 1.55; }
/* how we vet */
.vet-steps { display: grid; gap: 12px; max-width: 820px; margin: 10px 0 20px; }
.vet-step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--ln); border-radius: 18px; padding: 18px; }
.vet-step > span { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--y); color: var(--n-700); font-weight: 800; display: grid; place-items: center; }
.vet-step h3 { margin: 0 0 4px; color: var(--n-700); font-size: 1.05rem; }
.vet-step p { margin: 0; color: var(--ink-2c); }
/* partner kit */
.kit-preview { padding: 18px; background: #fff; border: 1px dashed var(--ln); border-radius: 14px; margin-bottom: 10px; }
.kit-code { width: 100%; font: 12px/1.5 ui-monospace, Menlo, monospace; border: 1px solid var(--ln); border-radius: 10px; padding: 10px; }
.kit-steps { line-height: 1.9; }
#kit-qr { background: #fff; padding: 12px; display: inline-block; border-radius: 12px; border: 1px solid var(--ln); }

/* blog */
.post-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 18px; }
.post-card { background: #fff; border: 1px solid var(--ln); border-radius: 20px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); border-color: var(--n-700); }
.post-card img { width: 100%; height: auto; aspect-ratio: 1200/630; object-fit: cover; }
.post-card .post-type { margin: 14px 16px 0; font-size: 12px; font-weight: 700; color: var(--n-500); text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"] .post-card .post-type { letter-spacing: 0; }
.post-card h3 { margin: 6px 16px 6px; color: var(--n-700); font-size: 1.05rem; line-height: 1.35; }
.post-card p { margin: 0 16px 16px; color: var(--ink-2c); font-size: .9rem; line-height: 1.5; }
.post .eyebrow { text-decoration: none; }
.post-top { display: grid; gap: 22px; align-items: start; margin: 8px 0 10px; }
@media (min-width: 760px) { .post-top { grid-template-columns: 280px 1fr; } }
.post-video { width: 100%; max-width: 320px; height: auto; aspect-ratio: 9/16; border-radius: 22px; background: var(--n-700); box-shadow: 0 30px 60px -30px rgba(3,12,84,.45); }
.lede-post { font-size: 1.15rem; line-height: 1.6; color: var(--ink-1); margin-top: 0; }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.share-bar > span { font-size: 13px; font-weight: 700; color: var(--ink-3c); margin-inline-end: 4px; }
.sh { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--ln); background: #fff; color: var(--n-700); text-decoration: none; cursor: pointer; font-size: 16px; transition: background .2s, color .2s; }
.sh:hover { background: var(--n-700); color: #fff; }
.sh-whatsapp:hover { background: #25d366; border-color: #25d366; }
.sh.ok { background: var(--y); color: var(--n-700); }
/* category links inside the dark CTA box: navy text on white pills (they inherited white) */
.guide-cta .cats a { color: var(--n-700) !important; background: #fff; border-color: transparent; font-weight: 600; }
.guide-cta .cats a:hover { background: var(--y); }

/* brand guides: folders > brands > lines */
.folder-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 22px 0 8px; }
.folder-card { position: relative; background: #fff; border: 1px solid var(--ln); border-radius: 20px; padding: 22px 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, transform .2s; }
.folder-card:hover { border-color: var(--n-700); transform: translateY(-2px); }
.folder-ico { width: 40px; height: 30px; border-radius: 6px 10px 10px 10px; background: var(--n-700); position: relative; }
.folder-ico::before { content: ""; position: absolute; top: -6px; inset-inline-start: 0; width: 18px; height: 8px; border-radius: 5px 5px 0 0; background: var(--n-700); }
.folder-ico::after { content: ""; position: absolute; inset: 9px 0 0; border-radius: 4px 4px 10px 10px; background: var(--y); }
.folder-card h3 { margin: 4px 0 0; color: var(--n-700); font-size: 1.15rem; }
.folder-card p { margin: 0; color: var(--ink-2c); font-size: .92rem; line-height: 1.55; }
.folder-meta { margin-top: auto; padding-top: 6px; font-size: .8rem; font-weight: 600; color: var(--n-700); }
.lib-h { margin-top: 36px !important; }
.guide-wide { max-width: 960px; }
a.eyebrow { text-decoration: none; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0 18px; border: 1px solid var(--ln); border-radius: 14px; background: #fff; }
.bt { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.bt th, .bt td { text-align: start; padding: 11px 14px; border-bottom: 1px solid var(--ln); vertical-align: top; line-height: 1.45; }
.bt thead th { background: var(--cr); color: var(--ink-2c); font-size: .78rem; font-weight: 600; }
.bt tbody tr:last-child th, .bt tbody tr:last-child td { border-bottom: 0; }
.bt tbody th a { color: var(--n-700); font-weight: 700; }
.line, .brand-more { border-top: 1px solid var(--ln); padding-top: 6px; scroll-margin-top: 90px; }
.line h3, .brand-more h3 { margin: 18px 0 4px; color: var(--n-700); }
.line-spec { font-size: .86rem; color: var(--ink-2c) !important; margin: 0 0 4px; }
.lchips { margin: 8px 0 4px; }
.note { font-size: .82rem; color: var(--ink-3c) !important; }
.guide-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 4px; padding: 10px 14px; background: #fff; border: 1px solid var(--ln); border-inline-start: 4px solid var(--y); border-radius: 14px; font-size: .9rem; }
.gs-q { font-weight: 600; color: var(--n-700); margin-inline-end: 4px; }
.guide-strip a { padding: 5px 12px; border-radius: 999px; background: var(--cr); color: var(--n-700); text-decoration: none; font-weight: 600; }
.guide-strip a:hover { background: var(--y); }
.guide-strip .gs-all { background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.guide-line { margin: -4px 0 14px; font-size: .92rem; }
.guide-line a { color: var(--n-700); font-weight: 600; text-underline-offset: 3px; }
.reason { padding-inline-start: 20px; line-height: 1.7; color: var(--ink-1); }
.reason li { margin: 6px 0; }
.sg { margin: 22px 0 6px; font-size: 1rem; }
.sg a { color: var(--n-700); }
.why { font-size: .92rem; color: var(--ink-2c) !important; }
.bt.svc th a { color: var(--n-700); }

/* offers: no prices, only % cap, end date and what is included */
.offer-grid, .offer-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); margin: 12px 0 8px; }
.offer-card { background: #fff; border: 1px solid var(--ln); border-radius: 18px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 40%) 1fr; margin: 16px 0; transition: border-color .2s, box-shadow .2s; }
.offer-card:hover { border-color: var(--n-700); box-shadow: 0 8px 24px rgba(3, 12, 84, .08); }
.offer-row .offer-card, .offer-grid .offer-card { margin: 0; }
.of-img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--cr); display: block; }
.of-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 0; }
.of-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .82rem; }
.of-pct { background: var(--y); color: var(--n-700); font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.of-ends { color: var(--ink-3c); white-space: nowrap; }
.offer-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; color: var(--n-700); }
.of-gline { font-size: .88rem; }
.of-g { color: var(--n-700); font-weight: 600; }
.of-incl { font-size: .86rem; margin: 0; color: var(--ink-2c); }
.of-incl a { color: var(--n-700); }
.offer-card .price-hook { align-self: flex-start; margin-top: 4px; white-space: nowrap; }
/* compact: inside a service page column */
.offer-card.compact { grid-template-columns: minmax(0, 34%) 1fr; }
.offer-card.compact .of-body { padding: 14px 16px; gap: 6px; }
.offer-card.compact h3 { font-size: 1rem; }
@media (max-width: 640px) {
  .offer-card, .offer-card.compact { grid-template-columns: 1fr; }
  .of-img { height: auto; }
}
.of-img { max-height: 250px; }
.offer-card.compact .of-img { max-height: 180px; }
.cta-box h3 { color: #fff !important; }
/* two or more offers: upright cards, up to 3 across */
.offer-row.multi, .offer-grid.multi { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.offer-row.multi .offer-card, .offer-grid.multi .offer-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.offer-row.multi .of-img, .offer-grid.multi .of-img { height: auto; max-height: 200px; }
.offer-row.multi .of-body, .offer-grid.multi .of-body { justify-content: flex-start; padding: 14px 16px 16px; }
.offer-row.multi .offer-card h3, .offer-grid.multi .offer-card h3 { font-size: 1.05rem; }
.offer-row.multi .offer-card .price-hook, .offer-grid.multi .offer-card .price-hook { margin-top: auto; }
.offer-row.multi .of-body, .offer-grid.multi .of-body { gap: 8px; }
.offer-row.multi .of-incl, .offer-grid.multi .of-incl { margin-bottom: 6px; }
/* Market: full-bleed offer banners; several auto-advance with story-style progress bars */
.offer-slider { position: relative; margin: 12px 0 8px; border-radius: 20px; overflow: hidden; background: var(--n-900); box-shadow: 0 14px 40px rgba(3, 12, 84, .14); }
.os-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.os-track::-webkit-scrollbar { display: none; }
.os-slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.offer-hero { position: relative; height: 340px; color: #fff; isolation: isolate; overflow: hidden; }
.oh-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 6s ease-out; }
.offer-slider:hover .oh-img { transform: scale(1.06); }
.oh-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 6, 46, .92) 0%, rgba(1, 6, 46, .72) 38%, rgba(1, 6, 46, .1) 72%, rgba(1, 6, 46, 0) 100%); }
[dir="rtl"] .oh-shade { background: linear-gradient(270deg, rgba(1, 6, 46, .92) 0%, rgba(1, 6, 46, .72) 38%, rgba(1, 6, 46, .1) 72%, rgba(1, 6, 46, 0) 100%); }
.oh-body { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(520px, 62%); padding: 34px 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.oh-top { display: flex; align-items: center; gap: 12px; font-size: .84rem; }
.oh-ends { color: rgba(255, 255, 255, .78); white-space: nowrap; }
.offer-hero h3 { margin: 0; color: #fff !important; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.oh-g { color: rgba(255, 255, 255, .88); font-size: .92rem; text-decoration: none; }
.oh-g:hover { color: #fff; text-decoration: underline; }
.oh-rate { color: var(--y); font-weight: 600; margin-inline-start: 6px; }
.offer-hero .price-hook { align-self: flex-start; margin-top: 8px; background: var(--y) !important; color: var(--n-700) !important; border: 0; padding: 12px 22px; font-weight: 700; box-shadow: 0 6px 18px rgba(255, 242, 0, .25); }
.offer-hero .price-hook:hover { filter: brightness(1.05); }
/* progress bars */
.os-bars { position: absolute; inset-inline: 40px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.os-bar { flex: 1; max-width: 90px; height: 3px; border: 0; padding: 6px 0; background: none; cursor: pointer; position: relative; }
.os-bar::before, .os-bar i { content: ""; position: absolute; inset-inline: 0; top: 6px; height: 3px; border-radius: 3px; }
.os-bar::before { background: rgba(255, 255, 255, .3); }
.os-bar i { inset-inline-end: auto; width: 0; background: #fff; transition: width .1s linear; }
/* arrows: glass circles, shown on hover */
.os-prev, .os-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .25s, background .2s; }
.os-prev { inset-inline-start: 14px; } .os-next { inset-inline-end: 14px; }
[dir="rtl"] .os-prev, [dir="rtl"] .os-next { transform: translateY(-50%) scaleX(-1); }
.offer-slider:hover .os-prev, .offer-slider:hover .os-next, .os-prev:focus-visible, .os-next:focus-visible { opacity: 1; }
.os-prev:hover, .os-next:hover { background: rgba(255, 255, 255, .28); }
@media (hover: none) { .os-prev, .os-next { display: none; } }
@media (max-width: 640px) {
  .offer-hero { height: 420px; }
  .oh-shade, [dir="rtl"] .oh-shade { background: linear-gradient(0deg, rgba(1, 6, 46, .95) 0%, rgba(1, 6, 46, .75) 42%, rgba(1, 6, 46, .05) 75%); }
  .oh-body { inset-inline: 0; inset-block-start: auto; width: auto; padding: 20px 20px 36px; justify-content: flex-end; }
  .os-bars { inset-inline: 20px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .oh-img, .offer-slider:hover .oh-img { transition: none; transform: none; } .os-bar i { transition: none; } }
