/* ==========================================================================
   FONTS
   Loaded from Google Fonts in every page's <head> (the FONTS list in src/js/ui/layout.js):
     English : Montserrat (headings) + Inter (body)
     Arabic  : Cairo (headings and body)
   All three are open-source (SIL Open Font License) and free for commercial use.
   Nothing has to be installed for them to work.

   THIS FILE IS ONLY A PLACE TO SWITCH TO SELF-HOSTED FONTS LATER (optional: slightly
   faster, and visitors' browsers then never contact Google). Steps:
     1. Get the .woff2 files for Montserrat, Inter and Cairo (400 and 700) and put them in
        public/fonts/   (for example from fontsource.org or Google Fonts Helper).
     2. Copy the block below once per file, remove the comment markers, fix the file name.
     3. In src/js/ui/layout.js delete the FONTS list and the three Google <link> lines.
     4. In scripts/build.mjs remove the two Google addresses from the Content-Security-Policy.
     5. Run  npm run build  and check the Network tab: no request should leave your own site.
   Keep the files' licence texts (OFL.txt) next to them in public/fonts/.

   @font-face {
     font-family: 'Cairo';
     src: url('/fonts/cairo-arabic-400.woff2') format('woff2');
     font-weight: 400; font-style: normal; font-display: swap;
     unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
   }
   ========================================================================== */

/* ==========================================================================
   DESIGN TOKENS: the single place for colours, type, spacing and motion.
   Colours are sampled from the palette slide of Visual_Identity_2.pdf.
   Contrast notes (WCAG): black on orange 6.45:1 OK | orange on black 6.45:1 OK |
   white on orange 3.26:1 = large text only | orange on white 3.26:1 = large text only.
   So: buttons are orange with BLACK text; orange text only on black backgrounds.

   VERSION 0.4 LOOK ("premium through restraint"):
     - White and Paper (the light off-white) are the stage: most of every page.
     - Black is for identity: the header, the footer, the full-width opening block on the home page, dark buttons, the selected chip.
     - Orange is for action: the main button, the cart count, the sale tag, small marks. Never decoration.
     - Three corner sizes (--radius-sm / -md / -lg) plus the pill. Hairlines instead of heavy outlines. No shadows
       except under things that float above the page (messages, the assistant window, bars fixed to the screen).
   ========================================================================== */
:root {
  /* Brand: main */
  --kt-orange: #FD540B;
  --kt-black: #000000;
  --kt-white: #FFFFFF;
  /* Brand: secondary */
  --kt-terracotta: #DF673D;
  --kt-graphite: #424242;
  --kt-paper: #F3F1EC;
  /* Brand: tertiary (kept for states and small accents) */
  --kt-blue: #004AAD;
  --kt-red: #922320;
  --kt-green: #00BF63;
  --kt-yellow: #FFDE59;
  --kt-maroon: #6E1930;
  --kt-brown: #966343;
  --kt-peach: #FFBD94;
  --kt-cream: #EEEAD9;
  --kt-lavender: #E2A9F1;

  /* Semantic colours (components use these, not the raw brand values) */
  --color-bg: var(--kt-white);
  --color-surface: var(--kt-paper);
  --color-text: var(--kt-black);
  --color-text-muted: var(--kt-graphite);
  --color-border: rgba(0, 0, 0, 0.12);          /* hairline: dividers, card edges */
  --color-control-border: #757575;              /* the edge of an input or a switch: 4.6:1 on white (WCAG 1.4.11 needs 3:1) */
  --color-accent: var(--kt-orange);
  --color-on-accent: var(--kt-black);
  --color-danger: var(--kt-red);
  --color-focus: var(--kt-blue);
  /* a slightly darker Paper for things that sit ON Paper (hover, pressed) and a slightly darker orange for the pressed button */
  --paper-deep: color-mix(in srgb, var(--kt-paper) 90%, var(--kt-black));
  --orange-deep: color-mix(in srgb, var(--kt-orange) 90%, var(--kt-black));

  /* Typography */
  --font-display: 'Montserrat', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: 1rem;
  --step-1: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.8rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.2rem, 1.6rem + 3vw, 3.9rem);
  --step-5: clamp(2.6rem, 1.5rem + 5.2vw, 5.4rem);

  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --section-y: clamp(3.5rem, 8vw, 7rem);       /* the breathing room between home-page sections */

  /* Shape: three corner sizes and the pill */
  --radius-sm: 12px;      /* inputs, small chips, thumbnails */
  --radius-md: 20px;      /* cards, tiles, notices */
  --radius-lg: 28px;      /* big panels and rounded bands (page heading, visit band) */
  --radius-pill: 999px;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --header-h: 3.5rem;
  --dock-h: 4rem;                               /* the phone bottom dock */
  --bar-h: 5rem;                                /* the bottom bars on product and cart pages (phones) */
  --bottom-offset: 0px;                         /* how much a fixed bottom bar covers: floating buttons and messages sit above it */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
}

/* Arabic: Cairo for headings and body (loaded from Google Fonts, see FONTS in src/js/ui/layout.js).
   To try another Arabic font, change the name here AND the Google Fonts link in layout.js. */
html[lang='ar'] {
  --font-display: 'Cairo', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-body: 'Cairo', 'Noto Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  /* Arabic letters must stay joined and never get faux bold/italic */
  letter-spacing: 0;
  font-synthesis: none;
}

/* Dark brand surfaces (header, hero, footer): flip the semantic colours */
.theme-dark {
  --color-bg: var(--kt-black);
  --color-text: var(--kt-white);
  --color-text-muted: rgba(255, 255, 255, 0.8);
  --color-border: rgba(255, 255, 255, 0.2);
  --color-control-border: rgba(255, 255, 255, 0.6);
  --color-focus: var(--kt-yellow);
  background: var(--color-bg);
  color: var(--color-text);
}

/* A fixed bar at the bottom of a phone screen (the dock, or the buy bar) tells the page how much room it takes. */
@media (max-width: 959.98px) {
  body.has-dock { --bottom-offset: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }
  body.has-bar.is-bar-on { --bottom-offset: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}

/* Reset + element defaults */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
html.js { scroll-behavior: smooth; }
html.js.is-return { scroll-behavior: auto; } /* Back/Forward: the browser puts the page back where it was at once, not with a slide (26 Nov) */
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
main:focus { outline: none; }
html[lang='ar'] body { font-size: 1.0625rem; line-height: 1.85; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
html[lang='ar'] h1, html[lang='ar'] h2, html[lang='ar'] h3, html[lang='ar'] h4 { line-height: 1.4; letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--kt-orange); color: var(--kt-black); }

[tabindex='-1']:focus { outline: none; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: var(--space-4); top: -5rem; z-index: 200; padding: 0.75rem 1.25rem; background: var(--kt-yellow); color: var(--kt-black); font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-3); }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.no-js .js-only { display: none !important; }
.muted { color: var(--color-text-muted); }

.icon { flex: none; width: 1.25em; height: 1.25em; }
[dir='rtl'] .icon--flip { transform: scaleX(-1); }

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

/* ==========================================================================
   COMPONENTS: reusable pieces. Logical properties everywhere (inline-start/end), so the
   same rules mirror correctly in Arabic (RTL) without a second stylesheet.
   Version 0.4 look: see the note at the top of tokens.css.
   ========================================================================== */

/* ---- Demo banner ---- */
.demo-banner { background: var(--kt-yellow); color: var(--kt-black); font-size: var(--step--1); }
.demo-banner .container { display: flex; align-items: center; gap: 0.6rem; padding-block: 0.4rem; }
.demo-banner .icon { width: 1.1em; height: 1.1em; }

/* ---- Header (black, slim: the one fixed anchor of every page) ---- */
.site-header { position: sticky; top: 0; z-index: 60; }
.site-header__bar { display: flex; align-items: center; gap: var(--space-3); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; text-decoration: none; color: inherit; min-height: 44px; }
.logo-mark { height: 1.9rem; width: auto; color: var(--kt-white); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
html[lang='ar'] .brand__name { letter-spacing: 0; } /* Arabic letters must stay joined */
.site-nav { margin-inline-start: var(--space-3); }
.site-nav ul { display: flex; gap: 0.1rem; }
.site-nav__link { display: flex; align-items: center; min-height: 44px; padding: 0.5rem 0.85rem; text-decoration: none; font-weight: 600; font-size: 0.92rem; border-radius: var(--radius-pill); color: rgba(255, 255, 255, 0.88); }
.site-nav__link:hover { background: rgba(255, 255, 255, 0.1); color: var(--kt-white); }
.site-nav__link[aria-current='page'] { color: var(--kt-white); text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.site-header__actions { display: flex; align-items: center; gap: var(--space-2); margin-inline-start: auto; }
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0.25rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-pill); font-weight: 600; font-size: 0.9rem; text-decoration: none; color: inherit; }
.lang-switch { gap: 0.4rem; }
.lang-switch__flag { width: 1.3rem; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); flex: none; }
.lang-switch:hover { background: var(--kt-white); color: var(--kt-black); border-color: var(--kt-white); }
.cart-link { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: inherit; text-decoration: none; }
.cart-link:hover { background: rgba(255, 255, 255, 0.12); }
.cart-link__count { position: absolute; inset-block-start: 2px; inset-inline-end: 0; display: grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding-inline: 0.3rem; border-radius: var(--radius-pill); background: var(--kt-orange); color: var(--kt-black); font-size: 0.75rem; font-weight: 700; line-height: 1; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: transparent; color: inherit; }
.menu-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded='true'] .menu-toggle__close { display: block; }

/* the search field in the header (wide screens; phones have the dock) */
.header-search { position: relative; display: none; flex: 0 1 16rem; min-width: 9rem; margin-inline-start: auto; }
.header-search + .site-header__actions { margin-inline-start: 0; }
.header-search__icon { position: absolute; inset-inline-start: 0.95rem; inset-block-start: 50%; width: 1.1rem; height: 1.1rem; margin-top: -0.55rem; opacity: 0.85; pointer-events: none; }
.header-search__input { width: 100%; height: 44px; padding-block: 0; padding-inline: 2.6rem 1rem; border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); color: var(--kt-white); font-size: 0.92rem; transition: background-color var(--dur-fast); }
.header-search__input::placeholder { color: rgba(255, 255, 255, 0.78); opacity: 1; }
.header-search__input:hover { background: rgba(255, 255, 255, 0.18); }
.header-search__input:focus { background: rgba(255, 255, 255, 0.22); }
.header-search__input::-webkit-search-cancel-button { display: none; }
/* live suggestions under the field (drawn by src/js/client/search.js) */
.suggest { position: absolute; inset-block-start: calc(100% + 0.5rem); inset-inline-end: 0; z-index: 70; width: min(26rem, 92vw); padding: var(--space-2); border-radius: var(--radius-md); background: var(--kt-white); color: var(--kt-black); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); }
.suggest__list { display: grid; gap: 2px; }
.suggest__item { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); min-height: 52px; padding: 0.35rem 0.6rem; border-radius: var(--radius-sm); text-decoration: none; }
.suggest__item:hover, .suggest__item[aria-selected='true'] { background: var(--kt-paper); }
.suggest__media { width: 2.75rem; height: 2.75rem; overflow: hidden; border-radius: 10px; background: var(--kt-paper); }
.suggest__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.suggest__name { overflow: hidden; font-size: 0.92rem; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.suggest__price { font-size: 0.88rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.suggest__all { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: var(--space-1); padding: 0.5rem 0.75rem; border-radius: var(--radius-sm); background: var(--kt-paper); font-weight: 700; font-size: 0.92rem; text-decoration: none; }
.suggest__all:hover { background: var(--paper-deep); }
.suggest__empty { padding: var(--space-3); font-size: 0.92rem; color: var(--color-text-muted); }

@media (max-width: 959.98px) {
  .js .site-nav { display: none; position: absolute; inset-inline: 0; top: 100%; margin: 0; padding: var(--space-2) var(--gutter) var(--space-5); background: var(--kt-black); border-block-end: 1px solid rgba(255, 255, 255, 0.2); }
  .js .site-nav.is-open { display: block; animation: panel-in var(--dur) var(--ease); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav__link { min-height: 56px; padding-inline: 0; font-size: 1.15rem; border-radius: 0; border-block-end: 1px solid rgba(255, 255, 255, 0.16); }
  .site-nav__link[aria-current='page'] { text-underline-offset: 0.35em; }
  .no-js .site-header__bar { flex-wrap: wrap; }
  .no-js .site-nav { order: 3; width: 100%; margin: 0; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .site-nav__link { border: 0; padding-inline: 0.6rem; min-height: 44px; font-size: 0.95rem; }
}
@media (min-width: 960px) { .menu-toggle { display: none; } .header-search { display: block; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---- Shop bar: the categories as a row of chips at the top of every shopping page ("where am I, what else is here") ---- */
.shop-bar { background: var(--kt-white); }
.shop-bar__list { position: relative; display: flex; gap: var(--space-2); padding-block: var(--space-3) 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.shop-bar__list::-webkit-scrollbar { display: none; }
.shop-bar__list > li { flex: none; scroll-snap-align: start; }
.shop-bar__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.05rem; border-radius: var(--radius-pill); background: var(--kt-paper); color: var(--kt-black); font-size: 0.92rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color var(--dur-fast), color var(--dur-fast); }
.shop-bar__link:hover { background: var(--paper-deep); }
.shop-bar__link[aria-current='page'] { background: var(--kt-black); color: var(--kt-white); }
.shop-bar__link--all { font-weight: 700; }

/* ---- Phone dock: Home, Shop, Search, Cart under the thumb. Only below the width where the header menu collapses. ---- */
.dock { display: none; }
@media (max-width: 959.98px) {
  .has-dock .dock { display: block; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 55; padding-block-end: env(safe-area-inset-bottom, 0px); background: rgba(255, 255, 255, 0.94); border-block-start: 1px solid var(--color-border); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
  .has-dock { padding-block-end: var(--bottom-offset); }
  .dock__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 32rem; margin-inline: auto; }
  .dock__link { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem; min-height: var(--dock-h); padding: 0.35rem 0.25rem; color: var(--kt-graphite); font-size: 0.75rem; font-weight: 600; line-height: 1.2; text-decoration: none; }
  .dock__link .icon { width: 1.5rem; height: 1.5rem; }
  .dock__link[aria-current='page'] { color: var(--kt-black); }
  .dock__link[aria-current='page']::before { content: ''; position: absolute; inset-block-start: 0; width: 1.75rem; height: 3px; border-radius: 0 0 3px 3px; background: var(--kt-orange); }
  .dock__link:active { background: var(--kt-paper); }
  .dock__count { position: absolute; inset-block-start: 0.4rem; inset-inline-start: calc(50% + 0.35rem); display: grid; place-items: center; min-width: 1.2rem; height: 1.2rem; padding-inline: 0.25rem; border-radius: var(--radius-pill); background: var(--kt-orange); color: var(--kt-black); font-size: 0.7rem; font-weight: 700; line-height: 1; }
}

/* ---- Footer (black, and kept short: the black footer is the biggest dark area on most pages, so it takes as little height as it can) ---- */
.site-footer { padding-block: var(--space-6) var(--space-4); }
.site-footer__grid { display: grid; gap: var(--space-5); }
/* the footer's promise ends on the same round orange dot as the welcome (25 Nov) */
.site-footer__tagline .brand-dot { display: inline-block; width: 0.48em; height: 0.48em; margin-inline-start: 0.1em; border-radius: 50%; background: var(--kt-orange); }
.site-footer__tagline { margin-top: var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.site-footer__hashtag { margin-top: var(--space-1); color: var(--kt-orange); font-weight: 600; }
.site-footer__title { font-size: 0.95rem; margin-bottom: var(--space-1); letter-spacing: 0; }
.site-footer__list { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); color: var(--color-text-muted); font-size: 0.95rem; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.site-footer__list a:hover { text-decoration-color: var(--kt-orange); }
.site-footer__list li:not(:has(a)) { display: flex; align-items: center; min-height: 44px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; align-items: center; margin-top: var(--space-4); padding-top: var(--space-3); border-block-start: 1px solid var(--color-border); font-size: var(--step--1); color: var(--color-text-muted); }
.site-footer__langs { display: flex; gap: var(--space-2); }
@media (min-width: 800px) {
  .site-footer { padding-block: var(--space-6) var(--space-3); }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: var(--space-6); }
  /* on a big screen the links stand in short columns instead of one long row */
  .site-footer__list { display: grid; gap: 0; }
  .site-footer__list a, .site-footer__list li:not(:has(a)) { min-height: 32px; }
  .site-footer nav .site-footer__list { grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-template-columns: repeat(2, max-content); column-gap: var(--space-6); }
}

/* ---- Buttons: one calm family. Pill-shaped; the colour tells the job (orange = go, black = confirm, paper = alongside) ---- */
.btn { --btn-bg: var(--kt-black); --btn-fg: var(--kt-white); display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 48px; padding: 0.7rem 1.6rem; border: 2px solid transparent; border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.btn--primary { --btn-bg: var(--kt-orange); --btn-fg: var(--kt-black); }
.btn--primary:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: var(--orange-deep); }
.btn--dark:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: var(--kt-graphite); }
.btn--outline { --btn-bg: var(--btn-outline-bg, var(--kt-paper)); --btn-fg: var(--kt-black); }
.btn--outline:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: var(--btn-outline-hover, var(--paper-deep)); }
/* On a Paper surface the Paper button would vanish, so it turns white there. */
 .card, .statement, .cart-summary, .empty-state { --btn-outline-bg: var(--kt-white); --btn-outline-hover: color-mix(in srgb, var(--kt-black) 7%, var(--kt-white)); }
.btn--outline-light { --btn-bg: rgba(255, 255, 255, 0.14); --btn-fg: var(--kt-white); }
.btn--outline-light:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: rgba(255, 255, 255, 0.26); }
.btn--lg { min-height: 56px; padding-inline: 2rem; font-size: 1rem; }
.btn--sm { min-height: 44px; padding: 0.4rem 1.1rem; font-size: 0.875rem; }
.btn--block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.45; cursor: not-allowed; }
.btn.is-added, .btn.is-added:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: var(--kt-black); --btn-fg: var(--kt-white); } /* "Added" stays black even while the finger or mouse is still on the button */
.link-button { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.25rem; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(0, 0, 0, 0.35); }
.link-button:hover { text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; }
.link-more { display: inline-flex; align-items: center; gap: 0.25rem; flex: none; min-height: 44px; white-space: nowrap; font-weight: 700; text-decoration: none; line-height: 1.2; }
.link-more .icon { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease); }
.link-more:hover { text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.pill-link, .pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.1rem; border-radius: var(--radius-pill); font-weight: 600; text-decoration: none; background: var(--kt-paper); }
.pill-link:hover { background: var(--paper-deep); }
.pill { min-height: 0; padding-block: 0.35rem; cursor: default; }

/* ---- Tags, badges, price ---- */
.tag { display: inline-block; padding: 0.15rem 0.7rem; font-size: 0.75rem; font-weight: 700; line-height: 1.5; border-radius: var(--radius-pill); }
.tag--sale { padding-inline: 1rem; background: var(--kt-orange); color: var(--kt-black); border-radius: 0; clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%); }
[dir='rtl'] .tag--sale { clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%); }
.tag--dark { background: var(--kt-black); color: var(--kt-white); }
.tag--quiet { background: var(--kt-white); color: var(--kt-graphite); box-shadow: inset 0 0 0 1px var(--color-border); }
.tag--ready { background: var(--kt-white); color: var(--kt-black); box-shadow: inset 0 0 0 1px var(--kt-blue); }
.badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--step--1); font-weight: 600; }
.badge__dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--kt-green); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.35); }
.badge--low_stock .badge__dot { background: var(--kt-yellow); }
.badge--out_of_stock .badge__dot { background: var(--kt-red); }
.badge--on_request .badge__dot { background: var(--kt-blue); }
.badge--ready_to_stock .badge__dot { background: var(--kt-blue); }
.price { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.price__from { font-weight: 400; font-size: 0.875em; color: var(--color-text-muted); }
.price__was { margin-inline-start: 0.35rem; font-weight: 400; font-size: 0.9em; color: var(--color-text-muted); text-decoration-thickness: 1.5px; }
.price--request { font-weight: 600; color: var(--color-text-muted); }
.price__est { font-weight: 700; color: var(--color-text); white-space: nowrap; }
.price--lg { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; }
html[lang='ar'] .price--lg { letter-spacing: 0; }
.price--lg .price__was { font-size: var(--step-0); }
.price--lg.price--request { font-size: var(--step-2); }

/* ---- Notices + hints ---- */
.notice { display: flex; gap: 0.75rem; align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-md); background: var(--kt-paper); }
.notice .icon { margin-top: 0.2rem; color: var(--kt-graphite); }
.notice > div { display: grid; gap: 0.35rem; justify-items: start; }
.notice__title { font-weight: 700; }
.notice--warning .icon { color: var(--kt-red); }
.notice--compact { padding: 0.6rem 0.9rem; font-size: var(--step--1); }
.hint { font-size: var(--step--1); color: var(--color-text-muted); }
.hint--warn { color: var(--kt-red); font-weight: 600; }

/* ---- "Ready to stock*": the star and the gentle note that explains it ---- */
.stock-mark { margin-inline-start: 0.1em; font-weight: 700; }
.stock-note { margin: 0; max-width: 62ch; font-size: var(--step--1); line-height: 1.6; color: var(--color-text-muted); }
.stock-note--inline { margin-top: var(--space-2); }
.stock-footnote { padding-block: 0 var(--space-6); }

