/* Tokens, type, buttons and the persistent chrome. Page sections live in home.css. */
:root {
  --paper: #fff;
  --mist: oklch(0.962 0.008 245);
  --mist-2: oklch(0.925 0.012 245);
  --ink: oklch(0.21 0.012 255);
  --ink-2: oklch(0.46 0.012 255);
  --line: oklch(0.895 0.007 250);
  --field: oklch(0.62 0.012 255);
  --accent: oklch(0.5 0.165 258);
  --accent-press: oklch(0.43 0.15 258);
  --wa: #25D366;
  --wa-press: #1fbd5a;
  --star: oklch(0.8 0.16 82);
  --bad: oklch(0.5 0.17 28);

  --f-display: "Secular One", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --f-text: "IBM Plex Sans Hebrew", system-ui, "Segoe UI", Arial, sans-serif;

  --house: cubic-bezier(0.19, 1, 0.22, 1);   /* content arriving */
  --ui: cubic-bezier(0.23, 1, 0.32, 1);      /* interface responding */

  --t-xl: clamp(36px, 5.2vw, 78px);
  --t-l: clamp(30px, 4.2vw, 62px);
  --t-m: clamp(25px, 2.9vw, 42px);
  --t-s: clamp(21px, 2.1vw, 30px);
  --t-xs: clamp(18px, 1.6vw, 22px);

  --top-h: 68px;
  --gut: clamp(16px, 4.4vw, 72px);
  --r-l: clamp(22px, 2.8vw, 40px);
  --r-m: 20px;

  --z-stage: 1;
  --z-sticky: 20;
  --z-float: 30;
  --z-toast: 40;
}
@media (min-width: 1100px) { :root { --top-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); scroll-padding-block-end: 96px; }
@media (max-width: 899px) { html:has(body.has-bar) { scroll-padding-block-end: 152px; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--f-text); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: var(--f-display); font-weight: 400; text-wrap: balance;
}
h1 { font-size: var(--t-xl); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: var(--t-l); line-height: 1.08; letter-spacing: -0.012em; }
h3 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-s); line-height: 1.16; letter-spacing: -0.005em; }
p { text-wrap: pretty; }

