@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

html { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
::selection { background-color: #73c2fb; color: #004f75; }

.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(115, 194, 251, 0.25);
}
/* Living abstract background — the canvas paints itself; the grain overlay
   adds a faint film-grain texture on top so the gradients feel tactile. */
#breeze-live-bg { display: block; }
#breeze-grain {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
  opacity: 0.045;
  mix-blend-mode: multiply;
}
@media (prefers-reduced-motion: reduce) {
  #breeze-grain { opacity: 0.03; }
}

/* ════════════════════════════════════════════════════════════
   LOGO — two-layer feather+blur technique
   - .logo-blur: same image, heavily blurred, wide soft radial mask.
     The wave/sparkle paper around the letters becomes a diffuse colored
     halo that bleeds out into the header. No rectangular edge can read
     because the blur itself dissolves any boundary.
   - .logo-sharp: same image on top, NO blur, with a tight mask cropping
     to the letterforms + halo area. Restores text legibility.
   ════════════════════════════════════════════════════════════ */

.logo-wrap {
  position: relative;
  display: inline-block;
  height: 104px;
  /* Width is set in JS by image aspect, but inline-block sizes to children. */
}
.logo-wrap img {
  display: block;
  height: 48px;
  width: auto;
}
.logo-blur {
  filter: blur(7px) saturate(1.05);
  opacity: 0.9;
  /* Wide soft mask — bleeds the colored aura far out from the text */
  -webkit-mask-image: radial-gradient(ellipse 48% 48% at 50% 50%,
    #000              0%,
    rgba(0,0,0, 0.92) 28%,
    rgba(0,0,0, 0.70) 48%,
    rgba(0,0,0, 0.40) 68%,
    rgba(0,0,0, 0.15) 85%,
    transparent       100%);
          mask-image: radial-gradient(ellipse 48% 48% at 50% 50%,
    #000              0%,
    rgba(0,0,0, 0.92) 28%,
    rgba(0,0,0, 0.70) 48%,
    rgba(0,0,0, 0.40) 68%,
    rgba(0,0,0, 0.15) 85%,
    transparent       100%);
}
.logo-sharp {
  position: absolute;
  top: 0; left: 0;
  /* Tight mask, hugging just the text + halo area */
  -webkit-mask-image: radial-gradient(ellipse 42% 38% at 50% 52%,
    #000              0%,
    rgba(0,0,0, 1)    52%,
    rgba(0,0,0, 0.75) 68%,
    rgba(0,0,0, 0.40) 80%,
    rgba(0,0,0, 0.15) 90%,
    transparent       100%);
          mask-image: radial-gradient(ellipse 42% 38% at 50% 52%,
    #000              0%,
    rgba(0,0,0, 1)    52%,
    rgba(0,0,0, 0.75) 68%,
    rgba(0,0,0, 0.40) 80%,
    rgba(0,0,0, 0.15) 90%,
    transparent       100%);
}

/* Old single-layer mask kept as a fallback for any page that still uses it. */
.logo-fade,
.logo-knockout {
  -webkit-mask-image: radial-gradient(ellipse 48% 48% at 50% 50%,
    #000              0%,
    rgba(0,0,0, 1)    32%,
    rgba(0,0,0, 0.92) 48%,
    rgba(0,0,0, 0.75) 60%,
    rgba(0,0,0, 0.50) 72%,
    rgba(0,0,0, 0.28) 82%,
    rgba(0,0,0, 0.12) 90%,
    rgba(0,0,0, 0.03) 96%,
    transparent       100%);
          mask-image: radial-gradient(ellipse 48% 48% at 50% 50%,
    #000              0%,
    rgba(0,0,0, 1)    32%,
    rgba(0,0,0, 0.92) 48%,
    rgba(0,0,0, 0.75) 60%,
    rgba(0,0,0, 0.50) 72%,
    rgba(0,0,0, 0.28) 82%,
    rgba(0,0,0, 0.12) 90%,
    rgba(0,0,0, 0.03) 96%,
    transparent       100%);
}

/* SVG mark not used right now — kept defined in case the user wants to swap back. */
.breeze-mark { display: none; }

/* Header is a clean plain surface now — no wave/dot decorations. */
.header-bleed { position: relative; isolation: isolate; }
.header-bleed > * { position: relative; z-index: 1; }

/* Section heading rule — hairline that fades out at the edges so it
   reads as a quiet horizon line, not a hard divider. */
.section-rule {
  position: relative;
}
.section-rule::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(24, 28, 29, 0.10) 0%,
    rgba(24, 28, 29, 0.26) 8%,
    rgba(24, 28, 29, 0.24) 45%,
    rgba(24, 28, 29, 0.12) 78%,
    rgba(24, 28, 29, 0) 100%
  );
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════
   LIQUID GLASS — animations and interactive effects
   ════════════════════════════════════════════════════════════ */

/* Cards keep position context for hover transforms — but no shimmer or glass overlays.
   The actual lift / scale lives in the .card-hover rules further down. */
.liquid-card {
  position: relative;
  isolation: isolate;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1),
              box-shadow 0.55s cubic-bezier(.2,.7,.2,1),
              opacity 0.45s ease,
              filter 0.45s ease;
}

/* Breathing search bar */
@keyframes liquid-breathe {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -10px rgba(115, 194, 251, 0.15); }
  50%      { transform: scale(1.008); box-shadow: 0 14px 40px -12px rgba(115, 194, 251, 0.28); }
}
.liquid-breathe { animation: liquid-breathe 6s ease-in-out infinite; }

/* Soft float — gentle vertical drift for accent elements */
@keyframes liquid-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.liquid-float { animation: liquid-float 7s ease-in-out infinite; }

/* Caustics — subtle moving light pattern on dark surfaces */
@keyframes liquid-caustics {
  0%   { background-position: 0% 50%, 50% 0%; }
  50%  { background-position: 100% 50%, 50% 100%; }
  100% { background-position: 0% 50%, 50% 0%; }
}
.liquid-caustics {
  position: relative;
  overflow: hidden;
}
.liquid-caustics::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 60% 40% at 30% 50%, rgba(141, 205, 255, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(94, 246, 230, 0.25) 0%, transparent 60%);
  background-size: 200% 200%, 200% 200%;
  animation: liquid-caustics 18s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* Page-entrance reveal */
.liquid-reveal {
  opacity: 0;
  transform: translateY(34px) scale(.972);
  filter: blur(5px);
  transition:
    opacity 1.05s var(--ease-cine),
    transform 1.15s var(--ease-cine-spring),
    filter 0.85s var(--ease-cine);
}
.liquid-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger children */
.liquid-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(.975);
  transition:
    opacity 0.85s var(--ease-cine),
    transform 0.95s var(--ease-cine-spring);
}
.liquid-stagger.is-in > * { opacity: 1; transform: none; }
.liquid-stagger.is-in > *:nth-child(1) { transition-delay: 0.00s; }
.liquid-stagger.is-in > *:nth-child(2) { transition-delay: 0.09s; }
.liquid-stagger.is-in > *:nth-child(3) { transition-delay: 0.18s; }
.liquid-stagger.is-in > *:nth-child(4) { transition-delay: 0.27s; }
.liquid-stagger.is-in > *:nth-child(5) { transition-delay: 0.36s; }
.liquid-stagger.is-in > *:nth-child(6) { transition-delay: 0.45s; }
.liquid-stagger.is-in > *:nth-child(7) { transition-delay: 0.54s; }

/* SPA-nav snap: breeze-liquid.js tags already-on-screen reveal elements with this for
   one reflow so they appear INSTANTLY (no slow 0→1 transition playing under the page
   crossfade = no "disappears then reappears" flash), then strips it — leaving the
   normal .is-in resting state. Scoped to `transition` only, so hover/other transitions
   resume the moment it's removed and the visible end-state is untouched. */
.reveal-instant, .reveal-instant > * { transition: none !important; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .liquid-breathe, .liquid-float, .liquid-caustics::before { animation: none; }
  .liquid-reveal, .liquid-stagger > * { transition: none; opacity: 1; transform: none; filter: none; }
}

/* ════════════════════════════════════════════════════════════
   SLIDE CYCLE — cards flip through pastel "photos" on hover
   ════════════════════════════════════════════════════════════ */

