/* LASH ROOM SHOP: Alona's shop as a place of its own (her request and mockup, WhatsApp 11.11.2026), in her site's own
   colours. Of the three looks she saw (11.11: "דיו וזהב", "שנהב בהיר", "אור LED") she chose the second, "שנהב בהיר"
   (WhatsApp 12.11.2026): light and editorial, the supplies on white marble in daylight, the name in ink, brass details.
   This file is that look only; the other two are in git at the commit of BACKUPS.md v19.
   Her brief: one big image of professional supplies at the top, not her face (made with OpenAI from her real VILORA
   glue and LED head, the rest unbranded); the shop's name with a line saying who it's for; four promises; the catalogue
   in big cards (category tiles from three categories: pages/shop.js).
   Linked only by the shop's pages (layouts/shop.html, a product's page in layouts/product.html), whose header carries
   brand="shop" (.hdr--shop). The opening's motion is CSS from the first paint: the image, then the lash stroke, the
   name, the line, the words, the button. */

:root {
  --sh-gold-grad: linear-gradient(100deg, #a98d5c 0%, #e6d5b8 30%, #d8c29d 50%, #f4ead6 70%, #a98d5c 100%);
  --sh-r: 22px;
}

/* ---------- The header bar: the page's own colours ---------- */
.hdr--shop { background: var(--bg); border-bottom-color: var(--line); }
/* "Lash Room" with "SHOP" spaced under it, one lockup read left to right in every language (views.js brandLink). */
.brand__name { display: inline-grid; justify-items: center; gap: 4px; }
.brand--shop .brand__word { font-size: min(1.5rem, 18px + 3vw); }
.brand__shop {
  font: 600 .625rem/1 var(--f-body); letter-spacing: .6em; text-transform: uppercase;
  padding-inline-start: .6em; /* the last letter's spacing, so the word sits centred */
  color: var(--accent);
}

/* ---------- The opening: one big image ----------
   Two files of the same scene (assets/media/shop-hero-tall|wide.webp, preloaded in layouts/shop.html). It stays light
   in both modes: the image is a light one.
   Phone: the tall one (2:3) fills the screen down to the phone bar; the name and the line sit on its empty top, the
   button at its foot, the supplies between them.
   Computer: the wide one fills the first screen under the header, at the screen's height and never cut from top or
   bottom: the supplies on its left, the words on its empty right side in every language. The file is the 3:2 image
   with its empty right edge fading out (client-files/shop-hero-2026-11-11/widen.py), and the gradient under it is
   that edge's own colours from top to bottom, so the image carries on to any width with no seam. */
.shx {
  --bg: #f3eee7; --bg-rgb: 243, 238, 231; --fg: var(--ink); --fg-2: #4f5064; --accent: var(--brass);
  --btn-bg: var(--ink); --btn-fg: #f5f3ef; --focus: var(--led-deep);
  color-scheme: light; color: var(--fg);
  position: relative; isolation: isolate; overflow: hidden; background: var(--bg);
  /* phone: the image's own shape (2:3), so nothing is cut, as long as it fits above the phone bar; on a shorter screen
     the screen's height, and the image loses a little of its empty top and its table edge, never a product */
  display: flex; flex-direction: column; height: min(150vw, max(440px, calc(100svh - var(--hdr-h) - var(--mbar-h))));
}
.shx__media {
  position: absolute; inset: 0; z-index: -1;
  background: var(--bg) url(/assets/media/shop-hero-tall.webp) center 62% / cover no-repeat;
}
/* a soft shade under the words, so they read on any part of the image */
.shx__media::after {
  content: ''; position: absolute; inset: 0 0 auto; height: 46%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(var(--bg-rgb), .6), rgba(var(--bg-rgb), 0));
}
.shx__in { position: relative; flex: 1 1 auto; display: flex; padding-block: 22px; }
.shx__copy { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

.shx__mark { display: grid; justify-items: center; margin: 0; }
.shx__lash {
  width: clamp(112px, 20vw, 190px); height: auto; margin-bottom: -.12em; overflow: visible;
  fill: none; stroke: url(#shx-gold); stroke-width: 1.5; stroke-linecap: round;
  transform: translateX(18%);
}
.shx__name {
  font-family: var(--f-word); font-weight: 400; font-size: clamp(1.75rem, .85rem + 4.4vw, 4.75rem);
  line-height: 1.04; letter-spacing: .07em; padding-block: .06em; color: var(--fg);
}
.shx__tag {
  margin-top: 8px; color: var(--accent);
  font: 600 .6875rem/1.3 var(--f-body); letter-spacing: .34em; text-transform: uppercase;
}
.shx__title {
  margin: clamp(14px, 2.4vw, 26px) 0 0; max-width: 20ch;
  font-family: var(--f-disp); font-weight: var(--disp-w);
  font-size: calc(clamp(1.5rem, 1.1rem + 1.9vw, 2.75rem) * var(--ds)); line-height: 1.14;
  text-wrap: balance;
}
.shx__words {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px;
  margin: 10px 0 0; color: var(--fg-2); font-size: clamp(1rem, .95rem + .25vw, 1.1875rem);
}
.shx__words span + span::before {
  content: ''; display: inline-block; width: 5px; height: 5px; margin-inline-end: 16px; border-radius: 50%;
  background: var(--accent); vertical-align: .2em;
}
.shx__cta {
  margin-top: auto; min-width: 210px; /* phone: at the image's foot */
  border: 0; background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 16px 34px -20px rgba(19, 20, 37, .55);
}
.shx__cta .ic { width: 20px; height: 20px; color: var(--gold); transition: transform .45s var(--m-ease); }
[dir="ltr"] .ic-fwd { transform: scaleX(-1); }
@media (hover: hover) {
  .shx__cta { transition: box-shadow .5s var(--m-ease), background-color .35s; }
  .shx__cta:hover { background: #262742; color: var(--btn-fg); box-shadow: 0 20px 40px -18px rgba(19, 20, 37, .6); }
  .shx__cta:hover .ic { transform: translateX(calc(4px * var(--dirx))); }
  [dir="ltr"] .shx__cta:hover .ic-fwd { transform: translateX(4px) scaleX(-1); }
}
/* Phone: the three words would reach the supplies (they repeat the line above them), so they show on a computer only. */
@media (max-width: 959.98px) { .shx__words { display: none; } }
/* A short phone (Safari with its bars shows about 390x664): the lockup tightens. */
@media (max-width: 959.98px) and (max-height: 759.98px) {
  .shx__lash { width: 96px; }
  .shx__tag { margin-top: 6px; }
  .shx__title { margin-top: 10px; font-size: calc(1.4rem * var(--ds)); line-height: 1.12; }
}

@media (min-width: 960px) {
  /* The first screen under the header, whatever its shape. Never taller than 62% of the width: past that the image
     would grow until its supplies reached the words. */
  .shx { display: grid; align-items: center; height: clamp(540px, calc(100svh - var(--hdr-h)), 62vw); }
  .shx__media {
    background:
      url(/assets/media/shop-hero-wide.webp) left center / auto 100% no-repeat,
      linear-gradient(to bottom, #f8eee2 0%, #faf0e6 13%, #f9efe4 25%, #f7ece0 38%, #f6ebe0 50%, #f4e9dd 63%, #f2e6da 75%, #efe2d4 88%, #ede0d3 100%);
  }
  .shx__media::after { content: none; } /* the words sit on the image's empty side: no shade needed */
  .shx__in { padding-block: 40px; }
  .shx__copy { flex: 0 1 auto; display: grid; justify-items: start; text-align: start; width: 44%; max-width: 44%; }
  [dir="ltr"] .shx__copy { margin-left: auto; } /* the image's empty side is its right one in every language */
  /* the lockup stays one line, as in her mockup: its size follows the column's width */
  .shx__name { font-size: min(3.2rem, 3.4vw); letter-spacing: .1em; white-space: nowrap; }
  .shx__lash { transform: translateX(30%); }
  .shx__words { justify-content: flex-start; }
  .shx__cta { margin-top: clamp(22px, 3vw, 34px); }
}

/* The opening's motion: the image settles, then the lockup, the line and the button rise. */
@keyframes shx-photo { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
@keyframes shx-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes shx-draw { from { stroke-dashoffset: 240; } to { stroke-dashoffset: 0; } }
.shx__media { animation: shx-photo 1.9s var(--m-ease) both; }
.shx__lash path { stroke-dasharray: 240; animation: shx-draw 1.3s cubic-bezier(.33, 1, .68, 1) calc(.75s + var(--i) * .08s) both; }
.shx__name { animation: shx-rise 1.2s var(--m-ease) .55s both; }
.shx__tag { animation: shx-rise 1.1s var(--m-ease) .8s both; }
.shx__title { animation: shx-rise 1.2s var(--m-ease) .92s both; }
.shx__words { animation: shx-rise 1.1s var(--m-ease) 1.06s both; }
.shx__cta { animation: shx-rise 1.1s var(--m-ease) 1.18s both; }

/* ---------- The promises: a white row with hairlines between them, the icons bare ---------- */
.spro { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--fg); }
.spro__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; margin: 0 auto; padding-block: 30px; list-style: none; }
.spro__item { min-width: 0; align-content: start; }
.spro__link { color: var(--fg); text-decoration: none; }
.spro__item, .spro__link { display: grid; justify-items: center; gap: 10px; text-align: center; }
.spro__ic { display: grid; place-items: center; width: 36px; height: 36px; color: var(--accent); }
.spro__ic .ic { width: 28px; height: 28px; stroke-width: 1.2; }
.spro__txt { display: grid; gap: 3px; min-width: 0; color: var(--fg-2); font-size: .875rem; line-height: 1.4; overflow-wrap: break-word; }
.spro__txt strong { color: var(--fg); font-size: .9375rem; font-weight: 600; }
.spro__link .spro__txt span { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: 3px; }
.spro__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 6px; border-radius: 12px; }
@media (min-width: 960px) {
  .spro__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 34px; }
  .spro__item, .spro__link { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 14px; text-align: start; }
  .spro__item + .spro__item { border-inline-start: 1px solid var(--line); padding-inline-start: 24px; }
}

/* ---------- The catalogue ---------- */
.scat__h {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); margin: 0 0 clamp(28px, 4vw, 52px);
  font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h2); line-height: 1.1;
}
.scat__h::before, .scat__h::after { content: ''; flex: 1 1 0; height: 1px; background: var(--line-2); opacity: .55; }