/* ---- Variant chips + quantity ---- */
.option-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.option-group__label { padding: 0; margin-bottom: 0.6rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 1.15rem; border-radius: var(--radius-pill); font-weight: 600; background: var(--kt-paper); box-shadow: inset 0 0 0 1.5px transparent; transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.chip:hover input:not(:checked) + span { background: var(--paper-deep); }
.chip input:checked + span { background: var(--kt-black); color: var(--kt-white); }
.chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.chip[data-unavailable] > span { text-decoration: line-through; text-decoration-thickness: 1.5px; box-shadow: inset 0 0 0 1.5px var(--color-control-border); background: transparent; }
.chip[data-unavailable] input:checked + span { background: var(--kt-black); box-shadow: none; }
/* in stock now: a small green tick on the corner of the choice, explained once above the choices (only when some are Ready to stock*) */
.stock-tick { display: inline-grid; place-items: center; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--kt-green); color: #fff; box-shadow: 0 0 0 2px var(--color-surface, #fff); }
.stock-tick svg { width: 0.75rem; height: 0.75rem; }
.chip__stock { position: absolute; inset-block-start: -0.35rem; inset-inline-end: -0.3rem; display: none; pointer-events: none; }
.chip[data-in-stock] .chip__stock { display: inline-grid; }
.chip:not([data-in-stock]) .chip__stock-text { display: none; }
.option-legend { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-size: var(--step--1); color: var(--color-text-muted); }
/* a little dot of colour: on a colour choice, and under the name of a cover on its card */
.swatch { flex: none; width: 1rem; height: 1rem; }
.chip__swatch { width: 1.2rem; height: 1.2rem; margin-inline-end: 0.45rem; }
.chip input:checked + span .chip__swatch circle { stroke: #fff; stroke-opacity: 0.85; }
.swatches { display: inline-flex; align-items: center; gap: 0.2rem; vertical-align: middle; }
.swatches__more { margin-inline-start: 0.15rem; font-size: var(--step--1); font-weight: 600; color: var(--color-text-muted); }
.product-card__colors { margin-top: 0.3rem; line-height: 1; }
.product-card__colors--one { display: flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); color: var(--color-text-muted); line-height: 1.2; }
.qty { display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: var(--kt-paper); }
.qty__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.qty__btn:hover { background: var(--paper-deep); }
.qty__input { width: 3rem; height: 44px; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- Forms ---- */
.form { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; }
.field__req { color: var(--kt-red); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0.65rem 1rem; border: 1px solid var(--color-control-border); border-radius: var(--radius-sm); background: var(--kt-white); }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:disabled, .field select:disabled, .field textarea:disabled { opacity: 0.5; cursor: not-allowed; }
.field [aria-invalid='true'] { border-color: var(--kt-red); box-shadow: 0 0 0 1px var(--kt-red); }
.field__error { color: var(--kt-red); font-weight: 600; font-size: var(--step--1); }
.check { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; font-weight: 600; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--kt-black); }

/* ---- The search field (home page and the Search page) ---- */
.search-field { position: relative; display: flex; align-items: center; }
.search-field__icon { position: absolute; inset-inline-start: 1.25rem; width: 1.35rem; height: 1.35rem; color: var(--kt-graphite); pointer-events: none; }
.search-field__input { width: 100%; min-height: 58px; padding-block: 0; padding-inline: 3.5rem 1.5rem; border: 0; border-radius: var(--radius-pill); background: var(--kt-paper); font-size: 1.05rem; transition: background-color var(--dur-fast); }
.search-field__input::placeholder { color: var(--kt-graphite); opacity: 0.85; }
.search-field__input:hover { background: var(--paper-deep); }
.search-field__input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-field--with-clear .search-field__input { padding-inline-end: 3.25rem; }
.search-field__clear { position: absolute; inset-inline-end: 0.35rem; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.search-field__clear:hover { background: var(--kt-white); }
.search-field__clear .icon { width: 1.1rem; height: 1.1rem; }

/* ---- Rows of chips: quick links and filters. They scroll sideways on a phone instead of wrapping into a wall. ---- */
.chip-row { position: relative; display: flex; gap: var(--space-2); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row > * { flex: none; scroll-snap-align: start; }
@media (min-width: 720px) { .chip-row--wrap { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.filter-chip { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 1.05rem; border: 0; border-radius: var(--radius-pill); background: var(--kt-paper); color: var(--kt-black); font-size: 0.92rem; font-weight: 600; white-space: nowrap; transition: background-color var(--dur-fast), color var(--dur-fast); }
.filter-chip:hover { background: var(--paper-deep); }
.filter-chip[aria-pressed='true'] { background: var(--kt-black); color: var(--kt-white); }
.filter-chip__n { font-weight: 400; opacity: 0.75; font-variant-numeric: tabular-nums; }

/* ---- Breadcrumbs, empty state ---- */
.breadcrumbs { margin-bottom: var(--space-4); font-size: var(--step--1); color: var(--color-text-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.1rem 0.5rem; }
.breadcrumbs li + li::before { content: '\203A'; margin-inline-end: 0.5rem; }
[dir='rtl'] .breadcrumbs li + li::before { content: '\2039'; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--color-text); font-weight: 600; }
/* On a phone the trail would wrap onto three lines, so it shrinks to one "back" link to the page above (full trail from 640px up). */
@media (max-width: 639.98px) {
  .breadcrumbs ol { flex-wrap: nowrap; }
  .breadcrumbs li { display: none; }
  .breadcrumbs li:nth-last-child(2) { display: block; min-width: 0; }
  .breadcrumbs li + li::before { content: none; }
  .breadcrumbs li:nth-last-child(2) a { display: inline-flex; align-items: center; min-height: 44px; gap: 0.4rem; font-weight: 600; color: var(--color-text); }
  .breadcrumbs li:nth-last-child(2) a::before { content: '\2039'; font-size: 1.4em; line-height: 1; }
  [dir='rtl'] .breadcrumbs li:nth-last-child(2) a::before { content: '\203A'; }
}
.empty-state { display: grid; justify-items: center; gap: var(--space-3); padding: var(--space-8) var(--space-5); text-align: center; border-radius: var(--radius-lg); background: var(--kt-paper); }
.empty-state__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); }
.empty-state__text { max-width: 32rem; color: var(--color-text-muted); }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }

/* ---- Skeleton: a quiet placeholder while something loads (reduced motion: it simply sits there) ---- */
.skeleton { border-radius: var(--radius-sm); background: linear-gradient(100deg, var(--kt-paper) 30%, color-mix(in srgb, var(--kt-paper) 35%, var(--kt-white)) 50%, var(--kt-paper) 70%) 100% 0 / 220% 100%; animation: skeleton-sweep 1.5s linear infinite; }
@keyframes skeleton-sweep { to { background-position: -120% 0; } }
.skeleton--line { height: 1rem; }

.skeleton--tile { aspect-ratio: 1; border-radius: var(--radius-md); }

/* ---- Toast ---- */
.toast-region { position: fixed; inset-inline: var(--gutter); inset-block-end: calc(var(--bottom-offset) + var(--space-4)); z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: var(--space-3); width: min(100%, 30rem); padding: 0.8rem 1rem; border-radius: var(--radius-md); background: var(--kt-black); color: var(--kt-white); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3); animation: toast-in var(--dur) var(--ease); }
.toast__msg { flex: 1; font-size: 0.95rem; }
.toast__action { color: var(--kt-orange); font-weight: 700; white-space: nowrap; }
.toast__close { display: grid; place-items: center; width: 44px; height: 44px; margin-inline-end: -0.5rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.toast__close:hover { background: rgba(255, 255, 255, 0.14); }
.toast :focus-visible { outline-color: var(--kt-yellow); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- Floating WhatsApp button (src/js/ui/whatsapp-fab.js): small, in the corner of the page, always on top of the content.
        z-index 50 = above the page, below the header (60) so the open phone menu covers it, below the toast (90).
        Wide screens: a green pill with the word WhatsApp. Phones: just the round icon, so it covers as little as possible.
        --bottom-offset lifts it above a bar fixed to the bottom of a phone screen (the dock, or the buy bar). ---- */
.wa-fab {
  --wa-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  position: fixed; inset-inline-end: var(--gutter); inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + var(--bottom-offset)); z-index: 50;
  display: inline-flex; align-items: center; min-height: 48px; padding-inline: 0.85rem;
  border-radius: var(--radius-pill); background: var(--kt-green); color: var(--kt-black);
  font-size: 0.95rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap;
  box-shadow: var(--wa-shadow), 0 0 0 1px rgba(0, 0, 0, 0.14);
}
.wa-fab .icon { width: 1.5rem; height: 1.5rem; }
.wa-fab__label { margin-inline-start: 0.5rem; padding-inline-end: 0.25rem; }
/* keyboard focus: a white ring inside a black ring, so it shows on the white pages AND on the black footer */
.wa-fab:focus-visible { outline: 3px solid var(--kt-black); outline-offset: 3px; border-radius: var(--radius-pill); box-shadow: 0 0 0 3px var(--kt-white), var(--wa-shadow); }
@media (forced-colors: active) { .wa-fab { border: 2px solid ButtonText; } }
/* steps aside while it would cover the hero buttons (src/js/client/fab.js) */
.wa-fab.is-aside { opacity: 0; pointer-events: none; } /* still in the tab order: a keyboard user who lands on it brings it back */
/* phones: the round icon alone. On the first page of a visit the word opens out of it for a few seconds (src/js/client/fab.js adds .is-greeting) */
@media (max-width: 35.99rem) {
  .wa-fab { padding-inline: 0.75rem; }
  .wa-fab__label { max-width: 0; margin-inline-start: 0; padding-inline-end: 0; overflow: hidden; opacity: 0; }
  .wa-fab.is-greeting .wa-fab__label { max-width: 8rem; margin-inline-start: 0.5rem; padding-inline-end: 0.35rem; opacity: 1; }
}

.wa-fab__logo { width: 100%; height: 100%; object-fit: contain; }
/* 28 Nov (the owner): no big empty band under the footer. The floating buttons sit at the end side; the footer's last lines keep
   clear of them sideways instead of with a tall empty band */
.has-wa-fab .site-footer { padding-block-end: var(--space-5); }
.has-wa-fab .site-footer__bottom { padding-inline-end: 4.5rem; }
/* a message ("Added to cart") is showing on a narrow screen: the button steps up above it instead of hiding behind it */
@media (max-width: 52rem) {
  .has-wa-fab:has([data-toast] > .toast) .wa-fab { inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + var(--bottom-offset) + 5.25rem); }
}
@media print { .wa-fab { display: none; } }

/* ---- Currency view (USD / LBP). Pages render both amounts; the switch sets html[data-currency] ---- */
.money__lbp, .lbp-only { display: none; }
html[data-currency='lbp'] .money__usd { display: none; }
html[data-currency='lbp'] .money__lbp { display: inline; }
html[data-currency='lbp'] .lbp-only { display: block; }
.currency-switch { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.currency-switch .icon { width: 1.1em; height: 1.1em; }
.currency-switch__to-usd { display: none; }
html[data-currency='lbp'] .currency-switch__to-lbp { display: none; }
html[data-currency='lbp'] .currency-switch__to-usd { display: inline; }
/* pill: compact, in the header, only where there is room (phones use the menu drawer and the cart) */
.currency-switch--pill { display: none; min-width: 3.4rem; padding: 0.25rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-pill); font-size: 0.85rem; letter-spacing: 0.02em; }
.currency-switch--pill:hover { background: var(--kt-white); color: var(--kt-black); border-color: var(--kt-white); }
@media (min-width: 560px) { .currency-switch--pill { display: inline-flex; } }
.no-js .currency-switch { display: none !important; }
/* drawer: a labelled row at the bottom of the mobile menu */
.site-nav__currency { display: none; }
@media (max-width: 559.98px) { .js .site-nav__currency { display: block; } }
@media (min-width: 560px) { .site-nav__currency { display: none !important; } }
.currency-switch--drawer { justify-content: flex-start; width: 100%; min-height: 56px; padding: 0; font-size: 1.15rem; }
/* text: next to the cart total */
.currency-switch--text { justify-content: flex-start; min-height: 44px; padding: 0; font-size: var(--step--1); text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* ---- Logo picture dropped into public/images/logo/ ---- */
.brand__logo, .brand__mark { display: block; height: 2.25rem; width: auto; max-width: 11rem; object-fit: contain; }
.site-footer .brand__logo, .site-footer .brand__mark { height: 2.75rem; max-width: 14rem; }

/* ---- Narrow phones: keep the logo name on one line ---- */
@media (max-width: 420px) {
  .site-header__actions { gap: var(--space-1); }
  .lang-switch { padding-inline: 0.65rem; font-size: 0.85rem; }
  .brand__name { font-size: 1rem; }
}
@media (min-width: 340px) { .brand__name { white-space: nowrap; } }
/* very small phones (320px): a little tighter so the name and the three buttons fit in one row */
@media (max-width: 339.98px) {
  .site-header__bar { gap: var(--space-2); }
  .brand { gap: 0.4rem; }
  .brand__name { font-size: 0.875rem; white-space: nowrap; }
  .logo-mark { height: 1.6rem; }
  .lang-switch { padding-inline: 0.5rem; font-size: 0.8rem; }
  .site-header__actions { gap: 0; }
}

/* ---- Phones (30 Nov 2026, the roast): the flag, the heart, the cart and the menu made the English header 412px wide, so on most
   iPhones (360-393px) the menu was pushed off the screen and the page slid sideways. Below 430px the language button shows the flag
   alone (the language name stays for screen readers and in its label); below 380px the gaps and the name get a little tighter, and
   below 340px only the logo mark shows. ---- */
@media (max-width: 429.98px) {
  .lang-switch { padding-inline: 0.6rem; }
  .lang-switch:has(.lang-switch__flag) > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .lang-switch__flag { width: 1.5rem; }
}
@media (max-width: 379.98px) {
  .site-header__bar { gap: var(--space-2); }
  .site-header__actions { gap: 0; }
  .brand { gap: 0.45rem; }
  .brand__name { font-size: 0.92rem; }
}
@media (max-width: 339.98px) {
  .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* ---- Page bar: breadcrumbs, with the Compare button at the end of the same row (top corner of the page) ---- */
.page-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.page-bar .breadcrumbs { flex: 1 1 0; min-width: 0; margin-bottom: 0; }
.compare-link { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.3rem 1.1rem; border-radius: var(--radius-pill); background: var(--kt-paper); color: var(--kt-black); font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; line-height: 1.2; text-decoration: none; transition: background-color var(--dur-fast); }
.compare-link .icon { width: 1.15em; height: 1.15em; }
.compare-link:hover { background: var(--paper-deep); }

/* ---- "Remember" (src/js/client/remember.js, 26 Nov): the question, the welcome back, and the footer line ---- */
.kt-ask { position: fixed; z-index: 60; inset-inline: var(--gutter); inset-block-end: calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); max-width: 26rem; margin-inline: auto;
  padding: var(--space-4); border-radius: var(--radius-lg); background: var(--kt-white); color: var(--kt-black); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28); }
@media (max-width: 719px) { .kt-ask { inset-block-end: calc(4.75rem + env(safe-area-inset-bottom, 0px)); } } /* above the Home / Shop / Search / Cart bar */
.kt-ask__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.kt-ask__text { margin: var(--space-2) 0 0; font-size: var(--step--1); color: var(--color-text-muted); }
.kt-ask__row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.kt-ask__row .btn { flex: 1 1 8rem; padding-inline: 0.9rem; white-space: nowrap; }
.kt-back { margin-top: var(--space-4); }
.kt-back__hi { margin: 0 0 var(--space-2); font-size: var(--step-0); color: rgba(255, 255, 255, 0.86); }
.kt-back__list { position: relative; display: flex; gap: var(--space-2); margin: 0; padding: 0 0 var(--space-1); list-style: none; overflow-x: auto; scrollbar-width: none; }
.kt-back__list::-webkit-scrollbar { display: none; }
.kt-back__item { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; max-width: 16rem; padding-block: 0.3rem; padding-inline: 0.35rem 0.9rem; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1); color: var(--kt-white); font-size: var(--step--1); font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.kt-back__item:hover { background: rgba(255, 255, 255, 0.2); color: var(--kt-white); }
.kt-back__item span { overflow: hidden; text-overflow: ellipsis; }
.kt-back__item img { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: contain; background: var(--kt-paper); padding: 0.15rem; }
.kt-back__item--phone, .kt-back__item--kabu, .kt-back__item--search { padding-inline-start: 0.9rem; }
.kt-back__item--phone { background: rgba(253, 84, 11, 0.22); box-shadow: inset 0 0 0 1px rgba(253, 84, 11, 0.55); }
.kt-back__forget { margin-top: var(--space-2); padding: 0.4rem 0; min-height: 44px; border: 0; background: none; color: rgba(255, 255, 255, 0.6); font: inherit; font-size: var(--step--1); text-decoration: underline; cursor: pointer; }
.remember-note { margin-top: var(--space-2); font-size: var(--step--1); color: rgba(255, 255, 255, 0.7); }
.remember-note__btn { min-height: 44px; padding: 0.2rem 0; border: 0; background: none; color: var(--kt-white); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
@media (min-width: 720px) { .kt-back__list { flex-wrap: wrap; overflow: visible; } } /* room enough: every suggestion in view, no sideways scroll */
/* "Back" on a product reached from a list (src/js/client/main.js): one tap back to the same list */
.back-to-list { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin: var(--space-2) 0 0; padding: 0 0.95rem 0 0.75rem; border: 0; border-radius: 12px; background: var(--kt-black); color: var(--kt-white); font: inherit; font-weight: 700; cursor: pointer; }
.back-to-list::before { content: ''; width: 0.55rem; height: 0.55rem; border-inline-start: 2.5px solid currentColor; border-block-end: 2.5px solid currentColor; transform: rotate(45deg); }
[dir='rtl'] .back-to-list::before { transform: rotate(-45deg); }

/* ---- "Not sure?" WhatsApp (26 Nov, the owner): the green mark with a small thought cloud, first in the corner.
        The cloud sits beside the mark (towards the page), so "Ask KT" can stack above the mark. ---- */
.wa-fab.wa-unsure { justify-content: center; width: 56px; height: 56px; min-height: 0; padding: 0; border-radius: 50%; background: transparent; box-shadow: none; overflow: visible; }
.wa-unsure__logo { display: block; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); }
.wa-unsure__mark { display: block; width: 100%; height: 100%; }
.wa-unsure__think {
  position: absolute; inset-inline-end: calc(100% + 14px); inset-block-end: 58%;
  padding: 0.45rem 0.8rem; border-radius: 1.1rem; background: var(--kt-white); color: var(--kt-black);
  font-family: var(--font-display); font-weight: 800; font-size: 0.92rem; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
/* the thought dots between the cloud and the mark */
.wa-unsure__think i { position: absolute; border-radius: 50%; background: var(--kt-white); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
.wa-unsure__think i:nth-of-type(1) { width: 9px; height: 9px; inset-inline-end: -10px; inset-block-end: -6px; }
.wa-unsure__think i:nth-of-type(2) { width: 5px; height: 5px; inset-inline-end: -16px; inset-block-end: -13px; }
.wa-unsure:focus-visible { outline: 3px solid var(--kt-black); outline-offset: 3px; border-radius: 50%; box-shadow: 0 0 0 3px var(--kt-white); }
/* "Ask KT" is second now: a smaller round button stacked above the WhatsApp mark, its words only on hover */
.has-two-fabs .wa-fab.assistant-fab {
  inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + var(--bottom-offset) + 56px + 0.75rem);
  inset-inline-end: calc(var(--gutter) + 6px); min-height: 44px; height: 44px; min-width: 44px; padding-inline: 0.6rem; justify-content: center;
}
.has-two-fabs .assistant-fab .wa-fab__label { max-width: 0; margin-inline-start: 0; padding-inline-end: 0; overflow: hidden; opacity: 0; }
@media (hover: hover) { .has-two-fabs .assistant-fab:hover .wa-fab__label, .has-two-fabs .assistant-fab:focus-visible .wa-fab__label { max-width: 8rem; margin-inline-start: 0.4rem; padding-inline-end: 0.25rem; opacity: 1; } }
@media (max-width: 52rem) {
  .has-two-fabs:has([data-toast] > .toast) .wa-fab.assistant-fab { inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + var(--bottom-offset) + 5.25rem + 56px + 0.75rem); }
}
.has-two-fabs .site-footer { padding-block-end: var(--space-5); }
.has-two-fabs .site-footer__bottom { padding-inline-end: 4.5rem; }
@media (min-width: 36rem) { .has-two-fabs .assistant { inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + 56px + 44px + 1.5rem); } }

/* 28 Nov (the owner): Add to cart in white letters, and a satisfying "Added": a tick, a quick pulse, a light flying to the cart */
.purchase__add, .product-card__add, .option-card__add, .cs-add.btn--primary, [data-wl-add] { --btn-fg: var(--kt-white); }
.btn.is-added { --btn-bg: #0B7D41; --btn-fg: var(--kt-white); animation: added-pop 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.btn.is-added:hover:not(:disabled):not([aria-disabled='true']) { --btn-bg: #0B7D41; --btn-fg: var(--kt-white); }
.btn.is-added svg { display: none; }
.btn.is-added::before { content: ''; flex: none; width: 0.38em; height: 0.75em; margin-inline: 0.2em 0.15em; margin-block-start: -0.2em; border: solid currentColor; border-width: 0 0.17em 0.17em 0; transform: rotate(45deg); }
@keyframes added-pop { 0% { transform: scale(1); } 35% { transform: scale(1.06); } 100% { transform: scale(1); } }
.fly-dot { position: fixed; top: 0; left: 0; z-index: 200; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff 0 18%, var(--kt-orange) 45%, rgba(253, 84, 11, 0) 72%); box-shadow: 0 0 18px 6px rgba(253, 84, 11, 0.55); }
.cart-link__count.is-bump, .dock__count.is-bump { animation: count-bump 520ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes count-bump { 0% { transform: scale(0.4); } 45% { transform: scale(1.45); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .btn.is-added, .cart-link__count.is-bump, .dock__count.is-bump { animation: none; } }

/* "Back" at the top of a page (29 Nov, the owner): one clear tap back, in front of the trail. On a phone only the button shows. */
.crumbs-bar { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.crumbs-bar .breadcrumbs { margin-bottom: 0; min-width: 0; }
.back-btn { flex: none; display: inline-flex; align-items: center; gap: 0.25rem; min-height: 44px; padding: 0.35rem 1rem 0.35rem 0.6rem; border-radius: var(--radius-pill); background: var(--kt-black); color: var(--kt-white); font-weight: 800; font-size: var(--step--1); text-decoration: none; transition: background-color var(--dur-fast), transform var(--dur-fast); }
[dir='rtl'] .back-btn { padding: 0.35rem 0.6rem 0.35rem 1rem; }
.back-btn .icon { width: 1.1rem; height: 1.1rem; transform: scaleX(-1); }
[dir='rtl'] .back-btn .icon { transform: none; }
.back-btn:hover { background: var(--kt-orange); }
.back-btn:active { transform: scale(0.96); }
.back-btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.theme-dark .back-btn, .page--dark .back-btn { background: var(--kt-white); color: var(--kt-black); }
@media (max-width: 719.98px) { .crumbs-bar .breadcrumbs { display: none; } }

/* ==========================================================================
   SHOP: the page frame, grids, product cards, category tiles, the listing toolbar, the Search page and the product page.
   Mobile first; wider screens add columns. Light surfaces (white and Paper) carry the page; black is for the controls
   that are on or selected; orange is for the one action on the screen.
   ========================================================================== */

/* ---- Page frame ---- */
.page { padding-block: var(--space-4) var(--space-9); }
.page-title { font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.03em; }
html[lang='ar'] .page-title { line-height: 1.3; letter-spacing: 0; }
.page-title + .empty-state { margin-top: var(--space-6); }
.page-lead { margin-top: var(--space-3); max-width: 40rem; font-size: var(--step-1); color: var(--color-text-muted); }
.page-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.page-head .page-lead { margin-top: 0; }
.page > .notice { margin-top: var(--space-5); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-5); }
.section-title { font-size: var(--step-3); }
.section-title--sm { font-size: var(--step-1); }
.page .section { padding-block: var(--space-8) 0; }

/* ---- Grids ---- */
.grid { display: grid; gap: var(--space-4); }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-3); }
.grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }

@media (min-width: 640px) {
  .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-7) var(--space-4); }
  .grid--tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
  .grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page > .grid--products, .page > .listing-bar + .grid--products { margin-top: var(--space-5); }

/* A sideways scroller must be a positioned box (position: relative): the visually-hidden helper text inside the cards is
   position: absolute, and without a positioned box around it that text escapes the scroller and widens the whole page. */
.rail { position: relative; display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 min(68vw, 15rem); scroll-snap-align: start; }
@media (min-width: 720px) {
  .rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .rail > * { flex: none; }
}

/* ---- Category tiles: a Paper card, the picture, the name and how many things are inside ---- */
.category-tile { border-radius: var(--radius-md); background: var(--kt-paper); transition: background-color var(--dur) var(--ease); }
.category-tile:hover { background: var(--paper-deep); }
.category-tile__link { display: flex; flex-direction: column; height: 100%; padding: var(--space-3); border-radius: inherit; text-decoration: none; color: inherit; }
.category-tile__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.category-tile__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 4%; }
.category-tile__body { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-1) var(--space-1); }
.category-tile__text { min-width: 0; }
.category-tile__name { font-size: var(--step-1); line-height: 1.2; }
.category-tile__count { margin-top: 0.15rem; font-size: var(--step--1); color: var(--color-text-muted); }
.category-tile__go { flex: none; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--kt-white); color: var(--kt-black); transition: background-color var(--dur-fast), transform var(--dur) var(--ease); }
.category-tile__go .icon { width: 1.1rem; height: 1.1rem; }
.category-tile__link:hover .category-tile__go { background: var(--kt-orange); transform: translateX(3px); }
[dir='rtl'] .category-tile__link:hover .category-tile__go { transform: translateX(-3px); }
.category-tile__link:focus-visible { outline-offset: -3px; }
/* wide tiles (Telecom): the picture beside the words */
.grid--telecom { grid-template-columns: 1fr; gap: var(--space-3); }
.category-tile--wide .category-tile__link { flex-direction: row; align-items: center; gap: var(--space-4); }
.category-tile--wide .category-tile__media { flex: 0 0 34%; aspect-ratio: 1; }
.category-tile--wide .category-tile__body { flex: 1; padding: var(--space-2); }
.category-tile--wide .category-tile__name { font-size: var(--step-2); }
@media (min-width: 640px) { .grid--telecom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }

/* ---- Product cards: the picture on Paper, then the name and the price. The whole card is one link. ---- */
.product-card__link { display: block; text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); background: var(--kt-paper); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; }
.product-card.is-unavailable .product-card__media img { opacity: 0.45; }
.product-card__badges { position: absolute; inset-block-start: 0.7rem; inset-inline-start: 0.7rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.product-card__body { display: grid; gap: 0.15rem; padding: var(--space-3) var(--space-1) 0; }
.product-card__name { font-family: var(--font-body); font-size: 0.98rem; line-height: 1.3; letter-spacing: -0.005em; }
html[lang='ar'] .product-card__name { line-height: 1.5; letter-spacing: 0; }
.product-card .price { font-weight: 400; font-size: 0.95rem; color: var(--kt-graphite); }
.product-card .price__now { color: var(--kt-black); font-weight: 700; }
.product-card__link:hover .product-card__name { text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.product-card__link:focus-visible { outline-offset: 4px; }

/* ---- Listing toolbar (category page): type chips, then brand / sort / in stock ---- */
.listing-bar { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.listing-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: var(--space-3) var(--space-3); }
.listing-controls__field { display: grid; gap: 0.3rem; min-width: 0; }
.listing-controls__field label { font-size: var(--step--1); font-weight: 700; color: var(--color-text-muted); }
.listing-controls select {
  width: 100%; min-height: 48px; padding: 0.4rem 2.5rem 0.4rem 1rem; border: 1px solid var(--color-control-border); border-radius: var(--radius-pill); background: var(--kt-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424242' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat;
  font-weight: 600; font-size: 0.95rem; appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
}
[dir='rtl'] .listing-controls select { padding: 0.4rem 1rem 0.4rem 2.5rem; background-position: left 0.9rem center; }
.listing-controls select:hover { border-color: var(--kt-black); }
.listing-controls__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); grid-column: 1 / -1; }
.listing-controls__count { margin-inline-start: auto; color: var(--color-text-muted); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .listing-controls { grid-template-columns: minmax(0, 14rem) minmax(0, 16rem) auto; justify-content: start; gap: var(--space-4); }
  .listing-controls__row { grid-column: auto; justify-self: end; margin-inline-start: auto; gap: var(--space-5); }
}
.more-categories { margin-top: var(--space-8); }
.more-categories .chip-row { margin-top: var(--space-3); }
[data-no-matches] { margin-top: var(--space-5); }

/* ---- The Search page ---- */
.search-field--lg { margin-top: var(--space-4); }
.search-field--lg .search-field__input { min-height: 64px; font-size: 1.15rem; }
.search-results { margin-top: var(--space-6); }
.search-results[aria-busy='true'] { opacity: 0.6; transition: opacity var(--dur); }
.search-idle__block { margin-top: var(--space-7); }
.search-idle__block .chip-row { margin-top: var(--space-3); }
.results-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-5); }
.results-head__title { font-size: var(--step-2); overflow-wrap: anywhere; }
.results-head__count { color: var(--color-text-muted); font-weight: 600; }
.search-empty .empty-state__actions { margin-top: var(--space-1); }
.filter-chip--light { background: var(--kt-white); }

/* ---- Product page ---- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.product-layout__gallery, .gallery { min-width: 0; }
.product-layout__info { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
.product-brand { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); }
html[lang='ar'] .product-brand { letter-spacing: 0; text-transform: none; }
.product-title { font-size: var(--step-3); line-height: 1.1; }
.product-short { color: var(--color-text-muted); font-size: var(--step-1); line-height: 1.5; }
.gallery__main { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--kt-paper); }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.gallery__thumb { width: 4.25rem; height: 4.25rem; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: var(--kt-paper); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow var(--dur-fast); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.gallery__thumb:hover { box-shadow: inset 0 0 0 2px var(--color-border); }
.gallery__thumb[aria-pressed='true'] { box-shadow: inset 0 0 0 2px var(--kt-black); }
.purchase { display: grid; gap: var(--space-4); padding-block-start: var(--space-4); border-block-start: 1px solid var(--color-border); }
.purchase__price { display: grid; gap: 0.25rem; }
.purchase__row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.purchase__add { flex: 1 1 12rem; }
.no-js .purchase__row, .no-js .option-group { display: none; }
.highlights { display: grid; gap: var(--space-2); }
.highlights li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; }
.highlights .icon, .check-list .icon { flex: none; margin-top: 0.2rem; width: 1.2rem; height: 1.2rem; padding: 0.15rem; border-radius: 50%; background: var(--kt-orange); color: var(--kt-black); stroke-width: 3; }
.product-details { margin-top: var(--space-8); max-width: 52rem; }
.detail { border-block-end: 1px solid var(--color-border); }
.detail:first-child { border-block-start: 1px solid var(--color-border); }
.detail > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding-block: var(--space-3); list-style: none; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); cursor: pointer; }
.detail > summary::-webkit-details-marker { display: none; }
.detail > summary .icon { width: 1.4rem; height: 1.4rem; transition: transform var(--dur) var(--ease); }
.detail[open] > summary .icon { transform: rotate(180deg); }
.detail__body { padding-block: 0 var(--space-5); }
.prose { display: grid; gap: var(--space-3); max-width: 44rem; }
.check-list { display: grid; gap: var(--space-2); }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.specs { max-width: 44rem; }
.specs__row { display: grid; grid-template-columns: minmax(7rem, 1fr) 2fr; gap: var(--space-3); padding-block: 0.7rem; border-block-start: 1px solid var(--color-border); }
.specs__row:first-child { border-block-start: 0; }
.specs dt { font-weight: 700; }
.specs dd { color: var(--kt-graphite); }
.product-related { margin-top: var(--space-9); }
@media (min-width: 800px) {
  .product-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
  .product-layout__gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---- The Add-to-cart bar that follows you down a product page on a phone (shown by src/js/client/product.js
        once the main button has scrolled out of view) ---- */
.buy-bar { display: none; }
@media (max-width: 959.98px) {
  .buy-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 55; display: flex; align-items: center; gap: var(--space-3); padding: 0.6rem var(--gutter); padding-block-end: calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.96); border-block-start: 1px solid var(--color-border); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); visibility: hidden; transform: translateY(105%); transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
  .buy-bar.is-on { visibility: visible; transform: none; transition-delay: 0s; }
  .buy-bar__info { flex: 1; min-width: 0; }
  .buy-bar__name { overflow: hidden; font-size: 0.85rem; font-weight: 700; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  .buy-bar .price { font-size: 1rem; }
  .buy-bar .btn { flex: none; min-height: 48px; padding-inline: 1.4rem; }
}

a.filter-chip { text-decoration: none; }
a.filter-chip[aria-current='page'] { background: var(--kt-black); color: var(--kt-white); }
.page-lead .link-more { margin-inline-start: 0.75rem; white-space: nowrap; }

/* ==== The Smart Guide: the card on the home page, and the orb that every guided page shares (the pages' own styles are in journeys.css).
   The base styles are the finished picture; the moving parts only switch on for people who have not asked their device for less motion. ==== */
@property --guide-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.guide-entry { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-3); padding: var(--space-3); border: 2px solid transparent; border-radius: var(--radius-lg); color: var(--kt-white); text-decoration: none;
  background: linear-gradient(var(--kt-black), var(--kt-black)) padding-box, conic-gradient(from var(--guide-a), var(--kt-orange), #9b4dff, var(--kt-blue), var(--kt-orange)) border-box;
  background-color: var(--kt-black); }

.guide-entry::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 30%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.16), transparent); transform: translateX(-150%); }

.guide-star { position: relative; z-index: 1; width: 56%; height: 56%; fill: var(--kt-white); }

.guide-entry__copy { display: grid; gap: 0.3rem; min-width: 0; }
.guide-entry__name { display: none; font-size: var(--step--1); font-weight: 800; color: #FFD3BF; }
.guide-entry__title { font-size: var(--step-1); line-height: 1.15; letter-spacing: -0.02em; }

 /* the sample sentences are for laptops: a phone has no room for them in the slim strip */

.guide-entry__go { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; padding: 0.4rem 1rem; border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-black); font-weight: 800; transition: background-color var(--dur-fast), transform var(--dur) var(--ease); }
.guide-entry:hover .guide-entry__go { background: var(--kt-orange); }
.guide-entry:focus-visible { outline-offset: 4px; }
/* On a phone the card is one slim strip (orb, question, Start) so the shop is not pushed down the page; on a laptop it has room for the whole card. */
@media (min-width: 760px) {

  .guide-entry { gap: var(--space-5); padding: var(--space-5) var(--space-6); }

  .guide-entry__copy { gap: 0.3rem; }
  .guide-entry__name { display: block; }
  .guide-entry__title { font-size: var(--step-2); line-height: 1.1; }

  .guide-entry__go { min-height: 48px; padding: 0.5rem 1.4rem; gap: 0.5rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-entry { animation: guide-turn 6s linear infinite; }

  .guide-entry::after { animation: guide-glint 7s ease-in-out 1s infinite; }

  
  .guide-star { animation: guide-twinkle 2.4s ease-in-out infinite; }

  .guide-entry__go .guide-star { animation: guide-twinkle 1.8s ease-in-out infinite; }
  @keyframes guide-turn { to { --guide-a: 360deg; } }
  @keyframes guide-drift { from { transform: translate3d(-6%, 4%, 0) rotate(0deg); } to { transform: translate3d(8%, -6%, 0) rotate(14deg) scale(1.1); } }
  @keyframes guide-glint { 0%, 55% { transform: translateX(-150%) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }
  @keyframes guide-spin { to { transform: rotate(360deg); } }
  @keyframes guide-ring { 0% { box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.55); } 70%, 100% { box-shadow: 0 0 0 0.9rem rgba(253, 84, 11, 0); } }
  @keyframes guide-twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.2) rotate(18deg); } }
  @keyframes guide-cycle { 0%, 3% { opacity: 0; transform: translateY(6px); } 8%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-6px); } }
}