.card-hover .slide {
  position: absolute; inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
  z-index: 0;
}
.card-hover .slide.is-active { opacity: 1; }

/* Stronger expand on hover — the focal card lifts and scales up */
.card-hover:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow:
    0 32px 70px -22px rgba(0, 100, 147, 0.35),
    0 0 0 1px rgba(141, 205, 255, 0.15) inset;
  z-index: 5;
}
.card-hover { transition: transform 0.55s cubic-bezier(.2,.7,.2,1), box-shadow 0.55s cubic-bezier(.2,.7,.2,1); }

/* Magnify-style neighbor reaction — when one card in a grid is hovered,
   the other direct children of that grid shrink slightly and dim, so the
   focal card feels like it's coming forward. Uses :has() so it's pure CSS. */
.liquid-stagger:has(.card-hover:hover) > *:not(:hover):not(:has(.card-hover:hover)) {
  transform: scale(0.94);
  opacity: 0.7;
  filter: saturate(0.85);
  transition:
    transform 0.45s cubic-bezier(.2,.7,.2,1),
    opacity 0.45s ease,
    filter 0.45s ease;
}
/* Within a flex-column wrapper (the stacked-card columns in "Одежда" / "Обувь"),
   the non-hovered sibling card in the same column also nudges back. */
.liquid-stagger > div:has(.card-hover:hover) .card-hover:not(:hover) {
  transform: scale(0.95);
  opacity: 0.7;
  filter: saturate(0.85);
}

/* Slide indicator dots */
.slide-dots {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-hover:hover .slide-dots { opacity: 1; }
.slide-dots__dot {
  width: 6px; height: 6px;
  border-radius: 9999px;
  background: rgba(0, 79, 117, 0.3);
  transition: background 0.4s ease, width 0.4s cubic-bezier(.2,.7,.2,1);
}
.slide-dots__dot.is-current {
  background: rgba(0, 79, 117, 0.85);
  width: 18px;
}

/* ════════════════════════════════════════════════════════════
   DYNAMIC ISLAND — collapsed search pill that morphs on click
   ════════════════════════════════════════════════════════════ */

.search-island {
  display: flex; align-items: center; justify-content: center;
  align-self: center;
  width: 240px;
  height: 56px;
  padding: 0;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 24px -10px rgba(115, 194, 251, 0.18);
  overflow: hidden;
  transition:
    width 0.55s cubic-bezier(.34, 1.2, .64, 1),
    height 0.45s cubic-bezier(.34, 1.2, .64, 1),
    box-shadow 0.5s ease,
    background 0.4s ease;
  position: relative;
}
/* No decorative overlays on the search island — clean glass surface. */

.search-island__icon {
  position: absolute;
  left: 0; top: 0;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  color: #006493;
  z-index: 1;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(.34, 1.2, .64, 1);
}
.search-island__label {
  white-space: nowrap;
  color: #707880;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
  position: relative; z-index: 1;
  text-align: center;
}
.search-island__input {
  position: absolute;
  inset: 0 56px 0 56px;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-family: inherit; font-size: 18px;
  color: #181c1d;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease 0.18s;
  z-index: 1;
}
.search-island__input::placeholder { color: #707880; }
.search-island__input:focus,
.search-island__input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.search-island__close {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%) scale(0.7);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 9999px;
  color: #707880;
  background: rgba(255,255,255,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.34, 1.2, .64, 1);
  z-index: 2;
}
.search-island__close:focus,
.search-island__close:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.search-island__close:hover { color: #006493; background: rgba(255,255,255,0.7); }

.search-island.is-expanded {
  width: 100%;
  max-width: 720px;
  justify-content: flex-start;
  box-shadow: 0 18px 50px -15px rgba(0, 100, 147, 0.32);
  background: rgba(255, 255, 255, 0.85);
}
.search-island.is-expanded .search-island__icon { left: 0; }
.search-island.is-expanded .search-island__label { opacity: 0; pointer-events: none; }
.search-island.is-expanded .search-island__input { opacity: 1; pointer-events: auto; }
.search-island.is-expanded .search-island__close {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

/* No breathing — keep the surface absolutely calm */
.search-island { animation: none !important; }

/* Compact variant — inline with section headings.
   Smaller height + width, still expands to full input on click. */
.search-island--compact {
  width: 200px;
  height: 41px;
  margin: 0;
  align-self: auto;
}
.search-island--compact .search-island__icon {
  width: 41px;
  height: 41px;
}
.search-island--compact .search-island__input {
  font-size: 13px;
  inset: 0 40px 0 40px;
}
.search-island--compact .search-island__label {
  font-size: 13px;
}
.search-island--compact .search-island__close {
  width: 28px;
  height: 28px;
}
.search-island--compact.is-expanded {
  width: 360px;
  /* Никогда не шире своего контейнера — фикс-360 в узком контейнере переливался
     за край и разъезжались боковые отступы. */
  max-width: 100%;
  height: 41px;
}

/* Bar-height variant — matches a sibling glass-panel filter row (~67px tall).
   Used when search lives alongside a chip row in a 2-column layout. */
.search-island--bar {
  height: 67px;
  width: 240px;
}
.search-island--bar .search-island__icon { width: 56px; height: 56px; }
.search-island--bar.is-expanded {
  width: 420px;
  height: 67px;
}

/* ════════════════════════════════════════════════════════════
   NAV — animated underline + smooth page transitions
   ════════════════════════════════════════════════════════════ */

.nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  color: #40484f;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.4s ease;
}

/* Brand mark — text logo, sized & padded to share its baseline with .nav-link */
.brand-mark {
  display: inline-block;
  padding-bottom: 6px;
  color: #181c1d;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #006493, #006a62);
  border-radius: 2px;
  transition:
    left 0.45s cubic-bezier(.2,.7,.2,1),
    right 0.45s cubic-bezier(.2,.7,.2,1),
    opacity 0.3s ease;
  opacity: 0;
}
.nav-link:hover { color: #006a62; }
.nav-link:hover::after { left: 0; right: 0; opacity: 0.6; }
.nav-link.is-active { color: #006493; }
.nav-link.is-active::after { left: 0; right: 0; opacity: 1; }

/* ════════════════════════════════════════════════════════════
   Header interactive elements — liquid-glass style.
   On hover: a soft, frosted-glass pill materialises behind the
   element. No specular highlights, no glowing halos — just a
   slightly raised, translucent surface that catches the
   gradient background through a blur. */
.breeze-nav-link {
  position: relative;
  isolation: isolate;
  padding-left: 10px;
  padding-right: 10px;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.breeze-nav-link::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -4px; bottom: -2px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 6px 18px -8px rgba(0, 79, 117, 0.18);
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
  pointer-events: none;
}
.breeze-nav-link:hover { transform: scale(1.06); }
.breeze-nav-link:hover::before,
.breeze-nav-link.is-active::before {
  opacity: 1;
  transform: scale(1);
}
/* Hide the underline accent — the glass pill replaces it */
.breeze-nav-link::after { display: none; }

.breeze-icon-btn {
  position: relative;
  padding: 8px;
  border-radius: 9999px;
  isolation: isolate;
  transition: color 0.35s ease, transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.breeze-icon-btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 6px 18px -8px rgba(0, 79, 117, 0.18);
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(.2,.7,.2,1);
  z-index: -1;
  pointer-events: none;
}
.breeze-icon-btn:hover::before { opacity: 1; transform: scale(1); }
.breeze-icon-btn:hover { transform: scale(1.08); }

/* Primary CTA (Индивидуальный заказ) — keep the gradient fill but
   wrap it in a frosted glass overlay on hover. No reflection. */
.breeze-cta {
  position: relative;
  isolation: isolate;
  transition: color 0.3s ease;
}
.breeze-cta::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: -1;
}
.breeze-cta:hover::before { opacity: 1; }

.breeze-pill {
  position: relative;
  isolation: isolate;
  transition:
    color 0.3s ease,
    transform 0.45s cubic-bezier(.2,.7,.2,1),
    box-shadow 0.45s cubic-bezier(.2,.7,.2,1),
    background-color 0.3s ease;
}
.breeze-pill::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(115, 194, 251, 0.55) 0%,
    rgba(94, 246, 230, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.breeze-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(115, 194, 251, 0.4);
}
.breeze-pill:hover::before { opacity: 1; }
.breeze-pill:active { transform: translateY(0); transition-duration: 0.12s; }

/* Arrow tucked inside a .breeze-pill slides on hover */
.breeze-pill svg {
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.breeze-pill:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════
   Catalog — chips, product cards, pagination.
   Same vocabulary as the home page: rounded pills, glass
   surfaces, soft pastel art areas, gentle hover lift. */

/* Horizontal chip scroller — hides the scrollbar, fades the
   trailing edge so it reads as "there's more to swipe to". */
.chip-scroller {
  overflow-x: auto;
  /* Скролл-контейнер всё равно отдаёт предкам min-content контента (чипы в ряд)
     и распирает страницу на телефоне; inline-size containment обнуляет вклад. */
  contain: inline-size;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 92%,
    rgba(0,0,0,0) 100%
  );
          mask-image: linear-gradient(
    90deg,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 92%,
    rgba(0,0,0,0) 100%
  );
  scroll-snap-type: x proximity;
  padding-right: 12px;
}
.chip-scroller::-webkit-scrollbar { display: none; }
.chip-scroller > * { scroll-snap-align: start; flex: 0 0 auto; }

.breeze-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(115, 194, 251, 0.25);
  color: #40484f;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.breeze-chip:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 100, 147, 0.35);
  color: #006493;
  transform: translateY(-1px);
}
.breeze-chip.is-active {
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(0, 100, 147, 0.45);
}

/* Facet button — looks like a chip but reads as a slot (label + chevron/X).
   Used for collapsed-by-default secondary filters: price, brand, size, etc. */
.breeze-facet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(115, 194, 251, 0.25);
  color: #40484f;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.breeze-facet:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 100, 147, 0.35);
  color: #006493;
  transform: translateY(-1px);
}

/* Dropdown — glass trigger pill + floating glass panel. */
.breeze-dropdown {
  position: relative;
}
.breeze-dropdown.is-open {
  z-index: 60;
}

/* When any dropdown is open, the underlying product grid is frozen — no
   hover lift, no magnify, no pointer interaction — so the dropdown feels
   like a real overlay surface. */
body.has-dropdown-open .liquid-stagger { pointer-events: none; }
body.has-dropdown-open .card-hover { pointer-events: none; }
body.has-dropdown-open .card-hover:hover {
  transform: none;
  box-shadow: 0 8px 20px -10px rgba(115, 194, 251, 0.15);
}
body.has-dropdown-open .liquid-stagger:has(.card-hover:hover) > *:not(:hover):not(:has(.card-hover:hover)) {
  transform: none;
  opacity: 1;
}
.breeze-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(115, 194, 251, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px -12px rgba(0, 79, 117, 0.2);
  color: #181c1d;
  font-size: 14px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.breeze-dropdown__trigger:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 100, 147, 0.4);
}
.breeze-dropdown__value {
  font-weight: 600;
  color: #006493;
  letter-spacing: -0.005em;
}
.breeze-dropdown__chevron {
  color: #40484f;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.breeze-dropdown.is-open .breeze-dropdown__chevron {
  transform: rotate(180deg);
}
.breeze-dropdown__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  box-shadow:
    0 24px 60px -20px rgba(0, 79, 117, 0.35),
    0 2px 8px rgba(0, 79, 117, 0.08);
  z-index: 60;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top left;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.breeze-dropdown.is-open .breeze-dropdown__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Right-anchored panel — for triggers near the right edge so the panel
   opens leftward instead of overflowing the viewport. */