.ltr { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: var(--z-toast); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { inset-block-start: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: 0; }
::selection { background: oklch(0.86 0.06 258); }

.brandline { font-size: 16px; font-weight: 500; color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font: 500 16px/1 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ui), border-color 160ms var(--ui), transform 160ms var(--ui);
}
@media (max-width: 420px) { .btn { padding: 0 18px; } }
@media (max-width: 340px) { .btn { padding: 0 16px; } }
.btn--p { background: var(--accent); color: #fff; }
/* Buy now: an outline, so it stays apart from add to cart even when the accent is the ink itself (graphite, 4.11.2026). */
.btn--ink { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--g { box-shadow: inset 0 0 0 1px oklch(0.21 0.012 255 / 0.28); color: var(--ink); background: var(--paper); }
.btn:active { transform: scale(0.97); }
/* Owner, 3.11.2026: every WhatsApp button is green. Dark words, because white on this green is about 2:1. */
.btn[href*="wa.me"] { background: var(--wa); color: var(--ink); box-shadow: none; }
@media (hover: hover) {
  .btn--p:hover { background: var(--accent-press); }
  .btn--g:hover { box-shadow: inset 0 0 0 1px var(--ink); }
  .btn[href*="wa.me"]:hover { background: var(--wa-press); box-shadow: none; }
}

.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 100% 100% / 100% 1px no-repeat; padding-block-end: 2px;
}
.link::after { content: "←"; transition: translate 200ms var(--ui); }
@media (hover: hover) { a:hover > .link::after, .link:hover::after { translate: -4px 0; } }

/* Notice line */
.notice { position: relative; height: 36px; background: var(--mist); font-size: 14px; font-weight: 500; overflow: hidden; }
.notice__line {
  position: absolute; inset: 0; padding-inline: 12px; line-height: 36px; text-align: center;
  opacity: 0; translate: 0 8px; visibility: hidden; transition: opacity 420ms var(--ui), translate 420ms var(--ui), visibility 420ms;
  white-space: nowrap;
}
.notice__line.is-on { opacity: 1; translate: 0 0; visibility: visible; }
.notice__line a { text-decoration: underline; text-underline-offset: 3px; }

/* Header: one quiet line. The hero owns the top of the page. */
.top {
  position: sticky; inset-block-start: 0; z-index: var(--z-sticky); height: var(--top-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--gut); background: var(--paper);
  transition: box-shadow 200ms var(--ui);
}
.top.is-stuck { box-shadow: 0 1px 0 var(--line); }
.top__logo { justify-self: center; display: block; }
.top__logo img { height: 46px; width: auto; }
.top__tools { justify-self: end; display: flex; gap: 4px; }
.top__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.top__cart { position: relative; }
.top__count { position: absolute; inset-block-start: 1px; inset-inline-end: 0; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 14px/20px var(--f-text); text-align: center; }
.top__btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .top__btn:hover { background: var(--mist); } }
.top__nav { display: none; }
@media (min-width: 1100px) {
  .top { grid-template-columns: auto 1fr auto; }
  .top__burger { display: none; }
  .top__logo { justify-self: start; }
  .top__nav { display: block; justify-self: center; }
  .top__nav > ul { display: flex; gap: clamp(14px, 1.7vw, 28px); font-size: 15px; font-weight: 500; }
  .top__nav a { text-decoration: none; display: block; padding-block: 8px; white-space: nowrap; }
  .top__nav > ul > li { position: relative; }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 7px; border-bottom: 1.5px solid; border-right: 1.5px solid; rotate: 45deg; translate: 0 -2px; }
  .sub {
    position: absolute; inset-block-start: 100%; inset-inline-start: -16px; min-width: 200px; padding: 10px 16px;
    background: var(--paper); border-radius: 16px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px oklch(0.21 0.012 255 / 0.1);
    opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity 160ms var(--ui), translate 160ms var(--ui), visibility 160ms;
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; translate: 0 0; }
}
/* The menu is at its widest here, and the logo must not be the part that gives way. */
@media (min-width: 1100px) and (max-width: 1319px) { .top__nav > ul { gap: 10px; font-size: 14px; } .top { gap: 10px; } }
@media (min-width: 1100px) and (max-width: 1139px) { .top__nav > ul { gap: 6px; } }
@media (min-width: 1100px) { .top__logo img { max-width: none; } }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(88vw, 400px); max-width: none; height: 100dvh; max-height: none;
  border: 0; padding: 12px var(--gut) 32px; background: var(--paper); color: var(--ink); overflow-y: auto;
}
.drawer::backdrop { background: oklch(0.21 0.012 255 / 0.28); }
.drawer[open] { animation: drawer-in 280ms var(--ui); }
@keyframes drawer-in { from { translate: 100% 0; } to { translate: 0 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-block-end: 8px; }
.drawer__head img { height: 42px; width: auto; }
.drawer__list > li { border-block-end: 1px solid var(--line); }
.drawer__list a, .drawer__list summary { display: block; padding-block: 13px; text-decoration: none; font-size: 18px; font-weight: 500; cursor: pointer; }
/* A small arrow at the far end of the row: down while closed, up while open, in every language, hence the physical borders (owner, 11.11.2026). */
.drawer__list summary { display: flex; justify-content: space-between; align-items: center; list-style: none; }
.drawer__list summary::-webkit-details-marker { display: none; }
.drawer__list summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-inline-end: 6px; border-bottom: 1.5px solid; border-right: 1.5px solid; rotate: 45deg; translate: 0 -2px; transition: rotate 200ms var(--ui), translate 200ms var(--ui); }
.drawer__list details[open] > summary::after { rotate: -135deg; translate: 0 2px; }
.drawer__list details ul { padding-inline-start: 16px; padding-block-end: 8px; }
.drawer__list details a { font-size: 16px; font-weight: 400; padding-block: 8px; }