/* ---- the covers of a phone drawn for real: the phone (in the customer's colour) with the cover laid on top -------------------- */
.phone-stack { position: relative; display: block; width: 100%; height: 100%; }
.phone-stack[hidden] { display: none; }
.phone-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; mix-blend-mode: normal; }
.product-card__media .phone-stack img { padding: 4%; mix-blend-mode: normal; }
.gallery__main .phone-stack img { padding: 4%; mix-blend-mode: normal; }
.gallery__main--phone { position: relative; }
.gallery__plain[hidden] { display: none; }
/* "The colour of your iPhone 12": one button per official colour */
.phone-colours { margin-top: var(--space-3); }
.phone-colours[hidden] { display: none; }
.phone-colours__label { margin-bottom: var(--space-2); font-weight: 700; }
.phone-colours__row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.phone-colour { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.35rem 0.8rem 0.35rem 0.5rem; border: 1px solid var(--color-border); border-radius: 999px; background: #fff; color: var(--kt-black); font: inherit; font-size: var(--step--1); cursor: pointer; }
.phone-colour__dot { width: 1.35rem; height: 1.35rem; }
.phone-colour[aria-pressed="true"] { border-color: var(--kt-black); box-shadow: inset 0 0 0 1px var(--kt-black); font-weight: 700; }
.phone-colour:focus-visible, .try-dot:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* the cover's colours under its card: tap one to see it on the phone */
.product-card__try { display: flex; flex-wrap: wrap; gap: 0.15rem; margin-top: 0.35rem; }
.try-dot { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.try-dot__dot { width: 1.5rem; height: 1.5rem; }
.try-dot[aria-pressed="true"] .try-dot__dot { outline: 2px solid var(--kt-black); outline-offset: 2px; border-radius: 50%; }

/* ---- Real photos (src/data/photos.json) ----------------------------------------------------------------------------------------
   Product page: the photos lie on top of each other; the one shown is solid, the next glides in over it (a soft cross-fade that
   settles from a hair bigger, and a small drift in the direction of the swipe). Card: a second photo melts in when pointed at. */
.gallery__stage { position: relative; touch-action: pan-y; }
.gallery__stage:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.gallery__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 5%;
  opacity: 0; transform: scale(1.025);
  transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 1000ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.gallery__slide.is-active { opacity: 1; transform: none; z-index: 1; }
.gallery__slide.is-entering { transition: none; opacity: 0; transform: translateX(var(--enter, 2.5%)) scale(1.025); }
.gallery__stage.is-dragging .gallery__slide.is-active { transition: none; }
.gallery__nav {
  position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-top: -1.375rem;
  border: 0; border-radius: 999px; background: rgb(100% 100% 100% / 0.86); box-shadow: 0 2px 10px rgb(0 0 0 / 0.08); color: var(--kt-black);
  cursor: pointer; transition: opacity 300ms ease, background-color 300ms ease, transform 300ms ease;
}
.gallery__nav span { width: 0.6rem; height: 0.6rem; border-block-start: 2px solid currentColor; border-inline-start: 2px solid currentColor; }
.gallery__nav--prev { inset-inline-start: 0.75rem; }
.gallery__nav--prev span { transform: translateX(15%) rotate(-45deg); }
.gallery__nav--next { inset-inline-end: 0.75rem; }
.gallery__nav--next span { transform: translateX(-15%) rotate(135deg); }
[dir='rtl'] .gallery__nav--prev span { transform: translateX(-15%) rotate(45deg); }
[dir='rtl'] .gallery__nav--next span { transform: translateX(15%) rotate(-135deg); }
.gallery__nav:hover { background: #fff; transform: scale(1.06); }
.gallery__nav:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) {
  .gallery__stage .gallery__nav { opacity: 0; }
  .gallery__stage:hover .gallery__nav, .gallery__stage:focus-within .gallery__nav { opacity: 1; }
}
.gallery__count {
  position: absolute; inset-block-end: 0.75rem; inset-inline-end: 0.75rem; z-index: 2; padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgb(0 0 0 / 0.62); color: #fff; font-size: var(--step--1); font-variant-numeric: tabular-nums; direction: ltr;
}
.gallery__note {
  position: absolute; inset-block-start: 0.75rem; inset-inline: 0.75rem; z-index: 2; margin: 0; padding: 0.35rem 0.75rem; border-radius: 0.6rem;
  background: rgb(0 0 0 / 0.62); color: #fff; font-size: var(--step--1); text-align: center; width: fit-content; margin-inline: auto;
}
.gallery__thumbs--strip { position: relative; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-block-end: 0.25rem; scrollbar-width: thin; }
.gallery__thumbs--strip li { flex: none; scroll-snap-align: start; }
.gallery--photos .gallery__thumb img { padding: 4%; }
.product-card__media .product-card__second { position: absolute; inset: 0; opacity: 0; transition: opacity 650ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 600ms var(--ease); }
@media (hover: hover) {
  .product-card__link:hover .product-card__second { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery__slide, .gallery__slide.is-entering { transform: none; transition: opacity 150ms linear; }
}
/* a category's cover page from Canva (docs/PHOTOS.md): beside the title on a computer, under it on a phone */
.page-head--banner { display: grid; gap: var(--space-4); align-items: center; }
.category-banner { margin: 0; overflow: hidden; border-radius: var(--radius-lg, 1.25rem); background: var(--color-surface, #f2f1ed); max-width: 26rem; }
.category-banner img { display: block; width: 100%; height: auto; }
@media (min-width: 48rem) { .page-head--banner { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); } }
@media (max-width: 47.99rem) { .category-banner { max-width: 15rem; } }
/* the camera cover that slides (KT-CVR-022): its shutter over the cover, and the slider to try it */
.phone-stack__shutter { transition: transform 0.12s ease-out; touch-action: pan-y; }
.phone-stack:has([data-shutter]) { touch-action: pan-y; cursor: ew-resize; }
.swipe-try { display: flex; flex-direction: column; gap: 0.35rem; margin: 0.75rem auto 0; max-width: 22rem; font-size: var(--step--1); color: var(--color-text-muted); text-align: center; }
.swipe-try input { width: 100%; accent-color: var(--kt-orange, #FD540B); }
@media (prefers-reduced-motion: reduce) { .phone-stack__shutter { transition: none; } }

/* 25 Nov: the ten departments have longer, warmer names ("Earbuds, Headphones & Speakers"). On a phone the round arrow moves to the
   picture's corner (as on Kabu's cards), so the name gets the tile's full width and is never cut */
@media (max-width: 599px) {
  .category-tile__link { position: relative; }
  .category-tile__go { position: absolute; inset-block-start: calc(var(--space-3) + 0.4rem); inset-inline-end: calc(var(--space-3) + 0.4rem); width: 2rem; height: 2rem; }
  .category-tile__name { font-size: var(--step-0); line-height: 1.25; }
  .category-tile__body { padding-inline: var(--space-1); }
}
.guide-browse { margin-top: var(--space-5); text-align: center; }
.guide-browse .pill-link { gap: 0.4rem; }
.guide-browse .icon { width: 1rem; height: 1rem; }

/* ---- the list's filters (26 Nov): folded behind one small "Filter" button; the number of products stays in view ---- */
.listing-more { margin-top: var(--space-2); }
.listing-more__toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; list-style: none; cursor: pointer; }
.listing-more__toggle::-webkit-details-marker { display: none; }
.listing-more__count { font-weight: 700; color: var(--color-text-muted); }
.listing-more__btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.9rem; border-radius: 12px; background: var(--kt-white); box-shadow: inset 0 0 0 1px var(--color-control-border); font-weight: 700; }
.listing-more__btn .icon { width: 1.1rem; height: 1.1rem; }
.listing-more[open] .listing-more__btn { background: var(--kt-black); color: var(--kt-white); box-shadow: none; }
.listing-more[open] .listing-controls { margin-top: var(--space-3); }
.listing-more .listing-controls__count { display: none; } /* the same number already sits beside the button */

/* ---- The Kabu card on Shop by category (26 Nov): the same identity as the home card and the Kabu steps ---- */
.guide-entry.guide-entry--kabu { border: 0; color: var(--kt-white); box-shadow: 0 18px 40px rgba(30, 20, 90, 0.28);
  background: radial-gradient(120% 80% at 85% 0%, #4B2FB8 0%, rgba(75, 47, 184, 0) 60%), radial-gradient(90% 70% at 0% 100%, #1F3C9E 0%, rgba(31, 60, 158, 0) 65%), #0E0B2A; }
.guide-entry--kabu::after { content: none; }
.guide-entry--kabu .guide-entry__name { display: block; color: rgba(255, 255, 255, 0.85); font-weight: 700; }
.guide-entry--kabu .guide-entry__go .icon { width: 1rem; height: 1rem; }
.guide-entry--kabu:hover .guide-entry__go { background: var(--kt-orange); color: var(--kt-white); }

/* ---- Alfa and Touch tiles in full colour (26 Nov): the whole tile in the provider's colour, the cover edge to edge ---- */
.category-tile--wide.category-tile--alfa { background: radial-gradient(120% 140% at 15% 20%, #E41E2C 0%, #7A0C14 55%, #3A0509 100%); }
.category-tile--wide.category-tile--touch { background: radial-gradient(120% 140% at 15% 20%, #009FB4 0%, #00596A 55%, #00242B 100%); }
.category-tile--alfa, .category-tile--touch { color: var(--kt-white); }
.category-tile--alfa .category-tile__link, .category-tile--touch .category-tile__link { padding: 0; overflow: hidden; }
.category-tile--alfa .category-tile__media, .category-tile--touch .category-tile__media { border-radius: 0; }
.category-tile--alfa .category-tile__media img, .category-tile--touch .category-tile__media img { padding: 0; mix-blend-mode: normal; object-fit: cover; }
.category-tile--alfa .category-tile__body, .category-tile--touch .category-tile__body { padding-inline-end: var(--space-4); }
.category-tile--alfa .category-tile__count, .category-tile--touch .category-tile__count { color: rgba(255, 255, 255, 0.82); }
.category-tile--alfa:hover, .category-tile--touch:hover { filter: brightness(1.06); }
.section-title + .grid--telecom { margin-top: var(--space-4); } /* the lead under "Telecom" is gone (26 Nov): keep the breathing room */

/* ---- New Arrivals (28 Nov): a pulsing NEW tag by the title, and NEW on each card ---- */
.tag--new { background: var(--kt-orange); color: var(--kt-white); font-weight: 800; letter-spacing: 0.04em; }
.new-arrivals__head { display: flex; align-items: center; gap: var(--space-2); }
.new-arrivals__title { margin: 0; }
.new-arrivals__tag { position: relative; display: inline-grid; place-items: center; padding: 0.25rem 0.65rem; border-radius: var(--radius-pill); background: var(--kt-orange); color: var(--kt-white); font-size: var(--step--1); font-weight: 900; letter-spacing: 0.06em; }
@media (prefers-reduced-motion: no-preference) {
  .new-arrivals__tag::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.6); animation: new-pulse 1.8s ease-out infinite; }
  @keyframes new-pulse { 0% { box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(253, 84, 11, 0); } }
}
.new-arrivals .new-arrivals__lead { margin-top: var(--space-2); } /* beats .section-lead (pages.css), which pulls the line up under the title */

/* "Limited price" (the owner, 28 Nov 2026): product page = the price in a bold tag, cards = a small pill above the price */
.price-tag { display: inline-flex; align-items: stretch; border-radius: 12px; overflow: hidden; margin: 0; }
.price-tag__price { margin: 0; padding: 0.35rem 0.9rem; background: var(--kt-orange); color: var(--kt-white); display: flex; align-items: center; }
.price-tag__price .price__now { color: inherit; }
.price-tag__label { display: flex; align-items: center; padding: 0.35rem 0.9rem; background: var(--kt-black); color: var(--kt-white); font-weight: 700; font-size: 0.875rem; line-height: 1.3; max-width: 9rem; }
.limited-pill { display: inline-flex; align-items: center; gap: 0.3rem; margin-block-end: 0.25rem; padding: 0.15rem 0.55rem; border-radius: 999px; background: color-mix(in srgb, var(--kt-orange) 14%, transparent); color: #8A2A00; font-size: 0.75rem; font-weight: 700; line-height: 1.4; width: fit-content; }
.buy-bar .price-tag { display: none; }

/* Spec icon tiles (the owner, Step 2, 28 Nov 2026): the key numbers under the name, src/js/data/spec-tiles.js */
.spec-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); gap: 0.5rem; margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.spec-tile { display: grid; justify-items: start; gap: 0.15rem; padding: 0.7rem 0.8rem; border-radius: var(--radius-md, 12px); background: var(--kt-paper); }
.spec-tile__ic { display: grid; place-items: center; width: 2rem; height: 2rem; margin-block-end: 0.2rem; border-radius: 50%; background: var(--kt-white); color: var(--kt-orange); }
.spec-tile__ic .icon { width: 1.1rem; height: 1.1rem; }
.spec-tile__value { font-family: var(--font-display); font-weight: 800; font-size: var(--step-0); line-height: 1.2; color: var(--kt-black); }
.spec-tile__label { font-size: var(--step--1); color: var(--kt-graphite); }

/* Packs (Step 2, 28 Nov 2026): the pack page /pack/<id>/, its items with a tick (or a small sign where you choose), and the pack tiles on Offers */
.pack-page { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 900px) { .pack-page { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.pack-page__poster img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.pack-page__phone { max-width: 26rem; margin-block-start: var(--space-5); }
.pack-page__stickers { display: flex; align-items: center; gap: 0.5rem; margin-block-start: var(--space-3); }
.pack-page__stickers .icon { width: 1.1rem; height: 1.1rem; flex: none; color: var(--kt-orange); }
.pack-items { display: grid; gap: 0.45rem; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.pack-items__item { display: flex; align-items: flex-start; gap: 0.5rem; }
.pack-items__tick, .pack-items__sign { display: grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem; margin-block-start: 0.1rem; border-radius: 50%; background: var(--kt-green); color: var(--kt-white); }
.pack-items__sign { background: var(--kt-orange); }
.pack-items__tick .icon, .pack-items__sign .icon { width: 0.85rem; height: 0.85rem; }
.pack-items__note { font-style: normal; font-size: var(--step--1); color: var(--kt-graphite); }
.pack-gift { display: flex; align-items: center; gap: 0.5rem; margin: var(--space-2) 0 0; padding: 0.5rem 0.75rem; border-radius: var(--radius-md, 12px); background: color-mix(in srgb, var(--kt-orange) 12%, transparent); font-weight: 700; }
.pack-gift .icon, .cart-line__gift .icon { width: 1.1rem; height: 1.1rem; flex: none; color: var(--kt-orange); }
.cart-line__gift { display: flex; align-items: center; gap: 0.35rem; }

.pack-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.pack-tile__link { display: grid; gap: 0.5rem; height: 100%; padding: var(--space-4); border-radius: var(--radius-lg); background: var(--kt-black); color: var(--kt-white); text-decoration: none; }
.pack-tile.is-soon .pack-tile__link { background: var(--kt-paper); color: var(--kt-graphite); }
.pack-tile__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); }

.pack-tile__soon { width: fit-content; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--kt-black); color: var(--kt-white); font-weight: 800; font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; }
.option-card .pack__soon { color: var(--kt-graphite); font-size: var(--step--1); }
.option-card__name--tier { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
/* the items to pick (28 Nov): "!" until picked or kept, then a tick */
.pack-items__item--choose .pack-items__tick { display: none; }
.pack-items__item--choose.is-solved .pack-items__tick { display: grid; }
.pack-items__item--choose.is-solved .pack-items__sign { display: none; }
.pack-items__sign { font-weight: 900; font-size: 0.85rem; line-height: 1; }
.pack-items__item--choose.is-missing .pack-items__sign { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kt-orange) 35%, transparent); }
.pack-items__body { display: grid; gap: 0.35rem; flex: 1; min-width: 0; }
.pack-items__pick { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.pack-items__select { min-height: 40px; max-width: 100%; padding: 0.3rem 0.6rem; border: 1px solid var(--color-control-border, #bbb); border-radius: 10px; background: var(--kt-white); font: inherit; font-size: var(--step--1); }
.pack-items__keep { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; padding: 0.3rem 0.8rem; border: 1.5px solid var(--kt-green); border-radius: 999px; background: var(--kt-white); color: #0A7A43; font: inherit; font-size: var(--step--1); font-weight: 800; cursor: pointer; }
.pack-items__keep .icon { width: 0.9rem; height: 0.9rem; }
.pack-items__item--choose.is-solved .pack-items__keep { background: var(--kt-green); color: var(--kt-white); }
.pack-items__wa { display: grid; place-items: center; flex: none; width: 1.35rem; height: 1.35rem; margin-block-start: 0.1rem; border-radius: 50%; background: #25D366; color: var(--kt-white); }
.pack-items__wa .icon { width: 0.85rem; height: 0.85rem; }
.pack-items__msg { margin: var(--space-2) 0 0; }
.cart-line__gift { display: flex; align-items: center; gap: 0.4rem; margin: 0.35rem 0 0; padding: 0.4rem 0.6rem; border-radius: 10px; background: color-mix(in srgb, var(--kt-orange) 12%, transparent); font-size: var(--step--1); }
.option-card, .option-grid > li { min-width: 0; }
.pack-items__pick { min-width: 0; }
.pack-items__select { flex: 1 1 9rem; width: 100%; min-width: 0; text-overflow: ellipsis; }

.pack-tile__art { position: relative; display: grid; place-items: center; height: 9rem; border-radius: calc(var(--radius-lg) - 6px); background: var(--kt-white); color: var(--kt-graphite); overflow: hidden; }
.pack-tile__art .icon { width: 3.2rem; height: 3.2rem; stroke-width: 1.5; }
.pack-tile__art i { position: absolute; border-radius: 50%; background: color-mix(in srgb, var(--kt-orange) 18%, transparent); }
.pack-tile__art i:first-of-type { width: 5rem; height: 5rem; inset-inline-start: 12%; top: 18%; }
.pack-tile__art i:last-of-type { width: 3rem; height: 3rem; inset-inline-end: 14%; bottom: 14%; background: color-mix(in srgb, var(--kt-blue) 14%, transparent); }
/* ---- "Goes well with" (cross-selling, 28 Nov 2026): the section on product and telecom pages, and the pop-up after "Add to cart" ---- */
.cs { margin-top: var(--space-8); }
.cs[hidden], .cs-card[hidden], .cs__list[hidden] { display: none; }
.cs__title { margin-bottom: var(--space-4); }
.cs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.cs-card { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: var(--space-2); align-content: start; padding: var(--space-3); background: var(--color-surface); border-radius: var(--radius-md); }
.cs-pane { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.cs-pane[hidden] { display: none; }
.cs-tabs { display: flex; gap: var(--space-1); padding: 3px; background: var(--kt-white); border-radius: var(--radius-pill); width: fit-content; max-width: 100%; }
.cs-tab { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 36px; padding: 0.3rem 0.85rem; border: 0; border-radius: var(--radius-pill); background: transparent; font: inherit; font-size: var(--step--1); font-weight: 600; color: var(--color-text-muted); cursor: pointer; }
.cs-tab svg { width: 0.95rem; height: 0.95rem; }
.cs-tab[aria-pressed='true'] { background: var(--kt-black); color: var(--kt-white); }
.cs-tab[aria-pressed='true'] svg { fill: currentColor; }
.cs-card__diff { margin: 0; font-size: var(--step--1); color: var(--kt-blue); font-weight: 600; }
.cs-tag.cs-tag--wish { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; width: fit-content; background: color-mix(in srgb, var(--kt-red) 12%, var(--kt-white)); color: var(--kt-red); }
.cs-tag--wish svg { width: 0.8rem; height: 0.8rem; fill: currentColor; }
.cs-card__media { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--kt-white); overflow: hidden; }
.cs-card__media img { width: 100%; height: 100%; object-fit: contain; }
.cs-card__body { display: grid; gap: var(--space-1); min-width: 0; }
.cs-card__why { margin: 0; font-weight: 500; font-size: var(--step--1); color: var(--color-text-muted); }
.cs-card__name { font-weight: 600; color: inherit; text-decoration: none; line-height: 1.3; }
.cs-card__name:hover { text-decoration: underline; }
.cs-card__price { margin: 0; }
.cs-card__special { margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--kt-red); }
.cs-card__note { margin: 0; display: flex; gap: var(--space-1); align-items: center; font-size: var(--step--1); color: var(--color-text-muted); }
.cs-card__note svg { width: 1em; height: 1em; flex: none; }
.cs-card__buy { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-top: var(--space-1); }
.cs-opt select { min-height: 44px; border: 1px solid var(--color-control-border); border-radius: var(--radius-sm); padding-inline: 0.6rem; background: var(--kt-white); font: inherit; font-size: var(--step--1); }

.cs-tag { display: inline-block; padding: 0.05rem 0.5rem; border-radius: var(--radius-pill); background: var(--kt-cream); font-size: 0.75rem; font-weight: 700; }
.cart-line__special { margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--kt-red); }
.cart-line__special s { color: var(--color-text-muted); font-weight: 400; }

.cs-pop { width: min(34rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); border: 0; border-radius: var(--radius-lg); padding: var(--space-5); background: var(--kt-white); color: var(--color-text); }
.cs-pop::backdrop { background: rgba(0, 0, 0, 0.45); }
.cs-pop__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.cs-pop__title { margin: 0; font-family: var(--font-display); font-size: var(--step-1); }
.cs-pop__close { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-pill); background: var(--color-surface); cursor: pointer; }
.cs-pop__close svg { width: 1.1rem; height: 1.1rem; }
.cs__list--pop { grid-template-columns: 1fr; }
.cs-pop__foot { margin: var(--space-4) 0 0; text-align: center; }
.cs-card.is-taken { opacity: 0.7; }

/* ---- Wishlist (27–28 Nov 2026): the heart on cards and product pages, the header link, the list page ---- */
.product-card { position: relative; }
.wish { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-black); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.wish svg { width: 1.3rem; height: 1.3rem; }
.wish[aria-pressed='true'] { color: var(--kt-red); }
.wish[aria-pressed='true'] svg { fill: currentColor; }
.wish--card { position: absolute; inset-block-start: 0.5rem; inset-inline-end: 0.5rem; z-index: 2; }
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.wish--page { flex: none; background: var(--color-surface); box-shadow: none; }
.wish-link[aria-current='page'] svg, .wish-link.is-full svg { fill: currentColor; }
.wl-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.wl-item { display: grid; grid-template-columns: 6rem 1fr; gap: var(--space-4); padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-md); }
.wl-item__media { display: block; aspect-ratio: 1; background: var(--kt-white); border-radius: var(--radius-sm); overflow: hidden; }
.wl-item__media img { width: 100%; height: 100%; object-fit: contain; }
.wl-item__body { display: grid; gap: var(--space-2); min-width: 0; }
.wl-item__name { font-weight: 600; color: inherit; text-decoration: none; }
.wl-item__drop { margin: 0; font-weight: 600; color: var(--kt-green); color: color-mix(in srgb, var(--kt-green) 70%, var(--kt-black)); }
.wl-item__gone { margin: 0; color: var(--color-text-muted); }
.wl-item__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.wl-note { margin-top: var(--space-4); }
/* the wishlist in the menu: in the drawer only (the header heart does it on wide screens) */
.site-nav__wish { display: none; }
@media (max-width: 959.98px) { .site-nav__wish { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid rgba(255, 255, 255, 0.15); color: inherit; font-weight: 600; text-decoration: none; } .site-nav__wish svg { width: 1.2rem; height: 1.2rem; } }

/* ---- A ready pack on the Offers page (28 Nov, the owner): the details the home slide leaves out, on a dark stage like the home
        slide, the three levels rising one after the other and their ticks popping in. ---- */
.pack-show { scroll-margin-top: 5rem; padding: var(--space-5) var(--space-3); border-radius: var(--radius-lg); color: var(--kt-white);
  background: radial-gradient(60% 50% at 50% 0%, rgba(13, 59, 158, 0.55), rgba(13, 59, 158, 0) 70%), radial-gradient(45% 40% at 0% 100%, rgba(253, 84, 11, 0.25), rgba(253, 84, 11, 0) 70%), #0B0B0B; }
@media (min-width: 720px) { .pack-show { padding: var(--space-6); } }
.pack-show__title { margin: 0 0 var(--space-4); text-align: center; font-size: var(--step-3); line-height: 1.1; color: var(--kt-white); }
.pack-show__tiers { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .pack-show__tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.pack-show__tier { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: 0.75rem 0.75rem var(--space-4); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); scroll-margin-top: 5rem; }
.pack-show__tier--plus { background: rgba(47, 107, 255, 0.14); border-color: #2F6BFF; box-shadow: 0 16px 40px rgba(13, 59, 158, 0.45); }
.pack-show__tier:target { outline: 3px solid var(--kt-orange); outline-offset: 3px; }
.pack-show__pic { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: #151515; }
.pack-show__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.pack-show__tier:hover .pack-show__pic img { transform: scale(1.04); }
.pack-show__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-inline: 0.25rem; }
.pack-show__price { margin: 0; font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; color: var(--kt-white); }
.pack-show__price .price__now { color: inherit; font-size: inherit; }
.pack-show__items { display: grid; gap: 0.45rem; margin: 0; padding: 0 0.25rem; list-style: none; flex: 1; }
.pack-show__items li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: var(--step--1); line-height: 1.4; color: rgba(255, 255, 255, 0.9); }
.pack-show__items .icon { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.05rem; padding: 0.15rem; border-radius: 50%; background: var(--kt-orange); color: var(--kt-white); stroke-width: 3; }
.pack-show__gift { display: flex; align-items: center; gap: 0.5rem; margin: 0; padding: 0.5rem 0.75rem; border-radius: 12px; background: rgba(253, 84, 11, 0.16); font-size: var(--step--1); font-weight: 700; }
.pack-show__gift .icon { flex: none; width: 1.2rem; height: 1.2rem; color: var(--kt-orange); }
.pack-show__go { width: 100%; justify-content: center; }
.pack-show__tier:not(.pack-show__tier--plus) .pack-show__go { --btn-bg: transparent; --btn-fg: var(--kt-white); background: transparent; color: var(--kt-white); border: 1.5px solid rgba(255, 255, 255, 0.6); }
.pack-show__tier:not(.pack-show__tier--plus) .pack-show__go:hover { background: var(--kt-white); color: var(--kt-black); }
.pack-show__tier .pack-show__rec { position: absolute; z-index: 1; inset-block-start: -0.7rem; inset-inline: 0; margin-inline: auto; width: fit-content; min-height: 0; padding: 0.1rem 0.6rem; font-size: 0.72rem; }
@media (prefers-reduced-motion: no-preference) {
  .pack-show__tier { animation: kt-rise 600ms var(--ease) backwards; }
  .pack-show__tier:nth-child(2) { animation-delay: 120ms; }
  .pack-show__tier:nth-child(3) { animation-delay: 240ms; }
  .pack-show__items li { animation: pack-tick 420ms var(--ease) backwards; }
  .pack-show__items li:nth-child(1) { animation-delay: 300ms; } .pack-show__items li:nth-child(2) { animation-delay: 380ms; }
  .pack-show__items li:nth-child(3) { animation-delay: 460ms; } .pack-show__items li:nth-child(4) { animation-delay: 540ms; }
  .pack-show__items li:nth-child(5) { animation-delay: 620ms; }
  @keyframes pack-tick { from { opacity: 0; transform: translateX(-0.5rem); } to { opacity: 1; transform: none; } }
  .pack-show__gift .icon { animation: pack-gift 2.4s ease-in-out infinite; }
  @keyframes pack-gift { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-12deg); } 20% { transform: rotate(10deg); } 30% { transform: rotate(0); } }
}
.pack-tiles--soon { margin-top: var(--space-4); }
.pack-tile__q { position: absolute; inset-block-start: 0.6rem; inset-inline-end: 0.8rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--kt-orange); }

/* ---- New Arrivals: small cards, more in a row (28 Nov, the owner). On the home page only the first row shows and "See all"
        opens the full list on the Offers page. ---- */
.grid--new { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) var(--space-2); margin-top: var(--space-3); }
@media (min-width: 640px) { .grid--new { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-3); } }
@media (min-width: 1024px) { .grid--new { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.new-arrivals--home .grid--new > li:nth-child(n+4) { display: none; }
@media (min-width: 640px) { .new-arrivals--home .grid--new > li:nth-child(4) { display: block; } }
@media (min-width: 1024px) { .new-arrivals--home .grid--new > li:nth-child(n+5):nth-child(-n+6) { display: block; } }
.grid--new .product-card__body { gap: 0.1rem; padding-top: var(--space-2); }
.grid--new .product-card__name { font-size: 0.8rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html[lang='ar'] .grid--new .product-card__name { line-height: 1.45; }
.grid--new .product-card__colors, .grid--new .product-card__origin, .grid--new .product-card__try { display: none; }
.grid--new .price { font-size: 0.9rem; }
.grid--new .product-card__media { border-radius: var(--radius-sm); }
.grid--new .limited-pill { font-size: 0.62rem; }
.new-arrivals__all { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.2rem; font-weight: 800; font-size: var(--step--1); color: var(--kt-black); text-decoration: none; white-space: nowrap; }
.new-arrivals__all:hover { color: var(--kt-orange); }
.new-arrivals__all .icon { width: 1rem; height: 1rem; }
.new-arrivals--page .grid--new { margin-top: var(--space-4); }

/* ---- Collaboration: a handshake (28 Nov, the owner: "to feel more humane"); it shakes once when the tile is hovered ---- */
@media (prefers-reduced-motion: no-preference) {
  .join-tile:hover .join-tile__ic svg, .join-tile:focus-visible .join-tile__ic svg { animation: kt-shake 700ms ease-in-out; }
  @keyframes kt-shake { 0%, 100% { transform: translateY(0) rotate(0); } 20% { transform: translateY(-2px) rotate(-6deg); } 40% { transform: translateY(2px) rotate(4deg); } 60% { transform: translateY(-1px) rotate(-3deg); } 80% { transform: translateY(1px) rotate(2deg); } }
}
/* small cards: a smaller heart (the tap area stays 44px) and smaller tags */
.grid--new .wish--card { width: 30px; height: 30px; inset-block-start: 0.3rem; inset-inline-end: 0.3rem; }
.grid--new .wish--card::before { content: ''; position: absolute; inset: -7px; }
.grid--new .wish--card svg { width: 0.95rem; height: 0.95rem; }
.grid--new .product-card__badges { inset-block-start: 0.4rem; inset-inline-start: 0.4rem; }
.grid--new .product-card__badges .tag { padding: 0.1rem 0.4rem; font-size: 0.58rem; }

/* "Goes well with": a long name or a long phone list never spills out of its card (29 Nov) */
.cs-card__name { overflow-wrap: anywhere; }
.cs-opt { min-width: 0; max-width: 100%; }
.cs-opt select { max-width: 100%; text-overflow: ellipsis; }
.cs-card__buy .cs-opt { flex: 1 1 100%; }
.cs-card__buy .cs-opt select { width: 100%; }
.cs-tab__price { margin-inline-start: 0.35rem; font-weight: 800; opacity: 0.85; }

/* ---- A pack with a phone and a cover (30 Nov 2026, the owner): pick the pack, then the phone inside it, then the cover from pictures ---- */
.pack-card__phone { display: grid; gap: 0.4rem; padding: var(--space-3); border-radius: var(--radius-md, 14px); background: var(--kt-white); }
.pack-card__phone label { font-weight: 800; }
.pack-card__phone select, .pack-card__other { min-height: 46px; padding: 0.4rem 0.7rem; border: 1.5px solid var(--color-control-border, #bbb); border-radius: 12px; background: var(--kt-white); font: inherit; }
.pack-card__other[hidden] { display: none; }
.pack-cover { flex-wrap: wrap; }
.pack-cover__open { display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; min-height: 42px; padding: 0.35rem 0.95rem; border: 0; border-radius: 999px; background: var(--kt-orange); color: var(--kt-white); font: inherit; font-weight: 800; font-size: var(--step--1); cursor: pointer; }
.pack-cover__open .icon { width: 1rem; height: 1rem; }
.pack-cover.is-solved .pack-cover__open { background: var(--kt-white); color: var(--kt-black); border: 1.5px solid var(--kt-black); }
.pack-cover__picked { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: var(--step--1); }
.pack-cover__picked[hidden] { display: none; }
.pack-cover__picked img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--kt-white); }
.pack-cover__picked img[hidden] { display: none; }
.pack-cover__panel { flex-basis: 100%; display: grid; gap: var(--space-2); margin-top: var(--space-2); padding: var(--space-3); border-radius: var(--radius-md, 14px); background: var(--kt-white); }
.pack-cover__panel[hidden] { display: none; }
.pack-cover__msg { margin: 0; font-size: var(--step--1); color: var(--color-text-muted); }
.pack-cover__kind { margin: var(--space-2) 0 0; font-weight: 800; font-size: var(--step--1); }
.pack-cover__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr)); gap: var(--space-2); }
.pack-cover__item { display: grid; justify-items: center; gap: 0.3rem; padding: 0.4rem; border: 1.5px solid transparent; border-radius: 12px; background: var(--kt-paper); font: inherit; font-size: 0.8rem; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; }
.pack-cover__item:hover, .pack-cover__item:focus-visible { border-color: var(--kt-orange); }
.pack-cover__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.pack-cover__team { display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; min-height: 40px; margin-top: var(--space-1); padding: 0.3rem 0.85rem; border: 1.5px solid #25D366; border-radius: 999px; background: var(--kt-white); color: #0A7A43; font: inherit; font-weight: 800; font-size: var(--step--1); cursor: pointer; }
.pack-cover__team .icon { width: 1rem; height: 1rem; }
/* the phone's colour inside the pack (30 Nov), and each cover drawn on it */
.pack-card__colours { display: grid; gap: 0.35rem; margin-top: 0.3rem; }
.pack-card__colours[hidden] { display: none; }
.pack-card__colours-label { margin: 0; font-weight: 800; }
.pack-card__colours.is-missing .phone-colours__row { outline: 2px solid var(--kt-orange); outline-offset: 4px; border-radius: 12px; }
.pack-cover__stack { width: 100%; max-width: 7.5rem; height: auto; aspect-ratio: 500 / 860; }
.pack-cover__stack { overflow: hidden; }
.pack-cover__stack img { padding: 0; transform: scale(1.2); }
.pack-cover__list .pack-cover__stack { max-width: none; aspect-ratio: 500 / 720; }
.pack-cover__picked .pack-cover__stack { width: 56px; }
/* Prime's gift picks (30 Nov): the wallet's colour and the lens protector's colour, with pictures */
.pack-giftbox { margin-top: var(--space-2); padding: 0 0 var(--space-2); border-radius: var(--radius-md, 12px); background: color-mix(in srgb, var(--kt-orange) 6%, transparent); }
.pack-giftbox .pack-gift { margin: 0; }
.pack-giftbox__hint { margin: var(--space-1) 0.75rem 0; }
.pack-giftbox .pack-items { padding-inline: 0.75rem; }
.pack-pic { flex-wrap: wrap; }
.pack-pic__list { flex: 1 0 100%; margin-top: 0.4rem; grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); }
.pack-pic__list:empty { display: none; }
.pack-pic__item[aria-pressed="true"] { border-color: var(--kt-orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--kt-orange) 35%, transparent); }
.pack-pic__msg { display: block; font-size: 0.85rem; font-weight: 400; color: var(--kt-muted, #666); }

/* ---- The pack page, 30 Nov 2026 (the roast #2, #3, #5, #6; the owner's picks) ----
   Three dots that fill as the customer goes (Pick, Phone, Add); the delivery cost and time under them; each card: price and what's
   inside first, then the phone, then ONE orange button; the picks come in a sheet that slides up right after "Add to cart". */
.pack-progress { display: flex; align-items: center; gap: 0; margin: var(--space-4) 0 0; padding: 0; list-style: none; max-width: 24rem; }
.pack-progress__step { position: relative; display: grid; justify-items: center; gap: 0.35rem; flex: 1 1 0; font-weight: 700; font-size: var(--step--1); color: var(--color-text-muted); }
.pack-progress__step + .pack-progress__step::before { content: ''; position: absolute; inset-block-start: 0.75rem; inset-inline-end: 50%; width: 100%; height: 3px; border-radius: 3px; background: var(--color-border, #ddd); z-index: -1; transition: background-color 300ms var(--ease); }
.pack-progress { position: relative; isolation: isolate; }
.pack-progress__dot { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2.5px solid var(--color-border, #ccc); background: var(--kt-white); color: transparent; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.pack-progress__dot .icon { width: 0.9rem; height: 0.9rem; }
.pack-progress__step.is-done { color: var(--kt-black); }
.pack-progress__step.is-done .pack-progress__dot { border-color: var(--kt-orange); background: var(--kt-orange); color: var(--kt-white); }
.pack-progress__step.is-done::before { background: var(--kt-orange); }
@media (prefers-reduced-motion: no-preference) { .pack-progress__step.is-done .pack-progress__dot { animation: dot-pop 380ms var(--ease); } @keyframes dot-pop { 50% { transform: scale(1.25); } } }
.pack-deliver { display: grid; gap: 0.45rem; margin: var(--space-4) 0 0; padding: var(--space-3); border-radius: var(--radius-md, 14px); background: var(--kt-paper); list-style: none; font-size: var(--step--1); font-weight: 600; }
.pack-deliver li { display: flex; align-items: flex-start; gap: 0.55rem; }
.pack-deliver .icon { flex: none; width: 1.15rem; height: 1.15rem; margin-block-start: 0.1rem; color: var(--kt-orange); }
.pack-deliver__when { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 500; color: var(--color-text-muted); }
.pack-deliver__when .icon { width: 0.95rem; height: 0.95rem; margin: 0; color: currentColor; }
.pack-card__price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.8rem; }
.pack-card__price .price { margin: 0; }
.pack-inside__title { margin: var(--space-2) 0 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); }
html[lang='ar'] .pack-inside__title { text-transform: none; letter-spacing: 0; font-size: var(--step-0); }
.pack-inside { margin-top: 0.3rem; }
.pack-card .pack-gift { margin: var(--space-2) 0 0; }
/* the sheet: from the bottom on phones, a centred card on computers */
.pack-sheet { width: min(100%, 36rem); max-width: 100%; max-height: 88svh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--kt-white); color: var(--kt-black); box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.25); overflow: auto; overscroll-behavior: contain; }
.pack-sheet::backdrop { background: rgba(10, 8, 6, 0.55); }
@media (min-width: 720px) { .pack-sheet { margin: auto; border-radius: 22px; } }
.pack-sheet__inner { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-4) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); }
.pack-sheet__head { display: flex; align-items: center; gap: 0.75rem; }
.pack-sheet__ok { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--kt-green); color: var(--kt-white); }
.pack-sheet__ok .icon { width: 1.4rem; height: 1.4rem; }
.pack-sheet__head > div { flex: 1 1 auto; min-width: 0; }
.pack-sheet__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); line-height: 1.15; }
.pack-sheet__name { margin: 0.1rem 0 0; font-weight: 600; font-size: var(--step--1); color: var(--color-text-muted); }
.pack-sheet__x { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--kt-paper); color: var(--kt-black); cursor: pointer; }
.pack-sheet__x .icon { width: 1.1rem; height: 1.1rem; }
.pack-sheet__lead { margin: 0; font-weight: 600; }
.pack-sheet .pack-items { margin: 0; }
.pack-sheet .pack-giftbox { margin: 0; }
.pack-sheet__status { margin: 0; font-weight: 700; font-size: var(--step--1); color: var(--kt-orange-dark, #C2410C); }
.pack-sheet__status:empty { display: none; }
.pack-sheet__status.is-done { color: #0A7A43; }
.pack-sheet__actions { display: grid; gap: var(--space-2); }
@media (min-width: 480px) { .pack-sheet__actions { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: no-preference) {
  .pack-sheet[open] { animation: sheet-up 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
  .pack-sheet[open]::backdrop { animation: sheet-fade 320ms ease; }
  @keyframes sheet-up { from { transform: translateY(40%); opacity: 0; } }
  @keyframes sheet-fade { from { opacity: 0; } }
  .pack-sheet__ok { animation: dot-pop 500ms var(--ease) 120ms; }
}

/* 30 Nov 2026 (the owner): "Just arrived" instead of NEW, and a clear "Used" tag on every used phone card */
.tag--used { background: var(--kt-black); color: var(--kt-white); font-weight: 800; }
.new-arrivals__tag--dot { width: 0.8rem; height: 0.8rem; padding: 0; border-radius: 50%; }
/* the Pre-order line on every product page (30 Nov 2026, the owner: "this adds trust and conveys care") */
.ask-any { display: flex; align-items: flex-start; gap: 0.5rem; margin: var(--space-3) 0 0; padding: 0.7rem 0.85rem; border-radius: 14px; border: 1.5px dashed rgba(253, 84, 11, 0.45); background: rgba(253, 84, 11, 0.05); font-size: var(--step--1); font-weight: 600; }
.ask-any .icon { flex: none; width: 1.1rem; height: 1.1rem; margin-block-start: 0.1rem; color: var(--kt-orange); }
.ask-any a { font-weight: 800; color: var(--kt-black); }

/* ==========================================================================
   CART: the lines, the order options, the summary and (on phones) the checkout bar that stays at the bottom of the screen.
   ========================================================================== */
.cart-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-bottom: var(--space-6); }
.cart-head__count { color: var(--color-text-muted); font-weight: 600; }
.cart-layout { display: grid; gap: var(--space-6); }
.cart-main { display: grid; gap: var(--space-7); min-width: 0; align-content: start; }
.cart-lines { border-block-start: 1px solid var(--color-border); }
.cart-line { display: grid; grid-template-columns: 5rem minmax(0, 1fr) auto; grid-template-areas: 'media info info' 'media controls total'; gap: var(--space-2) var(--space-4); align-items: center; padding-block: var(--space-4); border-block-end: 1px solid var(--color-border); }
.cart-line__media { grid-area: media; align-self: start; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--kt-paper); }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.cart-line__info { grid-area: info; display: grid; gap: 0.15rem; min-width: 0; }
.cart-line__name { font-weight: 700; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
a.cart-line__name:hover { text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.cart-line__variant, .cart-line__unit { font-size: var(--step--1); color: var(--color-text-muted); }
.cart-line__status { display: flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: var(--step--1); color: var(--kt-red); }
.cart-line__controls { grid-area: controls; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-3); }
.cart-line__controls .link-button { font-size: var(--step--1); text-decoration: none; color: var(--color-text-muted); }
.cart-line__controls .link-button:hover { color: var(--kt-black); text-decoration: underline; }
.cart-line__total { grid-area: total; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); text-align: end; font-variant-numeric: tabular-nums; }
.cart-line--unavailable, .cart-line--removed, .cart-line--variant_missing { background: var(--kt-paper); padding-inline: var(--space-3); border-radius: var(--radius-sm); }
.cart-line--unavailable .cart-line__media, .cart-line--removed .cart-line__media, .cart-line--variant_missing .cart-line__media { opacity: 0.6; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: calc(var(--space-5) * -1 + var(--space-4)); }

/* ---- Order options: how to receive the order, and the gift ---- */
.cart-options { display: grid; gap: var(--space-5); }
.cart-options__title { font-size: var(--step-2); }
.fulfil { display: grid; gap: var(--space-4); min-width: 0; margin: 0; padding: 0; border: 0; }
.fulfil__legend { padding: 0; margin-bottom: var(--space-3); font-weight: 700; }
.fulfil__choices { display: grid; gap: var(--space-3); }
@media (min-width: 480px) { .fulfil__choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-3); row-gap: 0.1rem; align-items: center; width: 100%; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-control-border); border-radius: var(--radius-md); background: var(--kt-white); transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); }
.choice__box .icon { grid-row: span 2; width: 1.5rem; height: 1.5rem; }
.choice__label { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); line-height: 1.25; }
.choice__hint { grid-column: 2; font-size: var(--step--1); line-height: 1.4; color: var(--color-text-muted); }
.choice:hover input:not(:checked) + .choice__box { border-color: var(--kt-black); }
.choice input:checked + .choice__box { border-color: var(--kt-black); background: var(--kt-black); color: var(--kt-white); }
.choice input:checked + .choice__box .icon { color: var(--kt-orange); }
.choice input:checked + .choice__box .choice__hint { color: rgba(255, 255, 255, 0.85); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.fulfil__address[hidden] { display: none; }

/* "Gift it": still the one highlighted option (a gift box above the words), in a softer orange tint */
.gift { position: relative; display: block; cursor: pointer; }
.gift__input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gift__box { position: relative; display: grid; justify-items: center; gap: 0.35rem; padding: var(--space-5) var(--space-4); border: 2px solid var(--kt-orange); border-radius: var(--radius-md); background: color-mix(in srgb, var(--kt-orange) 10%, var(--kt-white)); text-align: center; transition: background-color var(--dur), border-color var(--dur), transform var(--dur) var(--ease); }
.gift:hover .gift__box { transform: translateY(-2px); }
.gift__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--kt-black); color: var(--kt-orange); }
.gift__icon .icon { width: 1.75rem; height: 1.75rem; }
.gift__label { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.15; }
.gift__hint { max-width: 22rem; font-size: var(--step--1); color: var(--kt-graphite); }
.gift__input:checked + .gift__box { background: var(--kt-orange); border-color: var(--kt-black); }
.gift__input:checked + .gift__box .gift__hint { color: var(--kt-black); }
.gift__input:checked + .gift__box .gift__icon { animation: gift-pop 380ms var(--ease); }
.gift__input:checked + .gift__box::after { content: ''; position: absolute; inset-block-start: 0.75rem; inset-inline-end: 0.75rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--kt-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }
.gift__input:focus-visible + .gift__box { outline: 3px solid var(--color-focus); outline-offset: 4px; }
@keyframes gift-pop { 0% { transform: scale(1) rotate(0); } 45% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }

/* ---- Summary ---- */
.cart-summary { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--kt-paper); }
.cart-summary__title { font-size: var(--step-2); }
.summary { display: grid; gap: var(--space-2); }
.summary__row { display: flex; justify-content: space-between; gap: var(--space-3); }
.summary__row--total { padding-top: var(--space-3); border-block-start: 1px solid rgba(0, 0, 0, 0.2); font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); }
.summary dd { font-variant-numeric: tabular-nums; }
.summary__currency { margin-top: calc(var(--space-2) * -1); }
.cart-summary .notice { background: var(--kt-white); }
.checkout-notes { display: grid; gap: var(--space-2); }
.cart-summary__action { display: grid; margin-block: var(--space-1); }
.checkout-bar__total { display: none; }
.message-preview { margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm); background: var(--kt-white); font: inherit; font-size: var(--step--1); line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.cart-summary .detail > summary { min-height: 52px; font-size: var(--step-0); }
.cart-summary .detail { border-color: rgba(0, 0, 0, 0.14); }
.cart-summary .detail__body { padding-block-end: var(--space-3); }
.cart-skeleton { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.cart-skeleton__line { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: var(--space-4); align-items: center; }
.cart-skeleton__line .skeleton--tile { border-radius: var(--radius-sm); }
.cart-skeleton__text { display: grid; gap: var(--space-2); }

@media (min-width: 640px) {
  .cart-line { grid-template-columns: 6rem minmax(0, 1fr) auto 7rem; grid-template-areas: 'media info controls total'; }
  .cart-line__media { align-self: center; }
}
@media (min-width: 960px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 23rem; align-items: start; gap: var(--space-8); }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---- Phones: the total and the Order button stay at the bottom of the screen while you review the cart ---- */
@media (max-width: 959.98px) {
  .page-cart .site-footer { padding-block-end: calc(var(--bottom-offset) + var(--space-5)); }
  .cart-summary__action { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 55; display: flex; align-items: center; gap: var(--space-4); margin: 0; padding: 0.65rem var(--gutter); padding-block-end: calc(0.65rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.96); border-block-start: 1px solid var(--color-border); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
  .checkout-bar__total { display: grid; flex: none; max-width: 42%; }
  .checkout-bar__total span { font-size: 0.75rem; line-height: 1.2; color: var(--color-text-muted); }
  .checkout-bar__total strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  .cart-summary__action .btn { flex: 1; width: auto; min-width: 0; padding-inline: 1rem; }
}

/* Delivery speed (28 Nov): Normal or Fast, each a card with its time and price */
.speed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-block: var(--space-2); }
.speed__opt { position: relative; display: block; cursor: pointer; }
.speed__in { position: absolute; opacity: 0; inset: 0; }
.speed__body { display: grid; gap: 0.2rem; height: 100%; padding: var(--space-3); border: 1.5px solid var(--color-border); border-radius: var(--radius-md); background: var(--kt-white); transition: border-color 150ms ease, box-shadow 150ms ease; }
.speed__name { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; }
.speed__name svg { width: 1.1rem; height: 1.1rem; }
.speed__when { font-size: var(--step--1); color: var(--color-text-muted); }
.speed__price { font-weight: 800; }
.speed__in:checked + .speed__body { border-color: var(--kt-orange); box-shadow: 0 0 0 2px var(--kt-orange) inset; }
.speed__in:focus-visible + .speed__body { outline: 3px solid var(--kt-blue); outline-offset: 2px; }

/* The welcome gift with a first order (30 Nov 2026): under "Gift it", the same look; its choices open below it */
.first-gift { margin-top: var(--space-3); }
.first-gift:empty { display: none; }
.first-gift__body { display: grid; gap: var(--space-3); margin-top: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md, 12px); background: color-mix(in srgb, var(--kt-orange) 6%, transparent); }
.first-gift__kinds { border: 0; padding: 0; margin: 0; }
.first-gift__kinds legend { font-weight: 600; margin-bottom: var(--space-2); }
.first-gift__pick { margin: 0; font-weight: 600; }
.first-gift__covers { grid-template-columns: repeat(auto-fill, minmax(5.2rem, 1fr)); }
.first-gift__covers .pack-cover__item[aria-pressed="true"] { border-color: var(--kt-orange); box-shadow: 0 0 0 2px color-mix(in srgb, var(--kt-orange) 35%, transparent); }
.first-gift__claim .gift__box { padding-inline-end: 3.2rem; } /* the tick sits in the corner: the long title stays clear of it */

/* a pack line with picks left (30 Nov 2026): what is left, and "Pick now" back to the pack's sheet */
.cart-line__todo { display: flex; align-items: flex-start; gap: 0.4rem; margin: 0.3rem 0 0; padding: 0.45rem 0.6rem; border-radius: 10px; background: color-mix(in srgb, var(--kt-orange) 10%, transparent); font-weight: 600; font-size: var(--step--1); }
.cart-line__todo .icon { flex: none; width: 1rem; height: 1rem; margin-block-start: 0.15rem; color: var(--kt-orange); }
.cart-line__todo a { font-weight: 800; color: inherit; }

/* "Sent your order on WhatsApp? Empty your cart" (30 Nov 2026, the owner) */
.sent-box { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 0.75rem; align-items: center; margin: 0 0 var(--space-4); padding: var(--space-3); border-radius: 16px; background: color-mix(in srgb, var(--kt-green) 12%, var(--kt-white)); border: 1.5px solid color-mix(in srgb, var(--kt-green) 45%, transparent); }
.sent-box[hidden] { display: none; }
.sent-box__ic { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--kt-green); color: var(--kt-white); }
.sent-box__ic .icon { width: 1.2rem; height: 1.2rem; }
.sent-box__title { margin: 0; font-family: var(--font-display); font-weight: 800; }
.sent-box__lead { margin: 0.1rem 0 0; font-size: var(--step--1); color: var(--color-text-muted); }
.sent-box__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
@media (prefers-reduced-motion: no-preference) { .sent-box:not([hidden]) { animation: sent-in 420ms cubic-bezier(.2,.8,.2,1); } @keyframes sent-in { from { opacity: 0; transform: translateY(-8px); } } }

/* ==========================================================================
   DELIVERY on the cart page: country (with its flag) > governorate > district > area > street, and the estimated delivery cost.
   Same look as the rest of the cart: white fields with a visible edge, Paper for the result, black text, orange only for the action.
   ========================================================================== */
.deliver { display: grid; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); background: var(--kt-paper); min-width: 0; }
.deliver[hidden] { display: none; }
.deliver__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); line-height: 1.25; }
.deliver__grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .deliver__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.deliver .field { min-width: 0; }

/* The boxes are the same height as every other field; the arrow is drawn here so it is the same in every browser. */
.deliver select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.75rem; text-overflow: ellipsis; cursor: pointer;
  background: var(--kt-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center / 1rem; }
[dir='rtl'] .deliver select { background-position: left 1rem center; }
.deliver select:disabled { background-color: var(--paper-deep); }

/* Country: the flag sits inside the box, before the name */
.deliver__country-box { position: relative; display: block; }
.deliver__flag { position: absolute; inset-inline-start: 1rem; inset-block: 0; display: flex; align-items: center; pointer-events: none; }
.deliver__flag .flag { display: block; width: 1.75rem; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18); }
.deliver__country-box:not(.deliver__country-box--plain) select { padding-inline-start: 3.5rem; }
.deliver__optional { font-weight: 400; color: var(--color-text-muted); }

/* The result: the estimated delivery cost, or what we need, or "sadly, not yet" */
.deliver__result { display: grid; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-md); background: var(--kt-white); border: 1px solid var(--color-border); }
.deliver__result[data-state='estimate'] { border-color: var(--kt-black); }
.deliver__result[data-state='unavailable'] { border-color: var(--kt-red); }
.deliver__hint { color: var(--color-text-muted); }
.deliver__label { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.02em; color: var(--color-text-muted); }
.deliver__value { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.deliver__value--text { font-size: var(--step-1); line-height: 1.25; }
.deliver__note { font-size: var(--step--1); color: var(--color-text-muted); }
.deliver__sorry { display: flex; align-items: flex-start; gap: var(--space-3); font-weight: 700; }
.deliver__sorry .icon { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; color: var(--kt-red); }
.deliver__help { color: var(--color-text-muted); }
.deliver__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* The delivery line in the summary */
.summary__row--delivery dd { text-align: end; }
.summary__row--delivery[data-state='pending'] dd, .summary__row--delivery[data-state='unavailable'] dd, .summary__row--delivery[data-state='tbc'] dd { font-size: var(--step--1); color: var(--color-text-muted); }

/* ==========================================================================
   PAGES: the home page, the offer, and the content pages (about, services, contact, 404, compare).
   The shop pages (grids, cards, product, search) are in shop.css and the cart in cart.css.
   The opening block of the home page is full-width black (edge to edge, flush under the black header).
   The smaller bands further down (page headings, the visit band) are "tiles": rounded, inside the page margins.
   ========================================================================== */

/* ---- Home: the opening block (the offer, or the welcome banner when no offer is set) ----
   Full-width black: no side margins, no rounded corners, no gap under the header, so it reads as one piece with the header.
   The .container inside it keeps the text and picture lined up with the rest of the page. */
/* ---- Tiles: the page heading band sits inside the page margins, rounded ---- */
.page-hero { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; margin-block-start: var(--space-4); border-radius: var(--radius-lg); }
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; display: grid; gap: var(--space-5); padding-block: var(--space-7) 0; }
.hero__copy { position: relative; z-index: 1; max-width: 38rem; }
.hero__title { font-size: var(--step-5); line-height: 1.02; letter-spacing: -0.03em; }
html[lang='ar'] .hero__title { line-height: 1.3; letter-spacing: 0; }
.hero__text { margin-top: var(--space-4); max-width: 32rem; font-size: var(--step-1); color: var(--color-text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__art { position: relative; height: 15rem; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.hero-art { position: absolute; inset-block-end: -16%; inset-inline-end: 6%; height: 125%; width: auto; }
[dir='rtl'] .hero-art { transform: scaleX(-1); }
.hero-art__chevron { fill: var(--kt-graphite); }
.hero-art__leaf { fill: var(--kt-orange); animation: leaf-in 900ms var(--ease) 200ms both; }
@keyframes leaf-in { from { opacity: 0; transform: translateY(7%); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; min-height: 34rem; padding-block: var(--space-8); }
  .hero__art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 48%; height: auto; margin: 0; }
  .hero-art { height: 128%; inset-block-end: -20%; inset-inline-end: -2%; }
}

.offer-hero { overflow: hidden; }
/* in-page jumps (#shop ...) stop below the sticky header: html { scroll-padding-top } in base.css does that for every anchor, so no extra scroll-margin here (the two would add up) */
.offer-hero__inner { display: grid; gap: var(--space-5); padding-block: 0 var(--space-7); }
.offer-hero__media { margin-inline: calc(var(--gutter) * -1); aspect-ratio: 4 / 3; max-height: 46vh; overflow: hidden; background: var(--kt-paper); }
.offer-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-hero__copy { max-width: 36rem; }
.offer-label { margin-bottom: var(--space-3); font-size: 0.85rem; }
.offer-hero__title { font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.03em; }
html[lang='ar'] .offer-hero__title { line-height: 1.3; letter-spacing: 0; }
.offer-hero__text { margin-top: var(--space-3); max-width: 32rem; font-size: var(--step-1); color: var(--color-text-muted); }
.offer-hero__price { margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--step-2); }
.offer-hero__price .price__from, .offer-hero__price .price__was { color: var(--color-text-muted); }
.offer-hero .hero__actions { margin-top: var(--space-5); }
/* phones: both buttons share one row, and on short screens the picture is trimmed so "Buy now" is in the first screen */
@media (max-width: 799.98px) {
  .offer-hero .hero__actions .btn { flex: 1 1 auto; padding-inline: 1.15rem; }
}
@media (max-width: 799.98px) and (max-height: 720px) {
  .offer-hero__media { max-height: 34vh; }
}
@media (min-width: 800px) {
  .offer-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-7); padding-block: var(--space-7); }
  .offer-hero__media { order: 2; margin: 0; max-height: none; border-radius: var(--radius-md); }
}