.breeze-dropdown__panel--right {
  left: auto;
  right: 0;
  transform-origin: top right;
}
.breeze-dropdown__option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  color: #181c1d;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.breeze-dropdown__option:hover {
  background: rgba(115, 194, 251, 0.15);
  color: #006493;
}
.breeze-dropdown__option.is-active {
  background: linear-gradient(135deg, rgba(0, 100, 147, 0.95) 0%, rgba(0, 106, 98, 0.95) 100%);
  color: #ffffff;
}
.breeze-dropdown__option.is-active::after {
  content: "✓";
  margin-left: auto;
  font-size: 13px;
}

/* Padded panel — used for rich content (slider, swatches, sizes). */
.breeze-dropdown__panel--pad {
  padding: 18px 18px 16px;
  min-width: 280px;
}

/* Brand checkbox row */
.breeze-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: #181c1d;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.breeze-check:hover { background: rgba(115, 194, 251, 0.12); }
.breeze-check input { position: absolute; opacity: 0; pointer-events: none; }
.breeze-check__box {
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 100, 147, 0.3);
  background: rgba(255, 255, 255, 0.8);
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.breeze-check__box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: #ffffff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
  /* check mark via clip-path */
  clip-path: polygon(14% 47%, 0 60%, 38% 100%, 100% 22%, 86% 10%, 38% 71%);
}
.breeze-check input:checked + .breeze-check__box {
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  border-color: transparent;
}
.breeze-check input:checked + .breeze-check__box::after {
  opacity: 1;
  transform: scale(1);
}
.breeze-check__label { flex: 1; }
.breeze-check__count {
  font-size: 12px;
  color: #707880;
  background: rgba(0, 100, 147, 0.08);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Color swatch */
.breeze-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c, #ccc);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), box-shadow 0.3s ease;
}
.breeze-swatch--white { border-color: rgba(0, 0, 0, 0.15); }
.breeze-swatch:hover { transform: scale(1.12); }
.breeze-swatch.is-active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--c, #006493);
  transform: scale(1.05);
}

/* Size cell */
.breeze-size {
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(115, 194, 251, 0.25);
  font-size: 14px;
  font-weight: 500;
  color: #181c1d;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.breeze-size:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 100, 147, 0.4);
  color: #006493;
  transform: translateY(-1px);
}
.breeze-size.is-active {
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px -6px rgba(0, 100, 147, 0.45);
}
.breeze-size--disabled,
.breeze-size:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}
.breeze-size--disabled:hover { transform: none; background: rgba(255,255,255,0.7); color: #181c1d; }

.breeze-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9999px;
  color: #40484f;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.breeze-page-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #006493;
  transform: translateY(-1px);
}
.breeze-page-btn.is-active {
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(0, 100, 147, 0.45);
}

/* Пагинация каталога: «‹‹ ‹ 1 2 3 4 … 243 › ››». Полоса обязана влезать в
   телефон целиком: выход за экран раздувает мобильный layout viewport
   («сайт как на компе»), поэтому на узких экранах кнопки/зазоры сжаты,
   а перенос строк — страховка. */
.breeze-pagination { flex-wrap: wrap; }
.breeze-pagination .breeze-icon-btn:disabled {
  opacity: 0.3;
  pointer-events: none;
  transform: none;
}
@media (max-width: 480px) {
  .breeze-pagination.breeze-pagination { gap: 2px; }
  .breeze-pagination .breeze-icon-btn { padding: 6px; }
  .breeze-pagination .breeze-icon-btn svg { width: 16px; height: 16px; }
  .breeze-pagination .breeze-page-btn {
    min-width: 32px;
    height: 36px;
    padding: 0 6px;
    font-size: 13px;
  }
}

/* Product card — built on .glass-panel + .card-hover, but with a
   composed art area + body. */
.product-card {
  position: relative;
  /* Непрозрачная карточка вместо матового стекла. Матовый glass-panel
     (rgba white + backdrop-blur) над «живым» канвас-фоном давал серый подтон —
     «поддон» под карточками там, где градиент-арт его не перекрывал. Чистый
     белый + мягкая тень = карточка читается ровно, без серых ореолов. Тот же
     приём, что у плиток подборок (.coll-tile уже без стекла). */
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 16px 38px -20px rgba(0, 79, 117, 0.22);
}
.product-card__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Пропорция плитки = пропорции фото Poizon (750×480) → фото заполняет
     карточку на 100% без обрезки. Раньше было 4/5 + cover (резало бока). */
  aspect-ratio: 1.5625;
}
/* Волосяная линия между фото-зоной и телом: белые фото Poizon иначе
   сливаются с белой карточкой. */
