/* tokens.css */
/* Design tokens — values measured in recapture/<page>/capture-1440.json */
:root {
  --orange: #0f766e;          /* Deroua Market brand (teal), adjustable in Admin › Couleurs & thème */
  --orange-deep: #0f766e;     /* accent text, stock, links */
  --orange-tint: #ecfdf5;
  --stock-tint: #fff2d6;
  --deals-tint: #fff3f0;
  --flash: #be1d3e;           /* Ventes Flash box */
  --green: #15803d;           /* discount badges */
  --ink: #313133;             /* main text, dark buttons */
  --ink-2: #535357;           /* grey sections, footer */
  --ink-3: #75757a;           /* secondary text */
  --ink-4: #a3a3a6;
  --line: #d4d4d6;
  --line-soft: #ededee;
  --page: #f1f1f2;            /* page background */
  --white: #fff;
  --black: #000;
  --star: #f59e0b;
  --link: #264996;

  --font: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --font-mp: Poppins, var(--font);

  --fs-xs: 11.5px;
  --fs-sm: 12px;
  --fs-md: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 99px;

  --container: 1184px;
  --container-wide: 1232px;
  --gutter: 16px;
  --shadow-menu: 0 4px 16px rgba(0, 0, 0, .14);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* base.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font: 400 var(--fs-md)/1.4 var(--font);
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.i { width: 24px; height: 24px; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { width: 100%; max-width: calc(var(--container-wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: 8px; top: 0; transform: translateY(-120%); background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--r-xs);
  font-weight: 500; font-size: var(--fs-md); white-space: nowrap;
  transition: background-color .15s, box-shadow .15s;
}
.btn .i { width: 20px; height: 20px; }
.btn--primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 8px rgba(246, 139, 30, .25); }
.btn--primary:hover { background: #115e59; }
.btn--ghost { border: 1px solid var(--white); color: var(--white); height: 48px; }
.btn--block { width: 100%; }
.btn--sm { height: 32px; font-size: var(--fs-sm); padding: 0 12px; }

.chip {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px;
  border: 1px solid var(--ink-4); border-radius: var(--r-pill); background: var(--white); font-size: var(--fs-md);
}
.chip .i { width: 16px; height: 16px; }
.check, .radio { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: var(--fs-md); padding: 4px 0; }
.check input, .radio input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--orange); flex: none; }

.field { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 12px; background: var(--white); border: 1px solid var(--ink-4); border-radius: var(--r-xs); color: var(--ink-3); }
.field input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: var(--fs-base); background: transparent; color: var(--ink); }
.form-msg { font-size: var(--fs-sm); min-height: 1em; margin: 6px 0; }
.form-msg.is-error { color: #e61601; }
.form-msg.is-ok { color: var(--green); }

.logo { display: inline-flex; align-items: center; gap: 2px; color: var(--ink); line-height: 1; }
.logo__word { font: 700 30px/1 var(--font); letter-spacing: 1px; }
.logo__star { width: 24px; height: 24px; color: var(--orange); margin-top: -10px; }
.logo--light { color: var(--white); }

.logo { gap: 8px; } .logo__mark { flex: none; } .logo__word { font-size: 24px; letter-spacing: 0; } .logo__word b { color: #0f766e; } .logo--light .logo__word b { color: #5eead4; }

/* layout.css */
/* ---------- Promo strip (56px black) ---------- */
.promo-strip { display: block; background: var(--black); color: var(--white); }
.promo-strip__inner {
  max-width: 1168px; height: 56px; margin: 0 auto; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 0 0 20px; background: linear-gradient(90deg, #121212 0 62%, #0b3b37 70%, var(--orange-deep) 72%);
}
.promo-strip__brand { display: flex; flex-direction: column; line-height: 1; }
.promo-strip__brand b { font-size: 15px; letter-spacing: 1px; }
.promo-strip__brand em { font-style: normal; font-weight: 700; color: var(--orange); font-size: 20px; }
.promo-strip__pill { background: var(--white); color: var(--orange-deep); font: 800 22px/1 var(--font); padding: 8px 22px; border-radius: var(--r-pill); }
.promo-strip__call { display: flex; flex-direction: column; align-items: flex-end; padding-right: 16px; line-height: 1.05; }
.promo-strip__call small { font-size: 15px; font-weight: 500; }
.promo-strip__call strong { display: flex; align-items: center; gap: 4px; font-size: 24px; font-weight: 800; }
.promo-strip__call .i { width: 22px; height: 22px; }

/* ---------- Top links (32px) ---------- */
.toplinks { background: var(--page); font-size: var(--fs-sm); }
.toplinks__inner { height: 32px; display: flex; align-items: center; justify-content: space-between; }
.toplinks__sell { display: flex; align-items: center; gap: 4px; color: var(--orange-deep); }
.toplinks__sell .i { width: 14px; height: 14px; color: var(--orange); }
.toplinks__mid { display: flex; gap: 16px; font-weight: 700; letter-spacing: .5px; }
.mini-logo { color: var(--ink); }
.mini-logo::after { content: "✪"; color: var(--orange); margin-left: 1px; }
.mini-force { color: var(--ink-4); }
.mini-force::before { content: "✪"; margin-right: 1px; }
.toplinks__lang { display: flex; gap: 8px; }
.toplinks__lang a { color: var(--ink-4); }
.toplinks__lang a + a { border-left: 1px solid var(--line); padding-left: 8px; }
.toplinks__lang a.is-active { color: var(--ink); }

/* ---------- Header (72px) ---------- */
.hdr { background: var(--white); position: relative; z-index: 30; }
.hdr__row { height: 72px; display: flex; align-items: center; gap: 24px; }
.hdr__burger { display: flex; padding: 4px; }
.hdr__burger--mobile-only { display: none; }
.hdr__logo { flex: none; }
.hdr__search { flex: 1; max-width: 578px; }
.search { display: flex; align-items: center; height: 48px; padding: 4px 4px 4px 14px; background: var(--page); border-radius: var(--r-pill); gap: 6px; }
.search__icon { color: var(--ink); }
.search__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: var(--fs-base); color: var(--ink); }
.search__input::placeholder { color: var(--ink-3); }
.search__btn { border-radius: var(--r-pill); height: 40px; }
.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hdr__cart { position: relative; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px; font-size: var(--fs-base); font-weight: 500; }
.hdr__cart-count { position: absolute; left: 22px; top: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--orange); color: var(--white); font-size: 11px; display: grid; place-items: center; }
.hdr__icon-mobile, .hdr__msearch { display: none; }

/* Dropdowns (Se connecter / Aide / tri) */
.dd { position: relative; }
.dd__btn { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px; border-radius: var(--r-xs); font-size: var(--fs-base); font-weight: 500; }
.dd__btn[aria-expanded="true"] { background: var(--page); }
.dd__chev { width: 16px; height: 16px; transition: transform .2s; }
.dd__btn[aria-expanded="true"] .dd__chev { transform: rotate(180deg); }
.dd__menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 206px; background: var(--white); border-radius: var(--r-xs); box-shadow: var(--shadow-menu); padding: 16px 0 8px; z-index: 40; }
.dd__menu > .btn { margin: 0 16px; width: calc(100% - 32px); }
.dd__sep { border: 0; border-top: 1px solid var(--line-soft); margin: 16px 0 8px; }
.dd__item { display: flex; align-items: center; gap: 16px; padding: 10px 16px; font-size: var(--fs-md); }
.dd__item:hover { background: var(--page); }
.dd__item--plain { padding: 8px 16px; }
#dd-help { padding-top: 8px; min-width: 240px; }

/* ---------- Category nav (home) ---------- */
.catnav { background: var(--white); border-top: 1px solid transparent; }
.catnav__inner { max-width: 1248px; margin: 0 auto; height: 41px; display: flex; align-items: center; gap: 26px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; }
.catnav__inner::-webkit-scrollbar { display: none; }
.catnav a { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: var(--fs-base); }
.catnav a:hover { color: var(--orange); }
.catnav .i { width: 20px; height: 20px; }