/* ---- Offer page ---- */
.offer-page { display: grid; gap: var(--space-5); margin-top: var(--space-4); }
.offer-page__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-lg); background: var(--kt-paper); }
.offer-page__media img { width: 100%; height: 100%; object-fit: cover; }
/* A poster (a picture clearly taller than wide, such as public/images/offers/offer-en.jpg) is shown whole: never cropped to the 4:3 frame. */
.offer-hero__media.is-poster, .offer-page__media.is-poster { display: flex; justify-content: center; aspect-ratio: auto; max-height: none; overflow: visible; background: none; }
.offer-hero__media.is-poster img, .offer-page__media.is-poster img { width: auto; height: auto; max-width: 100%; max-height: min(64vh, 44rem); border-radius: var(--radius-md); object-fit: contain; }
.offer-hero__media.is-poster { margin-inline: 0; padding-block-start: var(--space-4); }
.offer-page__media.is-poster img { box-shadow: 0 0 0 1px var(--color-border); }
@media (min-width: 800px) {
  .offer-hero__media.is-poster { padding-block-start: 0; }
  .offer-hero__media.is-poster img, .offer-page__media.is-poster img { max-height: min(78vh, 46rem); }
}
/* On a phone the poster is tall, so the two buttons come straight under it (then the label, title, text and price):
   "Buy now" stays inside the first screen. Only the look changes; the words keep their order for screen readers. */
@media (max-width: 799.98px) {
  .offer-hero__media.is-poster + .offer-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
  .offer-hero__media.is-poster + .offer-hero__copy .hero__actions { order: -1; align-self: stretch; margin: 0 0 var(--space-5); }
}
/* Short phones: the round assistant/WhatsApp button (components.css) sits in the bottom corner of the first screen, right where the two
   buttons would end. The poster gives up a little height so the buttons stay clear of it. */
@media (max-width: 799.98px) and (max-height: 720px) {
  .has-wa-fab .offer-hero__media.is-poster img { max-height: min(54vh, 44rem); }
}
.offer-page__copy { display: grid; gap: var(--space-3); align-content: start; justify-items: start; }
.offer-page__features { margin-top: var(--space-2); }
.offer-hint { margin-top: var(--space-2); }
.option-grid { display: grid; gap: var(--space-4); margin-top: var(--space-5); }
.option-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-3); border-radius: var(--radius-lg); background: var(--kt-paper); }
.option-card.is-unavailable { opacity: 0.7; }
.option-card__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-md); background: var(--kt-white); }
.option-card__media img { width: 100%; height: 100%; object-fit: cover; }
.option-card__body { display: grid; gap: var(--space-2); flex: 1; align-content: start; padding-inline: var(--space-2); }
.option-card__name { font-size: var(--step-2); }
.option-card__text { color: var(--color-text-muted); }
.option-card__add { margin-top: auto; }
.offer-ask { margin-top: var(--space-5); }
@media (min-width: 700px) {
  .offer-page { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--space-7); }
  .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- Home: quick find (phones and tablets; wide screens have the search box in the header) ---- */
.quick-find { display: none; }
@media (max-width: 959.98px) {
  .quick-find { display: block; margin-top: var(--space-4); }
  .quick-find .suggest { inset-inline: 0; width: auto; }
}

/* ---- Home: sections ---- */
.section { padding-block: var(--section-y) 0; }
.section-lead { margin-top: calc(var(--space-3) * -1); margin-bottom: var(--space-5); font-size: var(--step-1); color: var(--color-text-muted); }
.section--tight { padding-block: var(--space-5) 0; }

.trust { display: grid; gap: var(--space-8); }

.promises { display: grid; }
.promise { padding-block: var(--space-4); border-block-start: 1px solid var(--color-border); }
.promise:first-child { border-block-start: 0; padding-block-start: 0; }

.promise p { color: var(--color-text-muted); }

.steps { display: grid; gap: var(--space-5); counter-reset: step; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--kt-paper); }
.step { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.15rem var(--space-4); align-items: start; }
.step::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--kt-orange); color: var(--kt-black); font-family: var(--font-display); font-weight: 700; }

.step p { grid-column: 2; color: var(--kt-graphite); }
@media (min-width: 900px) { .trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-9); align-items: start; } }

/* ---- About ---- */
.page-hero { position: relative; overflow: hidden; }

.lead { margin-top: var(--space-3); font-size: var(--step-2); font-family: var(--font-display); font-weight: 700; line-height: 1.3; }
html[lang='ar'] .lead { line-height: 1.6; }
.lead--statement { margin-top: 0; }
.lead--sm { font-size: var(--step-1); font-family: var(--font-body); font-weight: 400; line-height: 1.6; }
.story { display: grid; gap: var(--space-7); }

.timeline { display: grid; gap: 0; align-content: start; border-block-start: 1px solid var(--color-border); }

.two-up { display: grid; gap: var(--space-5); }
.statement { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--kt-paper); }

.chips-row, .chips-row--static { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
@media (min-width: 900px) {
  .story { grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: start; }
  .two-up { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
}

/* ---- Services ---- */

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-5); }
.card { display: grid; gap: var(--space-3); align-content: start; justify-items: start; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--kt-paper); }
.card--dark { background: var(--kt-black); color: var(--kt-white); }
.card__title { font-size: var(--step-2); }
.card .form, .card .notice { width: 100%; }
.card .notice { background: var(--kt-white); }
.info-list { display: grid; gap: var(--space-4); width: 100%; }
.info-row { display: flex; gap: var(--space-3); align-items: flex-start; min-width: 0; }
.info-row dd { min-width: 0; overflow-wrap: anywhere; }
.info-row .icon { margin-top: 0.15rem; }
.info-row dt { font-weight: 700; }
.hours { display: grid; gap: 0.2rem; }
.hours li { display: flex; gap: var(--space-3); justify-content: space-between; }
.social-links a { margin-inline-end: var(--space-3); font-weight: 600; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .contact-form-card { grid-column: 1 / -1; }
  .contact-form-card .form { max-width: 40rem; }
}

/* ---- 404 ---- */
.not-found { display: grid; gap: var(--space-8); padding-block: var(--space-8); }
.not-found__block { display: grid; gap: var(--space-3); justify-items: start; }
.not-found__block + .not-found__block { padding-top: var(--space-7); border-block-start: 1px solid var(--color-border); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }

/* ---- Compare (picker + side-by-side table) ---- */
.compare { display: grid; gap: var(--space-6); margin-top: var(--space-3); }
.compare > .page-lead { margin-top: 0; }
.compare > .hint { margin: 0; }
.compare-section { display: grid; gap: var(--space-3); }
.compare-heading { font-size: var(--step-2); }
.compare-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.compare-fallback { display: grid; gap: var(--space-2); margin-top: var(--space-4); padding-inline-start: 1.25rem; list-style: disc; }

.compare-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.compare-slots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compare-slot { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); min-width: 0; padding: var(--space-3) var(--space-2) var(--space-1); border-radius: var(--radius-md); background: var(--kt-paper); text-align: center; }
.compare-slot.is-empty { justify-content: center; min-height: 10rem; padding-block: var(--space-4); background: transparent; box-shadow: inset 0 0 0 1.5px var(--color-control-border); color: var(--color-text-muted); }
.compare-slot__media { flex: none; width: 4rem; height: 4rem; overflow: hidden; border-radius: var(--radius-sm); background: var(--kt-white); }
.compare-slot__media img { width: 100%; height: 100%; object-fit: contain; }
.compare-slot__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.8rem; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
html[lang='ar'] .compare-slot__name { line-height: 1.6; }
.compare-slot.is-empty .compare-slot__name { font-weight: 600; }
.compare-slot__plus { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 2px dashed currentColor; border-radius: 50%; }
.compare-slot__remove { display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem; min-height: 44px; margin-top: auto; padding: 0 0.5rem; border: 0; background: none; font-size: 0.8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.compare-slot__remove .icon { width: 1em; height: 1em; }
.compare-slot__remove:hover { text-decoration-color: var(--kt-orange); text-decoration-thickness: 3px; }

.compare-list { display: grid; gap: var(--space-3); }
.compare-item { position: relative; }
.compare-item__input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.compare-item__input:disabled { cursor: not-allowed; }
.compare-item__box { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); background: var(--kt-paper); box-shadow: inset 0 0 0 2px transparent; transition: background-color var(--dur-fast), box-shadow var(--dur-fast); }
.compare-item:hover .compare-item__input:not(:disabled) + .compare-item__box { background: var(--paper-deep); }
.compare-item__media { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--kt-white); }
.compare-item__media img { width: 100%; height: 100%; object-fit: contain; }
.compare-item__text { display: grid; gap: 0.15rem; min-width: 0; }
.compare-item__name { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.compare-item__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.6rem; font-size: var(--step--1); color: var(--color-text-muted); }
.compare-item__meta .price { font-size: inherit; font-weight: 600; color: var(--color-text); }
.compare-item__state { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0.2rem 0.85rem; border-radius: var(--radius-pill); background: var(--kt-white); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.compare-item__add, .compare-item__added { display: inline-flex; align-items: center; gap: 0.3rem; }
.compare-item__state .icon { width: 1em; height: 1em; stroke-width: 3; }
.compare-item__added { display: none; }
.compare-item__input:checked + .compare-item__box { background: var(--kt-white); box-shadow: inset 0 0 0 2px var(--kt-black); }
.compare-item__input:checked + .compare-item__box .compare-item__state { background: var(--kt-orange); }
.compare-item__input:checked + .compare-item__box .compare-item__add { display: none; }
.compare-item__input:checked + .compare-item__box .compare-item__added { display: inline-flex; }
.compare-item__input:disabled + .compare-item__box { opacity: 0.5; }
.compare-item__input:focus-visible + .compare-item__box { outline: 3px solid var(--color-focus); outline-offset: 3px; }

.compare-bar { position: sticky; inset-block-end: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); margin-inline: calc(var(--gutter) * -1); padding: var(--space-3) var(--gutter); padding-block-end: calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); border-block-start: 1px solid var(--color-border); background: var(--color-bg); }
.compare-bar__status { flex: 1 1 10rem; font-size: var(--step--1); font-weight: 600; }

.compare-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.compare-back { transform: scaleX(-1); }
[dir='rtl'] .compare-back { transform: none; }
.compare-hint { margin-top: calc(var(--space-2) * -1); }
.compare-scroll { position: relative; overflow-x: auto; border-radius: var(--radius-lg); background: var(--kt-white); box-shadow: inset 0 0 0 1px var(--color-border); }
.compare-scroll:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.compare-table { --label-w: 6.25rem; --col-w: 7.5rem; width: 100%; min-width: calc(var(--label-w) + var(--cols, 3) * var(--col-w)); border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare-table--2 { --cols: 2; }
.compare-table--3 { --cols: 3; }
.compare-table th, .compare-table td { padding: var(--space-3) var(--space-2); border-block-end: 1px solid var(--color-border); text-align: center; vertical-align: top; overflow-wrap: anywhere; }
.compare-table thead > tr > * { background: var(--kt-paper); }
.compare-table tbody > tr:last-child > * { border-block-end: 0; }
.compare-table td + td, .compare-table th[scope='col'] + th[scope='col'] { border-inline-start: 1px solid var(--color-border); }
.compare-table tbody th { font-size: 0.8rem; font-weight: 700; text-align: start; background: var(--kt-paper); overflow-wrap: break-word; }
.compare-table__corner, .compare-table tbody th { position: sticky; inset-inline-start: 0; z-index: 2; width: var(--label-w); border-inline-end: 1px solid var(--color-border); }
.compare-table__corner { z-index: 3; }
.compare-table__link { display: grid; justify-items: center; gap: var(--space-2); text-decoration: none; }
.compare-table__media { width: 4.5rem; height: 4.5rem; overflow: hidden; border-radius: var(--radius-sm); background: var(--kt-white); }
.compare-table__media img { width: 100%; height: 100%; object-fit: contain; }
.compare-table__name { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; line-height: 1.25; }
.compare-table__link:hover .compare-table__name { text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.price--cmp { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.2; }
html[data-currency='lbp'] .price--cmp { font-size: 1rem; }
.compare-table__avail { margin-top: 0.4rem; }
.compare-table__avail .badge { justify-content: center; text-align: start; }
.compare-table__go .btn { width: 100%; }
@media (min-width: 720px) {
  .compare-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-slots { max-width: 42rem; }
  .compare-bar { margin-inline: 0; padding-inline: 0; }
  .compare-slot__media { width: 5rem; height: 5rem; }
  .compare-table { --label-w: 9rem; --col-w: 11rem; }
  .compare-table th, .compare-table td { padding: var(--space-4); }
  .compare-table tbody th { font-size: 0.95rem; }
  .compare-table__media { width: 6rem; height: 6rem; }
  .compare-table__name { font-size: 1.05rem; }
}

/* ---- Requests on WhatsApp: printing and the two repair forms (src/js/ui/request-form.js) ---- */
.page--narrow { max-width: 46rem; }

.request-card { margin-top: var(--space-5); }

.request__choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.request__choice legend { padding: 0; margin-bottom: 0.5rem; font-weight: 700; }
.request__pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.request__pill { position: relative; display: inline-flex; cursor: pointer; }
.request__pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.request__pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 1.1rem; border-radius: var(--radius-pill); background: var(--kt-white); box-shadow: inset 0 0 0 1px var(--color-control-border); font-weight: 600; }
.request__pill input:checked + span { background: var(--kt-black); color: var(--kt-white); box-shadow: none; }
.request__pill input:focus-visible + span { outline: 3px solid var(--kt-orange); outline-offset: 2px; }
.request__files input[type='file'] { padding: 0.55rem; background: var(--kt-white); }
.field .hint { margin: 0; font-size: var(--step--1); color: var(--color-text-muted); }
.request__send { justify-self: start; }
.request__how { margin: 0; font-size: var(--step--1); color: var(--color-text-muted); }
.request__status:empty { display: none; }
.request__status { margin: 0; padding: var(--space-3); border-radius: var(--radius-sm); background: var(--kt-white); font-weight: 600; }

/* the software form's From / To (26 Nov): three phone pictures to tap, the chosen one lit in KT orange */
.request__pills:has(.request__pill--pic) { flex-wrap: nowrap; }
.request__pill--pic { flex: 1 1 0; flex-direction: column; align-items: center; gap: 0.35rem; padding: 0.7rem 0.4rem 0.5rem; border-radius: 16px; background: var(--kt-white); box-shadow: inset 0 0 0 1px var(--color-control-border); }
.request__pill--pic .request__pill-img { width: 2.5rem; height: auto; }
.request__pill--pic span { min-height: 0; padding: 0; box-shadow: none; background: none; font-size: var(--step--1); text-align: center; }
.request__pill--pic:has(input:checked) { box-shadow: inset 0 0 0 3px var(--kt-orange); background: #FFF3EC; }
.request__pill--pic input:checked ~ span { background: none; color: var(--kt-black); }
.request__pill--pic:has(input:focus-visible) { outline: 3px solid var(--kt-black); outline-offset: 2px; }
/* the form of one service, right under its Kabu stage */
.request-card--solo { max-width: 40rem; margin-inline: auto; }

/* ---- About: Vision & Mission and Values & Promise, each as a pair ---- */
.about-ch__sub { margin: 0 0 var(--space-3); font-size: var(--step-1); }
.about-ch__pair { display: grid; gap: var(--space-5); }
.about-ch__card { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--kt-white); }

@media (min-width: 760px) { .about-ch__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }   }

/* ---- About: Allow Us to Connect! (social on one side, the map on the other; space before the footer) ------------------------------ */
.connect { padding-bottom: var(--space-9); }
.connect__box { display: grid; gap: var(--space-5); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); background: var(--kt-black); color: var(--kt-white); }
.connect__box .section-title { color: var(--kt-white); }
.connect__social p { margin-top: var(--space-2); color: rgba(255, 255, 255, 0.75); }
.connect__list { display: grid; gap: var(--space-2); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.connect__link { display: flex; align-items: center; gap: 0.7rem; min-height: 48px; padding: 0.5rem 1rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); color: var(--kt-white); font-weight: 800; text-decoration: none; transition: background 200ms ease, transform 200ms ease; }
.connect__link .icon { width: 22px; height: 22px; color: var(--kt-orange); }
a.connect__link:hover { background: var(--kt-orange); transform: translateX(4px); }
[dir='rtl'] a.connect__link:hover { transform: translateX(-4px); }
a.connect__link:hover .icon { color: var(--kt-white); }
.connect__link.is-soon { opacity: 0.55; }
.connect__link small { margin-inline-start: auto; font-size: 0.75rem; font-weight: 700; padding: 0.1rem 0.55rem; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.connect__map { position: relative; display: grid; align-content: end; gap: 0.3rem; min-height: 230px; padding: 104px var(--space-5) var(--space-5); border-radius: var(--radius-lg); overflow: hidden; color: var(--kt-black); text-decoration: none;
  background: repeating-linear-gradient(0deg, transparent 0 34px, rgba(0, 0, 0, 0.06) 34px 36px), repeating-linear-gradient(90deg, transparent 0 34px, rgba(0, 0, 0, 0.06) 34px 36px), var(--kt-cream); }
.connect__pin { position: absolute; top: 26px; inset-inline-start: var(--space-5); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--kt-orange); color: var(--kt-white); box-shadow: 0 10px 20px rgba(253, 84, 11, 0.35), 0 0 0 14px rgba(253, 84, 11, 0.14); animation: connect-pin 2.4s ease-in-out infinite; }
.connect__pin .icon { transform: rotate(45deg); width: 24px; height: 24px; }
@keyframes connect-pin { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.connect__map strong { font-family: var(--font-display); font-size: var(--step-1); }
.connect__map > span:not(.connect__pin) { color: var(--kt-graphite); }
.connect__open { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.3rem; font-weight: 800; color: var(--kt-black) !important; }
[dir='rtl'] .connect__open .icon { transform: scaleX(-1); }
.connect__map:hover .connect__open { text-decoration: underline; }
.connect__map:focus-visible, .connect__link:focus-visible { outline: 3px solid var(--kt-orange); outline-offset: 3px; }
@media (min-width: 760px) { .connect__box { grid-template-columns: 1.1fr 1fr; align-items: stretch; padding: var(--space-7); } }
@media (prefers-reduced-motion: reduce) { .connect__pin { animation: none; } a.connect__link:hover { transform: none; } }

/* ---- About: the story in colour bands (27 Nov, option B): 2007 black, 2022 orange, 2025 cream ---------------------------------- */
.story-scroll__intro { padding-block: var(--space-6) var(--space-6); text-align: center; }
.story-scroll__eyebrow { display: inline-block; margin: 0 0 var(--space-3); padding: 0.3rem 0.9rem; border-radius: var(--radius-pill); background: var(--kt-black); color: var(--kt-white); font-weight: 800; font-size: var(--step--1); }
.story-scroll__title { margin: 0; font-size: clamp(2.4rem, 1.6rem + 4vw, 4rem); line-height: 1; letter-spacing: -0.03em; }
.story-scroll__lead { max-width: 34rem; margin: var(--space-3) auto 0; font-size: var(--step-1); color: var(--kt-graphite); }
.story-band { position: relative; overflow: hidden; padding-block: var(--space-8); }
.story-band--1 { background: var(--kt-black); color: var(--kt-white); }
.story-band--2 { background: var(--kt-orange); color: var(--kt-black); }
.story-band--3 { background: var(--kt-cream); color: var(--kt-black); }
.story-band__inner { position: relative; display: grid; gap: var(--space-5); align-items: center; }
.story-band__year { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(5.5rem, 3rem + 12vw, 10rem); line-height: 0.82; letter-spacing: -0.05em; }
.story-band--1 .story-band__year { color: var(--kt-orange); }
.story-band--2 .story-band__year { color: var(--kt-white); }
.story-band--3 .story-band__year { color: var(--kt-black); }
.story-band--3 .story-band__year::after { content: ''; display: inline-block; width: 0.16em; height: 0.16em; margin-inline-start: 0.05em; border-radius: 50%; background: var(--kt-orange); } /* the brand dot, today */
.story-band__title { margin: var(--space-3) 0 var(--space-2); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); line-height: 1.1; }
.story-band__text { max-width: 32rem; margin: 0; font-size: var(--step-1); line-height: 1.5; }
.story-band--1 .story-band__text { color: rgba(255, 255, 255, 0.82); }
.story-band__art .story-art { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; }
@media (min-width: 820px) {
  .story-band__inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .story-band--2 .story-band__words { order: 2; } /* the middle band flips sides, so the eye zigzags down the story */
}
/* playing in: only once the script is running (otherwise everything simply shows) */
.story-scroll.is-live .story-band__year { opacity: 0; transform: translateX(-60px); transition: opacity 600ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1); }
[dir='rtl'] .story-scroll.is-live .story-band__year { transform: translateX(60px); }
.story-scroll.is-live .story-band__title, .story-scroll.is-live .story-band__text { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease 250ms, transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 250ms; }
.story-scroll.is-live .story-band__text { transition-delay: 380ms; }
.story-scroll.is-live .story-art__item, .story-scroll.is-live .story-art__sign, .story-scroll.is-live .story-art__spark { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: translateY(14px) scale(0.92); transition: opacity 500ms ease, transform 700ms cubic-bezier(0.34, 1.4, 0.5, 1); }
.story-scroll.is-live .story-art__sign { transform: translateY(-24px); }
.story-scroll.is-live .story-art__ride { opacity: 0; transform: translateX(-90px); transition: opacity 500ms ease 300ms, transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) 300ms; }
[dir='rtl'] .story-scroll.is-live .story-art__ride { transform: translateX(90px); }
.story-scroll.is-live .story-art__route { opacity: 0; transition: opacity 900ms ease 700ms; }
.story-band.is-in .story-band__year, .story-band.is-in .story-band__title, .story-band.is-in .story-band__text,
.story-band.is-in .story-art__item, .story-band.is-in .story-art__sign, .story-band.is-in .story-art__spark, .story-band.is-in .story-art__ride, .story-band.is-in .story-art__route { opacity: 1; transform: none; }
.story-band.is-in .story-art__sign { transition-delay: 350ms; }
.story-band.is-in .story-art__item:nth-of-type(1) { transition-delay: 500ms; }
.story-band.is-in .story-art__item:nth-of-type(2) { transition-delay: 620ms; }
.story-band.is-in .story-art__item:nth-of-type(3) { transition-delay: 740ms; }
.story-band.is-in .story-art__spark { transition-delay: 900ms; }
.story-band.is-in .story-art__dot { transform-box: fill-box; transform-origin: center; animation: story-dot 2.6s ease-in-out 1.4s infinite; }
@keyframes story-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* ---- About: the message as a quote (27 Nov: "make it as if it is a quote", with contrast) ---------------------------------------- */
.about-quote { position: relative; overflow: hidden; background: var(--kt-white); color: var(--kt-black); } /* 27 Nov: no orange ground, it distracted */
.about-quote__inner { position: relative; display: grid; align-content: start; padding-block: var(--space-3) var(--space-7); } /* right under the logo on a phone (27 Nov) */
@media (min-width: 820px) { .about-quote__inner { align-content: center; min-height: calc(100svh - 14rem); } } /* the writing fills the screen on bigger screens */
.nowrap { white-space: nowrap; }
.about-quote__label { position: relative; z-index: 1; display: inline-block; justify-self: start; margin: 0 0 var(--space-5); padding: 0.3rem 0.9rem; border-radius: var(--radius-pill); background: var(--kt-black); color: var(--kt-white); font-size: var(--step--1); font-weight: 800; letter-spacing: 0.02em; }
.about-quote__fig { position: relative; margin: 0; }
.about-quote__mark { position: absolute; top: -0.2em; inset-inline-start: -0.06em; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(9rem, 6rem + 14vw, 17rem); line-height: 1; color: var(--kt-orange); opacity: 0.95; pointer-events: none; }
[dir='rtl'] .about-quote__mark { transform: scaleX(-1); }
.about-quote__text { position: relative; margin: 0; padding-top: clamp(3.6rem, 2.4rem + 5vw, 6.5rem); }
.about-quote__text p { margin: 0; max-width: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 0.9rem + 3.6vw, 4.4rem); line-height: 1.16; letter-spacing: -0.02em; }
html[lang='ar'] .about-quote__text p { line-height: 1.55; letter-spacing: 0; }
.about-quote__hl { position: relative; display: inline-block; padding: 0 0.18em; color: var(--kt-white); background: var(--kt-orange); border-radius: 0.12em; transform: rotate(-2deg); }
.about-quote__by { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem; margin-top: var(--space-5); font-weight: 800; font-size: var(--step-0); }
.about-quote__by > span[dir] { white-space: nowrap; }
.about-quote__dash { width: 2.4rem; height: 3px; border-radius: 3px; background: var(--kt-black); }
/* playing in: the mark drops, the words rise, the highlight stamps on */
.about-quote__mark { animation: quote-mark 900ms cubic-bezier(0.2, 1.3, 0.4, 1) 100ms both; }
.about-quote__text p { animation: quote-up 800ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both; }
.about-quote__hl { animation: quote-stamp 600ms cubic-bezier(0.3, 1.6, 0.5, 1) 900ms both; }
.about-quote__by { animation: quote-up 700ms ease 700ms both; }
@keyframes quote-mark { from { opacity: 0; translate: 0 -30px; } to { opacity: 0.95; translate: 0 0; } }
@keyframes quote-up { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes quote-stamp { from { opacity: 0; scale: 1.6; } to { opacity: 1; scale: 1; } }

/* ---- About: Kabbout Tech, Making your day easier, with the logo's T-like part animated ------------------------------------------ */
.about-brand { background: var(--kt-white); }
.about-brand__inner { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 0.5rem + 3vw, 2.5rem); padding-block: var(--space-7) var(--space-5); }
.brand-anim { flex: none; width: clamp(4.5rem, 3.5rem + 8vw, 9rem); height: auto; overflow: visible; }
.brand-anim__t { fill: var(--kt-black); transform-box: fill-box; transform-origin: 30% 70%; animation: brand-t-in 1100ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both, brand-t-sway 3.6s ease-in-out 1.6s infinite; }
.brand-anim__leaf { fill: var(--kt-orange); transform-box: fill-box; transform-origin: center; animation: brand-leaf-in 700ms cubic-bezier(0.3, 1.5, 0.5, 1) 1000ms both; }
@keyframes brand-t-in { from { opacity: 0; translate: 40% 40%; } to { opacity: 1; translate: 0 0; } }
@keyframes brand-t-sway { 0%, 100% { rotate: 0deg; translate: 0 0; } 50% { rotate: -4deg; translate: -2% 2%; } }
@keyframes brand-leaf-in { from { opacity: 0; translate: 0 -60%; } to { opacity: 1; translate: 0 0; } }
.about-brand__name { margin: 0; white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 1.1rem + 3.6vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; }
.about-brand__tag { margin: 0.35rem 0 0; font-weight: 700; font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.6rem); color: var(--kt-graphite); }
html:not([lang='ar']) .about-brand__tag { text-transform: capitalize; }
.about-brand__tag .brand-dot { width: 0.5em; height: 0.5em; margin-inline-start: 0.18em; }
@media (prefers-reduced-motion: reduce) {
  .about-quote__mark, .about-quote__text p, .about-quote__hl, .about-quote__by, .brand-anim__t, .brand-anim__leaf { animation: none; }
}