.product-card__art::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(24, 28, 29, 0.07);
  z-index: 2;
  pointer-events: none;
}
/* Слайды фото на карточке: автолистание при наведении (breeze-card.js). */
.pc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* contain + белая подложка = фото НЕ обрезается (фото Poizon 1.5625 заполняют
     плитку 1.5625 без полей; нестандартные letterbox'ятся на белом, а не режутся). */
  object-fit: contain;
  background: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pc-slide.is-on { opacity: 1; }
.pc-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.product-card__art:hover .pc-dots { opacity: 1; }
.pc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  /* Тёмные точки: фото Poizon на белом фоне, белые точки терялись. */
  background: rgba(24, 28, 29, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: width 0.25s ease, background 0.25s ease;
}
.pc-dot.is-on {
  width: 14px;
  border-radius: 3px;
  background: #181c1d;
}
.product-card__placeholder {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(24, 28, 29, 0.18);
  text-align: center;
  padding: 0 16px;
  user-select: none;
  pointer-events: none;
  text-wrap: pretty;
}
.product-card__like {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #40484f;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.product-card__like:hover {
  color: #d05a6e;
  background: rgba(255, 255, 255, 0.92);
  transform: scale(1.08);
}
/* Тело карточки — компактное, в три строки: бровь (бренд + мета),
   название в одну строку, низ «цена ↔ чип доставки». Бренд-чип с фото
   убран (фото чистое), бренд переехал в бровь. Карточка непрозрачно-белая,
   blur телу не нужен. */
.product-card__body {
  padding: 13px 16px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 255, 255, 0.55);
}
.product-card__eyebrow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.product-card__brandname {
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #4a5157; /* нейтральный тёмно-серый (был бирюзовый #006493 — владелец: «текст неоновый, сделай обычное») */
}
.product-card__metatext {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  color: #707880;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card__title {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #181c1d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}
.product-card:hover .product-card__title { color: #006493; }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3px;
  min-width: 0;
}
.product-card__price {
  flex: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #006493;
  white-space: nowrap;
}
.product-card__deliv {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 9999px;
  background: rgba(0, 106, 98, 0.08);
  font-size: 11px;
  font-weight: 600;
  color: #006a62;
}
.product-card__deliv svg { width: 12px; height: 12px; flex-shrink: 0; }
.product-card__deliv em {
  font-style: normal;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* Короткий вариант срока («10–20 дн») живёт только на телефоне (см. ≤639). */
.product-card__deliv .pc-d-short { display: none; }
.product-card__deliv span { color: #707880; font-weight: 500; }

/* CTA-плитка «Индивидуальный заказ» в конце сетки каталога: для тех, кто
   долистал и не нашёл — байер-модель магазина (паттерн с мобильного Unicorn). */
.catalog-cta-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  min-height: 240px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(115, 194, 251, 0.20), transparent 55%),
    radial-gradient(130% 130% at 100% 100%, rgba(94, 246, 230, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.55);
}
.catalog-cta-tile strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #181c1d;
}
.catalog-cta-tile p { font-size: 13px; line-height: 1.5; color: #40484f; }
.catalog-cta-tile__ic {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(115, 194, 251, 0.26), rgba(94, 246, 230, 0.26));
  color: #006493;
}
.catalog-cta-tile__ic svg { width: 22px; height: 22px; }
.catalog-cta-tile__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  padding: 10px 14px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 26px -12px rgba(0, 100, 147, 0.55);
}
.catalog-cta-tile__btn svg { flex-shrink: 0; }
@media (max-width: 639px) {
  /* На телефоне ячейка сетки узка для кнопки — плитка занимает всю строку. */
  .catalog-cta-tile { grid-column: 1 / -1; min-height: 0; padding: 18px 16px; gap: 8px; }
  .catalog-cta-tile strong { font-size: 16px; }
  .catalog-cta-tile p { font-size: 12px; }
  .catalog-cta-tile__ic { width: 36px; height: 36px; border-radius: 12px; }
  .catalog-cta-tile__ic svg { width: 18px; height: 18px; }
  .catalog-cta-tile__btn { padding: 9px 14px; font-size: 12px; }
}


/* Page transition — fade only.
   NOTE: avoid `transform` on <body>; any non-`none` transform (incl.
   the identity matrix left by `animation-fill-mode: both`) turns body
   into a containing block for position:fixed children, which breaks
   the full-page background canvas. */
@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes page-leave {
  to { opacity: 0; }
}
body { animation: page-enter 0.6s var(--ease-cine) both; }
body.is-leaving { animation: page-leave 0.32s cubic-bezier(.4,0,.6,1) both; }

/* ════════════════════════════════════════════════════════════
   Collections — chips, like-pill and view CTA inside cards
   ════════════════════════════════════════════════════════════ */

.collection-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #40484f;
  white-space: nowrap;
}

.collection-like {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #40484f;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.collection-like:hover {
  color: #d05a6e;
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.04);
}
/* Лайкнутая подборка — стойкое «сердце» + пульс при переключении (живой лайк). */
.collection-like.is-liked {
  color: #d05a6e;
  background: rgba(255, 235, 238, 0.92);
  border-color: rgba(208, 90, 110, 0.32);
}
.collection-like.is-liked svg { fill: currentColor; }
@keyframes coll-like-pop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.32); }
  70%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .collection-like.like-pop svg { animation: coll-like-pop 0.42s cubic-bezier(.16,.84,.27,1); }
}

/* ════════════════════════════════════════════════════════════
   COLLECTIONS BENTO  (added 2026-06-01)
   Плитки подборок разного размера (как виджеты на рабочем столе)
   пакуются вместе: каждая занимает tile_cols×tile_rows ячеек,
   grid-auto-flow:dense заполняет дыры. Размер задаётся на карточке
   через CSS-переменные --c / --r (инлайн-стилем).
   ════════════════════════════════════════════════════════════ */
/* ── Раскладка подборок: БЕНТО из тесселлирующих паттернов ──────────────────
   Одна grid-сетка из 4 колонок; каждая плитка размещена ЯВНО (grid-column/
   grid-row приходят inline-стилем от сервера), паттерны заполняют блоки
   ЦЕЛИКОМ → гарантированно без дыр и без нахлёстов. Есть плитки всех форм,
   включая высокие 1×3 и крупные 2×3. */
.coll-bento2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 112px;
  gap: 14px;
}
@media (min-width: 1024px) {
  .coll-bento2 { grid-auto-rows: 144px; gap: 20px; }
}
/* Узкие экраны — flex-стопка: явное grid-размещение flex НЕ читает, поэтому
   плитки просто встают в одну колонку. */
@media (max-width: 700px) {
  .coll-bento2 { display: flex; flex-direction: column; gap: 14px; }
  .coll-bento2 > * { height: 186px; }
}