/* The category tiles (three categories or more): a swipe row on phones, a row of equal tiles on a computer. */
.scat__tiles { margin: 0 0 clamp(32px, 4vw, 52px); }
.stiles {
  display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain;
}
.stiles::-webkit-scrollbar { display: none; }
.stile {
  position: relative; flex: 0 0 40%; max-width: 190px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden;
  border: 0; border-radius: 18px; background: var(--ink); color: var(--ivory); cursor: pointer;
  scroll-snap-align: start; font: inherit; -webkit-tap-highlight-color: transparent;
  animation: shx-rise .9s var(--m-ease) calc(var(--i, 0) * .06s) both;
}
.stile__media { position: absolute; inset: 0; }
.stile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--m-ease); }
.stile__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(19, 20, 37, .88), rgba(19, 20, 37, .15) 55%, rgba(19, 20, 37, 0)); }
.stile__label { position: absolute; inset: auto 10px 14px; z-index: 1; font-size: .9375rem; font-weight: 600; line-height: 1.25; text-align: center; }
.stile--all { background: var(--sh-gold-grad); background-size: 200% 100%; color: var(--ink); }
.stile--all .stile__label { inset: 0; display: grid; place-items: center; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: calc(1.5rem * var(--ds)); }
.stile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
.stile:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
@media (hover: hover) { .stile:hover .stile__img { transform: scale(1.06); } }
@media (min-width: 960px) {
  .stiles { margin-inline: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .stile { max-width: none; }
}

/* The product cards: no box, a big rounded photo, the words under it. One column on phones (big photos), cards up to
   380px from 640px, centred while there are few. */
.sgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
@media (min-width: 640px) { .sgrid { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; gap: 34px 28px; } }
.scard {
  position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--fg);
  transition: transform .6s var(--m-ease);
}
.scard[hidden] { display: none; }
.scard__media { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 20px; background: #ece6dc; }
.scard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--m-ease); }
.scard__nophoto {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--bg-2), var(--bg-3)); color: var(--fg-2);
  font: 400 1.125rem/1 var(--f-word); letter-spacing: .3em; padding-inline-start: .3em;
}
.scard__media .tag { z-index: 1; }
.scard__body { position: relative; display: grid; gap: 6px; padding: 18px 2px 4px; padding-inline-end: 64px; }
.scard__cat { margin: 0; color: var(--accent); font-size: .8125rem; font-weight: 600; line-height: 1.2; }
:root:is(:lang(ru), :lang(en)) .scard__cat { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.scard__title { margin: 0; font: 600 1.0625rem/1.4 var(--f-body); overflow-wrap: break-word; }
.scard__title a { color: inherit; text-decoration: none; }
.scard__title a:focus-visible { outline: none; }
.scard:has(.scard__title a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 4px; }
.scard__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 6px 0 0; font: 400 1.5rem/1.1 var(--f-num); }
.scard__soon { color: var(--fg-2); font: 400 .8125rem/1.3 var(--f-body); }
.scard__go {
  position: absolute; inset-inline-end: 2px; inset-block-end: 6px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--fg);
  transition: transform .5s var(--m-ease), background-color .3s;
}
.scard__go .ic { width: 20px; height: 20px; }
.scard__cover { position: absolute; inset: 0; z-index: 2; }
@media (hover: hover) {
  .scard:hover .scard__img { transform: scale(1.045); }
  .scard:hover .scard__go { transform: translateX(calc(5px * var(--dirx))); background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
}
.scard:active { transform: scale(.985); }
/* After a tile's tap the cards of that category come in one after another. */
.sgrid.is-filtered > .scard:not([hidden]) { animation: shx-rise .7s var(--m-ease) calc(var(--i, 0) * .07s) both; }
/* While the catalogue loads. */
@keyframes shx-pulse { 50% { opacity: .55; } }
.scard--skel { pointer-events: none; }
.scard--skel .scard__media { background: var(--bg-3); animation: shx-pulse 1.4s ease-in-out infinite; }
.scard__bar { display: block; height: 12px; border-radius: 6px; background: var(--bg-3); animation: shx-pulse 1.4s ease-in-out infinite; }

/* ---------- "Chosen with care" ---------- */
.sabout { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.sabout__in { max-width: 820px; }
.sabout__h { margin: 0; font-family: var(--f-disp); font-weight: var(--disp-w); font-size: var(--fs-h2); line-height: 1.12; text-wrap: balance; }
.sabout__p { max-width: 40rem; margin: 20px auto 0; color: var(--fg-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.75; }
.sabout__ways { margin: 30px 0 0; }

/* ---------- A product's page in the shop ---------- */
.prod .gallery__main { border-radius: var(--sh-r); overflow: hidden; }