/* 27 Nov: Moumen Cell (2007) is yellowish, still with its orange and black */
.story-band--1 { background: #FFD84A; color: var(--kt-black); }
.story-band--1 .story-band__year { color: var(--kt-black); } /* 27 Nov: no shade */
.story-band--1 .story-band__text { color: rgba(0, 0, 0, 0.78); }

/* 27 Nov: TechPlex (2022) in its own colours: deep indigo, white, the orange-to-amber gradient; the year cut by a lightning slash */
.story-band--2 { background: radial-gradient(circle at 70% 40%, #1E1166 0, #12064A 60%); color: var(--kt-white); }
.story-band--2 .story-band__year { position: relative; display: inline-block; color: var(--kt-white); font-style: italic; transform-origin: left; }
.story-band--2 .story-band__year::after { content: ''; position: absolute; inset-inline: -4%; top: 46%; height: 0.07em; background: #12064A; transform: rotate(-24deg); }
.story-band--2 .story-band__title { font-style: italic; }
.story-band--2 .story-band__title::after { content: ''; display: block; width: 3.2em; height: 0.16em; margin-top: 0.3em; border-radius: 0.1em; background: linear-gradient(90deg, #EF3A14, #F5A415); }
.story-band--2 .story-band__text { color: rgba(255, 255, 255, 0.84); }
/* 2025: the shop today, on its own warm light ground */
.story-band--3 { background: var(--kt-cream); }

/* 27 Nov: the 2025 era a little bigger, TechPlex a little smaller */
.story-band--3 { padding-block: calc(var(--space-8) * 1.4); }
.story-band--3 .story-band__year { font-size: clamp(6.5rem, 3.5rem + 14vw, 12rem); }
.story-band--3 .story-band__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
.story-band--3 .story-band__art .story-art { max-width: 560px; }
.story-band--2 { padding-block: var(--space-7); }
.story-band--2 .story-band__year { font-size: clamp(4.5rem, 2.6rem + 9vw, 8rem); }
.story-band--2 .story-band__title { font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem); }
.story-band--2 .story-band__art .story-art { max-width: 340px; }
@media (min-width: 820px) { .story-band--3 .story-band__inner { grid-template-columns: 0.9fr 1.1fr; } }

/* 28 Nov (the owner) ---------------------------------------------------------------------------------------------------------- */
/* "Come and see us": white words on the orange (no black on orange), and room under it so it does not stick to the footer */
/* 28 Nov (2): no colour of its own any more: the orange Feedback block sits right above it, and two oranges in a row tire the eye */
/* the 2022 band of the story: white words on the orange */
.story-band--2 { color: var(--kt-white); }
.story-band--2 .story-band__year { color: var(--kt-cream); }
/* About: who we are, vision & mission, values & promise, side by side, all visible */
.about-blocks { display: grid; gap: var(--space-4); }
@media (min-width: 980px) { .about-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; } }
.about-block { padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); }
.about-block__title { margin: 0 0 var(--space-3); font-size: var(--step-1); }
.about-block .about-ch__pair { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.about-block .about-ch__card { padding: var(--space-4); }
.about-block--who { background: var(--kt-orange); color: var(--kt-white); }
.about-block--who .lead--statement { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.2; }
.about-block--vision { background: var(--kt-black); color: var(--kt-white); }
.about-block--vision .about-ch__card { background: #1C1C1C; color: rgba(255, 255, 255, 0.85); }
.about-block--vision .about-ch__sub, .about-block--values .about-ch__sub { color: var(--kt-orange); }
.about-block--values { background: var(--kt-cream); }
.about-block--values .about-ch__pair { grid-template-columns: minmax(0, 1fr); }
.about-block--values .pill { background: var(--kt-black); color: var(--kt-white); }

/* A service page (28 Nov): its cover beside its name, a normal page like the shop */
.service-head { display: flex; align-items: center; gap: var(--space-4); margin-block: var(--space-3) var(--space-4); }
.service-head__media { flex: none; width: clamp(5rem, 18vw, 8rem); aspect-ratio: 1; border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; }
.service-head__media img { width: 100%; height: 100%; object-fit: contain; }
.service-head .page-title { margin: 0; }
.service-head .page-lead { margin: 0.35rem 0 0; }
/* ---- Privacy (28 Nov 2026): short points, a small picture that breathes ---- */
.privacy-head { display: grid; grid-template-columns: minmax(7rem, 10rem) 1fr; gap: var(--space-4); align-items: center; margin-block: var(--space-4) var(--space-5); }
.privacy-art { width: 100%; height: auto; }
.privacy-art__ring { fill: none; stroke: var(--kt-orange); stroke-width: 2; opacity: 0.35; transform-origin: 110px 80px; animation: privacy-ring 3.2s ease-in-out infinite; }
.privacy-art__ring--2 { opacity: 0.18; animation-delay: 0.6s; }
.privacy-art__phone { fill: var(--kt-black); }
.privacy-art__screen { fill: var(--kt-paper); }
.privacy-art__lock { fill: var(--kt-orange); stroke: var(--kt-orange); stroke-width: 4; stroke-linecap: round; transform-origin: 110px 86px; animation: privacy-lock 3.2s ease-in-out infinite; }
.privacy-art__lock circle { fill: var(--kt-black); stroke: none; }
.privacy-art__dot { fill: var(--kt-blue); animation: privacy-dot 4s ease-in-out infinite; }
.privacy-art__dot--2 { fill: var(--kt-green); animation-delay: 1s; }
.privacy-art__dot--3 { fill: var(--kt-yellow); animation-delay: 2s; }
@keyframes privacy-ring { 0%, 100% { transform: scale(0.94); } 50% { transform: scale(1.04); } }
@keyframes privacy-lock { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes privacy-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.privacy-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.privacy-point { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-3); align-items: start; padding: var(--space-4); background: var(--color-surface); border-radius: var(--radius-md); animation: privacy-in 0.5s ease-out both; }
.privacy-point:nth-child(2) { animation-delay: 0.08s; } .privacy-point:nth-child(3) { animation-delay: 0.16s; } .privacy-point:nth-child(4) { animation-delay: 0.24s; }
.privacy-point:nth-child(5) { animation-delay: 0.32s; } .privacy-point:nth-child(6) { animation-delay: 0.4s; }
.privacy-point__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-orange); }
.privacy-point__icon svg { width: 1.4rem; height: 1.4rem; }
.privacy-point__title { margin: 0 0 0.2rem; font-size: var(--step-0); font-weight: 700; }
.privacy-point p { margin: 0; color: var(--color-text-muted); }
@keyframes privacy-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .privacy-art *, .privacy-point { animation: none; } }

/* /order/ (30 Nov 2026): "my order with pictures", from the link in the WhatsApp order message */
.order-view__ref { font-weight: 800; }
.order-view__list { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; gap: var(--space-3); }
.order-view__item { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--kt-paper); }
.order-view__pic { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 14px; background: var(--kt-white); overflow: hidden; }
.order-view__pic img { width: 100%; height: 100%; object-fit: contain; }
.order-view__body { display: grid; gap: 0.2rem; min-width: 0; }
.order-view__body p { margin: 0; }
.order-view__name { font-weight: 800; }
.order-view__name a { color: inherit; text-decoration: none; }
.order-view__opt, .order-view__line { font-size: var(--step--1); color: var(--color-text-muted); }
.order-view__price { font-weight: 800; }
.order-view__total { display: flex; justify-content: space-between; align-items: baseline; padding: var(--space-3) 0; border-top: 2px solid var(--kt-black); font-size: var(--step-1); }
.order-view__shop { margin-top: var(--space-5); }

/* How we price and Warranty (30 Nov 2026): the privacy page's look, numbered points, then the other "Why KT" pages */
.policy-points { counter-reset: none; }
.policy-cta { margin: var(--space-5) 0 0; }
.policy-more { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
/* How we price and Warranty have no drawing beside the title: one full-width column (1 Dec 2026: it read one word per line) */
.policy .privacy-head { grid-template-columns: 1fr; }

/* ---- v0.45: trust strip, Home story, About facts and photos, Original / Non-original tags ---- */

/* "Good to know before you order": product page and cart */
.trust-strip { display: grid; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--kt-paper); }
.trust-strip__title { font-size: var(--step-0); font-family: var(--font-display); }
.trust-strip__list { display: grid; gap: var(--space-2); }
.trust-strip__item { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.trust-strip__item .icon { flex: none; margin-top: 0.15rem; width: 1.3rem; height: 1.3rem; padding: 0.2rem; border-radius: 50%; background: var(--kt-orange); color: var(--kt-black); }
.trust-strip a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.product-layout__info .trust-strip { margin-top: var(--space-2); }
.cart-trust { margin-block: var(--space-6) var(--space-7); }
@media (min-width: 720px) { .cart-trust .trust-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-5); } }

/* Original / Non-original */
.tag--original { background: var(--kt-white); color: var(--kt-black); box-shadow: inset 0 0 0 1px var(--kt-blue); }
.tag--nonoriginal { background: var(--kt-white); color: var(--kt-graphite); box-shadow: inset 0 0 0 1px var(--color-control-border); }
.product-card__origin { margin-top: 0.25rem; }
.product-brand .tag { margin-inline-start: 0.4rem; text-transform: none; letter-spacing: 0; vertical-align: middle; }

/* Home: "Tripoli · started in 2007" as one tiny line with a very small button (the chapters are on the About page) */
.story-line { padding-block: var(--space-3) 0; }
.story-line__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
/* 28 Nov (the owner): one gap between every section of the home page, var(--section-y); the line itself stays close to Kabu */
.story-line__text { font-size: var(--step--1); font-weight: 700; color: var(--kt-graphite); }
.story-line__link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; } /* the whole 44 px is tappable; only the small pill is seen */
.story-line__pill { display: inline-block; padding: 0.15rem 0.7rem; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--kt-graphite); font-size: 0.8125rem; font-weight: 700; color: var(--kt-black); line-height: 1.4; }
.story-line__link:hover .story-line__pill { background: var(--kt-black); color: var(--kt-white); box-shadow: none; }

/* About: the facts, and real photos */
.proof-grid { display: grid; gap: var(--space-3); margin-top: var(--space-4); }

.photo-row { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); background: var(--kt-paper); }
.photo-card p { margin-top: var(--space-2); font-size: var(--step--1); color: var(--kt-graphite); }
@media (min-width: 720px) { .proof-grid, .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .photo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ==========================================================================
   FIND US: the full-screen map page (src/js/pages/findus.js + src/js/client/findus.js).
   The map fills the screen under the black header. Phones: map on top, a white sheet underneath. Wide screens: a white panel beside the map.
   KT colours only: black header, white and Paper panel, orange for the shop pin and the road route, black for the visitor's pin and the selected way of travelling.
   The street pictures are warmed and lightened (not grey), and faded further when zoomed out, so the brand's orange still stands out.
   Also here: the buttons that lead to this page (home visit band, contact card).
   ========================================================================== */

/* ---- The buttons that lead here ---- */
.find-us-btn { margin-block-start: var(--space-4); }
.no-js-only { display: none; }
.no-js .no-js-only { display: block; }

/* ---- The page: no scrolling, no footer; the map takes what the header leaves ---- */
body.page-findus { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
body.page-findus main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.findus { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column-reverse; }

/* ---- The sheet / panel ---- */
.findus__panel {
  position: relative; z-index: 2; flex: none; display: grid; gap: var(--space-3); align-content: start;
  max-height: 56%; overflow-y: auto; overscroll-behavior: contain;
  margin-block-start: calc(var(--radius-lg) * -1);
  padding: var(--space-5) var(--gutter) calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--kt-white); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.16);
}
.findus__close { position: absolute; inset-block-start: var(--space-3); inset-inline-end: var(--space-3); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kt-paper); color: var(--kt-black); }
.findus__close:hover { background: var(--paper-deep); }
.findus__eyebrow { display: flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); font-weight: 700; color: var(--color-text-muted); }
.findus__eyebrow .icon { width: 1.1rem; height: 1.1rem; color: var(--kt-orange); }
.findus__title { margin-block-start: calc(var(--space-2) * -1); padding-inline-end: 3.25rem; font-size: var(--step-2); }
html[lang='ar'] .findus__title { line-height: 1.35; letter-spacing: 0; }
.findus__lead { display: none; color: var(--color-text-muted); font-size: var(--step-1); max-width: 30rem; }

.findus__routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.route-card { display: grid; gap: 0.1rem; align-content: start; min-height: 44px; padding: var(--space-3) var(--space-4); border: 2px solid transparent; border-radius: var(--radius-md); background: var(--kt-paper); color: var(--kt-black); font: inherit; text-align: start; cursor: pointer; transition: border-color var(--dur-fast), background-color var(--dur-fast); }
.route-card:hover { background: var(--paper-deep); }
.route-card[aria-pressed='true'] { border-color: var(--kt-black); }
.route-card__label { display: flex; align-items: center; gap: 0.4rem; font-size: var(--step--1); font-weight: 700; color: var(--color-text-muted); }
.route-card__label .icon { width: 1.3rem; height: 1.3rem; color: var(--kt-black); }
.route-card__time { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.15; }
.route-card.is-empty .route-card__time { color: var(--color-text-muted); }
.route-card__meta { font-size: var(--step--1); color: var(--color-text-muted); }

.findus__status { min-height: 1.5em; font-size: var(--step--1); color: var(--color-text-muted); }
.findus__status[data-kind='warn'] { color: var(--color-danger); font-weight: 700; }
.findus__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.findus__actions .btn[data-locate] { flex: 1 1 auto; }
.findus__actions .btn[hidden] { display: none; }
.findus__links { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); }
.findus__link { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--kt-orange); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.findus__link .icon { width: 1.15rem; height: 1.15rem; flex: none; }
.findus__note { font-size: var(--step--1); color: var(--color-text-muted); }
.findus__how summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 44px; font-weight: 700; cursor: pointer; list-style: none; }
.findus__how summary::-webkit-details-marker { display: none; }
.findus__how summary .icon { width: 1.2rem; height: 1.2rem; transition: transform var(--dur-fast); }
.findus__how[open] summary .icon { transform: rotate(180deg); }
.findus__how ul { display: grid; gap: var(--space-2); padding-block-end: var(--space-2); font-size: var(--step--1); color: var(--color-text-muted); list-style: disc; padding-inline-start: 1.1rem; }

/* ---- The map ---- */
.findus__map { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--kt-paper); }
.findus__canvas { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; background: var(--kt-paper); outline-offset: -4px; }
.findus__canvas.is-dragging { cursor: grabbing; }
.tilemap__layer, .tilemap__tiles, .tilemap__route, .tilemap__markers { position: absolute; left: 0; top: 0; }
.tilemap__layer { width: 0; height: 0; will-change: transform; }
.tilemap__tiles { filter: sepia(0.15) saturate(0.85) contrast(0.92) brightness(1.06); } /* warm and light, not grey: the brand's orange still stands out */
.tilemap--far .tilemap__tiles { filter: sepia(0.12) saturate(0.62) contrast(0.8) brightness(1.1); } /* zoomed out: faded, so only the big picture is left */
.tilemap__tile { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; opacity: 0; transition: opacity var(--dur) var(--ease); user-select: none; -webkit-user-drag: none; pointer-events: none; }
.tilemap__tile.is-loaded { opacity: 1; }
.tilemap__tile.is-failed { display: none; }
/* 1px wide, not 0: an SVG with zero width draws nothing (the site-wide "svg { max-width: 100% }" would make it 0 inside the zero-width layer) */
.tilemap__route { width: 1px; height: 1px; max-width: none; overflow: visible; pointer-events: none; }
.tilemap__route-casing, .tilemap__route-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tilemap__route-casing { stroke: var(--kt-white); stroke-width: 10; }
.tilemap__route-line { stroke: var(--kt-orange); stroke-width: 5; }
.tilemap__route.is-dashed .tilemap__route-casing { stroke-width: 6; }
.tilemap__route.is-dashed .tilemap__route-line { stroke: var(--kt-black); stroke-width: 2.5; stroke-dasharray: 1 7; }
.tilemap__marker { position: absolute; left: 0; top: 0; width: 0; height: 0; }

/* Pins: the tip of the pin is the point on the map. */
.pin__shape { position: absolute; left: -18px; top: -35px; width: 36px; height: 36px; max-width: none; stroke-width: 2; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35)); }
.pin__label { position: absolute; left: 0; top: 7px; transform: translateX(-50%); padding: 0.15rem 0.65rem; border-radius: var(--radius-pill); background: var(--kt-black); color: var(--kt-white); font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.pin--shop::before { content: ''; position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; background: rgba(253, 84, 11, 0.16); border: 1.5px solid rgba(253, 84, 11, 0.4); pointer-events: none; } /* a soft orange halo: brand colour on the map without filling it */
.pin--shop .pin__shape path { fill: var(--kt-orange); stroke: var(--kt-black); }
.pin--shop .pin__shape circle { fill: var(--kt-black); }
.pin--you { cursor: grab; touch-action: none; outline: none; }
.pin--you.is-dragging { cursor: grabbing; }
.pin--you::before { content: ''; position: absolute; left: -28px; top: -52px; width: 56px; height: 58px; } /* a 56-pixel touch target around the pin */
.pin--you .pin__shape path { fill: var(--kt-black); stroke: var(--kt-white); }
.pin--you .pin__shape circle { fill: var(--kt-white); }
.pin--you .pin__label { background: var(--kt-white); color: var(--kt-black); box-shadow: 0 0 0 1.5px var(--kt-black); }
.pin--you:focus-visible .pin__shape { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .pin--you.is-new .pin__shape { animation: pin-drop 380ms var(--ease) both; }
  @keyframes pin-drop { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
}

.findus__controls { position: absolute; inset-inline-end: var(--space-3); inset-block-start: var(--space-3); display: grid; gap: var(--space-2); }
.map-btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: var(--kt-white); color: var(--kt-black); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18); cursor: pointer; transition: background-color var(--dur-fast), transform var(--dur-fast); }
.map-btn:hover:not(:disabled) { background: var(--kt-paper); }
.map-btn:active:not(:disabled) { transform: scale(0.95); }
.map-btn:disabled { opacity: 0.4; cursor: default; }
.map-btn .icon { width: 1.35rem; height: 1.35rem; }
/* the attribution OpenStreetMap asks for: small, but a full-size touch target */
.findus__attrib { position: absolute; inset-inline-start: 0; inset-block-end: var(--radius-lg); display: inline-flex; align-items: center; min-height: 44px; padding-inline: 0.75rem; border-start-end-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.85); color: var(--kt-black); font-size: 0.74rem; text-decoration: underline; }

/* ---- Wide screens, and phones on their side: the panel moves beside the map ---- */
@media (min-width: 900px), (orientation: landscape) and (min-width: 560px) and (max-height: 520px) {
  .findus { flex-direction: row; }
  .findus__panel { width: min(26rem, 44%); max-height: none; margin: 0; padding: var(--space-6) var(--space-5) var(--space-5); border-radius: 0; box-shadow: none; border-inline-end: 1px solid var(--color-border); }
  .findus__title { font-size: var(--step-3); }
  .findus__attrib { inset-block-end: 0; }
}
@media (min-width: 900px) { .findus__lead { display: block; } }
@media (max-width: 899.98px) and (max-height: 640px) { .findus__panel { gap: var(--space-2); padding-block-start: var(--space-4); } }

/* ==========================================================================
   THE WEBSITE ASSISTANT ("Ask KT"): the corner button and the chat window.
   Markup: src/js/ui/assistant-launcher.js (button) and src/js/assistant/panel.js (window).
   The button reuses the WhatsApp button's rules (.wa-fab: size, corner, greeting, press, toast step-aside) and only
   changes its colour. Black on orange is 6.45:1; orange text is used only on black.
   ========================================================================== */

/* ---- the corner button ---- */
.assistant-fab { background: var(--kt-orange); color: var(--kt-black); }
button.assistant-fab { border: 0; font-family: inherit; cursor: pointer; }
/* with scripts: the button. Without scripts: a plain link to the Contact page */
.js .assistant-fab--link { display: none; }
.no-js .assistant-fab:not(.assistant-fab--link) { display: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes assistant-fab-ping {
    from { box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.7), var(--wa-shadow); }
    to { box-shadow: 0 0 0 18px rgba(253, 84, 11, 0), var(--wa-shadow); }
  }
  .wa-fab.assistant-fab.is-greeting { animation: assistant-fab-ping 1500ms ease-out 3; }
}
body.assistant-is-open .assistant-fab { --wa-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }

/* ---- the chat window ---- */
.assistant {
  position: fixed; z-index: 80; display: flex; flex-direction: column;
  background: var(--kt-paper); color: var(--kt-black); border: 1px solid var(--color-border);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); overflow: hidden; overscroll-behavior: contain;
}
.assistant[hidden] { display: none; }
/* wide screens: a card above the corner button */
@media (min-width: 36rem) {
  .assistant {
    inset-inline-end: var(--gutter); inset-block-end: calc(max(var(--space-4), env(safe-area-inset-bottom, 0px)) + 48px + var(--space-3));
    width: min(25rem, calc(100vw - 2 * var(--gutter))); height: min(37rem, calc(100vh - 9rem)); height: min(37rem, calc(100dvh - 9rem));
    border-radius: var(--radius-lg);
  }
}
/* phones: the whole screen, so the keyboard and the answers have room */
@media (max-width: 35.99rem) {
  .assistant { inset: 0; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  html.assistant-open { overflow: hidden; }
}
@media (prefers-reduced-motion: no-preference) {
  .assistant:not([hidden]) { animation: assistant-in var(--dur) var(--ease); }
  @keyframes assistant-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
}

.assistant__head { display: flex; align-items: center; gap: var(--space-3); padding: 0.75rem; padding-inline: 1rem 0.5rem; background: var(--kt-black); color: var(--kt-white); }
.assistant__avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--kt-orange); color: var(--kt-black); }
.assistant__avatar .icon { width: 1.4rem; height: 1.4rem; }
.assistant__titles { flex: 1; min-width: 0; }
.assistant__titles h2 { margin: 0; font-family: var(--font-display); font-size: 1rem; line-height: 1.25; color: var(--kt-white); }
.assistant__tagline { margin: 0; font-size: 0.78rem; line-height: 1.35; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 21rem) { .assistant__tagline { display: none; } } /* 320 px phones: a shorter header leaves room for the chat (the same words are in the footer line) */
.assistant__reset { min-height: 44px; padding: 0 0.6rem; border: 0; background: none; color: rgba(255, 255, 255, 0.85); font: inherit; font-size: 0.8rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.assistant__reset:hover { color: var(--kt-orange); }
.assistant__icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--kt-white); cursor: pointer; }
.assistant__icon-btn:hover { background: rgba(255, 255, 255, 0.16); }
.assistant__head :focus-visible { outline: 3px solid var(--kt-yellow); outline-offset: 2px; }

.assistant__log { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-3); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.assistant__msg { max-width: 94%; padding: 0.65rem 0.85rem; border-radius: 16px; font-size: 0.95rem; line-height: 1.55; overflow-wrap: anywhere; }
.assistant__msg p { margin: 0; }
.assistant__msg p + p { margin-top: 0.5rem; }
.assistant__msg--you { align-self: flex-end; background: var(--kt-black); color: var(--kt-white); border-end-end-radius: 4px; }
.assistant__msg--bot { align-self: flex-start; width: 100%; max-width: 100%; background: var(--kt-white); border: 1px solid var(--color-border); border-end-start-radius: 4px; display: grid; gap: 0.6rem; }
.assistant__text ul { margin: 0.4rem 0 0; padding-inline-start: 1.25rem; list-style: disc; }
.assistant__text li { padding-inline-start: 0.15rem; }
.assistant__text li::marker { color: var(--kt-orange); }
.assistant__text li + li { margin-top: 0.25rem; }

.assistant__typing { display: flex; gap: 5px; width: auto; padding: 0.85rem 1rem; }
.assistant__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--kt-graphite); opacity: 0.45; }
@media (prefers-reduced-motion: no-preference) {
  .assistant__typing span { animation: assistant-dot 1s infinite ease-in-out; }
  .assistant__typing span:nth-child(2) { animation-delay: 0.15s; }
  .assistant__typing span:nth-child(3) { animation-delay: 0.3s; }
  @keyframes assistant-dot { 0%, 80%, 100% { transform: none; opacity: 0.35; } 40% { transform: translateY(-4px); opacity: 1; } }
}

/* product cards */
.assistant__cards-wrap { display: grid; gap: 0.5rem; }
.assistant__cards { display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.assistant__card { display: grid; gap: 0.25rem; padding: 0.7rem 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--kt-paper); }
.assistant__card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.assistant__card-title { font-family: var(--font-display); font-size: 0.92rem; line-height: 1.35; }
.assistant__price { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.assistant__price--ask { font-weight: 600; font-size: 0.8rem; color: var(--color-text-muted); white-space: normal; text-align: end; }
.assistant__card-meta { margin: 0; font-size: 0.78rem; color: var(--color-text-muted); }
.assistant__card-desc { margin: 0; font-size: 0.8rem; line-height: 1.45; color: var(--color-text-muted); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.assistant__card-actions, .assistant__links, .assistant__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.assistant__card-actions .btn { min-height: 40px; padding: 0.2rem 0.95rem; font-size: 0.8rem; }
.assistant__note { margin: 0; font-size: 0.75rem; color: var(--color-text-muted); }

/* suggestions: a label, the facts the price list states, other sizes */
.assistant__badge { justify-self: start; padding: 0.05rem 0.65rem; border-radius: var(--radius-pill); background: var(--kt-orange); color: var(--kt-black); font-size: 0.72rem; font-weight: 700; line-height: 1.7; }
.assistant__card-facts { margin: 0; font-size: 0.8rem; line-height: 1.5; }
.assistant__card-also { margin: 0; font-size: 0.75rem; line-height: 1.4; color: var(--color-text-muted); }
.assistant__text--small, .assistant__text--small p { font-size: 0.78rem; line-height: 1.45; color: var(--color-text-muted); }

/* comparison table: the first column stays in view while the products scroll sideways on a narrow screen */
.assistant__msg--bot > * { min-width: 0; }
.assistant__compare { display: grid; gap: 0.5rem; }
.assistant__table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--kt-white); -webkit-overflow-scrolling: touch; }
.assistant__table-wrap:focus-visible { outline: 3px solid var(--kt-black); outline-offset: 2px; }
.assistant__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.8rem; line-height: 1.4; }
.assistant__table th, .assistant__table td { min-width: 5rem; padding: 0.45rem 0.5rem; text-align: start; vertical-align: top; border-block-end: 1px solid var(--color-border); }
.assistant__table tr:last-child > * { border-block-end: 0; }
.assistant__table thead th { background: var(--kt-paper); font-family: var(--font-display); font-weight: 700; }
.assistant__table thead th a { display: block; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.assistant__table thead .assistant__price { display: block; margin-top: 0.15rem; font-family: var(--font-body); }
.assistant__table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; min-width: 4.75rem; max-width: 6.5rem; background: var(--kt-paper); font-weight: 600; }
.assistant__table thead .assistant__table-corner { position: sticky; inset-inline-start: 0; z-index: 2; min-width: 4.75rem; }
.assistant__table td.is-best { background: rgba(253, 84, 11, 0.14); font-weight: 800; }
.assistant__table td.is-missing { color: var(--color-text-muted); }

/* suggestion buttons */
.assistant__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.assistant__chip {
  min-height: 44px; padding: 0.35rem 0.95rem; border: 2px solid var(--kt-graphite); border-radius: var(--radius-pill);
  background: var(--kt-white); color: var(--kt-black); font: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.25; text-align: start; cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.assistant__chip:hover { background: var(--kt-black); color: var(--kt-white); border-color: var(--kt-black); }

/* the box to type in */
.assistant__form { display: flex; gap: 0.5rem; padding: 0.6rem 0.75rem; border-block-start: 1px solid var(--color-border); background: var(--kt-white); }
.assistant__input { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; border: 2px solid var(--kt-graphite); border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-black); font: inherit; font-size: 1rem; }
.assistant__input::placeholder { color: var(--color-text-muted); opacity: 1; }
.assistant__send { display: grid; place-items: center; flex: none; width: 48px; height: 48px; padding: 0; border: 2px solid var(--kt-orange); border-radius: 50%; background: var(--kt-orange); color: var(--kt-black); cursor: pointer; }
.assistant__send:hover { background: var(--kt-black); color: var(--kt-orange); }
[dir='rtl'] .assistant__send .icon { transform: scaleX(-1); }

/* "Talk to a person": always there */
.assistant__foot { display: grid; gap: 0.4rem; padding: 0.5rem 0.75rem 0.7rem; background: var(--kt-white); }
.assistant__human {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 48px; padding: 0.3rem 1rem; border: 2px solid var(--kt-black); border-radius: var(--radius-pill);
  background: var(--kt-white); color: var(--kt-black); font-family: var(--font-display); font-size: 0.92rem; text-decoration: none;
}
.assistant__human:hover { background: var(--kt-black); color: var(--kt-white); }
.assistant__human .icon { width: 1.3rem; height: 1.3rem; }
.assistant__human-text { display: grid; line-height: 1.2; text-align: center; }
.assistant__human-text small { font-family: var(--font-body); font-size: 0.72rem; font-weight: 400; opacity: 0.8; }
.assistant__notice { margin: 0; font-size: 0.7rem; line-height: 1.4; text-align: center; color: var(--color-text-muted); }

@media (forced-colors: active) {
  .assistant, .assistant__msg--bot, .assistant__card, .assistant__chip, .assistant__input, .assistant__table-wrap { border: 1px solid CanvasText; }
  .assistant__badge { border: 1px solid CanvasText; }
  .assistant__table td.is-best { outline: 2px solid CanvasText; outline-offset: -2px; }
  .assistant-fab { border: 2px solid ButtonText; }
}
@media print { .assistant, .assistant-launcher { display: none; } }

/* ---- Kabu (28 Nov, the owner): the assistant is Kabu now, in Kabu's colours: the navy-purple of the Smart Guide and the turning
        ring with the star. Simpler: fewer starters, one short notice line. ---- */