/* Плитка-карточка (без backdrop-filter — у неё своя плотная обложка-градиент). */
.coll-tile {
  position: relative;
  display: block;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
}
.coll-tile__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
}
.coll-tile__title {
  font-size: clamp(19px, 1.5vw, 27px); line-height: 1.15;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.coll-tile__desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
/* Содержимое адаптируется под РАЗМЕР плитки (data-cw × data-rh), чтобы текст не
   вылезал за края и мета (сезон · кол-во) всегда была видна. */
.coll-tile[data-rh="1"] .coll-tile__inner { padding: 15px 20px; }
.coll-tile[data-rh="1"] .coll-tile__desc { display: none; }              /* низкая — без описания */
.coll-tile[data-rh="1"] .coll-tile__title { -webkit-line-clamp: 2; }
.coll-tile[data-rh="1"] .coll-tile__tags { flex-wrap: nowrap; overflow: hidden; }
.coll-tile[data-cw="1"][data-rh="1"] .coll-tile__tags { display: none; } /* 1×1 — без тегов */
.coll-tile[data-rh="3"] .coll-tile__desc { -webkit-line-clamp: 6; }
.coll-tile[data-cw="2"][data-rh="2"] .coll-tile__title,
.coll-tile[data-rh="3"] .coll-tile__title { font-size: clamp(24px, 2.3vw, 36px); }
/* Мобильная стопка: у всех плиток одна высота → единый вид (без описания). */
@media (max-width: 700px) {
  .coll-tile__desc { display: none !important; }
  .coll-tile__tags { display: flex !important; }
  .coll-tile__title { -webkit-line-clamp: 2 !important; font-size: 20px !important; }
}

/* Сердце-лайк прямо на плитке списка (компактная пилюля; работает через тот же
   делегированный обработчик .collection-like в breeze-collection.js). */
.coll-tile__like {
  padding: 5px 10px 5px 9px;
  font-size: 12px;
  gap: 5px;
}
.coll-tile__like svg { width: 15px; height: 15px; }

.collection-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #181c1d;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.collection-view svg {
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.card-hover:hover .collection-view {
  background: rgba(255, 255, 255, 0.96);
}
.card-hover:hover .collection-view svg {
  transform: translateX(3px);
}

.collection-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #181c1d;
  transition:
    background-color 0.3s ease,
    transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.collection-go svg {
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.card-hover:hover .collection-go {
  background: rgba(255, 255, 255, 0.96);
}
.card-hover:hover .collection-go svg {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════
   Lookbook — model card, stats overlay, moodboard tiles, items
   ════════════════════════════════════════════════════════════ */

.lookbook-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 100, 147, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #006493;
}
.lookbook-chip--trigger {
  gap: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.lookbook-chip--trigger:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 100, 147, 0.4);
  transform: translateY(-1px);
}
.lookbook-chip--trigger .breeze-dropdown__chevron {
  transition: transform 0.3s ease;
}
.breeze-dropdown.is-open .lookbook-chip--trigger .breeze-dropdown__chevron {
  transform: rotate(180deg);
}

.lookbook-model {
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.lookbook-model__placeholder {
  position: relative;
  z-index: 1;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(24, 28, 29, 0.2);
  text-align: center;
  user-select: none;
  pointer-events: none;
  margin-top: -120px;
}

.lookbook-stats {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 12px 14px 10px;
}
.lookbook-stats__title {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #40484f;
  margin-bottom: 8px;
}
.lookbook-stats__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}
.lookbook-stats__cell span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #71787e;
}
.lookbook-stats__cell b {
  font-size: 13px;
  font-weight: 700;
  color: #181c1d;
}
.lookbook-stats__size {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(24, 28, 29, 0.08);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #006493;
}

.lookbook-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background-size: 130% 130%;
  background-position: center;
  will-change: transform;
  transition:
    transform 0.5s cubic-bezier(.16,.84,.27,1),
    box-shadow 0.5s cubic-bezier(.16,.84,.27,1),
    background-size 0.7s cubic-bezier(.16,.84,.27,1);
}
.lookbook-tile:hover {
  transform: translateY(-10px) scale(1.09);
  box-shadow: 0 26px 50px -16px rgba(0, 100, 147, 0.5);
  background-size: 185% 185%;
  z-index: 4;
}
.lookbook-tile span {
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.16,.84,.27,1);
}
.lookbook-tile:hover span {
  transform: translateY(-2px);
}
/* Neighbour tiles in the same gallery ease back so the hovered shot pops */
.grid:has(.lookbook-tile:hover) .lookbook-tile:not(:hover) {
  transform: scale(0.96);
  opacity: 0.78;
}
.lookbook-tile span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(24, 28, 29, 0.45);
}

.lookbook-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.lookbook-item__art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: 125% 125%;
  background-position: center;
  will-change: transform;
  transition:
    transform 0.5s cubic-bezier(.16,.84,.27,1),
    box-shadow 0.5s cubic-bezier(.16,.84,.27,1),
    background-size 0.7s cubic-bezier(.16,.84,.27,1);
}
.lookbook-item__art > span {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(24, 28, 29, 0.22);
  text-align: center;
  padding: 0 10px;
}
/* Фото товара в плитке «вещи из образа» — не обрезаем (contain) на белом фоне. */
.lookbook-item__art--photo { background: #fff; }
.lookbook-item__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(.16,.84,.27,1);
}
.lookbook-item:hover .lookbook-item__art img { transform: scale(1.06); }
.lookbook-item:hover .lookbook-item__art {
  transform: translateY(-8px) scale(1.07);
  box-shadow: 0 24px 42px -16px rgba(0, 100, 147, 0.5);
  background-size: 165% 165%;
  z-index: 3;
}
.lookbook-item__art--add {
  background: rgba(255, 255, 255, 0.55);
  border: 1px dashed rgba(0, 100, 147, 0.4);
  flex-direction: column;
  gap: 6px;
  color: #006493;
}
.lookbook-item__art--add span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #006493;
}
.lookbook-item__title {
  font-size: 13px;
  color: #40484f;
  margin-top: 2px;
}
.lookbook-item__price {
  font-size: 13px;
  font-weight: 700;
  color: #181c1d;
}

/* ════════════════════════════════════════════════════════════
   SIZE PICKER — category-aware: system switcher + size grid + conversion table.
   Works for shoes (EU/US/UK/СМ), clothing (INT/RU/EU), headwear, rings and
   one-size accessories.
   ════════════════════════════════════════════════════════════ */
