/* =========================================================
   ROBOTIMEDZ — Home page styles
   Mobile-first · breakpoints 768px (tablet) / 1200px (desktop)
   Uses logical properties (inline-start/end) so dir="rtl" works.
   ========================================================= */

/* ---------- Fonts (self-hosted) ----------
   font-display: fallback (not swap): a font already in the browser cache is used at once, so
   moving between pages never shows a brief other font. A slow first visit shows Arial (matched
   below) and switches only if Inter arrives within ~3 s. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: fallback; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: fallback; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: fallback; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: fallback; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: fallback; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-weight: 400; font-display: fallback; src: url("../fonts/cairo-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; font-weight: 600; font-display: fallback; src: url("../fonts/cairo-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; font-weight: 700; font-display: fallback; src: url("../fonts/cairo-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
/* Metric-matched fallback: while Inter loads (first visit only), Arial is drawn at Inter's size
   and line height, so the text does not jump when Inter arrives. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 107.6%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Yellowtail"; font-weight: 400; font-display: swap; src: url("../fonts/yellowtail-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Silkscreen"; font-weight: 700; font-display: swap; src: url("../fonts/silkscreen-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --red: #BB322C;
  --red-hover: #A32A25;
  --red-bright: #E03A3E;
  --pink: #D9837D;
  --orange: #F47B2A;
  --ink: #111111;
  --text: #1C1C1C;
  --muted: #6B6B6B;
  --line: #ECECEC;
  --soft: #FAFAFA;
  --soft-2: #F4F4F4;
  --star: #FFB800;
  --review-green: #00B67A;

  --font: "Inter", "Inter Fallback", "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-pixel: "Silkscreen", "Courier New", monospace;

  --gutter: 16px;
  --container: 1720px;
  --section-y: 38px;
  --header-h: 58px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-inout: cubic-bezier(.65, 0, .35, 1);
  --flip: 1; /* 1 = LTR, -1 = RTL (for transforms) */
}
[dir="rtl"] { --flip: -1; }
[lang="ar"] { --font: "Cairo", "Inter", system-ui, sans-serif; }
@media (min-width: 400px) { :root { --gutter: 20px; } }
@media (min-width: 768px) { :root { --gutter: 32px; --section-y: 48px; --header-h: 64px; } }
@media (min-width: 1200px) { :root { --gutter: 50px; --section-y: 56px; --header-h: 68px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); color: var(--text); background: #fff; font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* i18n.js: English/Arabic visitors do not see the French static text flash before translation */
html.i18n-pending body { visibility: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 999; background: #fff; padding: 10px 14px; border-radius: 4px; }
.skip-link:focus { top: 8px; }
.icon { width: 22px; height: 22px; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
[dir="rtl"] :is(.announcement__arrow, .round-arrow, .reviews__arrow) .icon { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 30px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .2s, transform .2s; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--red:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 30px; }
.btn--block { display: flex; width: 100%; border-radius: 0; }
.link-underline { text-decoration: underline; text-underline-offset: 4px; font-size: 15px; }

/* ---------- Announcement ---------- */
.announcement { background: var(--red); color: #fff; font-size: 13px; }
.announcement__inner { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; height: 36px; max-width: 640px; margin-inline: auto; padding-inline: 4px; }
.announcement__arrow { display: grid; place-items: center; height: 36px; opacity: .9; }
.announcement__arrow .icon { width: 16px; height: 16px; }
.announcement__viewport { position: relative; height: 36px; overflow: hidden; }
.announcement__msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(100%); transition: transform .5s var(--ease), opacity .5s; pointer-events: none; }
.announcement__msg.is-active { opacity: 1; transform: none; pointer-events: auto; }
.announcement__msg.is-leaving { opacity: 0; transform: translateY(-100%); }
.announcement__track { display: inline-flex; flex: none; gap: 56px; }   /* gap = GAP in main.js */
/* Long message (main.js): starts at the reading edge and scrolls; soft fade at both ends */
.announcement__msg.is-ticker { justify-content: flex-start; text-overflow: clip;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
          mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.announcement__msg.is-ticker .announcement__track { padding-inline: 14px; will-change: transform; }
@media (min-width: 768px) { .announcement { font-size: 14px; } .announcement__inner, .announcement__viewport, .announcement__arrow { height: 38px; } }
/* Reduced motion: nothing moves — a long message wraps instead of being cut */
@media (prefers-reduced-motion: reduce) {
  .announcement__inner, .announcement__viewport { height: auto; min-height: 36px; }
  .announcement__arrow { height: auto; align-self: stretch; }
  .announcement__msg.is-active { position: relative; inset: auto; min-height: 36px; padding-block: 6px; white-space: normal; line-height: 1.3; }
  .announcement__track { display: inline; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .06); }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding-inline: 8px 6px; max-width: var(--container); margin-inline: auto; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 44px; border-radius: 50%; transition: background-color .2s; }
.icon-btn:hover { background: var(--soft-2); }
.site-header__menu { justify-self: start; }
.site-header__menu .icon { width: 26px; height: 26px; }
.logo { display: flex; align-items: center; gap: 12px; justify-self: center; min-width: 0; }
/* Home: the logo sits inside the page <h1> — same place and look as the plain logo */
.logo-heading { margin: 0; font: inherit; justify-self: center; min-width: 0; }
.logo__word { font-weight: 800; font-size: 20px; letter-spacing: .01em; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo__tagline { display: none; font-style: italic; font-size: 14px; color: #333; padding-inline-start: 12px; border-inline-start: 1px solid #333; line-height: 1.3; white-space: nowrap; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.header-search, .site-header .lang { display: none; }
.badge { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
.badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* Mobile search panel */
.mobile-search { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s; }
.mobile-search > form { overflow: hidden; min-height: 0; }
.mobile-search.is-open { grid-template-rows: 1fr; opacity: 1; }
.mobile-search__form { position: relative; display: flex; align-items: center; margin-inline: var(--gutter); }
.mobile-search.is-open .mobile-search__form { margin-block-end: 12px; }
.mobile-search__icon { position: absolute; inset-inline-start: 14px; color: var(--muted); display: grid; transition: transform .4s var(--ease), color .3s; }
.mobile-search.is-open .mobile-search__icon { color: var(--red); transform: rotate(-8deg); }
.mobile-search__icon .icon { width: 19px; height: 19px; }
.mobile-search input { flex: 1; min-width: 0; height: 44px; padding-inline: 42px 46px; border: 1px solid var(--line); border-radius: 22px; background: var(--soft-2); font-size: 16px; transition: background-color .3s, border-color .3s; }
.mobile-search input:focus { outline: none; background: #fff; border-color: #cfcfcf; }
.mobile-search__close { position: absolute; inset-inline-end: 4px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.mobile-search__close .icon { width: 18px; height: 18px; }

@media (min-width: 768px) {
  .site-header__inner { padding-inline: var(--gutter); }
  .logo__word { font-size: 23px; }
}
@media (min-width: 1200px) {
  .icon-btn { width: 42px; height: 42px; }
  .site-header__inner { grid-template-columns: auto 1fr auto; column-gap: 40px; }
  .site-header__menu, .header-actions__search-toggle, .mobile-search { display: none; }
  .logo, .logo-heading { justify-self: start; }
  .logo__word { font-size: 25px; }
  .logo__tagline { display: block; }
  .main-nav { display: block; }
  .main-nav__list { display: flex; gap: 30px; }
  .main-nav__item { position: relative; }
  .main-nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); font-size: 15px; font-weight: 500; color: var(--ink); position: relative; }
  .main-nav__link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
  .main-nav__link::after { content: ""; position: absolute; inset-inline: 0; bottom: 18px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .3s var(--ease); }
  [dir="rtl"] .main-nav__link::after { --origin: right; }
  .main-nav__item:hover .main-nav__link::after, .main-nav__link:focus-visible::after { transform: scaleX(1); }
  .has-dropdown:hover .main-nav__link .icon { transform: rotate(180deg); }
  .dropdown { position: absolute; top: 100%; inset-inline-start: -18px; min-width: 230px; padding: 8px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .22s var(--ease); z-index: 5; }
  .dropdown a { display: block; padding: 8px 18px; font-size: 14px; }
  .dropdown a:hover { background: var(--soft); color: var(--red); }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .header-actions { gap: 2px; }

  /* Desktop search: expands smoothly on focus */
  .header-search { position: relative; display: flex; align-items: center; width: 230px; height: 40px; margin-inline-end: 8px; border-radius: 20px; background: var(--soft-2); box-shadow: inset 0 0 0 1px transparent; transition: width .5s var(--ease), background-color .3s, box-shadow .3s; }
  .header-search.is-active { width: 320px; background: #fff; box-shadow: inset 0 0 0 1px #D6D6D6, 0 6px 18px rgba(0, 0, 0, .06); }
  .header-search__icon { position: absolute; inset-inline-start: 14px; display: grid; color: #8A8A8A; transition: transform .45s var(--ease), color .3s; pointer-events: none; }
  .header-search__icon .icon { width: 17px; height: 17px; }
  .header-search.is-active .header-search__icon { color: var(--ink); transform: translateX(calc(-2px * var(--flip))) rotate(-10deg); }
  .header-search input { flex: 1; min-width: 0; height: 100%; padding-inline: 38px 8px; border: 0; background: transparent; font-size: 14px; }
  .header-search input::placeholder { color: #8A8A8A; transition: opacity .3s, transform .3s; }
  .header-search.is-active input::placeholder { opacity: .55; }
  .header-search input:focus { outline: none; }
  .header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
  .header-search__submit { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-end: 4px; border-radius: 50%; background: var(--red); color: #fff; transform: scale(.85); opacity: .9; transition: transform .4s var(--ease), opacity .3s, background-color .2s; }
  .header-search__submit .icon { width: 15px; height: 15px; }
  .header-search.is-active .header-search__submit { transform: scale(1); opacity: 1; }
  .header-search__submit:hover { background: var(--red-hover); }

  /* Language selector: shown in the site header from 1200px (the drawer has pills below that) */
  .site-header .lang { display: block; }
}

/* ---------- Language selector (shared component: site header + checkout header) ---------- */
.lang { position: relative; display: block; margin-inline-end: 2px; }
.lang__btn { display: inline-flex; align-items: center; gap: 3px; height: 44px; padding-inline: 10px; border-radius: 22px; font-size: 13px; font-weight: 600; transition: background-color .2s; }
.lang__btn:hover { background: var(--soft-2); }
.lang__btn .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang.is-open .lang__btn .icon { transform: rotate(180deg); }
.lang__list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 150px; padding: 6px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .22s var(--ease); z-index: 5; }
.lang.is-open .lang__list { opacity: 1; visibility: visible; transform: none; }
.lang__list a { display: block; padding: 8px 16px; font-size: 14px; }
.lang__list a:hover, .lang__list a[aria-current="true"] { background: var(--soft); color: var(--red); }

/* ---------- Numbers inside Arabic text ----------
   Prices, totals and codes keep their left-to-right order ("10 900 DA", "-16%", "EAB02")
   when the page is RTL. Only the text direction of these inline values is isolated;
   their position in the layout still follows the page direction. */
.price__current, .price__compare, .cart-item__price, .upsell-item__price, [data-cart-total], .rating__count { unicode-bidi: isolate; direction: ltr; }

/* ---------- Generic slider ---------- */
.slider__track { display: flex; height: 100%; direction: ltr; transition: transform .9s var(--ease-inout); will-change: transform; touch-action: pan-y; }
.slider__track.is-dragging, .slider__track.no-anim { transition: none; }
[dir="rtl"] .slider__slide { direction: rtl; }
.slider__slide { position: relative; flex: 0 0 100%; min-width: 0; height: 100%; overflow: hidden; }
.slider__dots { display: flex; gap: 10px; }
.slider__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .5); transition: background-color .3s, transform .3s; }
.slider__dot::before { content: ""; position: absolute; inset: -10px; }
.slider__dot[aria-current="true"] { background: #fff; transform: scale(1.15); }

/* ---------- Hero (marketing.js: image + video slides, cross-fade) ---------- */
.hero { position: relative; overflow: hidden; background: #151515; color: #fff; }
.hero__viewport { position: relative; width: 100%; aspect-ratio: 390 / 546; max-height: calc(100svh - var(--header-h) - 36px); min-height: 420px; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
/* Stacked slides: the active one fades in over the leaving one (no dark gap, no jump) */
.hero__slide { position: absolute; inset: 0; overflow: hidden; visibility: hidden; z-index: 0; }
.hero__slide.is-active { visibility: visible; z-index: 2; }
.hero__slide.is-leaving { visibility: visible; z-index: 1; }
.hero__slide.is-linked { cursor: pointer; }
.hero__media { position: absolute; inset: 0; opacity: 0; transform: translate3d(calc(var(--dir, 1) * 2.5%), 0, 0) scale(1.03);
  transition: opacity .9s var(--ease-inout), transform 1.2s var(--ease); will-change: opacity, transform; }
.hero__slide.is-active .hero__media { opacity: 1; transform: none; }
.hero__slide.is-leaving .hero__media { opacity: 1; transform: translate3d(calc(var(--dir, 1) * -1.5%), 0, 0); transition: transform 1.2s var(--ease); }
.hero__media picture { display: block; width: 100%; height: 100%; }
/* Any source size (1920×1080 preferred): covers the frame without stretching; focal point per slide */
.hero__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-m, var(--pos, center)); user-select: none; -webkit-user-drag: none; }
/* Video on top of its poster image; visible only once it really plays (no black frame) */
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.hero__slide.is-playing .hero__video { opacity: 1; }
/* Dark scrim, strongest at the bottom behind the text; the upper part of the media stays clear */
.hero__slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .67) 25%, rgba(0, 0, 0, .3) 48%, rgba(0, 0, 0, 0) 70%); }
.hero__content { position: absolute; inset-inline: 0; bottom: 48px; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 20px; user-select: none; -webkit-user-select: none; }
.hero__content a { user-select: none; }
.hero__kicker { display: block; font-size: 16px; font-weight: 500; letter-spacing: .01em; }
.hero__title { display: block; font-size: 29px; font-weight: 700; line-height: 1.12; letter-spacing: -.015em; margin: 4px 0 16px; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); text-wrap: balance; }
.hero .btn--red { min-width: 146px; min-height: 44px; padding-inline: 29px; font-size: 15.5px; }
.hero__desc { max-width: 46ch; margin: -6px 0 18px; font-size: 15px; line-height: 1.45; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
/* Optional text alignment per slide (marketing-data.js "align"), from 768px; phones keep it centred.
   Text always stays near the bottom; start = left in FR/EN, right in AR */

/* Text: leaves quickly, then the new title and CTA fade up with a small stagger */
.hero__anim { opacity: 0; transform: translateY(14px); transition: opacity .25s ease, transform .25s ease; }
.hero__slide.is-active .hero__anim { opacity: 1; transform: none; transition: opacity .7s ease, transform .85s var(--ease); transition-delay: calc(.4s + var(--i, 0) * .13s); }
.hero__slide.is-leaving .hero__anim { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .3s ease; }
/* First paint: the first image is shown at once (fast LCP); only its text animates */
.hero--instant .hero__media { transition: none !important; }

/* Controls (outside the slides, so they never open the slide's product) */
.hero__controls { user-select: none; -webkit-user-select: none; }
.hero__dots { position: absolute; inset-inline: 0; bottom: 20px; z-index: 3; justify-content: center; width: max-content; margin-inline: auto; }
.hero__arrow { position: absolute; top: 50%; z-index: 3; display: none; place-items: center; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  background: rgba(20, 20, 20, .32); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s, opacity .25s; }
.hero__arrow:hover { background: rgba(20, 20, 20, .55); }
.hero__arrow .icon { width: 22px; height: 22px; }
.hero__arrow--prev { inset-inline-start: 18px; }
.hero__arrow--next { inset-inline-end: 18px; }
[dir="rtl"] .hero__arrow .icon { transform: scaleX(-1); }
/* Top corner: away from the text, CTA, dots and the fixed WhatsApp button (bottom corner) */
.hero__sound { position: absolute; z-index: 3; inset-inline-end: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20, 20, 20, .4); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s; }
.hero__sound[hidden] { display: none; }
.hero__sound:hover { background: rgba(20, 20, 20, .6); }
.hero__sound .icon { width: 20px; height: 20px; }
.hero__sound .hero__sound-on, .hero__sound.is-on .hero__sound-off { display: none; }
.hero__sound.is-on .hero__sound-on { display: block; }

@media (min-width: 768px) {
  .hero__viewport { aspect-ratio: 16 / 8; min-height: 380px; }
  .hero__img { object-position: var(--pos, center); }   /* mobile focal point (--pos-m) only under 768px */
  .hero__content { bottom: 58px; }
  /* Side text keeps the centred product clear (the product is the focus, not the headline) */
  .hero__content--start, .hero__content--end { max-width: min(46%, 540px); padding-inline: 0; }
  .hero__content--start { inset-inline: clamp(32px, 5vw, 72px) auto; align-items: flex-start; text-align: start; }
  .hero__content--end { inset-inline: auto clamp(32px, 5vw, 72px); align-items: flex-end; text-align: end; }
  .hero__title { font-size: 36px; }
  .hero__kicker { font-size: 17px; }
  /* Same bottom strength, reaching a little higher: the side headline can take two lines */
  .hero__slide::after { background: linear-gradient(to top, rgba(0, 0, 0, .71) 0%, rgba(0, 0, 0, .52) 22%, rgba(0, 0, 0, .24) 44%, rgba(0, 0, 0, 0) 64%); }
  .hero__sound { inset-inline-end: 20px; top: 16px; }
}
/* Tablets, slides with textWidth 'narrow' (product also fills the lower part of the picture):
   the band beside it is narrow, so the title eases from 36px to ~32px at 768px and keeps two lines */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero__content--narrow { max-width: 36%; }
  .hero__content--narrow .hero__title { font-size: clamp(30px, 4.2vw, 36px); }
}
@media (hover: hover) and (min-width: 768px) {
  .hero__arrow { display: grid; opacity: 0; }
  .hero:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
  .hero__arrow[hidden] { display: none; }
}
@media (min-width: 1200px) {
  /* 2:1 like the Hero media (2:1 photos, ~16:9 videos) so products are not cut top and bottom;
     capped by the screen height so the next section still peeks in */
  .hero__viewport { aspect-ratio: 2 / 1; max-height: 78vh; min-height: 440px; }
  .hero__content { bottom: 62px; }
  .hero__title { font-size: 41px; margin-bottom: 18px; }
}
/* Reduced motion: short plain fades, no drift or scale (timing and controls unchanged) */
@media (prefers-reduced-motion: reduce) {
  .hero__media, .hero__slide.is-leaving .hero__media { transform: none !important; }
  .hero__anim { transform: none !important; }
}

/* ---------- Breadcrumb (Product, Shop) ---------- */
.breadcrumb { padding-block: 12px; font-size: 13px; color: var(--muted); }
/* Wraps onto several lines for long product/category names (EN/FR/AR) — never cut or overflowing */
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; min-width: 0; list-style: none; margin: 0; padding: 0; }
.breadcrumb li { display: flex; align-items: center; min-width: 0; overflow-wrap: anywhere; }
.breadcrumb li:last-child span { padding-block: 6px; line-height: 1.35; }
.breadcrumb li + li::before { content: "/"; margin-inline: 8px; color: #B5B5B5; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* ---------- Sections & titles ---------- */
.section { padding-block: var(--section-y) 0; }
.section-title { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-align: center; color: var(--ink); }
.section__cta { margin-top: 22px; }
@media (min-width: 768px) { .section-title { font-size: 28px; } }
@media (min-width: 1200px) { .section-title { font-size: 30px; } .section__cta { margin-top: 28px; } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 26px; margin-block: 10px 18px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn { flex: none; min-height: 36px; padding: 4px 0 2px; font-size: 16px; font-weight: 600; color: #333; background: linear-gradient(var(--red), var(--red)) 50% calc(100% - 4px) / 0 1.5px no-repeat; transition: color .2s, background-size .35s var(--ease); }
.tabs__btn:first-child { margin-inline-start: auto; }
.tabs__btn:last-child { margin-inline-end: auto; }
.tabs__btn[aria-selected="true"] { color: var(--red); background-size: 100% 1.5px; }
.tabs__btn:hover { color: var(--red); }
@media (min-width: 768px) { .tabs { gap: 36px; margin-block: 12px 24px; } .tabs__btn { font-size: 17px; } }
.tab-panel { animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Horizontal scrollers ---------- */
.scroller__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroller__track::-webkit-scrollbar { display: none; }
.scroller__track > * { scroll-snap-align: start; flex: none; }
.container--bleed-mobile { padding-inline: 0; }
.container--bleed-mobile .scroller__track { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
@media (min-width: 1200px) {
  .container--bleed-mobile { padding-inline: var(--gutter); }
  .container--bleed-mobile .scroller__track { padding-inline: 0; scroll-padding-inline: 0; }
}

/* ---------- Product card (light, image-focused) ---------- */
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff; border: 1px solid #F3F3F3; border-radius: 4px; }
.product-card__image { display: block; width: 100%; height: 100%; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 12px 2px 0; }
.product-card__title { font-size: 14px; font-weight: 400; line-height: 1.35; color: #222; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; color: #555; }
.stars { --rating: 5; display: inline-block; width: 76px; height: 13px; background: linear-gradient(90deg, var(--star) calc(var(--rating) / 5 * 100%), #DADADA 0); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7Z'/%3E%3C/svg%3E") 0 0 / 15.2px 13px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5-4.5-2.4-4.5 2.4.9-5L.8 6.1l5-.7Z'/%3E%3C/svg%3E") 0 0 / 15.2px 13px repeat-x; }
[dir="rtl"] .stars { transform: scaleX(-1); }
.price { margin-top: 8px; display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.price__current { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.price__compare { color: var(--muted); font-size: 13px; white-space: nowrap; }
.price__compare + .price__current { color: var(--red); }

/* Discount / custom badge on product cards (text ready-made by the server: "-10%" or e.g. "Nouveau") */
.card-badge { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 2; max-width: calc(100% - 60px); padding: 4px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.wish-btn { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 6px rgba(0, 0, 0, .08); color: #333; transition: color .2s, opacity .25s; }
.wish-btn .icon { width: 18px; height: 18px; }
.wish-btn[aria-pressed="true"] { color: var(--red); }
.wish-btn[aria-pressed="true"] path { fill: currentColor; }
.wish-btn.pop { animation: bump .4s var(--ease); }
.quick-add { position: absolute; z-index: 2; inset-inline-end: 8px; bottom: 8px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 3px 10px rgba(187, 50, 44, .28); transition: transform .3s var(--ease), opacity .3s, background-color .2s; }
.quick-add .icon { width: 17px; height: 17px; }
.quick-add__label { display: none; }
.quick-add:hover { background: var(--red-hover); }
.quick-add.is-added { background: #2E7D32; }
@media (hover: hover) and (min-width: 1200px) {
  .wish-btn { opacity: 0; }
  .product-card:hover .wish-btn, .wish-btn[aria-pressed="true"], .wish-btn:focus-visible { opacity: 1; }
  .quick-add { inset-inline: 12px; bottom: 12px; width: auto; height: 38px; border-radius: 19px; opacity: 0; transform: translateY(10px); font-size: 14px; font-weight: 500; }
  .quick-add__label { display: inline; }
  .quick-add .icon { display: none; }
  .product-card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
}
.product-row .product-card { width: 60%; min-width: 200px; max-width: 280px; }
@media (min-width: 768px) { .product-row .product-card { width: 31%; } }
/* Home "Find What's Your Favorite": a horizontal carousel at every width (mouse drag, swipe, trackpad, arrows) */
.product-row--carousel { position: relative; }
.product-row--carousel .scroller__track { cursor: grab; }
.product-row--carousel .scroller__track:active { cursor: grabbing; }
.product-row--carousel .product-row__arrows { display: none; }   /* phones/tablets: swipe */
.product-row__empty { max-width: 46ch; margin: 4px auto 0; padding: 28px 20px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); border: 1px dashed #DDD; border-radius: 6px; }
@media (min-width: 1200px) {
  .product-row:not(.product-row--carousel) .scroller__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; overflow: visible; }
  .product-row:not(.product-row--carousel) .product-card { width: auto; max-width: none; min-width: 0; }
  .product-row--carousel .scroller__track { gap: 20px; }
  .product-row--carousel .product-card { width: calc((100% - 3 * 20px) / 4.25); max-width: none; min-width: 0; }
  .product-row--carousel .product-row__arrows { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
  .product-card__title { font-size: 15px; }
  .price__current { font-size: 17px; }
}

/* ---------- Category cards ---------- */
.cat-row .scroller__track { gap: 10px; }
.cat-card { position: relative; display: block; width: 40%; min-width: 140px; max-width: 200px; aspect-ratio: 178 / 262; overflow: hidden; background: #222; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 42%); }
.cat-card:hover img { transform: scale(1.04); }
.cat-card__label { position: absolute; z-index: 1; inset-inline: 8px; bottom: 12px; text-align: center; color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
@media (min-width: 768px) { .cat-card { width: 24%; max-width: none; } }
/* The category section has no tabs: same space under the title as the tabbed sections */
.section--inspire .section-title { margin-bottom: 16px; }
@media (min-width: 768px) { .section--inspire .section-title { margin-bottom: 24px; } }
/* Category without a final photo yet: neutral card, label stays readable */
.cat-card--no-image { background: linear-gradient(160deg, #3A2A22, #1E1612); }
@media (min-width: 1200px) {
  .cat-row .scroller__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 14px; overflow: visible; }
  .cat-card { width: auto; min-width: 0; aspect-ratio: 4 / 5; }   /* 4 wide cards: less tall than the old 6-column shape */
  .cat-card__label { font-size: 16px; bottom: 14px; }
}

/* ---------- Features strip ---------- */
.features { margin-top: var(--section-y); background: var(--soft); padding-block: 24px; }
.features__list { display: grid; grid-template-columns: 1fr 1fr; row-gap: 20px; column-gap: 12px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); flex: none; }
.feature__svg { width: 23px; height: 23px; }
.feature__title { font-size: 14px; font-weight: 700; }
.feature__text { display: none; font-size: 14px; line-height: 1.35; margin-top: 3px; color: #333; }
@media (min-width: 768px) { .features__list { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) {
  .features { padding-block: 24px; }
  .feature { flex-direction: row; align-items: center; text-align: start; gap: 14px; }
  .feature__icon { width: 52px; height: 52px; }
  .feature__svg { width: 28px; height: 28px; }
  .feature__title { font-size: 15px; }
  .feature__text { display: block; }
}

/* ---------- Story (video) cards ---------- */
.story-row .scroller__track { gap: 10px; }
.story-card { position: relative; display: block; width: 58%; min-width: 200px; max-width: 280px; aspect-ratio: 2 / 3; overflow: hidden; background: #ddd; }
.story-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.story-card:hover img { transform: scale(1.03); }
.play-btn { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: #555; transform: translate(-50%, -50%); box-shadow: 0 4px 18px rgba(0, 0, 0, .15); transition: transform .3s var(--ease); }
.play-btn .icon { width: 18px; height: 18px; margin-inline-start: 3px; }
.story-card:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); }
@media (min-width: 768px) { .story-card { width: 30%; max-width: none; } }
@media (min-width: 1200px) {
  .story-row .scroller__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; overflow: visible; }
  .story-card { width: auto; min-width: 0; }
  .play-btn { width: 56px; height: 56px; }
}

/* ---------- Featured collection ---------- */
.collection { display: grid; grid-template-columns: 100%; grid-template-areas: "info" "media" "products"; }
.collection__info { grid-area: info; }
.collection__title { font-size: 24px; font-weight: 700; color: var(--ink); }
.collection__text { margin-top: 10px; font-size: 15px; line-height: 1.45; max-width: 62ch; color: #333; }
.collection__media { grid-area: media; position: relative; margin-top: 18px; }
.collection__viewport { aspect-ratio: 1; overflow: hidden; background: #eee; }
.collection__viewport img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.collection__link { display: block; width: 100%; height: 100%; }
.slider__dots--numbered { position: absolute; inset-inline-end: 12px; bottom: 12px; gap: 6px; user-select: none; }
.slider__dots--numbered .slider__dot { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .45); color: #fff; font-size: 12px; font-weight: 500; display: grid; place-items: center; transform: none; }
.slider__dots--numbered .slider__dot[aria-current="true"] { background: #fff; color: var(--ink); }
.collection__products { grid-area: products; margin-top: 16px; min-width: 0; }
.collection__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.round-arrows { display: flex; gap: 8px; }
.round-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #F4F4F4; border: 1px solid #EEE; color: #333; transition: background-color .2s, opacity .2s; }
.round-arrow:hover:not(:disabled) { background: #E9E9E9; }
.round-arrow:disabled { background: #fff; opacity: .5; cursor: default; }
.round-arrow .icon { width: 18px; height: 18px; }
.collection__track { gap: 14px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.product-card--plain { width: 56%; min-width: 180px; max-width: 250px; }
.product-card--plain .product-card__media { border-color: transparent; }
.product-card--plain .product-card__title { min-height: 0; }
@media (min-width: 768px) {
  .product-card--plain { width: 30%; }
  .collection__media { width: min(100%, 620px); justify-self: center; }
}
@media (min-width: 1200px) {
  .collection { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-template-areas: "info media" "products media"; column-gap: 60px; }
  .collection__title { font-size: 30px; }
  .collection__text { margin-top: 14px; }
  .collection__media { width: auto; margin-top: 0; align-self: start; }
  .collection__products { align-self: end; margin-top: 30px; }
  .collection__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 20px; }
  .product-card--plain { width: calc((100% - 40px) / 3); min-width: 0; max-width: none; }
}

/* ---------- Why choose ROBOTIMEDZ (5 icons + labels) ----------
   Phones: 2 per row (the 5th centred) · tablets: 3 + 2 centred · desktop: one row of 5. */
.why-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 12px; margin-top: 22px; }
.why-item { flex: 0 0 calc(50% - 6px); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.why-item__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .07); color: #D9625C; flex: none; }
.why-item__svg { width: 30px; height: 30px; }
.why-item__label { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); max-width: 16ch; }
@media (min-width: 768px) {
  .why-list { gap: 32px 24px; margin-top: 28px; }
  .why-item { flex-basis: calc((100% - 48px) / 3); }
  .why-item__icon { width: 70px; height: 70px; }
}
@media (min-width: 1200px) {
  .why-list { flex-wrap: nowrap; gap: 24px; margin-top: 34px; }
  .why-item { flex: 1 1 0; }
  .why-item__icon { width: 76px; height: 76px; }
  .why-item__svg { width: 34px; height: 34px; }
  .why-item__label { font-size: 15px; }
}

/* ---------- Reviews ---------- */
/* Empty state (Home + Product) — shown until real reviews exist */
.reviews-empty { display: grid; justify-items: center; gap: 6px; max-width: 520px; margin: 18px auto 0; padding: 26px 20px; border: 1px dashed #D6D6D6; border-radius: 8px; text-align: center; }
.reviews-empty__icon { width: 34px; height: 34px; margin-bottom: 4px; color: #9A9A9A; }
.reviews-empty__title { font-size: 16px; font-weight: 700; color: var(--ink); }
.reviews-empty__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.reviews { position: relative; margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.reviews__track { flex: 1; gap: 12px; }
.review-card { display: flex; flex-direction: column; width: 80%; min-width: 240px; max-width: 320px; background: #F7F7F7; padding: 16px 16px 14px; }
.review-card__top { display: flex; align-items: center; gap: 10px; }
.review-stars { display: inline-flex; gap: 2px; }
.review-stars i { width: 16px; height: 16px; background: var(--review-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M8 2.2l1.7 3.6 3.9.5-2.9 2.7.8 3.9L8 11l-3.5 1.9.8-3.9-2.9-2.7 3.9-.5Z'/%3E%3C/svg%3E") center / 80% no-repeat; }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #555; }
.verified .icon { width: 14px; height: 14px; color: #444; }
.review-card__title { margin-top: 10px; font-size: 14px; font-weight: 700; }
.review-card__text { margin-top: 8px; font-size: 13px; line-height: 1.45; color: #333; }
.review-card__author { margin-top: auto; padding-top: 12px; font-size: 12px; color: #555; }
.review-card__author b { color: #222; font-weight: 600; }
.reviews__arrow { display: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #222; flex: none; transition: opacity .2s; }
.reviews__arrow .icon { width: 14px; height: 14px; }
.reviews__arrow:disabled { opacity: .25; cursor: default; }
.reviews .scroller__track { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
@media (min-width: 768px) { .review-card { width: 44%; } }
@media (min-width: 1200px) {
  .reviews { gap: 18px; }
  .reviews__arrow { display: grid; }
  .reviews .scroller__track { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; gap: 20px; }
  .review-card { width: calc((100% - 80px) / 5); min-width: 0; max-width: none; }
}

/* ---------- About ---------- */
.about { text-align: center; }
.about__text { margin: 10px auto 18px; max-width: 110ch; font-size: 15px; line-height: 1.5; color: #333; }
.about-banner { position: relative; margin-top: 26px; }
.about-banner img { width: 100%; aspect-ratio: 390 / 330; object-fit: cover; object-position: 62% center; }
.marquee { position: absolute; inset-inline: 0; bottom: 0; background: var(--red-bright); color: #fff; overflow: hidden; padding-block: 11px; direction: ltr; }
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-weight: 800; font-size: 18px; letter-spacing: .01em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 768px) {
  .about-banner { margin-top: 30px; }
  .about-banner img { aspect-ratio: 1646 / 520; object-position: center; }
  .marquee { padding-block: 12px; }
  .marquee__track span { font-size: 20px; }
}

/* ---------- Trust grid ---------- */
/* 3 equal cards: stacked on phones, one balanced row from tablets up.
   Each card = title on top, artwork anchored to the bottom (equal heights in a row). */
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.trust { position: relative; display: flex; flex-direction: column; align-items: center; padding: 22px 16px 0; background: var(--soft); overflow: hidden; text-align: center; }
.trust__title { margin-bottom: 18px; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--ink); max-width: 20ch; }
.trust__art { display: block; margin-top: auto; }
.trust__art--cod { width: 150px; margin-bottom: 26px; }
.trust__art--tree { width: auto; height: 190px; }
.trust__art--map { width: 190px; margin-bottom: 20px; }
@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .trust { min-height: 300px; padding-top: 24px; }
  .trust__title { font-size: 17px; max-width: 16ch; }
  .trust__art--cod { width: min(70%, 160px); }
  .trust__art--tree { height: 210px; }
  .trust__art--map { width: min(82%, 200px); }
}
@media (min-width: 1200px) {
  .trust-grid { gap: 16px; }
  .trust { min-height: 340px; padding-top: 28px; }
  .trust__title { font-size: 20px; max-width: 18ch; }
  .trust__art--cod { width: 180px; margin-bottom: 34px; }
  .trust__art--tree { height: 250px; }
  .trust__art--map { width: 230px; margin-bottom: 24px; }
}

/* ---------- Footer ---------- */
.site-footer { margin-top: calc(var(--section-y) + 4px); background: var(--soft); border-top: 1px solid var(--line); }
.footer { display: grid; gap: 26px; padding-block: 30px 24px; }
.footer__title { font-size: 17px; font-weight: 700; color: var(--ink); }
.footer__lead { margin-top: 6px; font-size: 14px; color: var(--muted); }
.contact-list { margin-top: 14px; display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: 15px; }
.contact-list .icon { width: 19px; height: 19px; color: var(--red); }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: #333; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s; }
/* Hover/focus: each network's own colour (slightly softened), neutral otherwise */
.socials a { --brand: var(--red); }
.socials a[data-social="facebook"] { --brand: #1877F2; }
.socials a[data-social="instagram"] { --brand: #D62976; }
.socials a[data-social="tiktok"] { --brand: #111; }
.socials a:is(:hover, :focus-visible) { transform: translateY(-3px); background: var(--brand); border-color: var(--brand); color: #fff; }
.socials a[data-social="instagram"]:is(:hover, :focus-visible) { background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%); }
.socials a[data-social="tiktok"]:is(:hover, :focus-visible) { box-shadow: -2px -2px 0 rgba(37, 244, 238, .55), 2px 2px 0 rgba(254, 44, 85, .55); }
.socials a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.socials .icon { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom p { padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 768px) {
  .footer { grid-template-columns: 1fr auto; align-items: start; padding-block: 38px 32px; }
  .footer__social { text-align: end; }
  .socials { justify-content: flex-end; }
}

/* ---------- Chat button ---------- */

/* ---------- WhatsApp button (reusable on every page) ----------
   Markup: <a class="wa-fab" data-whatsapp href="https://wa.me/213561221475" ...>
   The number comes from window.STORE.whatsapp (see main.js). */
.wa-fab { position: fixed; inset-inline-end: 14px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .16), 0 2px 6px rgba(37, 211, 102, .3); transition: transform .25s var(--ease), background-color .2s; }
.wa-fab:hover { transform: scale(1.06); background: #1EBE5A; }
.wa-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wa-fab .icon { width: 30px; height: 30px; }
@media (min-width: 1200px) { .wa-fab { width: 58px; height: 58px; inset-inline-end: 24px; bottom: 24px; } .wa-fab .icon { width: 32px; height: 32px; } }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .35s; }
.overlay.is-visible { opacity: 1; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 100; display: flex; flex-direction: column; width: min(520px, 92vw); background: #fff; transform: translateX(calc(100% * var(--flip))); visibility: hidden; transition: transform .45s var(--ease), visibility 0s linear .45s; }
.drawer--start { inset-inline-end: auto; inset-inline-start: 0; width: min(360px, 86vw); transform: translateX(calc(-100% * var(--flip))); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; box-shadow: 0 0 30px rgba(0, 0, 0, .12); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding-block: 10px; padding-inline: 22px 12px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__title { font-size: 22px; font-weight: 700; }
.drawer__head .icon { width: 24px; height: 24px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }

/* Mobile menu */
.mobile-nav { padding: 6px 22px 24px; }
.mobile-nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; text-align: start; }
.mobile-nav__count { font-size: 13px; color: var(--muted); font-weight: 500; }
.mobile-nav__sub { padding: 4px 0 10px; padding-inline-start: 12px; }
.mobile-nav__sub a { display: flex; align-items: center; min-height: 40px; color: #444; font-size: 15px; }
.acc__icon .icon { width: 19px; height: 19px; transition: transform .3s var(--ease); }
[aria-expanded="true"] > .acc__icon .icon { transform: rotate(45deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s var(--ease), visibility 0s linear .35s; }
.acc__panel > * { overflow: hidden; min-height: 0; }
.is-open > .acc__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s var(--ease); }
.mobile-nav__lang { margin-top: 24px; }
.mobile-nav__label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-pills a { display: inline-grid; place-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; transition: border-color .2s, color .2s; }
.lang-pills a[aria-current="true"] { border-color: var(--ink); font-weight: 600; }

/* Cart */
.cart-items { padding-inline: 22px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); animation: panelIn .35s var(--ease); }
.cart-item.is-removing { opacity: 0; transform: translateX(calc(20px * var(--flip))); transition: .25s; }
.cart-item__img { aspect-ratio: 1; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item__name { font-size: 15px; line-height: 1.35; }
.cart-item__price { margin-top: 4px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.cart-item__row { display: flex; align-items: center; gap: 18px; margin-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 42px; border: 1px solid #DCDCDC; }
.qty button { display: grid; place-items: center; width: 40px; height: 100%; }
.qty .icon { width: 16px; height: 16px; }
.qty input { width: 38px; height: 100%; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.link-btn { min-height: 36px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--red); }
.cart-empty { padding: 40px 30px; text-align: center; color: var(--muted); }
.cart-empty p { margin-bottom: 18px; }
.upsell { padding: 20px 22px 22px; border-bottom: 1px solid var(--line); }
.upsell__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.upsell__head h3 { font-size: 16px; font-weight: 700; }
.upsell__track { gap: 16px; }
.upsell-item { width: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.upsell-item img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.upsell-item__name { font-size: 15px; line-height: 1.3; }
.upsell-item__price { font-weight: 700; font-size: 15px; margin: 2px 0 2px; }
.cart-foot { flex: none; padding: 12px 22px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.cart-note-toggle { min-height: 36px; font-size: 15px; }
.cart-note-toggle:hover { text-decoration: underline; }
.cart-note { display: block; width: 100%; margin-bottom: 8px; padding: 10px 12px; border: 1px solid #DCDCDC; resize: vertical; font-size: 15px; }
.cart-foot__info { font-size: 14px; line-height: 1.4; color: #444; margin-bottom: 14px; }
.checkout-btn { min-height: 52px; font-size: 16px; }
.checkout-btn__dot { margin-inline: 8px; }
@media (min-width: 768px) {
  .drawer__head { padding-inline: 32px 16px; }
  .cart-items, .upsell { padding-inline: 32px; }
  .cart-item { grid-template-columns: 120px 1fr; gap: 22px; padding-block: 22px; }
  .cart-item__name { font-size: 16px; }
  .cart-item__price { font-size: 17px; }
  .upsell-item { grid-template-columns: 110px 1fr; gap: 26px; }
  .cart-foot { padding-inline: 32px; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .75); animation: fadeIn .25s; }
.modal__box { position: relative; width: min(420px, 100%); }
.modal__content video, .modal__content img { width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.modal__close { position: absolute; top: -48px; inset-inline-end: -6px; color: #fff; }
.modal__close:hover { background: rgba(255, 255, 255, .15); }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 130; padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; transform: translate(-50%, 20px); opacity: 0; transition: .35s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}


/* ---------- Content video block (marketing.js [data-video-embed]) — plays only on click ---------- */
.home-video { max-width: 1100px; }
.home-video .section-title { margin-bottom: 18px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.video-embed iframe, .video-embed video, .video-embed__facade { display: block; width: 100%; height: 100%; border: 0; }
.video-embed__facade { position: relative; cursor: pointer; }
.video-embed__facade img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.video-embed__facade:hover img { opacity: 1; }
.video-embed__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-embed__play svg { width: 68px; height: 48px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.video-embed__facade:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (min-width: 768px) { .video-embed__play svg { width: 84px; height: 59px; } }