.assistant-fab { background: #0E0B2A; color: var(--kt-white); gap: 0.5rem; padding-inline-start: 0.35rem; }
.assistant-fab__ring { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: conic-gradient(from 0deg, #7B5CFF, #2F6BFF, #B9A6FF, #7B5CFF); }
.assistant-fab__ring > span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #0E0B2A; }
.icon--sparkle { fill: currentColor; stroke: none; }
.assistant-fab__ring .icon { width: 0.95rem; height: 0.95rem; color: var(--kt-white); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes kabu-fab-ping { from { box-shadow: 0 0 0 0 rgba(123, 92, 255, 0.7), var(--wa-shadow); } to { box-shadow: 0 0 0 18px rgba(123, 92, 255, 0), var(--wa-shadow); } }
  .wa-fab.assistant-fab.is-greeting { animation: kabu-fab-ping 1500ms ease-out 3; }
  .assistant-fab__ring, .assistant__avatar { animation: kabu-ring 6s linear infinite; }
  .assistant-fab__ring > span, .assistant__avatar > span { animation: kabu-ring 6s linear infinite reverse; }
  @keyframes kabu-ring { to { transform: rotate(360deg); } }
}
.assistant__head { background: radial-gradient(120% 140% at 90% 0%, #4B2FB8 0%, rgba(75, 47, 184, 0) 60%), #0E0B2A; }
.assistant__avatar { background: conic-gradient(from 0deg, #7B5CFF, #2F6BFF, #B9A6FF, #7B5CFF); color: var(--kt-white); }
.assistant__avatar > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0E0B2A; }
.assistant__avatar .icon { width: 1rem; height: 1rem; }
.assistant__msg--you { background: #2A1F6B; }
.assistant__text li::marker { color: #7B5CFF; }
.assistant__send { background: #7B5CFF; border-color: #7B5CFF; color: var(--kt-white); }
.assistant__send:hover { background: #0E0B2A; color: #B9A6FF; }
.assistant__chip { border-color: #B9A6FF; }
.assistant__chip:hover { background: #0E0B2A; border-color: #0E0B2A; }
.assistant__reset:hover { color: #B9A6FF; }
.assistant__notice { font-size: 0.72rem; }

/* ==========================================================================
   HOME (direction A): dark first screen with the welcome, then the offers (B style: full-width pictures, words on a
   dark fade, swiped), then light below with the search box and Kabu (navy-purple: the only place that colour is used).
   Orange = things you tap. Contrast (WCAG 2.2): "Shop now" is white on orange at 19 px bold = "large text", 3.3:1
   (AA large needs 3:1); all body text is 4.5:1 or more. Tap targets 44 px or more. Motion off for "reduce motion".
   ========================================================================== */

/* ---- the first screen (26 Nov): a welcome band of about half the screen on top, with the offers right under it on the same screen (the owner: a full-screen
        welcome with little writing makes visitors leave; the welcome is a small part above, on every device) ----
   Type: "Welcome to" and the name in Montserrat (the brand's heading font), the promise in Inter (its reading font), ending on the
   medium orange dot. Behind it: black, a warm orange light that follows the finger or the mouse (--gx / --gy, set by
   src/js/client/home.js, wandering slowly by itself until then), and a soft orange circle (no blue since 26 Nov: the welcome is all warm orange on black). */
@property --gx { syntax: '<percentage>'; inherits: true; initial-value: 78%; }
@property --gy { syntax: '<percentage>'; inherits: true; initial-value: 18%; }
.home-hero { --gx: 78%; --gy: 18%; position: relative; overflow: hidden; isolation: isolate; display: grid; align-content: center;
  min-height: clamp(18rem, calc(52svh - var(--header-h)), 34rem); padding-block: var(--space-5) var(--space-4);
  transition: --gx 900ms cubic-bezier(0.2, 0.7, 0.2, 1), --gy 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.home-hero__light { position: absolute; inset: 0; z-index: -2; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent);
  background: radial-gradient(38rem 30rem at var(--gx) var(--gy), rgba(253, 84, 11, 0.55), rgba(223, 103, 61, 0.18) 38%, rgba(0, 0, 0, 0) 68%),
    radial-gradient(70% 60% at 30% 100%, rgba(253, 84, 11, 0.22), rgba(0, 0, 0, 0) 70%); }
.home-hero__shape { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.home-hero__shape--a { width: 30rem; height: 30rem; inset-block-start: -18rem; inset-inline-end: -14rem; background: radial-gradient(circle at 30% 70%, rgba(253, 84, 11, 0.32), rgba(253, 84, 11, 0) 62%); }
.home-hero__inner { justify-self: stretch; min-width: 0; }
.home-hero__copy { max-width: 46rem; min-width: 0; }
.home-hero__title { display: grid; gap: 0.15rem; margin: 0; }
.home-hero__welcome { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.8); }
html[lang='ar'] .home-hero__welcome { font-size: var(--step-1); }
/* the name: the brand's bold weight, on ONE line like the logo's name */
.home-hero__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.03em; white-space: nowrap; }
html[lang='ar'] .home-hero__name { line-height: 1.2; letter-spacing: 0; }
/* letters (made by src/js/client/home.js for Latin names only; Arabic letters join, so they are never split) lift in a small wave */
.home-hero__name .ch { display: inline-block; }
/* the promise: medium, between "Welcome to" and the name, a little apart from the name; each word with a capital first letter (same size) */
.home-hero__tagline { margin-top: var(--space-4); font-family: var(--font-body); font-weight: 600; font-size: clamp(1.2rem, 1.02rem + 0.8vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.94); }
html:not([lang='ar']) .home-hero__tagline { text-transform: capitalize; }
html[lang='ar'] .home-hero__tagline { letter-spacing: 0; }
/* the brand dot: a medium, round orange full stop sitting on the line like a real one */
.brand-dot { display: inline-block; width: 0.48em; height: 0.48em; margin-inline-start: 0.1em; border-radius: 50%; background: #FF5A12; box-shadow: 0 0 0.35em rgba(255, 90, 18, 0.55); vertical-align: baseline; } /* as tall as the small letters (x-height), on the line: level with the word */
/* the top of Home (27 Nov, the owner): the dot a little bigger and a little further from "easier" */
.home-hero__tagline .brand-dot { width: 0.58em; height: 0.58em; margin-inline-start: 0.24em; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
/* ---- the two buttons (26 Nov): no pills. Shop now = a solid orange tile with an arrow that moves forward; Help me choose = Kabu's
        AI look: dark glass, a colour edge that turns slowly (purple, blue, orange) and Kabu's star. Different on purpose. ---- */
@property --cta-turn { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; flex: 1 1 9.5rem; min-height: 52px; padding: 0 1.15rem;
  border-radius: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease); }
.hero-cta:active { transform: scale(0.97); }
.hero-cta--shop { position: relative; overflow: hidden; background: var(--kt-orange); color: var(--kt-white); box-shadow: 0 10px 26px rgba(253, 84, 11, 0.38); }
.hero-cta--shop:hover { color: var(--kt-white); background: #FF6A26; }
.hero-cta__arrow { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 8px; background: rgba(0, 0, 0, 0.18); }
.hero-cta__arrow .icon { width: 1rem; height: 1rem; }
.hero-cta--kabu { border: 1.5px solid transparent; color: var(--kt-white);
  background: linear-gradient(rgba(16, 11, 44, 0.92), rgba(16, 11, 44, 0.92)) padding-box, conic-gradient(from var(--cta-turn), #7B5CFF, #3D7BFF, #FD540B, #B9A6FF, #7B5CFF) border-box;
  box-shadow: 0 0 22px rgba(123, 92, 255, 0.28); }
.hero-cta--kabu:hover { color: var(--kt-white); box-shadow: 0 0 30px rgba(123, 92, 255, 0.45); }
.hero-cta__star { display: grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; }
.hero-cta__star svg { width: 100%; height: 100%; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes cta-turn { to { --cta-turn: 360deg; } }
  .hero-cta--kabu { animation: cta-turn 6s linear infinite; }
  .hero-cta--shop:hover .hero-cta__arrow { transform: translateX(3px); }
  [dir='rtl'] .hero-cta--shop:hover .hero-cta__arrow { transform: translateX(-3px); }
  .hero-cta__arrow { transition: transform 200ms var(--ease); }
}
.kabu-star { fill: #B9A6FF; }
/* a tap answers: a soft orange ring opens where the finger touched (src/js/client/home.js adds it; --rx / --ry place it) */
.home-hero__ripple { position: absolute; z-index: -1; inset-inline-start: var(--rx); inset-block-start: var(--ry); width: 1rem; height: 1rem; margin: -0.5rem 0 0 -0.5rem;
  border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(253, 132, 70, 0.7); pointer-events: none; }
[dir='rtl'] .home-hero__ripple { margin: -0.5rem -0.5rem 0 0; }
/* phones: a little shorter, so the offer below shows more */
@media (max-width: 719px) {
  .home-hero { min-height: 0; padding-block: var(--space-5) var(--space-5); }
}
/* bigger screens: the whole welcome grows with the screen (26 Nov) */
@media (min-width: 1000px) {
  .home-hero__welcome { font-size: var(--step-2); }
  .home-hero__name { font-size: clamp(4.25rem, 1rem + 4.6vw, 6.25rem); }
  .home-hero__tagline { font-size: clamp(1.6rem, 0.9rem + 1.1vw, 2.1rem); margin-top: var(--space-5); }
  .home-hero__actions { margin-top: var(--space-5); }
  .hero-cta { flex: 0 0 auto; min-height: 58px; padding-inline: 1.6rem; font-size: 1.1rem; }
}

/* ---- the offers, right under the welcome on the first screen: a dark band that carries the welcome on (the same black, the warm light fading out at its top) ---- */
.home-offers { position: relative; isolation: isolate; padding-block: var(--space-2) var(--space-6);
  background: linear-gradient(180deg, #000 0%, #000 40%, #0d0b0a 100%); } /* starts on the same black as the welcome's bottom edge: no seam */
.home-offers__title { margin-block-end: var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
html[lang='ar'] .home-offers__title { letter-spacing: 0; text-transform: none; font-size: var(--step-0); }
/* computers: the welcome and the offers share one column, so their left edges line up, and the whole offer (its price and Buy now)
   fits on the first screen under the welcome */
@media (min-width: 1000px) {
  .home-hero__inner, .home-offers__inner, .home-gift__inner { max-width: 64rem; }
  .home-offers .hslide__frame { height: clamp(22rem, calc(100vh - 24rem), 32rem); }
}

/* ---- the offers, B style: one full-width picture at a time, swiped (never moving by themselves) ---- */
.hslides { min-width: 0; }
.hslides__track { display: flex; margin: 0 calc(var(--gutter) * -1); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; padding: 0; position: relative; }
.hslides__track::-webkit-scrollbar { display: none; }
.hslides__track:focus-visible { outline: 3px solid var(--kt-orange); outline-offset: -3px; }
.hslide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.hslide__frame { position: relative; isolation: isolate; height: clamp(22rem, 118vw, 34rem); overflow: hidden; background: var(--kt-paper); }
@media (min-width: 1000px) {
  .hslides__track { margin: 0; border-radius: var(--radius-lg); }
  .hslide__frame { height: min(34rem, calc(100vh - 13rem)); min-height: 24rem; }
}
.hslide__media, .hslide__img { position: absolute; inset: 0; }
.hslide__media img, .hslide__img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hslide__art { position: absolute; inset: 0; background: var(--kt-cream); }
.hslide__over { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: var(--space-2); padding: 5rem var(--gutter) var(--space-4); background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.82) 38%, #000 100%); color: var(--kt-white); }
.hslide__label { margin: 0; width: fit-content; }
.hslide__title { font-size: var(--step-3); line-height: 1.08; letter-spacing: -0.02em; }
html[lang='ar'] .hslide__title { line-height: 1.3; letter-spacing: 0; }
.hslide__text { font-size: var(--step--1); color: rgba(255, 255, 255, 0.85); }
.hslide__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.hslide__price { font-family: var(--font-display); font-size: var(--step-2); }
.hslide__go { flex: none; }

.pack__soon { font-size: var(--step--1); color: rgba(255, 255, 255, 0.85); }

/* dots (and arrows on computers) */
.hslides__nav { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-2); }
.hslides__dots { display: flex; }
.hslides__dot { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hslides__dot i { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: rgba(255, 255, 255, 0.45); transition: width var(--dur) var(--ease), background-color var(--dur); }
.hslides__dot[aria-current='true'] i { width: 1.5rem; background: var(--kt-orange); }
.hslides__btn { display: none; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: var(--kt-white); cursor: pointer; }
@media (min-width: 1000px) { .hslides__btn:not([hidden]) { display: grid; } }
.hslides__btn:hover:not(:disabled) { background: var(--kt-orange); color: var(--kt-black); }
.hslides__btn:disabled { opacity: 0.35; cursor: default; }
.hslides__btn .icon { width: 1.1rem; height: 1.1rem; }
.hslides__btn--prev .icon { transform: scaleX(-1); }
[dir='rtl'] .hslides__btn--prev .icon { transform: none; }
[dir='rtl'] .hslides__btn--next .icon { transform: scaleX(-1); }

@media (prefers-reduced-motion: no-preference) {
  .hslides { animation: kt-rise 700ms var(--ease) 200ms backwards; }
}

/* ---- Kabu: a navy-purple card on the light page, the big categories as picture tiles ---- */
.kabu { scroll-margin-top: 4.5rem; }
.kabu__card { position: relative; border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4) var(--space-4); color: var(--kt-white);
  background: radial-gradient(120% 80% at 85% 0%, #4B2FB8 0%, rgba(75, 47, 184, 0) 60%), radial-gradient(90% 70% at 0% 100%, #1F3C9E 0%, rgba(31, 60, 158, 0) 65%), #0E0B2A;
  box-shadow: 0 18px 40px rgba(30, 20, 90, 0.28); }
@media (min-width: 720px) { .kabu__card { padding: var(--space-6); } }
.kabu__who { display: flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: var(--step--1); }
.kabu__avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: conic-gradient(from 0deg, #7B5CFF, #2F6BFF, #B9A6FF, #7B5CFF); }
.kabu__avatar > span { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #0E0B2A; }
.kabu__avatar .guide-star { width: 1rem; height: 1rem; fill: var(--kt-white); }
.kabu__dots { display: inline-flex; gap: 0.25rem; }
.kabu__dots i { width: 0.38rem; height: 0.38rem; border-radius: 50%; background: #B9A6FF; }
@media (prefers-reduced-motion: no-preference) {
  .kabu__avatar { animation: kabu-spin 6s linear infinite; }
  .kabu__avatar > span { animation: kabu-spin 6s linear infinite reverse; }
  .kabu__dots i { animation: kabu-dot 1.4s ease-in-out infinite; }
  .kabu__dots i:nth-child(2) { animation-delay: 0.18s; }
  .kabu__dots i:nth-child(3) { animation-delay: 0.36s; }
}
@keyframes kabu-spin { to { transform: rotate(360deg); } }
@keyframes kabu-dot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.kabu__title { margin-top: var(--space-3); font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em; }
html[lang='ar'] .kabu__title { line-height: 1.35; letter-spacing: 0; }

@media (min-width: 720px) { .kabu .kabu__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kabu .guide-card { background: var(--kt-white); color: var(--kt-black); box-shadow: none; }
.kabu .guide-card:hover { background: var(--kt-white); box-shadow: 0 0 0 2px var(--kt-orange), 0 12px 28px rgba(0, 0, 0, 0.3); }
.kabu .guide-card__media { background: var(--kt-paper); }
.kabu .guide-card__count { color: #4A4A4A; }
.kabu .guide-card__go { background: var(--kt-paper); }
.kabu__all { display: flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 48px; margin-top: var(--space-4); border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.12); color: var(--kt-white); font-weight: 700; text-decoration: none; }
.kabu__all:hover { background: rgba(255, 255, 255, 0.2); color: var(--kt-white); }

/* ---- "Serving our people since 2007": in the phone menu, and on the logo (hover, focus, or a tap on the home page) ---- */
.brand { position: relative; }
.brand__since { position: absolute; inset-block-start: calc(100% + 0.35rem); inset-inline-start: 0; z-index: 30; white-space: nowrap; padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-black); font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); opacity: 0; transform: translateY(-0.25rem); pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.brand:hover .brand__since, .brand:focus-visible .brand__since, .brand.is-showing-since .brand__since { opacity: 1; transform: none; }
.site-nav__since { display: none; }
@media (max-width: 959.98px) { .site-nav__since { display: block; margin: 0 0 var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid rgba(255, 255, 255, 0.15); font-family: var(--font-display); font-weight: 700; color: rgba(255, 255, 255, 0.85); } }
/* Kabu's dots on the home card: only while it "thinks" (pointing at the card, or after a tap), never sitting there */
.kabu__card .kabu__dots { opacity: 0; transition: opacity 240ms ease; }
.kabu__card:hover .kabu__dots, .kabu__card:focus-within .kabu__dots, .kabu__who.is-thinking .kabu__dots { opacity: 1; }

/* ---- How ordering works: one story line (27 Nov) ------------------------------------------------------------------------------- */
.order-story { --steps: 5; } /* five steps: Choose, Add to Cart, WhatsApp, Confirmed, Pickup / Delivery */
.order-story__track { position: relative; display: grid; grid-template-columns: repeat(var(--steps), minmax(0, 1fr)); margin-top: var(--space-5); }
.order-story__line { position: absolute; inset-inline: calc(50% / var(--steps)); top: 28px; height: 4px; border-radius: 4px; background: #E7E3DA; overflow: hidden; }
.order-story__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--at, 0) * 100%); background: linear-gradient(90deg, var(--kt-orange), #FF8A4C); border-radius: inherit; transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1); }
[dir='rtl'] .order-story__fill { background: linear-gradient(270deg, var(--kt-orange), #FF8A4C); }
.order-story__step { position: relative; display: grid; justify-items: center; gap: 0.35rem; padding: 0 0.15rem; border: 0; background: none; font: inherit; color: var(--kt-graphite); cursor: pointer; text-align: center; }
.order-story__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--kt-white); border: 2px solid #E7E3DA; color: var(--kt-graphite); transition: transform 300ms ease, background 300ms ease, border-color 300ms ease, color 300ms ease, box-shadow 300ms ease; }
.order-story__dot svg { width: 26px; height: 26px; }
.order-story__num { position: absolute; top: -4px; inset-inline-end: calc(50% - 34px); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--kt-black); color: var(--kt-white); font-size: 0.7rem; font-weight: 800; }
.order-story__name { font-family: var(--font-display); font-weight: 800; font-size: var(--step--1); line-height: 1.2; }
.order-story__step.is-done .order-story__dot { border-color: var(--kt-orange); color: var(--kt-orange); }
.order-story__step.is-on .order-story__dot { background: var(--kt-orange); border-color: var(--kt-orange); color: var(--kt-white); transform: scale(1.12); box-shadow: 0 10px 24px rgba(253, 84, 11, 0.35); }
.order-story__step.is-on .order-story__name { color: var(--kt-black); }
.order-story__step:focus-visible { outline: none; }
.order-story__step:focus-visible .order-story__dot { box-shadow: 0 0 0 3px var(--kt-white), 0 0 0 6px var(--kt-blue); }
.order-story__panels { position: relative; margin-top: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); background: var(--kt-paper); min-height: 4.5rem; }
.order-story__panel { margin: 0; font-size: var(--step-0); }
.order-story__panel + .order-story__panel { margin-top: var(--space-2); }
.order-story.is-live .order-story__panel { display: none; margin: 0; }
.order-story.is-live .order-story__panel.is-on { display: block; animation: story-in 420ms cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes story-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) { .order-story__dot { width: 48px; height: 48px; } .order-story__line { top: 24px; } .order-story__dot svg { width: 22px; height: 22px; } .order-story__name { font-size: 0.72rem; } .order-story__num { inset-inline-end: calc(50% - 30px); } }
@media (prefers-reduced-motion: reduce) { .order-story__fill, .order-story__dot { transition: none; } .order-story.is-live .order-story__panel.is-on { animation: none; } }

/* ---- Express your interest / Feedback --------------------------------------------------------------------------------------- */

.btn.is-soon { opacity: 0.6; cursor: default; }

/* 28 Nov (the owner) ---------------------------------------------------------------------------------------------------------- */
/* Arabic: the slogan a little bigger; kashida.js stretches it to the width of "Kabbout Tech!" above it */
html[lang='ar'] .home-hero__tagline { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.1rem); font-weight: 700; }
@media (min-width: 900px) { html[lang='ar'] .home-hero__tagline { font-size: clamp(1.8rem, 1rem + 1.3vw, 2.4rem); } }
[data-stretch-to] { white-space: nowrap; }
@media (max-width: 380px) { [data-stretch-to] { white-space: normal; } }

/* Other Services on the home page: the cover fills the whole top of each tile (28 Nov, 2), on KT-coloured grounds */
.grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid--services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.category-tile--service { overflow: hidden; }
.category-tile--service .category-tile__link { padding: 0; }
.category-tile--service .category-tile__media { aspect-ratio: 1; border-radius: 0; }
.category-tile--service .category-tile__media img { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.category-tile--service .category-tile__body { padding: var(--space-3); }
.category-tile--service .category-tile__count { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tap-to-read tabs: one row of titles; the text of the one hovered or tapped shows under them */
.bubbles__row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.bubbles__btn { min-height: 44px; padding: 0.5rem 1.1rem; border: 1.5px solid var(--kt-black); border-radius: var(--radius-pill); background: var(--kt-white); color: var(--kt-black); font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background 200ms ease, color 200ms ease; }
.bubbles__btn:hover, .bubbles__btn.is-on { background: var(--kt-black); color: var(--kt-white); }
.bubbles__btn:focus-visible { outline: 3px solid var(--kt-blue); outline-offset: 2px; }
.bubbles__tips { display: grid; margin-top: var(--space-3); min-height: 1.6em; }
.bubbles__tip { grid-area: 1 / 1; max-width: 34rem; margin: 0; color: var(--kt-graphite); opacity: 0; transform: translateY(6px); transition: opacity 250ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1); pointer-events: none; }
.bubbles__tip.is-on { opacity: 1; transform: none; }
.no-js .bubbles__tips { gap: var(--space-2); }
.no-js .bubbles__tip { grid-area: auto; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .bubbles__tip, .bubbles__btn { transition: none; } }
/* "What to expect from us": small tabs under a clear title */
.promise-tabs { padding-block: var(--section-y) 0; } /* 28 Nov: the same gap as every other section */
.promise-tabs .bubbles { padding-block-end: 0; }
.bubbles--small .bubbles__btn { min-height: 36px; padding: 0.3rem 0.85rem; border-width: 1px; font-size: var(--step--1); font-weight: 700; }
@media (pointer: coarse) { .bubbles--small .bubbles__btn { min-height: 44px; } }
/* inside the dark "Express your interest" block: light tabs, light text */
.join-block .bubbles { width: 100%; }
.join-block .bubbles__btn { border-color: rgba(255, 255, 255, 0.7); background: transparent; color: var(--kt-white); font-size: var(--step-1); }
.join-block .bubbles__btn:hover, .join-block .bubbles__btn.is-on { background: var(--kt-white); color: var(--kt-black); }
.join-block .bubbles__tip { color: rgba(255, 255, 255, 0.85); }

/* Express your interest | Feedback: two blocks side by side, like the telecom tiles */

.join-block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg); color: var(--kt-white); }
.join-block--interest { background: radial-gradient(120% 140% at 15% 20%, #2B2B2B 0%, #111 60%, #000 100%); }
.join-block--feedback { background: radial-gradient(120% 140% at 15% 20%, #FF7A3D 0%, var(--kt-orange) 55%, #C93F05 100%); }
.join-block__title { margin: 0; font-size: var(--step-2); line-height: 1.1; }

.join-block .btn { margin-top: auto; }

/* 28 Nov, second round: a small picture in each "What you can expect" tab */
.bubbles__btn { display: inline-flex; align-items: center; gap: 0.45rem; }
.bubbles__ic { display: inline-grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--kt-orange); color: var(--kt-white); flex: none; transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1); }
.bubbles__ic svg { width: 0.95rem; height: 0.95rem; }
.bubbles__btn:hover .bubbles__ic, .bubbles__btn.is-on .bubbles__ic { transform: rotate(-8deg) scale(1.08); }
@media (prefers-reduced-motion: reduce) { .bubbles__ic { transition: none; } }

/* Express your interest: one dark block, two small tiles (Career, Collaboration), each its own link */
.join .join-block--interest { gap: var(--space-4); }
.join-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); width: 100%; margin: 0; padding: 0; list-style: none; }
.join-tile { position: relative; display: grid; gap: 0.35rem; align-content: start; height: 100%; padding: var(--space-4); padding-inline-end: 2.6rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: var(--kt-white); text-decoration: none; transition: background 200ms ease, transform 200ms ease; }
.join-tile:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }
.join-tile:focus-visible { outline: 3px solid var(--kt-orange); outline-offset: 2px; }
.join-tile__ic { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--kt-orange); }
.join-tile__ic svg { width: 1.2rem; height: 1.2rem; }
.join-tile__name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 800; }
.join-tile__text { font-size: var(--step--1); color: rgba(255, 255, 255, 0.78); }
.join-tile__go { position: absolute; inset-block-start: var(--space-4); inset-inline-end: var(--space-3); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--kt-white); color: var(--kt-black); }
.join-tile__go svg { width: 1rem; height: 1rem; }
@media (max-width: 30rem) { .join-tile { padding: var(--space-3); padding-inline-end: 2.4rem; } }
/* Feedback: one short line under it */
.join-feedback { margin: var(--space-4) 0 0; font-size: var(--step-0); color: var(--kt-graphite); }
.join-feedback a { font-weight: 800; color: var(--kt-orange); }
.join-feedback--visit { margin: var(--space-2) 0 0; }
.join { padding-block-end: var(--space-7); } /* the last block before the footer: some air under it */
.join-visit { display: inline-flex; align-items: center; gap: .25em; }
.join-visit .icon { width: 1em; height: 1em; }

/* ---- The packs on the first screen (28 Nov, the owner): a brief hook. The name, then the three levels as pictures of the items,
        no words; the level name small under each, Plus a little bigger and lifted, "Recommended" smaller than the word Plus.
        A pack that is not ready: a question mark and "Soon". The words are on the pack's own page. ---- */
.home-offers .hslide__frame.mpack { height: auto; min-height: 0; display: grid; align-content: center; gap: var(--space-4); padding: var(--space-5) var(--space-3) var(--space-4);
  background: radial-gradient(80% 70% at 50% 35%, #1B3F9E 0%, rgba(27, 63, 158, 0) 70%), linear-gradient(180deg, #0D1B45 0%, #070B1C 100%); /* one colour, blue (29 Nov: no orange) */
  border-radius: var(--radius-lg); }
.mpack__title { margin: 0; text-align: center; font-size: var(--step-2); line-height: 1.1; letter-spacing: -0.01em; }
.mpack__title a { color: var(--kt-white); text-decoration: none; }
.mpack__tiers { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .mpack__tiers { gap: var(--space-3); max-width: 56rem; margin-inline: auto; width: 100%; } }
.mpack__link { position: relative; display: grid; gap: 0.45rem; justify-items: center; color: var(--kt-white); text-decoration: none; }
.mpack__pic { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #151515; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); transition: transform var(--dur) var(--ease); }
.mpack__pic img { width: 100%; height: 100%; object-fit: cover; }
.mpack__tier--plus .mpack__pic { box-shadow: 0 0 0 2px #2F6BFF, 0 14px 30px rgba(13, 59, 158, 0.55); }
.mpack__link:hover .mpack__pic, .mpack__link:focus-visible .mpack__pic { transform: translateY(-3px); }
.mpack__link:focus-visible { outline: 3px solid var(--kt-orange); outline-offset: 4px; border-radius: 14px; }
.mpack__foot { display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.4rem; }
.mpack__foot .tier { box-shadow: none; min-height: 1.45rem; padding-inline: 0.45rem 0.55rem; font-size: 0.72rem; gap: 0.25rem; }
.mpack__tier--plus .mpack__foot .tier { font-size: 0.82rem; }
.mpack__price { margin: 0; font-family: var(--font-display); font-size: 0.85rem; font-weight: 800; color: rgba(255, 255, 255, 0.9); }
.mpack__price .price__now { color: inherit; font-size: inherit; }
.mpack__tier .mpack__rec { position: absolute; z-index: 1; min-height: 0; box-shadow: none; inset-block-start: -0.6rem; inset-inline: 0; margin-inline: auto; width: fit-content; padding: 0.05rem 0.45rem; border-radius: 999px;
  background: var(--kt-yellow); color: var(--kt-black); font-size: 0.6rem; font-weight: 800; line-height: 1.5; white-space: nowrap; }
@media (min-width: 720px) { .mpack__foot { flex-direction: row; } .mpack__foot .tier { font-size: 0.8rem; } .mpack__tier--plus .mpack__foot .tier { font-size: 0.92rem; } .mpack__tier .mpack__rec { font-size: 0.68rem; } .mpack__price { font-size: 0.95rem; } }
.mpack--soon { justify-items: center; min-height: 14rem; }
.home-offers .hslide__frame.mpack--soon { min-height: 14rem; }
.mpack__q { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.35); font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: rgba(255, 255, 255, 0.85); }
.mpack__soon { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--kt-orange); }
@media (prefers-reduced-motion: no-preference) {
  .mpack__q { animation: mpack-q 3s ease-in-out infinite; }
  @keyframes mpack-q { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
}

/* the sneak peek of a pack that is coming (29 Nov, the owner): our drawings of what it may hold, blurred and floating around the "?" */
.mpack--soon { position: relative; overflow: hidden; isolation: isolate; }
.mpack__peek { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mpack__peek img { position: absolute; width: clamp(4.5rem, 16vw, 8rem); height: auto; filter: blur(3px) saturate(0.7) brightness(0.8); opacity: 0.55; }
.mpack__peek-1 { inset-inline-start: 6%; top: 12%; transform: rotate(-12deg); }
.mpack__peek-2 { inset-inline-start: 20%; bottom: 6%; transform: rotate(8deg); }
.mpack__peek-3 { inset-inline-end: 6%; top: 10%; transform: rotate(10deg); }
.mpack__peek-4 { inset-inline-end: 20%; bottom: 8%; transform: rotate(-8deg); }
@media (max-width: 719.98px) { .mpack__peek-2 { inset-inline-start: 4%; } .mpack__peek-4 { inset-inline-end: 4%; } }
@media (prefers-reduced-motion: no-preference) {
  .mpack__peek img { animation: mpack-float 6s ease-in-out infinite; }
  .mpack__peek-2, .mpack__peek-4 { animation-delay: -3s !important; }
  @keyframes mpack-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
}
/* every pack slide fills the same height, so a short "Soon" slide leaves no empty band under it */
.home-offers .hslide--mini > .hslide__frame.mpack { height: 100%; }

/* the traveller of a coming pack crosses the "?", the slide's sun (29 Nov, the owner) */
.mpack--soon .mpack__q { position: relative; z-index: 1; background: radial-gradient(circle, rgba(190, 215, 255, 0.22), rgba(190, 215, 255, 0.04) 70%); box-shadow: 0 0 46px 6px rgba(120, 170, 255, 0.35); }
.mpack--soon .mpack__soon { position: relative; z-index: 1; }
.mpack__fly { position: absolute; z-index: 2; left: 50%; top: 42%; translate: -50% -50%; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45)); }
.mpack__fly img { display: block; width: 100%; height: auto; }
.mpack__fly--plane { width: clamp(5.5rem, 22vw, 10rem); left: 30%; top: 30%; rotate: -10deg; }
.mpack__fly--plane.is-flying { left: 0; top: 0; translate: none; rotate: none; transform-origin: 50% 50%; will-change: transform; }
.mpack__fly--desk { width: clamp(12rem, 50vw, 24rem); top: 42%; z-index: 1; }
.mpack__trail { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.mpack__trail path { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(160, 200, 255, 0.6)); }
.mpack--soon:has(.mpack__fly--desk) .mpack__q { color: transparent; border-color: rgba(255, 255, 255, 0.18); } /* the desk's screen shows the "?"; the glow stays as the sun behind it */
.mpack--soon:has(.mpack__fly--desk) .mpack__soon { margin-top: calc(clamp(12rem, 50vw, 24rem) * 0.3); }
.mpack--soon:has(.mpack__fly--desk) .mpack__peek { z-index: 2; } /* the items land on the desk, not behind it */
.mpack__peek img.is-landing { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .mpack__fly--desk { animation: mpack-desk-bob 5s ease-in-out infinite; }
  @keyframes mpack-desk-bob { 0%, 100% { translate: -50% -50%; } 50% { translate: -50% calc(-50% - 5px); } }
}

/* ---- the welcome, 30 Nov 2026 (the owner): "Welcome to our Online Shop" (the name is already in the header), solid white (no fade),
        then two lines: "Since 2007 and from Tripoli," / "Making Your Day Easier" on the brand dot. No pictures behind the words. ---- */
.home-hero__name { white-space: normal; text-wrap: balance; font-size: clamp(2.3rem, 1.1rem + 4.4vw, 4.6rem); line-height: 1.04; }
html[lang='ar'] .home-hero__name { line-height: 1.25; }
html:not([lang='ar']) .home-hero__tagline { text-transform: none; }
.home-hero__since, .home-hero__easier { display: block; }
.home-hero__since { font-weight: 500; color: rgba(255, 255, 255, 0.82); }
@media (min-width: 1000px) { .home-hero__name { font-size: clamp(3.8rem, 1rem + 4.2vw, 5.8rem); } }

/* ---- the two buttons, 30 Nov (the owner: they must win the eye). Shop now: a soft light sweeps across it every few seconds and its
        glow breathes. Help me choose keeps Kabu's own look (its star in the turning colour edge, as before). Still for "reduce motion". ---- */
.hero-cta--shop::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 45%; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)); pointer-events: none; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes cta-shine { 0%, 62% { left: -60%; opacity: 0; } 66% { opacity: 1; } 86% { left: 130%; opacity: 1; } 100% { left: 130%; opacity: 0; } }
  @keyframes cta-breathe { 0%, 100% { box-shadow: 0 10px 26px rgba(253, 84, 11, 0.38); } 50% { box-shadow: 0 12px 38px rgba(253, 84, 11, 0.62); } }
  .hero-cta--shop { animation: cta-breathe 3.2s ease-in-out infinite; }
  .hero-cta--shop::after { animation: cta-shine 4.5s ease-in-out 1.2s infinite; }
  [dir='rtl'] .hero-cta--shop::after { animation-direction: reverse; }
}

/* ---- The news line (30 Nov 2026, the owner: "like breaking news"; no label, and not orange: too loud): a thin cream line with black
        words and orange dots between them, standing out from the black welcome, the lines moving slowly sideways (still for "reduce motion") ---- */
.kt-ticker { position: relative; z-index: 2; display: flex; align-items: stretch; height: 2rem; overflow: hidden; background: #F6EFE4; color: var(--kt-black); border-block-end: 1px solid rgba(0, 0, 0, 0.08); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; }
.kt-ticker__label { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.4rem; flex: none; padding-inline: 0.75rem 0.9rem; background: var(--kt-black); color: var(--kt-white); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem; clip-path: polygon(0 0, 100% 0, calc(100% - 0.45rem) 100%, 0 100%); }
[dir='rtl'] .kt-ticker__label { clip-path: polygon(0 0, 100% 0, 100% 100%, 0.45rem 100%); }
html[lang='ar'] .kt-ticker__label { text-transform: none; letter-spacing: 0; font-size: 0.78rem; }
.kt-ticker__label::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--kt-orange); box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.7); }
.kt-ticker__window { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 2rem, #000 calc(100% - 2rem), transparent); }
.kt-ticker__belt { display: flex; width: max-content; }
.kt-ticker__run { display: flex; flex: none; }
.kt-ticker__item { display: inline-flex; align-items: center; white-space: nowrap; padding-inline: 1.1rem; }
.kt-ticker__item::after { content: ''; display: inline-block; width: 0.4rem; height: 0.4rem; margin-inline-start: 2.2rem; border-radius: 50%; background: var(--kt-orange); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ticker-run { to { transform: translateX(-50%); } }
  @keyframes ticker-run-rtl { to { transform: translateX(50%); } }
  @keyframes ticker-blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.7); } 70% { box-shadow: 0 0 0 0.45rem rgba(253, 84, 11, 0); } }
  .kt-ticker__belt { animation: ticker-run 34s linear infinite; }
  [dir='rtl'] .kt-ticker__belt { animation-name: ticker-run-rtl; }
  .kt-ticker:hover .kt-ticker__belt, .kt-ticker:focus-within .kt-ticker__belt { animation-play-state: paused; }
  .kt-ticker__label::before { animation: ticker-blink 1.6s ease-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .kt-ticker__window { position: relative; overflow-x: auto; } }

/* ---- The first-order gift, the second part of Home (30 Nov 2026, the owner): warm cream and an orange sun at the side, right after the
        black welcome; the pack offers follow on the same cream (.home-offers--light). ---- */
.home-gift { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-5) var(--space-5); background: radial-gradient(120% 90% at 85% 10%, #FFF8EF 0%, #F5EEE2 55%, #EEE5D5 100%); color: var(--kt-black); }
.home-gift__sun { position: absolute; z-index: -1; width: clamp(13rem, 40vw, 26rem); aspect-ratio: 1; inset-inline-end: clamp(-9rem, -14vw, -4rem); inset-block-start: 50%; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #FF8A4C 0%, var(--kt-orange) 55%, #E04400 100%); box-shadow: 0 30px 80px rgba(253, 84, 11, 0.35); }
.home-gift__ring { position: absolute; z-index: -1; width: clamp(18rem, 56vw, 36rem); aspect-ratio: 1; inset-inline-end: clamp(-14rem, -22vw, -7rem); inset-block-start: 50%; border-radius: 50%; transform: translateY(-50%); border: 2px dashed rgba(253, 84, 11, 0.28); }
.home-gift__inner { display: grid; gap: var(--space-4); align-items: center; }
.home-gift__copy { max-width: 32rem; }
.home-gift__eyebrow { display: inline-flex; margin: 0 0 var(--space-2); padding: 0.28rem 0.7rem; border-radius: 999px; background: var(--kt-black); color: var(--kt-white); font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; }
.home-gift__title { display: grid; margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.03em; }
html[lang='ar'] .home-gift__title { line-height: 1.25; letter-spacing: 0; }
.home-gift__title .brand-dot { width: 0.22em; height: 0.22em; margin-inline-start: 0.08em; }
.home-gift__lead { margin: var(--space-2) 0 0; max-width: 28rem; font-weight: 500; color: #3A3632; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes gift-in { from { opacity: 0; transform: translateY(18px) scale(0.94); } }
  @keyframes sun-breathe { 0%, 100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-50%) scale(1.04); } }
  @keyframes ring-turn { to { transform: translateY(-50%) rotate(360deg); } }
  .home-gift__sun { animation: sun-breathe 7s ease-in-out infinite; }
  .home-gift__ring { animation: ring-turn 60s linear infinite; }
}

/* phones: the sun sits in the top corner, behind the title's short end, so the reading lines stay on cream */
@media (max-width: 899px) {
  .home-gift__sun { width: 11rem; inset-block-start: -3.5rem; inset-inline-end: -4.5rem; transform: none; }
  .home-gift__ring { width: 17rem; inset-block-start: -6.5rem; inset-inline-end: -7.5rem; transform: none; }
  .home-gift__inner { gap: var(--space-3); }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  @keyframes sun-breathe-m { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
  @keyframes ring-turn-m { to { transform: rotate(360deg); } }
  .home-gift__sun { animation-name: sun-breathe-m; }
  .home-gift__ring { animation-name: ring-turn-m; }
}

/* ---- Why choose us (30 Nov 2026): four short tiles under Kabu, two by two on phones (short, so the rest stays close), four in a row
        on computers. They rise in one after another when they come into view, "19+" counts up, the icons glow softly. ---- */
.why-us { padding-block: var(--space-3) var(--space-4); }
.why-us__title { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); }
.why-us__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .why-us__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); } }
.why-us__link { position: relative; display: flex; align-items: center; gap: 0.55rem; min-height: 64px; height: 100%; padding: 0.6rem 0.7rem; border-radius: 16px; background: var(--kt-paper); color: var(--kt-black); text-decoration: none; overflow: hidden; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.why-us__link:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1); color: var(--kt-black); }
.why-us__link:active { transform: scale(0.97); }
.why-us__ic { position: relative; display: grid; place-items: center; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 12px; background: var(--kt-orange); color: var(--kt-white); }
.why-us__ic .icon { width: 1.15rem; height: 1.15rem; }
.why-us__text { flex: 1 1 auto; min-width: 0; font-family: var(--font-display); font-weight: 800; font-size: 0.86rem; line-height: 1.15; }
.why-us__big { color: var(--kt-orange); font-size: 1.15rem; }
.why-us__go { flex: none; display: grid; opacity: 0.45; }
.why-us__go .icon { width: 0.9rem; height: 0.9rem; }
@media (min-width: 900px) { .why-us__text { font-size: 1rem; } .why-us__link { min-height: 76px; padding: 0.8rem 1rem; } }
@media (prefers-reduced-motion: no-preference) {
  .why-us.js-wait .why-us__tile { opacity: 0; transform: translateY(14px); }
  .why-us.is-in .why-us__tile { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms cubic-bezier(.2,.8,.2,1); }
  .why-us.is-in .why-us__tile[data-i='1'] { transition-delay: 90ms; } .why-us.is-in .why-us__tile[data-i='2'] { transition-delay: 180ms; } .why-us.is-in .why-us__tile[data-i='3'] { transition-delay: 270ms; }
  @keyframes why-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 84, 11, 0.45); } 60% { box-shadow: 0 0 0 0.45rem rgba(253, 84, 11, 0); } }
  .why-us.is-in .why-us__ic { animation: why-glow 2.8s ease-out 1s infinite; }
  .why-us.is-in .why-us__tile[data-i='1'] .why-us__ic { animation-delay: 1.7s; } .why-us.is-in .why-us__tile[data-i='2'] .why-us__ic { animation-delay: 2.4s; } .why-us.is-in .why-us__tile[data-i='3'] .why-us__ic { animation-delay: 3.1s; }
}

/* ---- 30 Nov 2026, later (the owner): the gift band much smaller, a third of a screen: the launch label, the title, one line (the gift
        is picked in the cart). The three pack offers follow right under it on the same cream, about half a screen. ---- */
.home-gift { padding-block: var(--space-4) var(--space-2); }
.home-gift__inner { display: block; }
.home-gift__copy { max-width: none; }
.home-gift__eyebrow { background: var(--kt-orange); color: var(--kt-black); }
.home-gift__title { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 3rem); }
.home-gift__lead { max-width: 30rem; font-size: var(--step--1); }
@media (max-width: 899px) { .home-gift__lead { max-width: calc(100% - 3.5rem); } }
@media (prefers-reduced-motion: no-preference) {
  .home-gift__inner > * { animation: gift-in 620ms cubic-bezier(.2,.8,.2,1) backwards; }
  .home-gift__inner > :nth-child(2) { animation-delay: 90ms; } .home-gift__inner > :nth-child(3) { animation-delay: 180ms; }
}
.home-offers--light { padding-block: var(--space-2) var(--space-5); background: linear-gradient(180deg, #F1E8DA 0%, #F7F2EA 100%); }
.home-offers--light .home-offers__title { color: var(--kt-graphite); }
.home-offers--light .hslides__dot i { background: rgba(0, 0, 0, 0.25); }
.home-offers--light .hslides__dot[aria-current] i { background: var(--kt-orange); }
.home-offers--light .hslides__btn { background: var(--kt-white); color: var(--kt-black); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }

/* ---- What we sell, at a glance (30 Nov 2026, later): a close, colourful mix of our own pictures, no bubbles, at the end of the welcome
        line (it never sits beside the title, so "Online Shop!" / «بمتجرنا الإلكتروني!» keeps one full line). They come in one by one and
        then sway a little, each at its own pace. Then a thin dashed line before "Since 2007". ---- */
.home-hero__copy { position: relative; }
.home-hero__mix { position: relative; width: 8.6rem; height: 4.6rem; margin: 0 0 -2.2rem auto; pointer-events: none; }
.home-hero__mix-item { position: absolute; height: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); }
.home-hero__mix-item--phone { left: 36%; top: 0; height: 100%; width: auto; rotate: -8deg; z-index: 2; }
.home-hero__mix-item--powerbank { left: 57%; top: 10%; height: 72%; width: auto; rotate: 16deg; z-index: 1; }
.home-hero__mix-item--earbuds { left: 70%; top: 42%; height: 56%; width: auto; z-index: 3; }
.home-hero__mix-item--charger { left: 13%; top: 40%; height: 58%; width: auto; rotate: -12deg; z-index: 3; }
.home-hero__mix-item--alfa { left: 0; top: 4%; height: 34%; width: auto; rotate: -10deg; border-radius: 4px; z-index: 1; }
.home-hero__mix-item--touch { left: 18%; top: 0; height: 30%; width: auto; rotate: 8deg; z-index: 1; }
.home-hero__rule { width: min(100%, 22rem); margin: var(--space-3) 0 0; border: 0; border-top: 1.5px dashed rgba(255, 255, 255, 0.22); }
.home-hero__rule + .home-hero__tagline { margin-top: var(--space-3); }
html[lang='ar'] .home-hero__name, .home-hero__name { white-space: nowrap; text-wrap: nowrap; }
@media (max-width: 399px) { html[lang='ar'] .home-hero__name { font-size: clamp(1.85rem, 0.6rem + 6.4vw, 2.3rem); } .home-hero__name { font-size: clamp(2rem, 0.7rem + 7vw, 2.4rem); } }
@media (min-width: 1000px) {
  .home-hero__copy { max-width: none; }
  .home-hero__mix { position: absolute; inset-block-start: 50%; inset-inline-end: 0; width: 22rem; height: 12rem; margin: 0; transform: translateY(-55%); }
}
[dir='rtl'] .home-hero__mix { margin: 0 auto -2.2rem 0; }
@media (min-width: 1000px) { [dir='rtl'] .home-hero__mix { margin: 0; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes mix-in { from { opacity: 0; transform: translateY(14px) scale(0.6); } }
  @keyframes mix-sway { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
  .home-hero__mix-item { animation: mix-in 560ms cubic-bezier(.2,.8,.2,1) backwards, mix-sway 4.6s ease-in-out infinite; }
  .home-hero__mix-item[data-i='0'] { animation-delay: 250ms, 1.0s; } .home-hero__mix-item[data-i='1'] { animation-delay: 330ms, 1.6s; animation-duration: 560ms, 5.2s; }
  .home-hero__mix-item[data-i='2'] { animation-delay: 410ms, 2.1s; animation-duration: 560ms, 6s; } .home-hero__mix-item[data-i='3'] { animation-delay: 490ms, 1.3s; animation-duration: 560ms, 4.2s; }
  .home-hero__mix-item[data-i='4'] { animation-delay: 570ms, 2.6s; } .home-hero__mix-item[data-i='5'] { animation-delay: 650ms, 1.9s; animation-duration: 560ms, 5.6s; }
}
/* a returning visitor (not the first visit): no welcome offer band; the offers start right under the welcome */
.kt-returning .home-gift { display: none; }
.kt-returning .home-offers--light { padding-block-start: var(--space-4); }

/* ---- 1 Dec 2026 (the owner) ----
   The gift band and the offers share one cream background (no colour step between them on tablets), and the sun sits on that shared
   background, so it is never cut at the band's edge. */
.home-cream { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 70% at 85% 0%, #FFF8EF 0%, #F5EEE2 45%, #F0E8DB 100%); }
.home-cream .home-gift, .home-cream .home-offers--light { background: none; overflow: visible; isolation: auto; }
.home-cream .home-gift__sun { inset-block-start: -4rem; transform: none; }
.home-cream .home-gift__ring { inset-block-start: -8rem; transform: none; }
@media (min-width: 900px) {
  .home-cream .home-gift__sun { width: 22rem; inset-block-start: -6rem; inset-inline-end: -7rem; }
  .home-cream .home-gift__ring { width: 32rem; inset-block-start: -11rem; inset-inline-end: -12rem; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes sun-breathe-c { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
  @keyframes ring-turn-c { to { transform: rotate(360deg); } }
  .home-cream .home-gift__sun { animation-name: sun-breathe-c; }
  .home-cream .home-gift__ring { animation-name: ring-turn-c; }
}
.kt-returning .home-cream .home-gift__sun { width: 9rem; inset-block-start: -5rem; }
/* the gift itself, a little alive */
.home-gift__emoji { display: inline-block; margin-inline-start: 0.25em; font-size: 0.85em; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes gift-wiggle { 0%, 70%, 100% { transform: rotate(0) translateY(0); } 76% { transform: rotate(-14deg) translateY(-4px); } 82% { transform: rotate(12deg) translateY(-4px); } 88% { transform: rotate(-6deg); } }
  .home-gift__emoji { animation: gift-in 600ms cubic-bezier(.2,.8,.2,1) 400ms backwards, gift-wiggle 3.6s ease-in-out 1.2s infinite; transform-origin: 50% 90%; }
}
/* less space between the offers and Kabu */
.home-cream .home-offers--light, .home-offers--light { padding-block-end: var(--space-4); }
.home-offers + .quick-find, .home-cream + .quick-find { margin-top: var(--space-3); }
.quick-find + .kabu, .home-cream + .kabu, .home-offers + .kabu { padding-block-start: var(--space-4); }
/* Why Choose Us? its own space, our logo with a little crown beside the title */
.why-us { padding-block: var(--space-6) var(--space-4); }
.why-us__head { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--space-3); }
.why-us__head .why-us__title { margin: 0; }
.why-us__badge { position: relative; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; }
.why-us__logo { width: 1.55rem; height: auto; }
.why-us__crown { position: absolute; inset-block-start: -0.55rem; inset-inline-end: -0.3rem; width: 1.15rem; height: auto; fill: #F5B400; rotate: 18deg; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes crown-in { from { opacity: 0; transform: translateY(-10px) scale(0.4); } }
  @keyframes crown-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-6deg); } }
  .why-us__crown { animation: crown-in 600ms cubic-bezier(.2,.8,.2,1) 300ms backwards, crown-bob 3.2s ease-in-out 1s infinite; }
}
/* Home's Shop: the first four departments at the services' size; View all opens the whole shop */
.grid--home-shop .category-tile__name { font-size: var(--step-0); }

/* ==========================================================================
   MOTION: everything that moves lives in this one file, so it is easy to find and to switch off.
   The rules: only opacity and up/down movement (never sideways, so nothing can widen a page);
   nothing is ever hidden without JavaScript; and visitors whose device asks for reduced motion get none of it
   (base.css turns animations and transitions off, and src/js/client/reveal.js does not start).
   ========================================================================== */

/* ---- Scroll reveal (src/js/client/reveal.js): blocks that start below the first screen wait invisible, then rise into view ---- */
.js .reveal-pending { opacity: 0; }
@media (prefers-reduced-motion: reduce), print { .js .reveal-pending { opacity: 1; } }

/* ---- First screen: the text of the home offer and of the page banners settles in, one line after another.
        (The offer picture is never delayed, so the page does not feel slower.) ---- */
@keyframes kt-rise { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }
/* "backwards" = invisible during the short wait, and nothing is held on afterwards (so hover effects still work) */
.home-hero__copy > *, .hero__copy > * { animation: kt-rise 650ms var(--ease) backwards; }
.home-hero__copy > :nth-child(2), .hero__copy > :nth-child(2) { animation-delay: 70ms; }
.home-hero__copy > :nth-child(3), .hero__copy > :nth-child(3) { animation-delay: 140ms; }
.home-hero__copy > :nth-child(4), .hero__copy > :nth-child(4) { animation-delay: 210ms; }
.home-hero__copy > :nth-child(5), .hero__copy > :nth-child(5) { animation-delay: 280ms; }

/* ---- Touch and hover feedback: things answer when you point at them or press them ---- */
.btn { transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease); }
.site-nav__link, .cart-link, .menu-toggle, .lang-switch, .currency-switch--pill, .pill-link, .chip > span, .qty__btn, .toast__close {
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.product-card__media img, .category-tile__media img { transition: transform 600ms var(--ease); }
@media (hover: hover) {
  .btn:not(:disabled):not([aria-disabled='true']):hover { transform: translateY(-2px); }
  .product-card__link:hover .product-card__media img { transform: scale(1.06); }
  .category-tile__link:hover .category-tile__media img { transform: scale(1.07); }
}
/* after the hover rule on purpose: pressing a lifted button pushes it down */
.btn:not(:disabled):not([aria-disabled='true']):active { transform: scale(0.97); }

/* ---- WhatsApp button (src/js/ui/whatsapp-fab.js): rises when pointed at, presses in when tapped, steps aside for a message,
        and on the first page of a visit pulses three times (on phones the word WhatsApp also opens out of the round icon
        meanwhile). src/js/client/fab.js adds .is-greeting for those few seconds. ---- */
.wa-fab { transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast), inset-block-end var(--dur) var(--ease), opacity var(--dur-fast); }
.wa-fab__label { transition: max-width var(--dur) var(--ease), margin-inline-start var(--dur) var(--ease), padding-inline-end var(--dur) var(--ease), opacity var(--dur); }
@media (hover: hover) { .wa-fab:hover { --wa-shadow: 0 10px 24px rgba(0, 0, 0, 0.34); transform: translateY(-3px); } }
.wa-fab:active { transform: scale(0.95); }
@keyframes wa-fab-ping {
  from { box-shadow: 0 0 0 0 rgba(0, 191, 99, 0.7), var(--wa-shadow); }
  to { box-shadow: 0 0 0 18px rgba(0, 191, 99, 0), var(--wa-shadow); }
}
.wa-fab.is-greeting { animation: wa-fab-ping 1500ms ease-out 3; }

/* ---- Moving between pages: a short cross-fade instead of a hard cut (browsers that cannot do this simply load the page).
        The WhatsApp button has a name of its own, so it stays still while the page fades around it. ---- */
/* (26 Nov: the cross-fade between pages is gone. A white page fading into the dark Kabu stage, or the old page showing for a
   moment when going Back, looked like a flash. Pages now swap at once, and each page's own arrival plays instead.) */

/* ---- Colours change smoothly everywhere: a picked colour, a chip, a button glides to its new colour instead of jumping, and
        pictures cross-fade (fadeTo in src/js/client/dom.js). The suggestions for a phone colour fade in. ---- */
@media (prefers-reduced-motion: no-preference) {
  a, button, .chip, .swatch, .try-dot, .phone-colour {
    transition-property: background-color, border-color, color, box-shadow, outline-color, opacity;
    transition-duration: 300ms;
    transition-timing-function: ease;
  }

  @keyframes kt-colour-in { from { opacity: 0; } to { opacity: 1; } }
}

/* ---- The home welcome (25 Nov, made bigger and alive 26 Nov): calm, human movement.
        The name settles in as its letters draw together; the promise follows; the brand dot lands last with a small bounce, like a
        full stop being set at the end of a promise. The warm light wanders slowly until a finger or a mouse moves, then it follows
        (src/js/client/home.js); a tap opens a soft orange ring; pointing at the name (or tapping it) sends a little wave through its
        letters. The offers sit right under it on the same screen. Only opacity, up-and-down movement and size; everything here stops for "reduce motion". ---- */
@media (prefers-reduced-motion: no-preference) {
  /* the WhatsApp mark: the cloud floats gently; a tap grows the mark, then WhatsApp opens (src/js/client/fab.js) */
  @keyframes wa-think { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
  .wa-unsure__think { animation: wa-think 3.2s ease-in-out infinite; }
  .wa-unsure__logo { transition: transform 260ms cubic-bezier(.2, .9, .3, 1.4), box-shadow 260ms; }
  .wa-unsure.is-going .wa-unsure__logo { transform: scale(1.4); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.28), 0 10px 26px rgba(0, 0, 0, 0.35); }
  .wa-unsure.is-going .wa-unsure__think { opacity: 0; transition: opacity 160ms; }

  @keyframes kt-name-settle { from { opacity: 0; letter-spacing: 0.04em; } to { opacity: 1; letter-spacing: -0.03em; } }
  html:not([lang='ar']) .home-hero__name { animation: kt-name-settle 1200ms var(--ease) 80ms backwards; }
  @keyframes kt-dot-land {
    0% { opacity: 0; transform: translateY(-0.9em) scale(0.4); }
    60% { opacity: 1; transform: translateY(0.06em) scale(1.18); }
    100% { opacity: 1; transform: none; }
  }
  .home-hero__tagline .brand-dot { animation: kt-dot-land 620ms cubic-bezier(0.3, 1.4, 0.5, 1) 950ms backwards; }
  @keyframes kt-wander { 0% { --gx: 78%; --gy: 18%; } 35% { --gx: 34%; --gy: 30%; } 70% { --gx: 62%; --gy: 62%; } 100% { --gx: 88%; --gy: 44%; } }
  .home-hero:not(.is-live):not(.is-away) { animation: kt-wander 16s ease-in-out infinite alternate; }
  @keyframes kt-drift-a { to { transform: translateY(1.5rem) scale(1.12); } }
  .home-hero:not(.is-away) .home-hero__shape--a { animation: kt-drift-a 18s ease-in-out infinite alternate; }
  @keyframes kt-wave { 0%, 100% { transform: none; } 40% { transform: translateY(-0.12em); } }
  .home-hero__name.is-wave .ch { animation: kt-wave 640ms var(--ease) calc(var(--i, 0) * 32ms) both; }
  @keyframes kt-ripple { from { opacity: 1; transform: scale(0.4); } to { opacity: 0; transform: scale(16); } }
  .home-hero__ripple { animation: kt-ripple 950ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  /* Kabu's picture cards answer the finger: the card lifts a little and its picture leans in */
  .guide-card { transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
  .guide-card img { transition: transform 600ms var(--ease); }
  @media (hover: hover) {
    .guide-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18, 10, 60, 0.28); }
    .guide-card:hover img { transform: scale(1.06); }
  }
  .guide-card:active { transform: scale(0.98); }
}