/* ---------- Breadcrumb & bands ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; height: 44px; font-size: var(--fs-sm); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.band-grey { background: var(--page); }
.band-grey--pad { padding-bottom: 24px; }
main { display: block; }
.mphone { display: none; }

/* ---------- Footer ---------- */
.ftr { color: var(--white); font-size: var(--fs-sm); margin-top: 16px; }
.ftr h3 { font-size: var(--fs-sm); font-weight: 700; margin: 0 0 12px; text-transform: uppercase; }
.ftr__top { background: var(--ink); }
.ftr__top-inner { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.ftr__nl p { margin-bottom: 12px; }
.ftr__nl .check { color: var(--line); font-size: var(--fs-sm); }
.ftr__nl .check input { accent-color: var(--orange); }
.ftr__nl-row { display: flex; gap: 8px; margin-top: 8px; }
.ftr__nl-row .field { flex: 1; max-width: 280px; }
.ftr__app { display: flex; gap: 16px; align-items: flex-start; }
.ftr__app-badge { width: 40px; height: 40px; border-radius: var(--r-xs); background: var(--orange); display: grid; place-items: center; flex: none; }
.ftr__stores { display: flex; gap: 16px; margin-top: 16px; font-weight: 500; }
.ftr__stores span::before { content: "▶ "; font-size: 10px; }
.ftr__main { background: var(--ink-2); padding: 24px 0 16px; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ftr__col a { display: block; margin-bottom: 4px; font-size: 13px; line-height: 1.3; }
.ftr__col a:hover { text-decoration: underline; }
.ftr__col h3:not(:first-child) { margin-top: 16px; }
.ftr__col--2 { display: grid; grid-template-columns: auto auto; column-gap: 24px; align-content: start; justify-content: start; }
.ftr__col--2 h3 { grid-column: 1 / -1; }
.ftr__contact { margin-top: 24px; }
.ftr__contact dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 8px; margin: 0; }
.ftr__contact dt { color: var(--ink-4); }
.ftr__contact dd { margin: 0; }
.ftr__row { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; margin-top: 24px; }
.ftr__social, .ftr__pay { display: flex; gap: 20px; align-items: center; }
.ftr__pay span { font-weight: 800; font-style: italic; }
.pay-mc { display: flex; }
.pay-mc i { width: 18px; height: 18px; border-radius: 50%; background: var(--white); opacity: .9; }
.pay-mc i + i { margin-left: -7px; opacity: .6; }
.ftr__brands { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0 12px; margin-top: 32px; }
.ftr__brands li { margin-bottom: 2px; font-size: var(--fs-sm); }
.ftr__brands a:hover { text-decoration: underline; }
.ftr__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.ftr__bottom .mini-force { color: var(--white); font-weight: 700; }

/* ---------- Overlays ---------- */
.totop { position: fixed; right: 16px; bottom: 56px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--orange); background: var(--white); display: grid; place-items: center; z-index: 20; }
.totop .i { width: 20px; height: 20px; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(340px, 87vw); background: var(--white); overflow-y: auto; animation: slideIn .22s var(--ease); }
@keyframes slideIn { from { transform: translateX(-100%); } }
.drawer__head { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.drawer__head .logo__word { font-size: 24px; }
.drawer__sec { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; font-size: var(--fs-md); font-weight: 500; color: var(--ink-2); border-top: 1px solid var(--line-soft); }
.drawer__sec .i { width: 18px; height: 18px; }
.drawer__sec--split a { color: var(--orange); font-weight: 400; font-size: var(--fs-sm); }
.drawer__link { display: flex; align-items: center; gap: 16px; padding: 12px 16px; font-size: var(--fs-base); }
.drawer__link:hover { background: var(--page); }

.sov { position: fixed; inset: 0; z-index: 70; background: var(--white); padding: 8px 12px; overflow-y: auto; }
.sov__bar { display: flex; align-items: center; gap: 8px; }
.sov__back { padding: 4px; }
.sov__field { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; border: 1px solid var(--ink); border-radius: var(--r-pill); padding: 0 16px; }
.sov__field input { flex: 1; border: 0; outline: 0; font-size: var(--fs-base); min-width: 0; }
.sov__title { margin: 24px 2px 8px; font-size: var(--fs-md); color: var(--ink-2); border-bottom: 1px solid var(--line-soft); padding-bottom: 4px; }
.sov__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sov__chips .chip { border: 0; background: var(--page); }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal__scrim { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.modal__box { position: relative; display: grid; grid-template-columns: 265px 1fr; width: min(650px, 100%); background: var(--white); max-height: calc(100vh - 32px); overflow: auto; }
.modal__art { background: radial-gradient(circle at 70% 75%, #f2782b 0 22%, transparent 23%), linear-gradient(160deg, #121212, #2b1a10); color: var(--white); padding: 64px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.modal__art b { font-size: 14px; letter-spacing: 1px; }
.modal__art em { font-style: normal; font-weight: 700; color: var(--orange); margin-top: -6px; }
.modal__art strong { font-size: 22px; margin-top: 16px; }
.modal__art code { background: var(--white); color: var(--ink); border-radius: var(--r-pill); padding: 2px 10px; font: 700 13px var(--font); }
.modal__art small { font-size: 9px; opacity: .8; }
.modal__body { padding: 40px 32px 32px; text-align: center; }
.modal__body h2 { font: 400 30px/1.1 var(--font); margin-bottom: 24px; }
.modal__lead { font-weight: 500; font-size: var(--fs-base); }
.modal__body .nl-form { text-align: left; margin-top: 24px; }
.modal__body .field { margin: 12px 0 16px; }
.modal__fine { margin-top: 16px; font-size: var(--fs-md); }
.modal__close { position: absolute; top: 16px; right: 16px; }

.cookie { position: fixed; left: 32px; bottom: 32px; z-index: 75; width: 386px; max-width: calc(100vw - 32px); background: var(--page); padding: 24px; box-shadow: var(--shadow-menu); }
.cookie h2 { font-size: var(--fs-xl); font-weight: 500; margin-bottom: 12px; }
.cookie p { font-size: var(--fs-md); margin-bottom: 24px; }
.cookie a { color: var(--link); }
.cookie .btn { float: right; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: var(--r-xs); z-index: 90; font-size: var(--fs-md); box-shadow: var(--shadow-menu); display: flex; gap: 12px; align-items: center; }
.toast a { color: var(--orange); font-weight: 500; }

/* ---------- Responsive chrome ---------- */
@media (max-width: 1100px) {
  .hdr__row { gap: 12px; }
  .hdr__cart-label, #dd-help-btn-label { display: none; }
}
@media (max-width: 1023px) {
  .promo-strip__inner { padding-left: 12px; }
  .toplinks__mid { display: none; }
  .dd:nth-child(2) .dd__btn span, .dd:nth-child(2) .dd__chev { display: none; }
  .ftr__top-inner { grid-template-columns: 1fr 1fr; }
  .ftr__logo { display: none; }
  .ftr__cols { grid-template-columns: repeat(2, 1fr); }
  .ftr__brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  body { font-size: var(--fs-md); }
  .promo-strip__inner { height: 48px; padding: 0 0 0 8px; gap: 6px; background: linear-gradient(90deg, #121212 0 75%, var(--orange-deep) 75%); }
  .promo-strip__brand b { font-size: 11px; } .promo-strip__brand em { font-size: 13px; }
  .promo-strip__pill { font-size: 16px; padding: 5px 14px; }
  .promo-strip__call { padding-right: 6px; }
  .promo-strip__call small { font-size: 11px; } .promo-strip__call strong { font-size: 12px; }
  .promo-strip__call .i { display: none; }
  .toplinks { display: none; }
  .hdr { position: sticky; top: 0; box-shadow: 0 1px 0 var(--line-soft); }
  .hdr__row { height: 56px; gap: 8px; padding: 0 12px; }
  .hdr__burger, .hdr__burger--mobile-only { display: flex; }
  .logo__word { font-size: 24px; } .logo__star { width: 20px; height: 20px; }
  .hdr__search, .dd { display: none; }
  .hdr__actions { order: 3; margin-left: 0; }
  .hdr__icon-mobile { display: flex; order: 2; margin-left: auto; padding: 8px; }
  .hdr__cart { padding: 8px; }
  .hdr__msearch { display: flex; align-items: center; gap: 12px; width: calc(100% - 16px); margin: 0 8px 8px; height: 48px; padding: 0 14px; border-radius: var(--r-pill); background: var(--page); font-size: var(--fs-base); color: var(--ink-2); }
  .catnav { display: none; }
  .crumbs { display: none; }
  .mphone { display: block; padding: 12px 16px 8px; font-size: var(--fs-base); font-weight: 500; }
  .ftr__top-inner, .ftr__cols, .ftr__row { grid-template-columns: 1fr; }
  .ftr__nl-row { flex-direction: column; }
  .ftr__nl-row .field { max-width: none; }
  .ftr__brands { grid-template-columns: repeat(2, 1fr); }
  .modal__box { grid-template-columns: 1fr; }
  .modal__art { display: none; }
  .modal__body { padding: 40px 20px 24px; }
  .modal__body h2 { font-size: 24px; }
  .cookie { left: 0; right: 0; bottom: 0; width: auto; max-width: none; background: var(--white); }
  .cookie .btn { float: none; width: 100%; }
}

/* components.css */
/* ---------- Section boxes ---------- */
.box { border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; position: relative; }
.box--white { background: var(--white); }
.box--white-red { background: var(--white); }
.box--white-red .box__title { color: var(--flash); }
.box--deals { background: var(--deals-tint); }
.box--deals .box__title { color: var(--flash); }
.box--flash { background: var(--flash); color: var(--white); }
.box--orange { background: var(--orange); color: var(--white); }
.box--grey { background: var(--ink-2); color: var(--white); }
.box--plain { background: transparent; padding: 16px 0; }
.box__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.box__title { font-size: var(--fs-3xl); font-weight: 700; line-height: 1.15; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.box--white .box__title, .box--plain .box__title { font-weight: 500; }
.box__title--light { color: var(--white); font-size: var(--fs-2xl); font-weight: 700; margin-bottom: 0; }
.box__title--sm { font-size: var(--fs-2xl); margin-bottom: 16px; }
.box__sub { font-size: var(--fs-base); margin-top: 6px; }
.box__sub--light { color: var(--white); font-size: var(--fs-md); font-weight: 500; margin: 4px 0 16px; }

.more { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 24px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: var(--fs-md); flex: none; }
.more .i { width: 20px; height: 20px; }
.box--flash .more, .box--orange .more, .box--grey .more { background: var(--white); color: var(--ink-2); }
.box--flash .more { color: var(--flash); }
.box--orange .more { color: var(--orange); }
.box--white-red .more, .box--deals .more { background: var(--flash); }

.countdown { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--flash); border-radius: var(--r-xs); padding: 2px 8px; font-size: var(--fs-md); font-weight: 500; }
.countdown .i { width: 18px; height: 18px; }

/* ---------- Rails ---------- */
.rail { position: relative; }
.rail__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: var(--shadow-card); border: 1px solid var(--line); display: grid; place-items: center; z-index: 2; opacity: 0; transition: opacity .2s; }
.rail__arrow--prev { left: 4px; } .rail__arrow--next { right: 4px; }
.rail:hover .rail__arrow:not([disabled]) { opacity: 1; }
.rail__arrow[disabled] { visibility: hidden; }
.rail--daba .rail__arrow { opacity: 1; }

/* ---------- Placeholder thumbnails ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, hsl(var(--h) 60% 92%) 0 38%, hsl(var(--h) 35% 97%) 39%);
  color: hsl(var(--h) 35% 38%);
}
.ph__glyph { width: 42%; height: 42%; stroke-width: 1.1; }
.ph__brand { position: absolute; left: 8px; top: 8px; font: 700 11px/1 var(--font); text-transform: uppercase; letter-spacing: .5px; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .75; }
.ph--xl .ph__brand { font-size: 15px; }

/* ---------- Rail product card ---------- */
.pcard { position: relative; flex: 0 0 186px; width: 186px; background: var(--white); border-radius: var(--r-sm); overflow: hidden; color: var(--ink); border: 1px solid var(--line-soft); }
.box--flash .pcard, .box--orange .pcard, .box--grey .pcard { border-color: transparent; }
.pcard__link { display: flex; flex-direction: column; height: 100%; }
.pcard__media { border-bottom: 1px solid var(--line-soft); }
.pcard__stock { background: var(--stock-tint); color: var(--orange-deep); font-size: var(--fs-sm); text-align: center; padding: 1px 4px; }
.pcard__body { padding: 8px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pcard__name { font-size: var(--fs-md); font-weight: 400; line-height: 1.4; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.pcard__add { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; transition: transform .15s; z-index: 1; }
.pcard__add:hover { transform: scale(1.06); }
.pcard__add.is-added { background: var(--green); }
.pcard:hover .pcard__name { color: var(--orange-deep); }

.rating { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-sm); color: var(--ink); }
.rating .i { width: 14px; height: 14px; color: var(--star); }
.rating__n { color: var(--ink-3); }
.rating--lg { gap: 4px; font-size: var(--fs-md); color: var(--ink-3); }
.rating--lg i .i, .stars .i { color: var(--line); }
.rating--lg i.on .i, .stars i.on .i { color: var(--star); }
.rating--lg a { color: var(--link); }

.price__now { font-size: var(--fs-lg); font-weight: 500; line-height: 1.3; margin-top: 4px; }
.price__was { display: flex; align-items: center; gap: 4px; font-size: var(--fs-sm); color: var(--ink-3); }
.badge-off { background: var(--green); color: var(--white); font-size: var(--fs-sm); font-weight: 500; border-radius: 2px; padding: 0 4px; line-height: 18px; }

/* ---------- Deals grid (home "Profitez", BF) ---------- */
.deals-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.deals-grid .pcard { width: auto; }

@media (max-width: 1279px) { .rail__arrow { display: none; } }
@media (max-width: 1023px) { .deals-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px) {
  .box { border-radius: var(--r-md); padding: 12px; margin-bottom: 12px; }
  .box__head { align-items: center; margin-bottom: 12px; }
  .box__title { font-size: var(--fs-2xl); gap: 6px; }
  .more { width: 52px; height: 32px; padding: 0; justify-content: center; }
  .more span { display: none; }
  .pcard { flex-basis: 132px; width: 132px; }
  .pcard__name { font-size: 13px; }
  .pcard__add { width: 36px; height: 36px; }
  .price__now { font-size: var(--fs-base); }
  .deals-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .countdown { font-size: 13px; }
}

/* ---------- Uploaded photos (media library) ---------- */
.ph--img { background: var(--white); }
.ph--img img { width: 100%; height: 100%; object-fit: contain; }

/* Images chosen in the admin for visual blocks (tiles, banners, circles) */
.has-img { position: relative; overflow: hidden; isolation: isolate; }
.has-img > .tile-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05)); }
[dir="rtl"] .has-img::before { background: linear-gradient(270deg, rgba(0,0,0,.55), rgba(0,0,0,.05)); }
.daba__orb--img { overflow: hidden; background: #fff; }
.daba__orb--img img { width: 100%; height: 100%; object-fit: cover; }
.bfc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.bfc__img + .bfc__pill { position: relative; }

/* home.css */
.home { padding-top: 16px; }

/* ---------- Hero carousel (1232 x 352, radius 12) ---------- */
.hero { position: relative; border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; aspect-ratio: 1232 / 352; min-height: 170px; background: #000; }
.hero__track { display: flex; height: 100%; transition: transform .5s var(--ease); }
.hero__slide { flex: 0 0 100%; height: 100%; position: relative; display: flex; align-items: center; padding: 0 7%; color: var(--white); overflow: hidden; }
.hero__slide--night { background: radial-gradient(circle at 78% 70%, #2dd4bf55 0 18%, transparent 40%), linear-gradient(100deg, #050505 45%, #2a1408); }
.hero__slide--ember { background: radial-gradient(circle at 80% 50%, #0f766e 0 20%, transparent 45%), linear-gradient(100deg, #0b0b0b 40%, #3b1405); }
.hero__slide--crimson { background: radial-gradient(circle at 75% 50%, #ffcf3f55 0 15%, transparent 45%), linear-gradient(100deg, #1a0306 40%, #7d1027); }
.hero__copy { display: flex; flex-direction: column; gap: 6px; max-width: 48%; z-index: 1; }
.hero__title { font: 800 clamp(30px, 6.2vw, 78px)/.95 var(--font); color: #2dd4bf; letter-spacing: -1px; }
.hero__l1 { font: 700 clamp(15px, 3.3vw, 42px)/1.05 var(--font); color: #ffcc1a; }
.hero__l2 { font: 500 clamp(13px, 2.8vw, 36px)/1.1 var(--font); }
.hero__art { position: absolute; right: 8%; top: 8%; bottom: 8%; aspect-ratio: 1; }
.hero__orb { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5eead4, #0f766e 55%, #134e4a); box-shadow: 0 0 80px #0f766eaa; }
.hero__phone { position: absolute; left: 30%; top: 0; width: 34%; height: 100%; border-radius: 22px; background: linear-gradient(#fff 0 12%, #0f766e 12% 24%, #fff 24%); border: 6px solid #1b1b1b; transform: rotate(-6deg); box-shadow: 0 10px 30px #0008; }
.hero__dots { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 6px; padding: 4px 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.35); }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #555; background: var(--white); transition: width .2s; }
.hero__dots button[aria-selected="true"] { width: 24px; border-radius: 5px; background: #555; }

/* ---------- DABA DABA tiles ---------- */
.daba .box__title--light { margin-bottom: 16px; }
.daba__tile { position: relative; flex: 0 0 172px; height: 172px; border-radius: var(--r-md); background: #121212; color: var(--white); padding: 10px 12px; display: flex; flex-direction: column; align-items: center; border: 1px solid #333; }
.daba__tile--hero { justify-content: center; background: #000; }
.daba__tile--hero span { background: var(--white); color: var(--orange-deep); font: 800 20px/1 var(--font); padding: 10px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.daba__t { align-self: flex-start; font-size: var(--fs-sm); font-weight: 700; max-width: 76%; line-height: 1.2; min-height: 30px; }
.daba__arrow { position: absolute; right: 10px; top: 8px; width: 20px; height: 20px; }
.daba__orb { width: 92px; height: 92px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5eead4, #0f766e 60%, #134e4a); display: grid; place-items: center; margin: 2px 0 8px; }
.daba__orb .i { width: 46px; height: 46px; color: #ffd23f; }
.daba__cta { background: var(--white); color: var(--ink); font-size: 10px; font-weight: 700; border-radius: var(--r-pill); padding: 4px 12px; white-space: nowrap; }
.rail--daba .rail__arrow--prev { left: 4px; } .rail--daba .rail__arrow--next { right: 4px; }

/* ---------- Promo pair ---------- */
.promo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promo-tile { position: relative; height: 200px; border-radius: var(--r-md); overflow: hidden; padding: 28px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: var(--white); }
.promo-tile strong { font: 800 clamp(24px, 4vw, 52px)/.95 var(--font); }
.promo-tile--a { background: radial-gradient(circle at 75% 55%, #0f766e 0 22%, transparent 23%), linear-gradient(110deg, #0e0e0e 55%, #2c1206); }
.promo-tile--b { background: radial-gradient(circle at 80% 55%, #2dd4bf 0 20%, #134e4a 35%, transparent 55%), #0e0e0e; }
.promo-tile--b strong { color: #2dd4bf; }
.promo-tile__pill { align-self: flex-start; background: var(--white); color: var(--orange-deep); border-radius: var(--r-pill); padding: 4px 14px; font-weight: 700; font-size: var(--fs-md); }
.promo-tile__pct { position: absolute; right: 12%; top: 50%; transform: translateY(-50%); font: 800 140px/1 var(--font); color: #2dd4bf; opacity: .9; }

/* ---------- Black Friday 2026 circles ---------- */
.bfc__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 16px; }
.bfc__item { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--white); text-align: center; }
.bfc__disc { position: relative; width: 100%; max-width: 178px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, hsl(var(--h) 70% 85%) 0 26%, #2dd4bf 27%); display: flex; align-items: flex-end; justify-content: center; }
.bfc__pill { transform: translateY(40%); background: var(--white); color: var(--ink); border-radius: var(--r-pill); padding: 2px 14px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.bfc__pill b { font-size: 24px; }
.bfc__label { margin-top: 10px; font-size: var(--fs-base); font-weight: 500; }

/* ---------- Deuxième chance ---------- */
.second { display: block; background: #eef6e8; border-radius: var(--r-md); padding: 6px 16px 14px; text-align: center; }
.second__brand { font: 700 22px/1.4 var(--font); letter-spacing: 1px; }
.second__brand b { color: #3d7a2d; }
.second__band { position: relative; text-align: left; background: linear-gradient(90deg, #4d7a3d, #7aa96a); border-radius: var(--r-md); color: var(--white); padding: 24px 36px; display: flex; flex-direction: column; gap: 4px; }
.second__band strong { font-size: clamp(16px, 2.2vw, 28px); }
.second__band span { font-size: clamp(14px, 1.8vw, 24px); }
.second__band em { font-style: normal; align-self: flex-start; margin-top: 12px; background: #f2f9ec; color: #3d7a2d; font-weight: 700; padding: 4px 12px; border-radius: var(--r-xs); font-size: var(--fs-lg); }
.second__band small { position: absolute; right: 20px; bottom: 12px; font-size: 10px; }

/* ---------- SEO / services / FAQ ---------- */
.seo { padding: 40px; font-size: var(--fs-md); line-height: 1.75; color: #383838; }
.seo p { margin-bottom: 16px; }
.seo a { color: var(--orange-deep); font-weight: 700; text-decoration: underline; }
.seo__kicker { font-size: 10px !important; font-weight: 700; letter-spacing: 1px; color: var(--orange-deep); margin-bottom: 20px !important; }
.seo__kicker::before { content: "● "; }
.seo__kicker--grey { color: var(--ink-3); margin-top: 24px; }
.seo__h { font: 400 32px/1.25 var(--font-serif); color: #121212; margin-bottom: 24px; }
.seo__h em { color: var(--orange-deep); }
.seo__h3 { font: 400 22px/1.3 var(--font-serif); color: #121212; margin: 32px 0 12px; }
.seo__stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-sm); margin: 24px 0; }
.seo__stats div { padding: 14px 16px; display: flex; flex-direction: column; }
.seo__stats div + div { border-left: 1px solid var(--line); }
.seo__stats strong { font: 400 24px var(--font-serif); color: #121212; }
.seo__stats span { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-3); }
.seo__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.seo__chips .chip { font-size: var(--fs-sm); height: 28px; border-color: var(--line); color: var(--ink); text-decoration: none; font-weight: 400; }
.seo__chips .chip--hot { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); }
.seo__cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 16px 0; }
.seo__cal div { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px; display: flex; flex-direction: column; line-height: 1.3; }
.seo__cal small { color: var(--orange-deep); font-weight: 700; font-size: 10px; }
.seo__cal strong { font: 400 18px var(--font-serif); color: #121212; margin: 4px 0; }
.seo__cal span { font-size: var(--fs-sm); color: var(--ink-3); }
.seo__services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 32px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.svc { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-xs); padding: 12px; line-height: 1.3; }
.svc__k { flex: none; min-width: 24px; height: 24px; padding: 0 3px; border-radius: var(--r-xs); background: var(--orange-deep); color: var(--white); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.svc b { display: block; font-size: 13px; color: var(--ink); }
.svc small { font-size: 12px; color: var(--ink-3); }
.seo__faq-title { font: 400 22px var(--font-serif); color: #121212; margin-bottom: 12px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; text-align: left; font-size: var(--fs-md); font-weight: 700; color: #121212; }
.faq__sign { color: var(--orange-deep); font-weight: 400; font-size: 16px; transition: transform .2s; }
.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__a { padding: 0 0 12px; color: var(--ink-3); font-size: 13px; }
.seo__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #121212; color: var(--white); border-radius: var(--r-md); padding: 24px 20px; margin-top: 16px; }
.seo__cta strong { display: block; font: 400 18px var(--font-serif); }
.seo__cta span { font-size: var(--fs-sm); color: var(--ink-4); }
.seo__cta .btn { background: var(--orange-deep); text-decoration: none; color: var(--white); }

@media (max-width: 1023px) {
  .bfc__grid { grid-template-columns: repeat(4, 1fr); }
  .seo__services { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .home { padding-top: 0; padding-left: 12px; padding-right: 12px; }
  .hero { aspect-ratio: 342 / 170; border-radius: var(--r-md); }
  .hero__art { right: 2%; }
  .daba__tile { flex-basis: 158px; height: 158px; }
  .promo-pair { gap: 8px; }
  .promo-tile { height: 132px; padding: 12px; }
  .promo-tile__pill { font-size: 10px; padding: 2px 8px; }
  .promo-tile__pct { display: none; }
  .daba__tile--hero span { font-size: 17px; padding: 8px 10px; }
  .bfc__grid { grid-template-columns: repeat(3, 1fr); gap: 16px 8px; }
  .bfc__pill b { font-size: 15px; }
  .bfc__label { font-size: var(--fs-sm); }
  .second__band { padding: 16px; }
  .seo { padding: 20px 14px; }
  .seo__h { font-size: 24px; }
  .seo__stats { grid-template-columns: 1fr 1fr; }
  .seo__stats div:nth-child(3) { border-left: 0; }
  .seo__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .seo__cal { grid-template-columns: repeat(2, 1fr); }
  .seo__services { grid-template-columns: 1fr 1fr; }
  .seo__cta { flex-direction: column; align-items: flex-start; }
}

.hero__art--img { top: 0; bottom: 0; right: 0; aspect-ratio: auto; width: 50%; }
.hero__art--img img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }

/* Real merchant products (market-rail) */
.market-rail[hidden] { display: none; }
.pcard__shop { margin: 2px 0 4px; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard.is-out { opacity: .6; }

/* listing.css */
/* Catalogue listing: 280px filter column + results card (measured: sidebar 280, results 872 at 1440) */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; padding-top: 0; }
.filters { background: var(--white); border-radius: var(--r-xs); padding: 8px 0; position: sticky; top: 8px; max-height: calc(100vh - 16px); overflow-y: auto; }
.filters__head-m { display: none; }
.fgroup { padding: 8px 16px 12px; border-bottom: 1px solid var(--line-soft); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h3 { display: flex; justify-content: space-between; font-size: var(--fs-md); font-weight: 500; margin: 4px 0 8px; }
.fgroup__cat { display: block; padding: 6px 0 6px 16px; font-size: var(--fs-md); }
.fgroup__cat--root { padding-left: 0; }
.fgroup__cat:hover { color: var(--orange); }
.fgroup__search { display: flex; align-items: center; gap: 8px; height: 32px; border: 1px solid var(--ink-3); border-radius: var(--r-pill); padding: 0 12px; margin-bottom: 8px; }
.fgroup__search .i { width: 18px; height: 18px; }
.fgroup__search input { border: 0; outline: 0; flex: 1; min-width: 0; }
.fgroup__list { max-height: 260px; overflow-y: auto; }
.link-ok { color: var(--orange); font-weight: 500; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: 100%; height: 32px; border: 1px solid var(--line); border-radius: var(--r-xs); padding: 0 8px; }
.express-mark { display: inline-flex; align-items: center; gap: 2px; font-size: var(--fs-sm); }
.express-mark b { letter-spacing: .5px; }
.express-mark .i { width: 14px; height: 14px; color: var(--orange-deep); }
.express-mark em { color: var(--orange-deep); font-style: normal; font-weight: 500; }
.stars { display: inline-flex; }
.stars .i { width: 16px; height: 16px; }

.results { background: var(--white); border-radius: var(--r-xs); min-width: 0; }
.results__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.results__title { font-size: var(--fs-xl); font-weight: 500; }
.results__count { font-size: var(--fs-md); font-weight: 400; color: var(--ink-3); }
.sort__btn { font-size: var(--fs-md); font-weight: 400; }
.sort__btn b { font-weight: 400; }
.sort__menu { right: 0; padding: 8px 0; min-width: 220px; }
.sort__menu .radio { padding: 10px 16px; font-size: var(--fs-base); }
.sort__menu .radio input { accent-color: var(--orange); width: 20px; height: 20px; }
.results__related { padding: 12px 16px 0; font-size: var(--fs-md); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results__related a { color: var(--orange-deep); text-decoration: underline; margin-right: 6px; }
.results__related a + a::before { content: "|"; color: var(--ink-4); margin-right: 6px; display: inline-block; text-decoration: none; }
.results__intro { padding: 12px 16px; font-size: var(--fs-md); color: var(--ink-3); border-bottom: 1px solid var(--line-soft); }
.results__intro p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.results__intro.is-open p { -webkit-line-clamp: unset; }
.results__intro button { font-size: var(--fs-sm); color: var(--ink); }
.results__chips { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; scrollbar-width: none; }
.chip--express { border-color: var(--orange-tint); background: var(--orange-tint); color: var(--orange-deep); }
.chip--express[aria-pressed="true"] { border-color: var(--orange-deep); }
.chip--filters { display: none; }
.results__empty { padding: 40px 16px; text-align: center; color: var(--ink-3); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; }
.gcard { position: relative; border-radius: var(--r-xs); border: 1px solid var(--line-soft); overflow: hidden; background: var(--white); transition: box-shadow .2s; }
.gcard:hover { box-shadow: var(--shadow-card); }
.gcard__link { display: flex; flex-direction: column; height: 100%; }
.gcard__media { position: relative; }
.gcard__badge { position: absolute; left: 8px; top: 8px; background: var(--black); color: var(--white); font-size: var(--fs-sm); font-weight: 500; padding: 3px 6px; z-index: 1; }
.gcard__badge--red { background: #e61601; }
.dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--ink-3); background: var(--white); }
.dots i.on { width: 14px; border-radius: 3px; background: var(--ink-2); border-color: var(--ink-2); }
.gcard__body { padding: 8px 8px 52px; display: flex; flex-direction: column; gap: 2px; }
.gcard__opt { font-size: 10px; color: var(--ink-2); margin-top: 4px; }
.gcard__opt::before { content: "▣ "; color: var(--link); }
.gcard__tags { position: absolute; left: 8px; bottom: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); padding: 2px 4px; border-radius: 2px; }
.tag .i { width: 14px; height: 14px; }
.tag--express { color: var(--orange-deep); background: var(--orange-tint); }
.tag--official { color: var(--link); background: #ddedff; }
.gcard__fav { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.85); z-index: 1; }
.gcard__fav[aria-pressed="true"] .i { fill: var(--orange-deep); color: var(--orange-deep); }
.gcard__add { top: auto; bottom: 8px; }
.gcard.is-hidden { display: none; }

@media (max-width: 1023px) {
  .listing { grid-template-columns: 220px 1fr; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .listing { grid-template-columns: 1fr; padding: 0; }
  .filters { display: none; position: fixed; inset: 0; z-index: 65; max-height: none; border-radius: 0; top: 0; }
  .filters.is-open { display: block; }
  .filters__head-m { display: flex; align-items: center; gap: 16px; padding: 8px 16px 12px; font-size: var(--fs-lg); border-bottom: 1px solid var(--line-soft); }
  .results { border-radius: 0; }
  .results__head { flex-wrap: wrap; }
  .results__title { font-size: var(--fs-lg); }
  .results__related { white-space: normal; }
  .chip--filters { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 6px; }
}

/* pages.css */
/* ---------- Category page ---------- */
.ad-banner { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; max-width: 970px; height: 250px; margin: 0 auto 16px; border: 1px solid var(--orange); background: linear-gradient(90deg, #eef3ee 0 55%, #fff 55%); padding: 24px 40px; text-align: right; }
.ad-banner__brand { color: var(--orange); font-weight: 800; letter-spacing: .5px; }
.ad-banner strong { background: var(--orange-deep); color: var(--white); padding: 8px 12px; font-size: var(--fs-lg); }
.ad-banner span:last-child { background: var(--orange-deep); color: var(--white); padding: 0 12px 8px; font-size: var(--fs-sm); max-width: 260px; }
.cat { padding-top: 24px; padding-bottom: 24px; }
.cat-sec { margin-bottom: 32px; }
.cat-sec__h { font-size: var(--fs-2xl); font-weight: 500; margin-bottom: 16px; }
.universe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.universe__tile { height: 246px; border-radius: var(--r-md); padding: 20px 24px; color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.universe__tile strong { font: 800 30px/1 var(--font); }
.universe__pill { background: var(--white); color: var(--ink); border-radius: var(--r-pill); padding: 4px 12px; font-size: var(--fs-sm); }
.universe__pill b { font-size: 28px; font-weight: 800; }
.universe__tile--violet { background: radial-gradient(circle at 60% 80%, #a35cff, transparent 50%), linear-gradient(135deg, #5b1fd1, #2c0a7a); }
.universe__tile--blue { background: radial-gradient(circle at 70% 70%, #63c6ff, transparent 50%), linear-gradient(135deg, #1747e0, #0a1f8c); }
.universe__tile--teal { background: radial-gradient(circle at 70% 70%, #6fffe9, transparent 50%), linear-gradient(135deg, #0aa7a7, #075f73); }
.subcat { flex: 0 0 180px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: var(--fs-base); font-weight: 500; }
.subcat__disc { width: 178px; height: 178px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, hsl(var(--h) 90% 70%), hsl(var(--h) 80% 40%)); color: var(--white); }
.subcat__disc .i { width: 72px; height: 72px; stroke-width: 1.2; }
.brandwall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }
.brandwall a { height: 96px; border-radius: var(--r-xs); background: linear-gradient(135deg, #2d3238, #15181b); color: var(--white); display: grid; place-items: center; font: 700 26px var(--font); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Flash sales ---------- */
.flash-top { margin-bottom: 16px; }
.flash-head { display: flex; justify-content: space-between; align-items: center; background: var(--flash); color: var(--white); padding: 10px 16px; border-radius: var(--r-xs) var(--r-xs) 0 0; font-size: var(--fs-xl); font-weight: 500; }
.flash-head span:first-child { display: flex; align-items: center; gap: 8px; }
.flash-head .i { color: #ffd23f; }
.flash-head span:last-child { font-size: var(--fs-md); }
.flash-slots { display: flex; gap: 0; overflow-x: auto; background: var(--white); scrollbar-width: none; }
.flash-slots button { flex: none; padding: 12px 18px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-3); border-bottom: 3px solid transparent; }
.flash-slots button.is-on { color: var(--flash); border-color: var(--flash); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.pdp__card { background: var(--white); border-radius: var(--r-xs); padding: 16px; display: grid; grid-template-columns: 305px minmax(0, 1fr); gap: 16px; min-width: 0; }
.pdp__card > * { min-width: 0; }
.pdp > * { min-width: 0; }
.pdp__main { position: relative; aspect-ratio: 1; }
.pdp__view { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.pdp__view.is-on { opacity: 1; }
.pdp__thumbs { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.pdp__tlist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; scroll-behavior: smooth; }
.pdp__t { flex: 0 0 40px; border: 1px solid var(--line); border-radius: 2px; }
.pdp__t.is-on { border-color: var(--orange); }
.pdp__t .ph__brand { display: none; }
.pdp__t .ph__glyph { width: 60%; height: 60%; }
.pdp__tarrow .i { width: 18px; height: 18px; color: var(--ink-3); }
.pdp__share { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.pdp__share h3 { font-size: var(--fs-md); font-weight: 500; margin-bottom: 10px; }
.pdp__share span { display: flex; gap: 10px; }
.pdp__share .i { width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; padding: 7px; }
.pdp__badges { display: flex; justify-content: space-between; align-items: flex-start; }
.pdp__badges .gcard__badge { position: static; display: inline-block; }
.pdp__fav .i { color: var(--orange); }
.pdp__fav[aria-pressed="true"] .i { fill: var(--orange); }
.pdp__name { font-size: var(--fs-xl); font-weight: 400; line-height: 1.3; margin: 8px 0 6px; }
.pdp__brand { font-size: var(--fs-md); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.pdp__brand a { color: var(--link); }
.pdp__flash { border: 1px solid var(--flash); border-radius: var(--r-xs); overflow: hidden; }
.pdp__flash-head { display: flex; justify-content: space-between; align-items: center; background: var(--flash); color: var(--white); padding: 6px 10px; font-size: var(--fs-md); font-weight: 500; }
.pdp__flash-head span:first-child { display: flex; gap: 6px; align-items: center; font-size: var(--fs-base); }
.pdp__flash-head .i { color: #ffd23f; width: 20px; height: 20px; }
.pdp__flash-body { padding: 10px; }
.pdp__flash-body .price, .pdp__price .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pdp__flash-body .price__now, .pdp__price .price__now { font-size: var(--fs-2xl); font-weight: 700; }
.pdp__flash-body .badge-off, .pdp__price .badge-off { background: var(--orange-tint); color: var(--orange-deep); font-size: var(--fs-md); }
.pdp__price { padding: 4px 0; }
.pdp__stock { font-size: var(--fs-sm); margin: 6px 0 4px; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--orange); border-radius: 3px; }
.pdp__ship { font-size: var(--fs-sm); margin: 8px 0; }
.pdp__buy { display: flex; gap: 12px; margin: 16px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.btn--buy { flex: 1; height: 48px; font-size: var(--fs-base); }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button { width: 40px; height: 40px; border-radius: var(--r-xs); background: var(--orange); color: var(--white); display: grid; place-items: center; }
.pdp__promos h3 { font-size: var(--fs-md); font-weight: 500; margin-bottom: 8px; }
.pdp__promos p { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-md); margin-bottom: 8px; }
.pdp__promos .i { color: var(--orange); width: 20px; height: 20px; }
.pdp__promos a { color: var(--link); }
.pdp__side { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--white); border-radius: var(--r-xs); padding: 0 0 8px; font-size: var(--fs-sm); }
.side-card h3 { font-size: var(--fs-md); font-weight: 500; padding: 10px 8px; border-bottom: 1px solid var(--line-soft); }
.side-card__row { display: flex; justify-content: space-between; align-items: center; }
.side-card__row .i { width: 18px; height: 18px; }
.side-card h4 { font-size: var(--fs-base); font-weight: 500; padding: 10px 8px 8px; display: flex; gap: 6px; align-items: center; }
.side-card h4 .i { width: 18px; height: 18px; }
.side-card__express { padding: 8px; border-bottom: 1px solid var(--line-soft); }
.side-card__express .express-mark { display: flex; }
.side-card a { color: var(--link); }
.select { position: relative; display: block; margin: 0 8px 16px; }
.select select { width: 100%; height: 48px; appearance: none; border: 1px solid var(--ink-3); border-radius: var(--r-xs); padding: 0 40px 0 16px; background: var(--white); font-size: var(--fs-base); }
.select select:disabled { opacity: .55; }
.select .i { position: absolute; right: 12px; top: 12px; pointer-events: none; }
.side-card__opts { transition: opacity .2s; }
.side-card__opts.is-dim { opacity: .35; }
.opt { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; padding: 8px; align-items: start; }
.opt .i { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-xs); padding: 7px; }
.opt b { font-size: var(--fs-md); font-weight: 500; display: block; }
.opt small { display: block; color: var(--ink-2); margin-top: 2px; }
.opt--border { border-top: 1px solid var(--line-soft); }
.seller { display: flex; justify-content: space-between; align-items: center; padding: 8px; }
.seller b { font-size: var(--fs-md); font-weight: 500; }
.seller small { display: block; color: var(--ink-2); }
.seller [aria-pressed="true"] { background: var(--ink); }
.perf { padding: 0 8px 4px; }
.perf li { padding: 3px 0 3px 22px; position: relative; }
.perf li::before { content: "✔"; position: absolute; left: 0; color: var(--white); background: var(--green); width: 15px; height: 15px; border-radius: 50%; font-size: 9px; display: grid; place-items: center; top: 4px; }
.pdp__wide { grid-column: 1 / -1; }
.pdp__details { margin-top: 0; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line-soft); margin: -4px -16px 16px; padding: 0 16px; }
.tabs button { padding: 10px 8px; font-size: var(--fs-base); font-weight: 500; border-bottom: 2px solid transparent; color: var(--ink-3); }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--orange); }
.tabpanel { font-size: var(--fs-md); line-height: 1.6; }
.tabpanel ul { list-style: disc; padding-left: 20px; }
.pdp__sticky { display: none; }

/* ---------- Cart ---------- */
.cart { padding-top: 24px; }
.cart__empty { text-align: center; padding: 40px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart__icon { width: 160px; height: 160px; border-radius: 50%; background: var(--orange-tint); display: grid; place-items: center; color: var(--orange); }
.cart__icon .i { width: 72px; height: 72px; }
.cart__empty h1 { font-size: var(--fs-base); font-weight: 500; }
.cart__full { display: grid; grid-template-columns: 1fr 282px; gap: 16px; align-items: start; }
.cart__title { font-size: var(--fs-xl); font-weight: 500; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.citem .ph__brand { display: none; }
.citem__name { font-size: var(--fs-base); }
.citem__price { font-size: var(--fs-xl); font-weight: 500; text-align: right; }
.citem__actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
.citem__remove { display: flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 500; text-transform: uppercase; font-size: var(--fs-md); padding: 6px; }
.citem__remove .i { width: 20px; height: 20px; }
.cart__sum h2 { font-size: var(--fs-md); font-weight: 500; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.cart__row { display: flex; justify-content: space-between; margin: 12px 0 8px; font-size: var(--fs-base); }
.cart__row b { font-size: var(--fs-xl); font-weight: 500; }
.cart__note { font-size: var(--fs-sm); color: var(--ink-3); margin-bottom: 16px; }

/* ---------- Help ---------- */
.help-hero { background: linear-gradient(90deg, #fde3c7, #ffc675); padding: 24px 0 0; }
.help-hero__k { font-size: var(--fs-lg); font-weight: 500; }
.help-hero h1 { font-size: var(--fs-2xl); font-weight: 500; margin: 6px 0 72px; }
.help-hero__search { display: flex; align-items: center; gap: 10px; max-width: 468px; height: 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 0 12px; transform: translateY(20px); }
.help-hero__search .i { width: 18px; height: 18px; }
.help-hero__search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: var(--fs-base); }
.help { display: grid; grid-template-columns: 293px 1fr; gap: 16px; padding-top: 44px; padding-bottom: 24px; }
.help__nav { display: flex; flex-direction: column; border-top: 2px solid var(--line); }
.help__topic { text-align: left; padding: 10px 0; font-size: var(--fs-base); color: var(--ink-2); }
.help__topic.is-on { color: var(--orange-deep); font-weight: 500; }
.help__agent { margin-top: 16px; padding-top: 12px; font-weight: 500; font-size: var(--fs-lg); border-top: 2px solid var(--line); }
.help__panel { background: var(--white); border-radius: var(--r-xs); padding: 8px 16px; }
.help__q { border-bottom: 1px solid var(--line-soft); }
.help__q summary { padding: 14px 0; cursor: pointer; font-size: var(--fs-base); }
.help__q p { padding-bottom: 14px; color: var(--ink-3); }
.help__empty { padding: 16px 0; color: var(--ink-3); }

/* ---------- Marketplace (Poppins landing) ---------- */
.mp { overflow-x: clip; background: var(--white); font-family: var(--font-mp); color: #1b0d3c; padding-bottom: 40px; }
.mp-hero { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 32px 40px; gap: 24px; }
.mp-hero p { font-size: 20px; }
.mp-hero h1 { font: 700 clamp(36px, 5.6vw, 76px)/1.08 var(--font-mp); margin: 8px 0 100px; }
.mp-btn { display: inline-block; background: linear-gradient(90deg, #f59e0b, #0f766e); color: var(--white); padding: 12px 22px; border-radius: var(--r-pill); font: 500 18px var(--font-mp); box-shadow: 0 6px 14px rgba(241,90,36,.3); }
.mp-hero__art { aspect-ratio: 1.05; position: relative; }
.mp-hero__art span { position: absolute; inset: 15% 0 0 5%; border-radius: 52% 48% 40% 60% / 55% 45% 55% 45%; background: linear-gradient(140deg, #0f766e, #f59e0b); transform: rotate(-12deg); }
.mp-rule { width: 172px; border: 0; border-top: 3px solid #ffd0cb; margin: 40px auto 48px; }
.mp-h { text-align: center; font: 700 clamp(22px, 2.3vw, 32px)/1.25 var(--font-mp); max-width: 1300px; margin: 0 auto 36px; padding: 0 16px; }
.mp-h em { font-style: normal; color: #f59e0b; }
.mp-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1202px; margin: 0 auto; padding: 0 16px; }
.mp-card { flex: 0 1 363px; min-height: 390px; border-radius: 25px; border: 1px solid; padding: 20px 20px 24px; text-align: center; box-shadow: 0 6px 12px rgba(0,0,0,.05); }
.mp-card--y { border-color: #fbe17a; } .mp-card--c { border-color: #79d6e0; } .mp-card--r { border-color: #f45b5b; }
.mp-card__art { display: grid; place-items: center; width: 190px; height: 130px; margin: 0 auto 20px; border-radius: 50%; background: #fde7ef; color: #f59e0b; }
.mp-card__art .i { width: 64px; height: 64px; stroke-width: 1.2; }
.mp-card h3 { font: 500 23px/1.1 var(--font-mp); margin-bottom: 12px; }
.mp-card p { color: #7a7a8a; font-size: 16px; line-height: 1.7; }
.mp-grid--2 .mp-card { min-height: 390px; }
.mp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; max-width: 1170px; margin: 0 auto; padding: 0 16px; }
.mp-step { border-radius: 16px; overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding-bottom: 16px; color: var(--white); font-weight: 500; }
.mp-step b { width: 100%; background: #f6f6f6; padding: 16px 8px; font-size: 24px; }
.mp-step span { padding: 0 12px; font-size: 16px; }
.mp-step .i { width: 54px; height: 54px; }
.mp-step--c { background: #4dc5cc; } .mp-step--c b { color: #4dc5cc; }
.mp-step--r { background: #ff5f52; } .mp-step--r b { color: #ff5f52; }
.mp-text { max-width: 1420px; margin: 0 auto; padding: 0 16px; text-align: center; color: #7a7a8a; font-size: 19px; line-height: 1.6; }
.mp-text p { margin-bottom: 24px; }

/* ---------- JForce ---------- */
.jf__bar { background: var(--orange); color: var(--white); font: 700 26px/48px var(--font); text-align: center; margin: 8px 16px 24px; }
.jf__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jf__tile { min-height: 246px; border-radius: var(--r-md); background: radial-gradient(circle at 80% 60%, #2dd4bf 0 25%, transparent 26%), linear-gradient(90deg, #e94e1b 50%, #f2782b); color: var(--white); padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.jf__tile strong { font: 800 clamp(24px, 3vw, 40px)/1.15 var(--font); max-width: 55%; }
.jf__tile span { font-size: clamp(16px, 1.7vw, 24px); max-width: 55%; }
.jf__social { display: flex; justify-content: space-between; align-items: center; border-radius: var(--r-md); padding: 40px 80px; background: linear-gradient(90deg, #e94e1b 50%, #f2782b); color: var(--white); }
.jf__social strong { font: 800 clamp(24px, 3.4vw, 48px)/1.1 var(--font); max-width: 440px; }
.jf__social span { display: flex; gap: 40px; }
.jf__social .i { width: 96px; height: 96px; background: var(--white); color: #0f766e; border-radius: 50%; padding: 20px; }

/* ---------- Black Friday landing ---------- */
.bf-page { background: linear-gradient(#f1f1f2 0 44px, #000 44px, #24133a 1400px, #f1f1f2 1600px); }
.bf { padding-top: 16px; padding-bottom: 24px; }
.bf-hero { display: grid; grid-template-columns: 1fr 1.3fr .8fr 1.2fr; align-items: center; gap: 16px; height: 188px; border-radius: var(--r-md); padding: 0 36px; color: var(--white); background: radial-gradient(circle at 85% 50%, #0f766e99 0 18%, transparent 40%), linear-gradient(100deg, #121212, #2b1408); }
.bf-hero__brand { display: flex; flex-direction: column; line-height: .95; }
.bf-hero__brand b { font-size: 28px; letter-spacing: 1px; }
.bf-hero__brand em { font: 800 52px/.95 var(--font); color: #2dd4bf; font-style: normal; }
.bf-hero__copy { display: flex; flex-direction: column; gap: 10px; font: 700 34px/1.1 var(--font); }
.bf-hero__copy b { background: var(--white); color: var(--orange-deep); border-radius: var(--r-pill); padding: 6px 24px; font-size: 36px; align-self: flex-start; }
.bf-hero__pct { width: 136px; height: 136px; border-radius: 50%; background: #2dd4bf; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.bf-hero__pct b { font-size: 46px; line-height: 1; }
.bf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bf-pair--flat { margin-top: 0; }
.bf-tile { min-height: 246px; border-radius: var(--r-md); padding: 32px 28px; color: var(--white); display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bf-tile strong { font: 800 clamp(26px, 3.4vw, 46px)/1 var(--font); color: #2dd4bf; max-width: 60%; }
.bf-tile span { font-size: clamp(15px, 1.7vw, 24px); max-width: 55%; }
.bf-tile--crimson { background: radial-gradient(circle at 75% 55%, #ff3b3b 0 18%, transparent 40%), linear-gradient(100deg, #0e0e0e 45%, #3a0a10); }
.bf-tile--ember { background: radial-gradient(circle at 75% 55%, #2dd4bf 0 18%, transparent 40%), linear-gradient(100deg, #0e0e0e 45%, #3b1405); }
.bf-tile--night { background: radial-gradient(circle at 75% 55%, #2dd4bf88 0 14%, transparent 40%), #0b0b0b; }
.deals-grid--6 { grid-template-columns: repeat(6, 1fr); }
.univ { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 16px; margin-top: 16px; }
.univ__item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 500; }

@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__side { display: grid; grid-template-columns: 1fr 1fr; }
  .brandwall { grid-template-columns: repeat(4, 1fr); }
  .mp-steps { grid-template-columns: repeat(3, 1fr); }
  .bf-hero { grid-template-columns: 1fr 1fr; height: auto; padding: 24px; }
  .univ { grid-template-columns: repeat(4, 1fr); }
  .deals-grid--6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .ad-banner { height: 140px; padding: 12px; margin: 0 0 12px; }
  .cat { padding-left: 12px; padding-right: 12px; }
  .universe { grid-template-columns: 1fr; }
  .universe__tile { height: 150px; }
  .subcat { flex-basis: 96px; font-size: var(--fs-sm); }
  .subcat__disc { width: 92px; height: 92px; }
  .subcat__disc .i { width: 40px; height: 40px; }
  .brandwall { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .brandwall a { height: 60px; font-size: 15px; }
  .pdp { padding: 0; }
  .pdp__card { grid-template-columns: minmax(0, 1fr); border-radius: 0; }
  .pdp__side { grid-template-columns: 1fr; }
  .pdp__buy { display: none; }
  .pdp__sticky { display: block; position: sticky; bottom: 0; background: var(--white); padding: 8px 12px; box-shadow: 0 -2px 8px rgba(0,0,0,.08); z-index: 15; }
  .cart { padding: 12px; }
  .cart__full { grid-template-columns: 1fr; }
  .help { grid-template-columns: 1fr; padding-top: 36px; }
  .mp-hero { grid-template-columns: 1fr; padding: 24px 16px; }
  .mp-hero h1 { margin-bottom: 32px; }
  .mp-card { min-height: 0; }
  .mp-steps { grid-template-columns: 1fr 1fr; }
  .mp-text { font-size: 16px; }
  .jf { padding-left: 12px; padding-right: 12px; }
  .jf__bar { margin: 8px 0 16px; font-size: 18px; }
  .jf__pair { grid-template-columns: 1fr; }
  .jf__tile { min-height: 150px; padding: 20px; }
  .jf__social { flex-direction: column; gap: 16px; padding: 24px; }
  .jf__social span { gap: 16px; }
  .jf__social .i { width: 56px; height: 56px; padding: 12px; }
  .bf { padding-left: 12px; padding-right: 12px; }
  .bf-hero { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .bf-hero__brand em { font-size: 36px; }
  .bf-hero__copy { font-size: 22px; }
  .bf-hero__copy b { font-size: 24px; }
  .bf-hero__pct { width: 96px; height: 96px; }
  .bf-hero__pct b { font-size: 30px; }
  .bf-pair { grid-template-columns: 1fr; }
  .bf-tile { min-height: 160px; padding: 20px; }
  .univ { grid-template-columns: repeat(3, 1fr); }
  .deals-grid--6 { grid-template-columns: repeat(2, 1fr); }
}

/* rtl.css */
/* Arabic (/ar/) — mirror direction-sensitive pieces */
[dir="rtl"] body { font-family: Ubuntu, Tahoma, "Segoe UI", Arial, sans-serif; }
[dir="rtl"] .dd__menu { right: auto; left: 0; }
[dir="rtl"] .pcard__add { right: auto; left: 8px; }
[dir="rtl"] .rail__arrow--prev { left: auto; right: 4px; transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .rail__arrow--next { right: auto; left: 4px; transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .more .i, [dir="rtl"] .daba__arrow { transform: scaleX(-1); }
[dir="rtl"] .daba__arrow { right: auto; left: 10px; }
[dir="rtl"] .daba__t { align-self: flex-end; }
[dir="rtl"] .hero__art { right: auto; left: 8%; }
[dir="rtl"] .faq__q { text-align: right; }
[dir="rtl"] .toplinks__lang a + a { border-left: 0; padding-left: 0; border-right: 1px solid var(--line); padding-right: 8px; }
[dir="rtl"] .drawer__panel { inset: 0 0 0 auto; animation-name: slideInR; }
@keyframes slideInR { from { transform: translateX(100%); } }
[dir="rtl"] .totop { right: auto; left: 16px; }

/* Promo strip: the dark side follows the brand text (start side), the orange side the phone (end side). */
[dir="rtl"] .promo-strip__inner { padding: 0 20px 0 0; background: linear-gradient(270deg, #121212 0 62%, #2a1206 70%, var(--orange-deep) 72%); }
[dir="rtl"] .promo-strip__call { align-items: flex-start; padding-right: 0; padding-left: 16px; }
@media (max-width: 767px) {
  [dir="rtl"] .promo-strip__inner { padding: 0 8px 0 0; background: linear-gradient(270deg, #121212 0 75%, var(--orange-deep) 75%); }
}
/* Phone numbers keep their left-to-right digit order inside Arabic text. */
[dir="rtl"] .promo-strip__call strong, [dir="rtl"] .ftr__contact dd:nth-of-type(n+3) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .ftr__contact dd:nth-of-type(n+3) { text-align: right; }