.size-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(0, 79, 117, 0.06);
  border: 1px solid rgba(115, 194, 251, 0.22);
}
.size-seg button {
  padding: 7px 0;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #40484f;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.size-seg button:hover { color: #006493; }
.size-seg button.is-active {
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(0, 100, 147, 0.45);
}

/* Size summary line */
.size-summary {
  font-size: 13px;
  color: #40484f;
  text-align: center;
}
.size-summary b { color: #006493; font-weight: 700; }

/* Conversion table */
.size-table {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(115, 194, 251, 0.22);
}
.size-table__head,
.size-table__row {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
}
.size-table__head {
  background: rgba(0, 79, 117, 0.06);
}
.size-table__head span {
  padding: 8px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #40484f;
  transition: color 0.25s ease, background-color 0.25s ease;
}
.size-table__head span.is-active {
  color: #006493;
  background: rgba(115, 194, 251, 0.18);
}
.size-table__row {
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-top: 1px solid rgba(24, 28, 29, 0.06);
}
.size-table__row:hover { background: rgba(115, 194, 251, 0.12); }
.size-table__row.is-active { background: linear-gradient(135deg, rgba(0,100,147,0.95), rgba(0,106,98,0.95)); }
.size-table__row.is-active span { color: #ffffff; }
.size-table__row span {
  padding: 9px 0;
  text-align: center;
  font-size: 13px;
  color: #181c1d;
}
.size-table__row span.col-active { font-weight: 700; color: #006493; }
.size-table__row.is-active span.col-active { color: #ffffff; }
.size-table__row--off { opacity: 0.4; cursor: not-allowed; }
.size-table__row--off:hover { background: transparent; }

/* Size grid — column count is set inline per category */
.breeze-size-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

/* One-size accessory — single confirmed chip in place of the grid */
.breeze-onesize {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-top: 12px;
  padding: 11px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #006493 0%, #006a62 100%);
  box-shadow: 0 8px 20px -8px rgba(0, 100, 147, 0.5);
}
.breeze-onesize svg { width: 16px; height: 16px; }

/* Caption line under the picker (dimensions, fit hint, …) */
.breeze-size-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: #707880;
}

/* Reusable element-switch animations */
@keyframes bz-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bz-anim-in { animation: bz-fade-in 0.4s cubic-bezier(.2,.7,.2,1) both; }
.bz-stagger-in > * { animation: bz-fade-in 0.45s cubic-bezier(.2,.7,.2,1) both; }
.bz-stagger-in > *:nth-child(2) { animation-delay: .05s; }
.bz-stagger-in > *:nth-child(3) { animation-delay: .1s; }
.bz-stagger-in > *:nth-child(4) { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .bz-anim-in, .bz-stagger-in > * { animation: none; } }

/* Modern browsers: native cross-document view transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: page-leave 0.32s cubic-bezier(.4,0,.6,1) both; }
::view-transition-new(root) { animation: page-enter 0.6s var(--ease-cine) both; }

/* ════════════════════════════════════════════════════════════
   GLOBAL MOTION LAYER  (added 2026-06-01)
   Site-wide entrance, richer reveals, sticky-header depth, smooth
   anchors and field focus. Purely additive: every animated rule
   lives inside `prefers-reduced-motion: no-preference`, and the
   resting state of every element is its natural, fully-visible
   one — so nothing here can hide content if motion is off or if
   JS never runs. Works on EVERY page (even ones with no hand-
   placed reveal markup) because all pages load this stylesheet.
   ════════════════════════════════════════════════════════════ */

/* Cinematic easing tokens (used by every entrance animation below).
   --ease-cine        = smooth expo-style decelerate, no overshoot → opacity & blur.
   --ease-cine-spring = gentle back-out: the element drifts a hair PAST its resting
                        place then settles, giving a soft "lands into position" feel →
                        transforms only (translate/scale). Kept subtle (1.26, not 1.56)
                        so it reads as cinematic, not bouncy/playful. */
:root {
  --ease-cine: cubic-bezier(.16, 1, .3, 1);
  --ease-cine-spring: cubic-bezier(.34, 1.26, .42, 1);
}

/* Smooth in-page anchor jumps (product tabs "#reviews", FAQ, …) and keep the
   landed-on target clear of the sticky header. */
:target { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: no-preference) {
  /* The <body> already fades in via page-enter. Layer a gentle upward drift on
     the main content so arriving on ANY page feels intentional. The transform
     is confined to <main>, never the fixed background canvas or sticky header. */
  @keyframes breeze-content-rise {
    from { opacity: 0; transform: translateY(26px) scale(.988); }
    to   { opacity: 1; transform: none; }
  }
  /* fill-mode backwards (НЕ both): удержанный forwards-transform (пусть даже
     identity) навсегда делает main containing block'ом для fixed-потомков —
     липкий бар PDP приклеивался к низу СТРАНИЦЫ вместо экрана. Финальный кадр
     = естественное состояние, так что backwards визуально не отличим. */
  main { animation: breeze-content-rise 0.85s var(--ease-cine-spring) backwards; }

  /* Continue the liquid-stagger cadence past the 7th child so large grids
     (catalog, collections) keep rippling in; capped at child 13+ so a long
     grid never trails on forever. */
  .liquid-stagger.is-in > *:nth-child(8)    { transition-delay: 0.61s; }
  .liquid-stagger.is-in > *:nth-child(9)    { transition-delay: 0.67s; }
  .liquid-stagger.is-in > *:nth-child(10)   { transition-delay: 0.73s; }
  .liquid-stagger.is-in > *:nth-child(11)   { transition-delay: 0.78s; }
  .liquid-stagger.is-in > *:nth-child(12)   { transition-delay: 0.83s; }
  .liquid-stagger.is-in > *:nth-child(n+13) { transition-delay: 0.88s; }
}

/* Sticky header gains depth + a glass blur once the page is scrolled. The
   toggle class `is-scrolled` is set on <body> by breeze-liquid.js. Depth-only
   (no movement) so it is fine to keep under reduced-motion too. */
.header-bleed {
  transition:
    box-shadow 0.4s cubic-bezier(.2,.7,.2,1),
    background-color 0.4s ease,
    backdrop-filter 0.4s ease;
}
body.is-scrolled .header-bleed {
  box-shadow: 0 14px 34px -16px rgba(0, 100, 147, 0.30);
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  background-color: rgba(245, 249, 251, 0.80) !important;
}

/* Generic form fields (auth, checkout, custom-order, search …) get a soft
   focus glow. The search-island input keeps its own dedicated focus style. */
input:not(.search-island__input):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
textarea,
select {
  transition: box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
@media (prefers-reduced-motion: no-preference) {
  input:not(.search-island__input):not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus-visible,
  textarea:focus-visible,
  select:focus-visible {
    box-shadow: 0 0 0 4px rgba(115, 194, 251, 0.22);
    border-color: #73c2fb;
  }
}

/* ════════════════════════════════════════════════════════════
   КОРЗИНА — выдвижной drawer (глобальный) + бейдж в шапке
   ════════════════════════════════════════════════════════════ */
[data-cart-root] { display: none; }
[data-cart-root].is-open { display: block; }
.cart-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(11,47,61,0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: cart-fade .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cart-fade { from { opacity: 0; } to { opacity: 1; } }
.cart-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 100%; max-width: 420px; z-index: 101; display: flex; flex-direction: column; background: rgba(255,255,255,0.72); backdrop-filter: blur(28px) saturate(1.25); -webkit-backdrop-filter: blur(28px) saturate(1.25); border-left: 1px solid rgba(255,255,255,0.85); border-top-left-radius: 36px; border-bottom-left-radius: 36px; box-shadow: -32px 0 80px -30px rgba(0,79,117,0.4); animation: cart-slide .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cart-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cart-backdrop, .cart-drawer { animation: none; } }
.cart-item { opacity: 0; transform: translateY(14px); animation: cart-item-in .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cart-item-in { to { opacity: 1; transform: none; } }
.cart-item.is-removing { animation: cart-item-out .4s cubic-bezier(.4,0,.6,1) forwards; pointer-events: none; }
@keyframes cart-item-out { to { opacity: 0; transform: translateX(28px); max-height: 0; margin-top: -4px; padding-top: 0; padding-bottom: 0; } }
.cart-thumb { position: relative; width: 76px; height: 92px; flex-shrink: 0; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,0.7); display: flex; align-items: center; justify-content: center; }
.cart-thumb span { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; text-align: center; color: rgba(24,28,29,0.26); padding: 0 8px; user-select: none; }
.cart-thumb--photo { background: #fff; }
.cart-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.qty { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9999px; background: rgba(255,255,255,0.7); border: 1px solid rgba(115,194,251,0.28); box-shadow: 0 6px 16px -10px rgba(0,79,117,0.25); }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9999px; color: #006493; transition: background-color .2s ease, transform .2s ease, color .2s ease; }
.qty button:hover { background: rgba(115,194,251,0.18); }
.qty button:active { transform: scale(0.9); }
.qty button:disabled { color: rgba(112,120,128,0.4); cursor: not-allowed; }
.qty button:disabled:hover { background: transparent; }
.qty output { min-width: 22px; text-align: center; font-size: 14px; font-weight: 700; color: #181c1d; font-variant-numeric: tabular-nums; }
.cart-remove { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9999px; color: #707880; opacity: 0; transition: opacity .3s ease, color .25s ease, background-color .25s ease; }
.cart-item:hover .cart-remove { opacity: 1; }
.cart-remove:hover { color: #ba1a1a; background: rgba(186,26,26,0.1); }
@media (hover: none) { .cart-remove { opacity: 1; } }   /* на тач-устройствах нет hover → показываем всегда */
.cart-checkout { background: linear-gradient(135deg,#006493 0%,#006a62 100%); box-shadow: 0 14px 30px -12px rgba(0,100,147,0.55); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.cart-checkout:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(0,100,147,0.6); }
.cart-checkout:active { transform: translateY(0); }
.cart-checkout svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.cart-checkout:hover svg { transform: translateX(4px); }
.cart-empty-illo { background: radial-gradient(ellipse 70% 70% at 50% 40%, rgba(115,194,251,0.35), rgba(94,246,230,0.18) 60%, transparent 100%); }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9999px; background: #006493; color: #fff; font-size: 10px; font-weight: 800; line-height: 17px; text-align: center; pointer-events: none; box-shadow: 0 2px 6px -1px rgba(0,79,117,0.5); }
.cart-badge[hidden] { display: none; }

/* ════════════════════════════════════════════════════════════
   TAP RIPPLE  (added 2026-06-09)
   Material-style ink ripple для кнопок/пилюль/чипов. Двигатель —
   breeze-ripple.js (делегирован на document, переживает SPA-свопы).
   Чисто аддитивно: рябь живёт в КЛИПОВАННОМ слое внутри хоста, ничего
   в раскладке не меняется. Цвет ряби берётся из --bz-ripple (на светлых
   кнопках — бирюза, на тёмных/активных — белый). Уважает reduced-motion.
   ════════════════════════════════════════════════════════════ */
.bz-ripple-layer {
  position: absolute; inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bz-ripple {
  position: absolute;
  border-radius: 9999px;
  background: var(--bz-ripple, currentColor);
  opacity: 0.16;
  transform: scale(0);
  pointer-events: none;
  animation: bz-ripple 0.62s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes bz-ripple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bz-ripple { display: none; } }

/* Бренд-тон ряби под тип кнопки. На светлой поверхности — бирюза; на
   тёмной/активной (градиентная заливка, белый текст) — белый. */
.breeze-pill, .breeze-chip, .breeze-facet, .breeze-page-btn, .breeze-size,
.breeze-dropdown__option, .collection-view, .lookbook-chip--trigger { --bz-ripple: #006493; }
.cart-checkout,
.breeze-chip.is-active, .breeze-page-btn.is-active, .breeze-size.is-active,
.breeze-dropdown__option.is-active { --bz-ripple: #ffffff; }

/* ════════════════════════════════════════════════════════════
   STICKY FOOTER — подвал всегда у нижней кромки окна.
   body — flex-колонка на всю высоту вьюпорта; в потоке только
   sticky-шапка, <main> и <footer> (канвас/зерно/оверлеи — fixed).
   <main> забирает свободное место → при коротком контенте футер
   прижат к низу, при длинном — в конце документа. Адаптивно к
   масштабированию: высота считается от вьюпорта, не фиксирована.
   ════════════════════════════════════════════════════════════ */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* дубль min-h-screen — на случай страницы без класса */
}
/* min-width:0 — main это flex-item: без него он не сжимается ниже min-content
   содержимого и на телефоне раздувает layout viewport («сайт как на компе»). */
body > main { flex: 1 0 auto; min-width: 0; }
body > header, body > footer { flex-shrink: 0; }

/* Личный кабинет: body — flex-column (липкий футер), и <main> с mx-auto в таком
   флексе СЖИМАЕТСЯ по контенту (auto-margins отключают cross-stretch) и
   центрируется → при переключении разделов левый блок-селектор «гулял» по
   горизонтали (на узких разделах съезжал вправо). Фиксируем ширину явно
   (width:100% + max-width) → блок стабилен, сайдбар стоит на позиции «как на
   Профиле». Ширину держим ~как у Профиля; структуру блоков подгоняем под неё. */
.lk-shell { width: 100%; max-width: 1024px; }

/* ═══ Мобильная адаптация: тач-зоны и компакт-карточка (телефон + Telegram
   Mini App). Десктоп не трогаем — всё под max-width: 639px, кроме тап-вспышки. */
a, button, label { -webkit-tap-highlight-color: transparent; }
.catalog-facets-toggle { display: none; }
/* Скроллер чипов с contain:inline-size сам ширины не имеет — всегда тянем флексом. */
.catalog-band { min-width: 0; }
.catalog-band .chip-scroller { flex: 1 1 auto; }
.catalog-band .breeze-chip { white-space: nowrap; }
/* Ведомый ряд Тип/Цвет/Фасон: на десктопе прозрачен (display:contents) — фасеты
   текут в ленте .catalog-facets как раньше; распорки скрыты. Своя раскладка —
   только на телефоне (ниже, в @media max-width:700). */
.catalog-guided { display: contents; }
.guided-edge { display: none; }
@media (min-width: 701px) {
  /* Десктоп: Категория и Для кого делят панель пополам вокруг разделителя. */
  .catalog-primary .catalog-band { flex: 1 1 0; }
  /* .catalog-guided=display:contents → на десктопе фасеты текут естественным
     DOM-порядком (Тип·Цвет·Фасон·Цена·Бренд·Размер), Поиск остаётся справа (ml-auto). */
}
@media (max-width: 700px) {
  /* Шапка на телефоне/Mini App ЛИПКАЯ, как на десктопе (владелец, 2026-06-12:
     «хедер должен двигаться вместе со скролингом» = оставаться на экране) —
     position:sticky приходит от tailwind-классов самой шапки, тут не трогаем. */
  /* Корзина — на весь экран: контент тянется на всю высоту, футер за экраном. */
  body[data-page="cart"] > main { width: 100%; min-height: calc(100dvh - 72px); }
  body[data-page="cart"] [data-cart-page] { flex: 1 1 auto; display: flex; flex-direction: column; }
  body[data-page="cart"] [data-cart-page] > .glass-panel { flex: 1 1 auto; justify-content: center; }
  /* Drawer корзины — настоящий полноэкранный лист: без потолка max-width (на
     широких телефонах оставался зазор слева) и без скруглений/рамки слева —
     скруглённые углы на всю-экранной панели показывали фон в левых углах. */
  .cart-drawer { max-width: none; border-left: 0; border-radius: 0; }
  .catalog-facets-toggle { display: inline-flex; justify-content: center; padding: 12px 14px; min-height: 50px; }
  /* Панель каталога: у групп (Категория / Для кого) подпись НАД чипами, чипы
     ПЕРЕНОСЯТСЯ и видны целиком — лента с маской обрезала крайние кнопки.
     Wrap не раздувает min-content (вклад = самый длинный чип), маска/скролл
     не нужны. «Тип» на телефоне — дропдауном в панели «Фильтры» (ниже). */
  .catalog-primary .catalog-band { flex-direction: column; align-items: stretch; gap: 8px; }
  /* Все чипы фильтров — ПО ЦЕНТРУ построчно (просьба владельца): подпись группы
     и сами чипы Категория/Для кого центрируем. */
  .catalog-primary .catalog-band > span { text-align: center; }
  .catalog-band .chip-scroller {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    contain: none;
    -webkit-mask-image: none;
    mask-image: none;
    padding-right: 0;
  }
  /* Кнопка «Фильтры» убрана → сортировка на всю ширину своим рядом. */
  .catalog-controls { grid-template-columns: minmax(0, 1fr); }
  .catalog-controls .catalog-primary { grid-column: 1 / -1; }
  button.catalog-sort > span { min-width: 0; }
  button.catalog-sort > span > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* Планшет / узкий десктоп (701–1100): в строку Категория+Для кого+сортировка не
   помещаются — лента чипов с маской scroll-обрезала крайние («Аксессуары»,
   «Мужское»). Складываем панель в столбец и переносим чипы (как на телефоне),
   чтобы ВСЕ параметры были видны целиком. Выше 1100 строка помещается штатно.
   Специфичность .catalog-controls .catalog-primary нужна, чтобы перебить
   tailwind-утилиту md:flex-row (breeze-tailwind.css грузится позже). */
@media (min-width: 701px) and (max-width: 1100px) {
  .catalog-controls .catalog-primary { flex-direction: column; align-items: stretch; }
  .catalog-primary .catalog-band { flex: 0 0 auto; }
  .catalog-controls .catalog-primary > .w-px { display: none; } /* вертикальный разделитель в столбце не нужен */
  .catalog-band .chip-scroller {
    flex-wrap: wrap;
    overflow-x: visible;
    contain: none;
    -webkit-mask-image: none;
    mask-image: none;
    padding-right: 0;
  }
}
/* Любой контент шире экрана не должен ни панорамить страницу вбок, ни раздувать
   мобильный layout viewport («сайт как на компе», белая полоса при свайпе).
   Фон в тон body: если какая-то щель и появится (overscroll, отставший канвас),
   она будет фирменно-светлой, а не белой. */
html { overflow-x: clip; background: #f7fafa; }
/* Корневой скроллбар СКРЫТ (решение владельца): прокрутка работает как обычно
   (колесо/тач/клавиши), а фон заливает окно до самого края — никакой полосы. */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; width: 0; height: 0; }
@media (max-width: 700px) {
  /* Закрытая панель дропдауна (absolute, min-width 260px, opacity:0) торчит за
     правый край и одна расширяет вьюпорт — в закрытом состоянии обрезаем её
     рамками триггера. Открытая выпадает как обычно. */
  .breeze-dropdown:not(.is-open) { overflow: clip; }
  /* Фильтр подборок: поиск-остров на своей строке, чипам жанров — вся первая. */
  .coll-filterbar { flex-wrap: wrap; }
  .coll-filterbar .chip-scroller { flex: 1 1 0; }
  /* Стеклянные тулбары «чипы + компакт-поиск» (подборки, конструктор подборок):
     строки переносятся, остров — ВСЕГДА своей строкой на всю ширину. Иначе
     фикс-ширина выдавливала чипы, а раскрытие перебрасывало остров на новую
     строку, дёргая панель и всё под ней. */
  .glass-panel:has(> .search-island--compact) { flex-wrap: wrap; }
  .glass-panel > .search-island--compact { width: 100%; }
  /* Раскрытый компакт-остров на телефоне — вся ширина своей строки, НЕ фикс-360px:
     360 шире контейнера (390−2×20=350) → Chrome раздувал layout viewport
     (390→400) прямо во время анимации, у поиска разъезжались боковые отступы
     (20 слева / 10 справа), а соседние блоки «дышали», не участвуя в анимации.
     Ширина от контейнера — перелива нет ни в одном кадре раскрытия. */
  .search-island--compact.is-expanded { width: 100%; }
  /* Каталог: быстрые чипы-фасеты (паттерн мобильного Unicorn — фильтр в один
     тап). ВСЕ параметры видны на телефоне (кнопка «Фильтры» убрана — прятать
     нечего): тройка Размер/Цена/Бренд, ведомый ряд Тип/Цвет/Фасон, поиск.
     Тег в селекторе — перебить tailwind .flex; reveal глушим: панель
     постоянная, у неё своя анимация чипов ниже. */
  div.catalog-facets { display: flex; justify-content: center; opacity: 1 !important; transform: none !important; gap: 8px; margin-bottom: 26px; }
  /* Тройка — первой и в фиксированном порядке (DOM-порядок десктопный). */
  .catalog-facets .catalog-facet-size { order: -3; }
  .catalog-facets .catalog-facet-price { order: -2; }
  .catalog-facets .catalog-facet-brand { order: -1; }
  /* Ведомый ряд Тип/Цвет/Фасон — отдельной строкой под тройкой (order:0).
     Тип/Цвет по центру (две распорки flex:1 по краям). Когда выбраны тип+цвет и
     у типа есть фасоны — Фасон раскрывается справа, а вся группа Тип/Цвет/Фасон
     остаётся ПО ЦЕНТРУ (justify-content:center), Тип/Цвет мягко смещаются влево по
     мере роста Фасона. Без распорок и большого зазора (было «криво»). */
  .catalog-guided {
    display: flex; flex-basis: 100%; width: 100%; order: 0; margin-top: 2px;
    align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    min-width: 0; box-sizing: border-box;
  }
  .guided-edge { display: none; }
  .catalog-guided .guided-type  { order: 1; }
  .catalog-guided .guided-color { order: 2; }
  .catalog-guided .guided-fason {
    order: 3; flex: 0 0 auto; max-width: 0; opacity: 0; pointer-events: none; white-space: nowrap;
    transition: max-width .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  }
  .catalog-guided:not(.is-refined) .guided-fason { overflow: hidden; }
  .catalog-guided.is-refined .guided-fason { max-width: 60vw; opacity: 1; pointer-events: auto; }
  /* Чипам — тач-рост. */
  .catalog-facets .breeze-facet { padding: 10px 15px; min-height: 42px; }
  /* У «Цены» до выбора прячем дефолтный полный диапазон («: 3 500 — 25 000 ₽»)
     — чип читается просто «Цена»; выбранный диапазон показывается. */
  .catalog-price-def { display: none; }
  /* Появление чипов: мягкий подъём со стэггером. display:none→flex при
     открытии «Фильтров» перезапускает анимацию у докрытых — панель «раскатывается».
     fill backwards: transform отпускается после кадра (готча containing block). */
  .catalog-facets > * { animation: brz-chip-in 0.42s var(--ease-cine-spring) backwards; }
  .catalog-facets > *:nth-child(2) { animation-delay: 0.16s; }
  .catalog-facets > *:nth-child(3) { animation-delay: 0.2s; }
  .catalog-facets > *:nth-child(4) { animation-delay: 0.24s; }
  .catalog-facets > *:nth-child(5) { animation-delay: 0.28s; }
  .catalog-facets > *:nth-child(n+6) { animation-delay: 0.32s; }
  /* Тройка (визуально первая) — свои ранние задержки; тег в селекторе, чтобы
     перебить nth-child-правила выше при равной специфичности. */
  div.catalog-facets .catalog-facet-size { animation-delay: 0s; }
  div.catalog-facets .catalog-facet-price { animation-delay: 0.06s; }
  div.catalog-facets .catalog-facet-brand { animation-delay: 0.12s; }
  .catalog-facets-toggle.is-active .breeze-dropdown__chevron { transform: rotate(180deg); }
  /* Точка на «Фильтрах» — в свёрнутой части есть активные фильтры. */
  .catalog-facets-dot {
    width: 7px; height: 7px; border-radius: 9999px; flex-shrink: 0;
    background: linear-gradient(135deg, #006493, #006a62);
    box-shadow: 0 0 0 3px rgba(0, 100, 147, 0.14);
  }
  @keyframes brz-chip-in {
    from { opacity: 0; transform: translateY(7px) scale(.97); }
    to   { opacity: 1; transform: none; }
  }
  /* Сорт-кнопка: без десктопной высоты (тег в селекторе — перебить min-h-[67px]). */
  button.catalog-sort { min-height: 50px; min-width: 0; }
  /* Выпадающие панели фильтров не шире экрана (в экран их вписывает dropdown.js). */
  .breeze-dropdown__panel { max-width: calc(100vw - 24px); }
  /* «Правые» панели (сортировка и т.п.) на телефоне открываются ВПРАВО от
     триггера: левый якорь уводил их за левый край экрана (текст обрезан),
     а dropdown.js вписывает только правый вылет. */
  .breeze-dropdown__panel--right { left: 0; right: auto; transform-origin: top left; }
  /* Поиск в «Фильтрах» каталога — к левому краю (нейтрализуем tailwind .ml-auto,
     селектор специфичнее одного класса). */
  /* Поиск виден всегда — компактная «таблетка» по ЦЕНТРУ своей строки (margin
     auto на отдельной строке после ведомого ряда); по тапу раскрывается во всю
     ширину (правило .is-expanded{width:100%} ниже). */
  .catalog-facets .search-island--compact { order: 1; flex: 0 0 auto; margin-left: auto; margin-right: auto; }
}
@media (max-width: 639px) {
  /* Каталог/поиск 2 колонки: тело карточки сжимаем пропорционально. */
  .catalog-grid { gap: 12px; }
  .product-card__body { padding: 9px 11px 11px; gap: 3px; }
  .product-card__brandname { font-size: 9.5px; }
  .product-card__metatext { font-size: 11px; }
  .product-card__title { font-size: 13.5px; }
  /* flex-wrap — страховка: при очень длинной цене чип уходит строкой ниже,
     а не выпирает из карточки. */
  .product-card__foot { gap: 7px; flex-wrap: wrap; row-gap: 2px; }
  .product-card__price { font-size: 15px; }
  /* Чип доставки: на узкой карточке вместо целой фразы — срок цифрами
     («10–20 дн»): информативнее голого грузовичка. */
  .product-card__deliv { padding: 4px 7px; }
  .product-card__deliv .pc-d-full { display: none; }
  .product-card__deliv .pc-d-short { display: inline; font-size: 10.5px; }
  .product-card__like { width: 34px; height: 34px; top: 8px; right: 8px; }
  /* Свотчи цвета — тач-размер. */
  .breeze-swatch { width: 38px; height: 38px; }
  /* Главная: межсекционный «воздух» 96px на телефоне превращается в пустые
     экраны — поджимаем (тег в селекторе перебивает tailwind .gap-24). */
  div.home-flow { gap: 56px; }
  /* Описание товара: простыня текста клампится до 8 строк, дальше —
     кнопка «Читать дальше» (логика в product.html, data-desc-more). */
  .pdp-desc:not(.is-open) {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .pdp-desc-more { padding: 10px 2px; margin-top: 2px; }
  /* Поиск-островок: кнопке закрытия — полноценная тач-зона. */
  .search-island__close { width: 38px; height: 38px; }
  /* Футер: ссылкам — тач-поле без сдвига вёрстки. */
  [data-footer] a { padding: 8px 6px; margin: -8px -6px; }
}