/* Footer */
.foot { background: var(--mist); padding: clamp(48px, 7vw, 96px) var(--gut) 0; border-radius: var(--r-l) var(--r-l) 0 0; overflow: hidden; }
.foot__grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 6fr 3fr 3fr; } }
.foot h2 { font-size: var(--t-l); letter-spacing: -0.012em; margin-block-end: 18px; }
.foot h3 { font-size: var(--t-xs); margin-block-end: 10px; }
.foot li { padding-block: 4px; }
.foot nav a, .foot__contact a { text-decoration: none; }
.foot__still { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
@media (hover: hover) { .foot a:hover, .foot__still:hover { text-decoration: underline; text-underline-offset: 3px; } }
.foot__legal { font-size: 14px; color: var(--ink-2); text-align: center; margin-block-start: clamp(36px, 5vw, 60px); }
/* The page ends inside the logo: its glasses stand whole, the edge cuts its name in half, and the hopping glasses stand around it. */
.foot__wm { position: relative; direction: ltr; margin: clamp(150px, 18vw, 280px) calc(var(--gut) * -1) 0; padding-inline: 6px; }
.foot__word, .foot__mark { position: relative; z-index: 1; display: block; height: auto; pointer-events: none; }
.foot__word { width: 100%; margin-block-end: -4.1%; }
.foot__word--two { display: none; }
.foot__mark { position: absolute; inset-block-end: 100%; inset-inline-start: 35%; width: 30%; margin-block-end: 2.4%; }
.motion .foot__mark { pointer-events: auto; cursor: pointer; touch-action: manipulation; user-select: none; }
.foot__hops { position: absolute; inset-inline: clamp(8px, 2vw, 32px); inset-block-start: 0; display: grid; grid-template-columns: repeat(3, 1fr) 30% repeat(3, 1fr); justify-items: center; align-items: end; transform: translateY(calc(-100% + 0.6vw)); pointer-events: none; }
.foot__hops img { width: 92%; height: auto; transform: rotate(var(--r, 0deg)); pointer-events: auto; cursor: pointer; touch-action: manipulation; user-select: none; }
.foot__hops img:nth-child(4) { display: none; }
.foot__hops img:nth-child(5) { grid-column: 5; }
@media (max-width: 699px) {
  .foot__wm { padding-inline: 16px; }
  .foot__word { display: none; }
  .foot__word--two { display: block; margin-block-end: -6.2%; }
  .foot__mark { position: relative; inset: auto; width: 88.5%; margin: 0 auto 7.4%; }
  .foot__hops { inset-inline: 10px; grid-template-columns: repeat(4, 1fr); transform: translateY(calc(-100% + 2.4vw)); }
  .foot__hops img:nth-child(4) { display: block; }
  .foot__hops img:nth-child(5) { grid-column: auto; }
  .foot__hops img:nth-child(n + 5) { display: none; }
}

/* Floating WhatsApp: the one sanctioned green on the page */
.wa { position: fixed; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 18px; z-index: var(--z-float); display: flex; align-items: center; gap: 10px; transition: transform 420ms var(--ui); }
.wa.is-up { transform: translateY(-10vw); }
@media (max-width: 699px) { .wa.is-up { transform: translateY(-76vw); } }
.wa__btn { width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 8px 22px oklch(0.21 0.012 255 / 0.22); transition: transform 160ms var(--ui); }
.wa__btn svg { width: 31px; height: 31px; fill: #fff; }
.wa__btn:active { transform: scale(0.95); }
.wa__bubble { display: flex; align-items: center; gap: 6px; background: var(--paper); border-radius: 999px; padding-block: 7px; padding-inline: 14px 8px; font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px var(--line), 0 8px 22px oklch(0.21 0.012 255 / 0.1); }
.wa__bubble[hidden] { display: none; }
.wa__bubble button { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; }
.wa__bubble svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.toast { position: fixed; inset-block-end: 92px; inset-inline: 0; margin-inline: auto; width: fit-content; max-width: calc(100vw - 32px); z-index: var(--z-toast); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 15px; }
.toast { pointer-events: none; }
.toast[hidden] { display: none; }
.toast a { pointer-events: auto; padding-block: 14px; color: inherit; font-weight: 600; text-underline-offset: 3px; }

/* A mist panel that slides over the white page, so the ground change is a shape and not a fade. */
.sheet { background: var(--mist); border-radius: var(--r-l); margin-inline: clamp(0px, 1.2vw, 18px); }
.spin { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.ln { display: block; overflow: hidden; padding-block-end: 0.1em; margin-block-end: -0.1em; }
.ln > span { display: block; }
.motion .ln > span { animation: rise 1000ms var(--house) both; }
.motion .ln + .ln > span { animation-delay: 70ms; }
@keyframes rise { from { transform: translateY(108%); } }
.pcard { display: block; text-decoration: none; min-width: 0; }
.pcard figure { position: relative; aspect-ratio: 1; background: var(--mist); border-radius: 16px; overflow: hidden; margin-block-end: 10px; }
.pcard figure img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: opacity 240ms var(--ui); }
.pcard figure img + img { opacity: 0; }
/* A photo with its own ground fills the tile; inset like a cut-out it would show as a grey box inside the tile. */
.pcard--photo figure img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .pcard:hover figure img:first-child { opacity: 0; } .pcard:hover figure img + img { opacity: 1; } }
.pcard h3 { font: 500 15px/1.4 var(--f-text); letter-spacing: 0; overflow-wrap: anywhere; }
.pcard p { font-weight: 600; font-size: 15px; margin-block-start: 2px; }
.pcard s { color: var(--ink-2); font-weight: 400; margin-inline-start: 6px; }
/* Word masks for headings, added by core.js */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: 0.06em 0.14em; margin-block: -0.06em -0.14em; }
.w > span { display: inline-block; }
/* If the motion layer never starts, nothing may stay hidden. */
.reveal-all [data-r], .reveal-all [data-r] > *, .reveal-all .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }

/* Chips: filters, sub-categories and product options */
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mist);
  font: 500 15px/1.2 var(--f-text); text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ui), color 160ms var(--ui);
}
.chip[aria-pressed="true"], .chip[aria-current] { background: var(--ink); color: #fff; }
.chip:active { transform: scale(0.97); }
@media (hover: hover) { .chip:not([aria-pressed="true"]):not([aria-current]):hover { background: var(--mist-2); } }

.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--ink-2); padding: 12px var(--gut) 0; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: "›"; margin-inline-start: 8px; color: var(--ink-2); }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; } }
.pcard[hidden] { display: none; }
.pcard figure { background: var(--mist); }
.pcard.is-full figure img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1; padding: 3px 10px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.pcard__tag--sale { background: var(--accent); color: #fff; }
.gift { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.gift b { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; }
.pstate { font-weight: 500; color: var(--ink-2); }
.top__nav a[aria-current] { box-shadow: 0 2px 0 var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .notice__line { transition: none; }
  .drawer[open] { animation: none; }
  .drawer__list summary::after { transition: none; }
}
.calm { scroll-behavior: auto; }
.calm .notice__line { transition: none; }
.calm .drawer[open] { animation: none; }
.calm .drawer__list summary::after { transition: none; }

/* Long text, in product stories and in reading pages */
.prose { max-width: 68ch; color: var(--ink-2); display: grid; gap: 12px; min-width: 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose h3 { font: 500 18px/1.35 var(--f-text); letter-spacing: 0; color: var(--ink); margin-block-start: 6px; }
.prose ul, .prose ol { list-style: disc; padding-inline-start: 20px; display: grid; gap: 4px; }
.prose ol { list-style: decimal; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { text-align: start; padding: 9px 0; padding-inline-end: 16px; border-block-end: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.prose thead { display: none; }
.prose td:first-child, .prose th:first-child { color: var(--ink); font-weight: 500; width: 36%; }

/* Questions that open in place */
.qa details, .prose details { border-block-start: 1px solid var(--line); }
.qa details:last-of-type, .prose details:last-of-type { border-block-end: 1px solid var(--line); }
.qa summary, .prose summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-block: 15px; font-weight: 500; font-size: 18px; color: var(--ink); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker, .prose summary::-webkit-details-marker { display: none; }
.qa summary::after, .prose summary::after { content: "+"; font: 400 26px/1 var(--f-text); transition: rotate 200ms var(--ui); flex: none; }
.qa details[open] summary::after, .prose details[open] summary::after { rotate: 45deg; }
.qa details p, .prose details p { color: var(--ink-2); padding-block-end: 16px; max-width: 62ch; }

/* Tabs */
.tabs__bar { display: flex; gap: 6px; overflow-x: auto; padding-block: 4px 14px; scrollbar-width: none; }
.tabs__bar button { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--mist); font-weight: 500; font-size: 15px; transition: background-color 160ms var(--ui), color 160ms var(--ui); }
.tabs__bar button[aria-selected="true"] { background: var(--ink); color: #fff; }
.calm .tabs__panel:not(.is-on), .motion .tabs__panel:not(.is-on) { display: none; }

/* Google reviews: our drawing of the live widget */
.gw { display: grid; gap: clamp(14px, 2vw, 24px); min-width: 0; }
.gw__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.gw__score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-decoration: none; }
.gw__g { width: 24px; height: 24px; flex: none; }
.gw__word { font: 400 var(--t-s)/1 var(--f-display); }
.gw__num { font-weight: 600; font-size: 18px; }
.gw__stars { width: 100px; height: 20px; fill: var(--star); flex: none; }
.gw__base { color: var(--ink-2); font-size: 15px; }
.gw__base b { font-weight: 600; color: var(--ink); }
.gw__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.gw__links .btn { min-height: 44px; padding-inline: 20px; font-size: 15px; }
.gw__links .link { font-size: 16px; }
.gw__track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 3px; margin: -3px; border-radius: var(--r-m); }
.gw__track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .gw__track { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (min-width: 1100px) { .gw__track { grid-auto-columns: calc((100% - 24px) / 3); } }
.gw__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--paper); border-radius: var(--r-m); padding: clamp(16px, 1.8vw, 24px); scroll-snap-align: start; min-width: 0; }
.gw__card header { display: flex; align-items: center; gap: 10px; width: 100%; }
.gw__card header > div { flex: 1; min-width: 0; }
.gw__card h3 { font: 600 16px/1.3 var(--f-text); letter-spacing: 0; overflow-wrap: anywhere; }
.gw__card header p { color: var(--ink-2); font-size: 14px; line-height: 1.3; }
.gw__who { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--mist-2); font-weight: 600; }
.gw__text { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.motion .gw__text.is-long:not(.is-open), .calm .gw__text.is-long:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.gw__more { font-size: 15px; font-weight: 500; color: var(--accent); min-height: 44px; margin-block-start: auto; text-decoration: underline; text-underline-offset: 3px; }
.gw__nav { display: flex; gap: 6px; justify-content: flex-end; }
.gw__arrow { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); transition: background-color 160ms var(--ui); }
.gw__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gw__arrow:disabled { color: var(--ink-2); opacity: 0.45; cursor: default; }
@media (hover: hover) { .gw__arrow:not(:disabled):hover { background: var(--mist-2); } }
.ab .gw__arrow { background: var(--mist); }

/* Lists of models, chips above them, and what shows when a list is empty */
.subcats { display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gut) 4px; scrollbar-width: none; position: relative; z-index: 2; }
.results { padding: 12px var(--gut) 6px; color: var(--ink-2); font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px) clamp(10px, 1.4vw, 20px); padding: 4px var(--gut) 24px; }
.grid[hidden] { display: none; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 56px var(--gut) 72px; }
.empty[hidden] { display: none; }
.empty h2 { font-size: var(--t-m); letter-spacing: -0.008em; }
.empty p { color: var(--ink-2); }

/* Phone buy bar: one system with the WhatsApp button */
.buybar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: var(--z-sticky); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); box-shadow: 0 -1px 0 var(--line); }
.buybar[hidden] { display: none; }
.buybar p { font-weight: 600; min-width: 0; }
.buybar s { display: none; }
@media (min-width: 900px) { .buybar { display: none; } }
@media (max-width: 899px) {
  .has-bar .wa { inset-block-end: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .has-bar .foot { padding-block-end: calc(72px + env(safe-area-inset-bottom, 0px)); }   /* the bar's top edge is the page's edge: it cuts the logo's name in the same place */
}

/* Numbered steps */
.steps { padding: var(--t-xl) var(--gut) clamp(24px, 4vw, 56px); }
.steps ol { counter-reset: st; display: grid; gap: 18px; margin-block-start: clamp(20px, 3vw, 36px); }
@media (min-width: 900px) { .steps ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.steps li { counter-increment: st; padding-block-start: 12px; border-block-start: 2px solid var(--ink); }
.steps li::before { content: counter(st); display: block; font: 400 var(--t-l)/1 var(--f-display); color: var(--accent); margin-block-end: 8px; }
.steps p { color: var(--ink-2); margin-block-start: 4px; }

/* Option groups and a price set large */
.buy__price { font: 400 var(--t-m)/1.15 var(--f-display); }
.buy__price s { font: 400 18px/1 var(--f-text); color: var(--ink-2); margin-inline-start: 8px; }
.buy__price .pstate { font: 500 18px/1.3 var(--f-text); }
.opts { border: 0; margin: 0; padding: 0; min-width: 0; }
.opts legend { font-weight: 500; padding: 0; margin-block-end: 6px; }
.opts > div { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.opts .chip { white-space: normal; text-align: start; max-width: 100%; }

/* Language menu */
.lang { position: relative; }
.lang summary { cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary { background: var(--mist); }
.lang__menu { position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; z-index: var(--z-float); display: grid; min-width: 148px; padding: 6px; background: var(--paper); border-radius: 14px; box-shadow: 0 10px 30px oklch(0.21 0.012 255 / 0.14), 0 0 0 1px var(--line); }
.lang__menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 16px; }
.lang__menu a[aria-current] { background: var(--mist); }
@media (hover: hover) { .lang__menu a:hover { background: var(--mist); } }
.drawer__lang { display: flex; flex-wrap: wrap; gap: 6px; padding-block-start: 16px; }

/* Arabic, Russian and English: their own letters, and the last two read the other way */
html[lang="ar"] { --f-display: "Rubik", "IBM Plex Sans Arabic", system-ui, sans-serif; --f-text: "IBM Plex Sans Arabic", system-ui, "Segoe UI", sans-serif; }
html[lang="ru"], html[lang="en"] { --f-display: "Rubik", "IBM Plex Sans", system-ui, sans-serif; --f-text: "IBM Plex Sans", system-ui, "Segoe UI", sans-serif; }
html[lang="ar"] * { letter-spacing: 0 !important; }
@media (max-width: 899px) { html[lang="ru"] .sort select, html[lang="en"] .sort select { width: 136px; } }
html[dir="ltr"] .link::after { content: "→"; }
@media (hover: hover) { html[dir="ltr"] a:hover > .link::after, html[dir="ltr"] .link:hover::after { translate: 4px 0; } }
html[dir="ltr"] .link { background-position: 0 100%; }
html[dir="ltr"] .gw__arrow svg { scale: -1 1; }
html[dir="ltr"] .lens__scale i::after, html[dir="ltr"] .lh__scale i::after, html[dir="ltr"] .setup__top b { transform-origin: 0 50%; }

/* Cookie notice (only shown on smartglassesil.com/v2/, see js/core.js): clear of the WhatsApp button at inline-end. */
.cookies { position: fixed; inset-block-end: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 16px; inset-inline-end: 92px; max-width: 520px; z-index: var(--z-float); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 10px 30px oklch(0.21 0.012 255 / 0.18); font-size: 14px; line-height: 1.45; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1; min-width: 0; }
.cookies a { text-decoration: underline; }
.cookies .btn { flex: none; min-height: 44px; padding-inline: 18px; }

/* Black Friday 19.11-7.12.2026 (owner): star on the picture of a product on sale. pages.py adds .is-bf. */
.pcard.is-bf figure::after, .gal.is-bf .gal__stage::before { content: "BLACK\A FRIDAY"; white-space: pre; position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 2; width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; text-align: center; direction: ltr; background: #111; color: #ffd84a; font: 800 10.5px/1.15 Arial, Helvetica, sans-serif; letter-spacing: .04em; pointer-events: none; clip-path: polygon(50% 0%,59% 12%,71% 5%,75% 19%,89% 17%,88% 31%,100% 37%,93% 50%,100% 63%,88% 69%,89% 83%,75% 81%,71% 95%,59% 88%,50% 100%,41% 88%,29% 95%,25% 81%,11% 83%,12% 69%,0% 63%,7% 50%,0% 37%,12% 31%,11% 17%,25% 19%,29% 5%,41% 12%); }
.gal.is-bf .gal__stage::before { width: 108px; height: 108px; font-size: 13.5px; inset-block-start: 12px; inset-inline-end: 12px; }
@media (max-width: 600px) { .pcard.is-bf figure::after { width: 58px; height: 58px; font-size: 8px; inset-block-start: 4px; inset-inline-end: 4px; } }

/* The 2+1 mark keeps its white figures inside running text too, where bold text is otherwise dark. */
.gift b, .prose .gift b { color: #fff; }

/* Floating accessibility button (owner, 24.11.2026: as on the old site, and the motion switch lives only here). */
.a11y { position: fixed; inset-inline-start: 0; inset-block-start: 56%; z-index: var(--z-float); }
.a11y__btn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-start-end-radius: 12px; border-end-end-radius: 12px; background: #1d4ed8; cursor: pointer; box-shadow: 0 6px 18px oklch(0.21 0.012 255 / 0.22); }
.a11y__btn svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.a11y__btn svg circle { fill: #fff; stroke: none; }
.a11y__btn:focus-visible, .a11y__opt:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
.a11y__panel { position: absolute; inset-inline-start: 54px; inset-block-start: 50%; translate: 0 -50%; width: min(240px, calc(100vw - 76px)); display: grid; gap: 6px; padding: 12px; background: #fff; color: #17191c; border-radius: 14px; box-shadow: 0 10px 34px oklch(0.21 0.012 255 / 0.26); }
.a11y__panel[hidden] { display: none; }
.a11y__title { font-weight: 600; font-size: 16px; margin: 0 0 2px; }
.a11y__opt { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c9ced6; border-radius: 10px; background: #fff; color: #17191c; font: inherit; font-size: 15px; text-align: start; text-decoration: none; cursor: pointer; }
.a11y__opt[aria-pressed="true"] { background: #17191c; color: #fff; border-color: #17191c; }
.a11y__opt[hidden] { display: none; }
html.a11y-big { zoom: 1.15; }
html.a11y-links a:not(.btn):not(.a11y__opt) { text-decoration: underline; text-underline-offset: 3px; }
html.a11y-contrast { --ink-2: var(--ink); --line: #6b7280; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .btn--g, html.a11y-contrast .chip { box-shadow: inset 0 0 0 2px var(--ink); }
@media print { .a11y { display: none; } }
