﻿/* ============================================================
   antichniistore вЂ” СЂРµРґРёР·Р°Р№РЅ РІ РґСѓС…Рµ aircenter.space
   Р§С‘СЂРЅРѕ-Р±РµР»Р°СЏ РїР°Р»РёС‚СЂР°, РѕРіСЂРѕРјРЅР°СЏ С‚РѕРЅРєР°СЏ С‚РёРїРѕРіСЂР°С„РёРєР°,
   РїР»РѕС‚РЅС‹Рµ СЃРµС‚РєРё, РЅРѕР»СЊ СЃРєСЂСѓРіР»РµРЅРёР№, С‚РѕРЅРєРёРµ Р»РёРЅРёРё.
   Р›РѕРіРёРєР° Рё СЂР°Р·РјРµС‚РєР° РЅРµ РјРµРЅСЏР»РёСЃСЊ.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f2;
  --ink: #0a0a0a;
  --ink-2: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e6e6e3;
  --line-strong: #111;
  --accent: #ff4015;
  --tap: 0 0 0 1px var(--line-strong) inset;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* Feedback/subcategory/task cleanup 2026-06-24 */
.quick-views-section {
  display: none !important;
}

.feedback-section .section-heading p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.feedback-form input,
.feedback-form textarea,
.feedback-form select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  outline: 0;
  border-radius: var(--radius-sm);
  text-transform: none;
  letter-spacing: 0;
}

#agents,
#agents.air-dark-panel {
  width: 100vw !important;
  max-width: none !important;
  margin: 96px calc(50% - 50vw) 0 !important;
  padding: 84px max(24px, calc((100vw - 1280px) / 2 + 24px)) 96px !important;
  background: #050505 !important;
  color: #fff !important;
  overflow: hidden !important;
  border: 0 !important;
}

#agents .section-heading,
#agents.air-dark-panel .section-heading {
  margin-top: 0 !important;
}

#agents .section-heading span,
#agents .section-heading h2,
#agents.air-dark-panel .section-heading span,
#agents.air-dark-panel .section-heading h2 {
  color: #fff !important;
}

#agents .agent-grid,
#agents.air-dark-panel .agent-grid {
  width: 100% !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  border-color: rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.18) !important;
}

#agents .agent-card,
#agents.air-dark-panel .agent-card {
  min-width: 0 !important;
  min-height: 132px !important;
  justify-content: flex-end !important;
  background: #050505 !important;
  color: #fff !important;
}

#agents .agent-card h3,
#agents.air-dark-panel .agent-card h3 {
  color: #fff !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

#agents .agent-card:hover,
#agents.air-dark-panel .agent-card:hover {
  background: #fff !important;
}

#agents .agent-card:hover h3,
#agents.air-dark-panel .agent-card:hover h3 {
  color: #050505 !important;
}

.success-page {
  width: min(1100px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  gap: 18px;
  align-content: center;
}

.success-box {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  background: #fff;
}

.success-logo {
  width: 160px;
  height: auto;
  margin-bottom: 24px;
  filter: grayscale(1) contrast(1.2);
}

.success-box h1,
.success-box h2 {
  margin: 0 0 16px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(36px, 7vw, 84px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: 0;
}

.success-box p {
  max-width: 660px;
  color: var(--muted);
}

.success-feedback .feedback-form {
  max-width: none;
  padding: 0;
  border: 0;
}

@media (max-width: 900px) {
  #agents,
  #agents.air-dark-panel {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    padding: 56px 20px 72px !important;
  }

  #agents .agent-grid,
  #agents.air-dark-panel .agent-grid {
    grid-template-columns: 1fr !important;
  }

  .feedback-form {
    padding: 20px;
  }
}

/* Final performance + catalogue image quality layer 2026-07-04.
   Keeps the visual language, but removes expensive hover filters/transforms that
   made large desktop grids stutter and keeps product packshots crisp. */
@media (hover: hover) and (pointer: fine) {
  .product-card:hover,
  .product-card:hover .product-visual,
  .product-card:hover .visual-tile--photo,
  .product-card:hover .visual-photo,
  .product-card:hover .visual-mark,
  .product-card:hover .visual-mark img {
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
  }
}

@media (min-width: 769px) {
  #productGrid.catalog-grid > .product-card,
  .catalog-grid > .product-card {
    content-visibility: auto !important;
    contain: layout paint style !important;
    contain-intrinsic-size: 520px 420px;
  }

  .product-card > .product-visual,
  .product-card > .product-visual.visual-tile,
  .product-card > .product-visual.visual-tile--photo {
    contain: layout paint !important;
    overflow: hidden !important;
  }

  .product-card .visual-photo,
  .product-card .product-visual img {
    image-rendering: auto !important;
    filter: none !important;
    transform: none !important;
    will-change: auto !important;
    backface-visibility: hidden !important;
  }

  .product-card,
  .product-card * {
    transition-duration: .12s !important;
  }
}

.brand-rail-more {
  background: #050505 !important;
  color: #fff !important;
}

.brand-rail-more .brand-rail-logo,
.brand-rail-more strong,
.brand-rail-more small,
.brand-rail-more em,
.brand-rail-more .brand-rail-all {
  color: #fff !important;
}

.brand-rail-logo img {
  image-rendering: auto !important;
}

/* Final mobile navigation/product-image fix 2026-07-04.
   Owns the bottom bar and product hero after all older mobile overrides. */
@media (max-width: 900px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 7000 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0 0 env(safe-area-inset-bottom, 0px) !important;
    margin: 0 !important;
    background: #050505 !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: 0 -1px 0 #050505, 0 -10px 18px rgba(255,255,255,.86) !important;
    overflow: hidden !important;
    transform: translateZ(0) !important;
  }

  .bottom-nav::before,
  html.desktop-shell .bottom-nav::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: -2px !important;
    height: 2px !important;
    background: #050505 !important;
  }

  .bottom-nav a,
  .bottom-nav button,
  html.desktop-shell .bottom-nav a,
  html.desktop-shell .bottom-nav button {
    display: grid !important;
    place-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    padding: 0 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,.28) !important;
    border-radius: var(--radius-lg) !important;
    background: #050505 !important;
    color: #fff !important;
    font: 700 11px/1.1 var(--font) !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .bottom-nav a:first-child,
  html.desktop-shell .bottom-nav a:first-child {
    border-left: 0 !important;
  }

  .bottom-nav a:hover,
  .bottom-nav a:focus-visible,
  .bottom-nav button:hover,
  .bottom-nav button:focus-visible {
    background: #fff !important;
    color: #050505 !important;
  }

  body[data-page="product"] #productPage,
  html.desktop-shell body[data-page="product"] #productPage {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body[data-page="product"] .product-neo-hero,
  html.desktop-shell body[data-page="product"] .product-neo-hero {
    width: 100% !important;
    max-width: 100vw !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 14px 12px 18px !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body[data-page="product"] .product-hero-photo,
  html.desktop-shell body[data-page="product"] .product-hero-photo {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    order: 2 !important;
    z-index: 4 !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(260px, 76vw, 430px) !important;
    min-height: 260px !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    border: 1px solid #e2e2de !important;
    background: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body[data-page="product"] .product-hero-photo img,
  html.desktop-shell body[data-page="product"] .product-hero-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 8px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    filter: drop-shadow(0 14px 18px rgba(0,0,0,.12)) !important;
    mix-blend-mode: normal !important;
    background: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body[data-page="product"] .product-hero-photo > span,
  html.desktop-shell body[data-page="product"] .product-hero-photo > span {
    display: grid !important;
    place-items: center !important;
    color: #050505 !important;
    background: #fff !important;
  }

  body[data-page="product"] .product-bg-word,
  html.desktop-shell body[data-page="product"] .product-bg-word {
    z-index: 1 !important;
    opacity: .08 !important;
  }

  body[data-page="product"] .product-hero-copy,
  html.desktop-shell body[data-page="product"] .product-hero-copy,
  body[data-page="product"] .product-hero-purchase,
  html.desktop-shell body[data-page="product"] .product-hero-purchase {
    position: relative !important;
    z-index: 5 !important;
  }
}

/* Final edge overflow fix for real mobile browsers: keep header rows and the
   fixed nav inside the visual viewport even when older overrides are cached. */
@media (max-width: 900px) {
  [hidden] {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box !important;
  }

  .site-header,
  html.desktop-shell .site-header {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 18px 18px 12px !important;
  }

  .header-actions,
  html.desktop-shell .header-actions,
  .catalog-trigger,
  html.desktop-shell .catalog-trigger,
  .search-hub,
  html.desktop-shell .search-hub {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    width: 100vw !important;
    max-width: 100vw !important;
    grid-template-columns: repeat(5, 20vw) !important;
  }

  .bottom-nav a,
  .bottom-nav button {
    width: 20vw !important;
    max-width: 20vw !important;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .bottom-nav a,
  .bottom-nav button {
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: 10px !important;
    letter-spacing: .04em !important;
    white-space: nowrap !important;
    padding-inline: 2px !important;
  }

  .bottom-nav {
    width: 100dvw !important;
    max-width: 100dvw !important;
    overflow: hidden !important;
    grid-template-columns: repeat(5, 16vw) !important;
    justify-content: start !important;
  }

  .bottom-nav a,
  .bottom-nav button {
    width: 16vw !important;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 20px 40px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  overflow: visible;
}
.brand-logo {
  height: 66px;
  width: auto;
  filter: grayscale(1) contrast(1.18) drop-shadow(0 1px 0 rgba(0,0,0,.05));
  transform-origin: left center;
  animation: logoDraw 1.4s var(--ease) both, logoFloat 6s ease-in-out 1.4s infinite;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.brand:hover .brand-logo {
  transform: rotate(-2deg) scale(1.05);
  filter: grayscale(1) contrast(1.18) drop-shadow(0 4px 12px rgba(0,0,0,.18));
}

@keyframes logoDraw {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(2px); }
  60%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0); }
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-2px) rotate(-1.2deg); }
}

.catalog-trigger {
  background: #fff;
  border: 1px solid var(--ink);
  color: var(--ink);
  min-height: 48px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.catalog-trigger:hover { background: var(--ink); color: #fff; }

.catalog-trigger-count {
  min-width: 44px;
  margin-left: auto;
  text-align: right;
  color: var(--muted);
}

.catalog-trigger:hover .catalog-trigger-count {
  color: inherit;
}

.search-hub { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.search-tabs { display: inline-flex; gap: 4px; }
.search-tabs button {
  background: transparent; border: 0;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 4px 0; margin-right: 14px;
  position: relative;
}
.search-tabs button[aria-selected="true"] { color: var(--ink); }
.search-tabs button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
}

.header-search {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  min-height: 46px;
  padding: 12px 16px;
  transition: border-color .2s var(--ease);
}
.header-search:focus-within { border-color: var(--ink); }
.header-search svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.header-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 14px; color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }

.header-actions { display: inline-flex; gap: 8px; align-items: center; }
.circle-action {
  position: relative;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.circle-action:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.circle-action svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
#cartCount {
  position: absolute; top: 3px; right: 4px;
  z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 1;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid #fff;
  pointer-events: none;
}

/* ============ MEGA MENU ============ */
.mega-menu {
  position: absolute; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 40px 36px 56px;
  animation: fade .3s var(--ease);
}
.mega-menu[hidden] { display: none; }
.mega-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
}
.mega-grid a {
  background: #fff; padding: 28px 24px;
  font-size: 15px; font-weight: 400;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.mega-grid a:hover { background: var(--ink); color: #fff; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ============ MAIN ============ */
main {
  padding: 0 36px 120px;
  max-width: 1680px;
  margin: 0 auto;
}

/* ============ HERO ============ */
.hero-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  gap: 60px;
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero-copy h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 200;
  font-size: clamp(54px, 9vw, 156px);
  line-height: .92;
  letter-spacing: 0;
  margin: 0 0 28px;
  animation: rise .9s var(--ease) both;
}
.hero-copy p {
  font-size: 16px; max-width: 520px; color: var(--muted);
  margin: 0 0 36px;
  animation: rise .9s var(--ease) .15s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; animation: rise .9s var(--ease) .3s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.primary-button, .secondary-button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.primary-button:hover { background: transparent; color: var(--ink); }
.secondary-button { background: transparent; color: var(--ink); }
.secondary-button:hover { background: var(--ink); color: #fff; }
.primary-button.full, .secondary-button.full { width: 100%; }

.hero-stack {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
}
.hero-stack > div {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.hero-stack strong {
  font-family: "Archivo", sans-serif; font-weight: 300;
  font-size: 44px; letter-spacing: 0;
}
.hero-stack span {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}

/* ============ SECTION HEADING ============ */
.section-heading, .filter-heading, .catalog-toolbar > div:first-child {
  margin: 96px 0 32px;
}
.section-heading span,
.filter-heading span,
.catalog-toolbar span {
  display: inline-block;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.section-heading h2,
.filter-heading h2,
.catalog-toolbar h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 200;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
}
.filter-heading p, .catalog-toolbar p {
  color: var(--muted); margin: 14px 0 0; max-width: 540px;
}

/* ============ FILTERS ============ */
.top-filter-section { padding-bottom: 20px; }
.top-filter-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-panel label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.filter-panel input, .filter-panel select, .filter-panel textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--ink);
  padding: 8px 0; outline: 0; text-transform: none; letter-spacing: 0;
  border-radius: var(--radius-sm);
  appearance: none;
}
.filter-panel select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 4px top 50%, right 0 top 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 18px; }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.toggle-line { flex-direction: row !important; align-items: center; gap: 10px; text-transform: none !important; letter-spacing: 0 !important; color: var(--ink) !important; font-size: 13px !important; }
.toggle-line input { width: 16px; height: 16px; accent-color: var(--ink); }
.advanced-filter-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 22px 0 4px;
  border: 0;
  border-top: 1px solid var(--line);
}
.advanced-filter-panel[hidden] {
  display: none !important;
}
.advanced-filter-panel legend {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.advanced-filter-field {
  min-width: 0;
}
.filter-actions { display: flex; gap: 10px; grid-column: 1 / -1; }

/* ============ CATEGORIES ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  width: 100%;
}
.category-tile {
  background: #fff;
  border: 0; text-align: left;
  padding: 28px 22px 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 160px;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.category-tile:hover { background: var(--ink); color: #fff; }
.category-tile:hover small { color: rgba(255,255,255,.55); }
.category-tile > span {
  font-family: "Archivo", sans-serif;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.category-tile:hover > span { color: rgba(255,255,255,.55); }
.category-tile strong {
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 22px; line-height: 1.1; letter-spacing: 0;
  margin-top: auto;
}
.category-tile small { font-size: 11px; color: var(--muted); }
.category-tile[data-active="true"] { background: var(--ink); color: #fff; }

/* ============ AI SEARCH ============ */
.ai-voice-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 28px;
  border: 1px solid var(--ink);
  background:
    radial-gradient(circle at 14% 20%, rgba(255,255,255,.9), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f7f7f4 54%, #ededeb 100%);
  color: var(--ink);
  overflow: hidden;
  position: relative;
  transition: background .42s var(--ease), color .42s var(--ease), border-color .42s var(--ease);
}
.ai-voice-panel::before {
  content: "";
  position: absolute;
  inset: -45% auto auto 58%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,5,5,.08), transparent 68%);
  pointer-events: none;
}
.ai-voice-panel.is-active {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.1), transparent 24%),
    #050505;
  color: #fff;
  border-color: #050505;
}
.ai-voice-orb {
  width: 112px;
  height: 112px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, #fff 0 10%, rgba(255,255,255,.9) 16%, transparent 28%),
    conic-gradient(from 140deg, #050505, #3c3c3c, #f5f5f1, #050505, #050505);
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .38s var(--ease), filter .38s var(--ease), background .38s var(--ease), box-shadow .38s var(--ease);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.ai-voice-orb::before,
.ai-voice-orb::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.58);
  opacity: .72;
  z-index: 0;
}
.ai-voice-orb::after {
  inset: 27px;
  border-color: rgba(5,5,5,.24);
  background: radial-gradient(circle, rgba(255,255,255,.88), rgba(255,255,255,.12) 58%, transparent 70%);
}
.ai-voice-orb span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 50%;
  display: block;
  z-index: 1;
  background: rgba(255,255,255,.16);
  box-shadow:
    0 0 0 12px rgba(255,255,255,.12),
    inset 0 0 18px rgba(255,255,255,.34);
}
.ai-voice-orb:hover {
  transform: translateY(-3px) scale(1.02);
  filter: contrast(1.1) saturate(1.05);
}
.ai-voice-panel.is-active .ai-voice-orb {
  background:
    radial-gradient(circle at 42% 36%, #fff 0 8%, rgba(255,255,255,.86) 14%, transparent 24%),
    conic-gradient(from 180deg, #fff, #777, #050505, #fff, #050505);
  box-shadow: 0 28px 80px rgba(255,255,255,.12), 0 22px 70px rgba(0,0,0,.52);
}
.ai-voice-panel.is-listening .ai-voice-orb,
.ai-voice-panel.is-speaking .ai-voice-orb,
.ai-voice-panel.is-thinking .ai-voice-orb {
  animation: aiVoicePulse 1.4s var(--ease) infinite;
}
.ai-voice-panel.is-thinking .ai-voice-orb::before {
  animation: aiVoiceSpin 2.2s linear infinite;
  border-style: dashed;
}
.ai-voice-panel.is-speaking .ai-voice-orb span {
  animation: aiVoiceCore 1.05s var(--ease) infinite;
}
.ai-voice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-voice-copy strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 300;
  line-height: .95;
  color: currentColor;
}
.ai-voice-copy p {
  margin: 0;
  max-width: 760px;
  color: color-mix(in srgb, currentColor 62%, transparent);
  line-height: 1.45;
  font-size: 15px;
}
.ai-voice-stop {
  white-space: nowrap;
  background: transparent;
}
.ai-voice-panel.is-active .ai-voice-stop {
  color: #fff;
  border-color: rgba(255,255,255,.42);
}
@keyframes aiVoicePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.075); }
}
@keyframes aiVoiceSpin {
  to { transform: rotate(360deg); }
}
@keyframes aiVoiceCore {
  0%, 100% { transform: scale(.9); opacity: .78; }
  50% { transform: scale(1.15); opacity: 1; }
}
@media (max-width: 700px) {
  .ai-voice-panel {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 16px;
    gap: 14px;
  }
  .ai-voice-orb {
    width: 74px;
    height: 74px;
  }
  .ai-voice-orb span {
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 8px rgba(255,255,255,.13);
  }
  .ai-voice-copy strong {
    font-size: 22px;
  }
  .ai-voice-copy p {
    font-size: 12px;
  }
  .ai-voice-stop {
    grid-column: 1 / -1;
    width: 100%;
  }
}
.ai-voice-launch {
  width: 100%;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  padding: 12px 20px;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .28s var(--ease), background .28s var(--ease), color .28s var(--ease), box-shadow .28s var(--ease);
}
.ai-voice-launch:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 44px rgba(5,5,5,.16);
}
.ai-voice-launch-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 12%, transparent 30%),
    conic-gradient(from 160deg, currentColor, #bdbdb8, #fff, currentColor);
  box-shadow: inset 0 0 20px rgba(255,255,255,.42);
  flex: 0 0 auto;
}

/* Voice entry on the page: same premium language as the full-screen mode. */
.ai-voice-panel {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 1px;
  padding: 0;
  border-color: #050505;
  background: #050505;
  color: #050505;
  overflow: hidden;
  isolation: isolate;
}
.ai-voice-panel::before {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(5,5,5,.025) 1px, transparent 1px),
    linear-gradient(rgba(5,5,5,.018) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6;
  z-index: 0;
}
.ai-voice-panel::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 50%;
  width: 260px;
  height: 260px;
  border-radius: 48% 52% 55% 45% / 44% 46% 54% 56%;
  background: radial-gradient(circle, rgba(5,5,5,.08), transparent 64%);
  filter: blur(20px);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.ai-voice-launch,
.ai-voice-copy,
.ai-voice-stop {
  position: relative;
  z-index: 1;
}
.ai-voice-launch {
  width: 100%;
  min-height: 176px;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border: 0;
  background:
    radial-gradient(circle at 22% 16%, rgba(255,255,255,.14), transparent 24%),
    #050505;
  color: #fff;
  padding: 24px;
  box-shadow: none;
}
.ai-voice-launch:hover {
  transform: none;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.2), transparent 25%),
    #050505;
  color: #fff;
  box-shadow: none;
}
.ai-voice-launch-orb {
  width: 76px;
  height: 96px;
  border: 0;
  border-radius: 46% 54% 49% 51% / 40% 43% 57% 60%;
  position: relative;
  background:
    radial-gradient(circle at 38% 17%, rgba(255,255,255,.96) 0 7%, transparent 22%),
    radial-gradient(circle at 62% 64%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(150deg, #050505 0%, #171717 46%, #343431 67%, #050505 100%);
  box-shadow:
    0 18px 42px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -22px 44px rgba(0,0,0,.42);
  animation: aiVoiceInkFloat 5.8s ease-in-out infinite;
}
.ai-voice-launch-orb::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 38%;
  height: 10%;
  border-radius: 999px;
  background: rgba(255,255,255,.32);
  filter: blur(7px);
  transform: translateX(-50%);
}
.ai-voice-copy {
  background:
    radial-gradient(circle at 96% 18%, rgba(5,5,5,.05), transparent 26%),
    #fff;
  padding: 26px 28px;
  justify-content: center;
  gap: 12px;
}
.ai-voice-copy strong {
  font-size: clamp(30px, 3.8vw, 56px);
  letter-spacing: 0;
}
.ai-voice-copy p {
  max-width: 860px;
  color: rgba(5,5,5,.58);
  font-size: clamp(14px, 1.2vw, 17px);
}
.ai-voice-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ai-voice-examples button {
  min-height: 34px;
  border: 1px solid #e1e1de;
  background: #fff;
  color: #050505;
  padding: 8px 11px;
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.ai-voice-examples button:hover {
  background: #050505;
  color: #fff;
  border-color: #050505;
  transform: translateY(-1px);
}
.ai-voice-stop {
  align-self: stretch;
  min-width: 148px;
  border: 0;
  border-left: 1px solid #050505;
  border-radius: var(--radius-md);
  background: #fff;
}
.ai-voice-panel.is-active .ai-voice-launch {
  background:
    radial-gradient(circle at 24% 16%, rgba(255,255,255,.2), transparent 25%),
    #050505;
}
.ai-voice-panel.is-active {
  background: #050505;
  color: #050505;
  border-color: #050505;
}
.ai-voice-panel.is-listening .ai-voice-launch-orb,
.ai-voice-panel.is-speaking .ai-voice-launch-orb,
.ai-voice-panel.is-thinking .ai-voice-launch-orb {
  animation: aiVoiceInkFloat 5.8s ease-in-out infinite, aiVoiceInkListen 1.28s ease-in-out infinite;
}
.ai-voice-panel.is-active .ai-voice-stop {
  color: #050505;
  border-color: #050505;
  background: #fff;
}
@media (max-width: 700px) {
  .ai-voice-panel {
    grid-template-columns: 1fr;
  }
  .ai-voice-launch {
    min-height: 126px;
    flex-direction: row;
    align-items: center;
    padding: 18px;
  }
  .ai-voice-launch-orb {
    width: 56px;
    height: 72px;
  }
  .ai-voice-copy {
    padding: 20px;
  }
  .ai-voice-stop {
    min-height: 48px;
    width: 100%;
    border-left: 0;
    border-top: 1px solid #050505;
  }
}
.ai-voice-stage[hidden] {
  display: none !important;
}
.ai-voice-stage {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.1), transparent 28%),
    radial-gradient(circle at 16% 20%, rgba(255,255,255,.08), transparent 24%),
    #050505;
  color: #fff;
  overflow: hidden;
  animation: aiVoiceStageIn .42s var(--ease) both;
}
.ai-voice-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 0 56%, transparent 78%);
  pointer-events: none;
}
.ai-voice-stage::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.11), transparent 64%);
  filter: blur(6px);
  animation: aiVoiceAura 5.2s ease-in-out infinite;
  pointer-events: none;
}
.ai-voice-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.ai-voice-stage-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 30px;
  width: min(720px, 100%);
  text-align: center;
}
.ai-voice-sphere {
  width: clamp(220px, 36vw, 380px);
  height: clamp(220px, 36vw, 380px);
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 32%, #fff 0 7%, rgba(255,255,255,.9) 11%, transparent 23%),
    radial-gradient(circle at 56% 62%, rgba(255,255,255,.42), transparent 34%),
    conic-gradient(from 140deg, #fff, #575757, #050505, #d7d7d2, #fff, #050505, #fff);
  position: relative;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.15),
    0 44px 140px rgba(0,0,0,.72),
    0 0 100px rgba(255,255,255,.1);
  animation: aiVoiceFloat 4.8s ease-in-out infinite;
  overflow: hidden;
}
.ai-voice-sphere i,
.ai-voice-sphere span {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ai-voice-sphere i:nth-child(1) {
  inset: 9%;
  border: 1px solid rgba(255,255,255,.42);
  animation: aiVoiceRingOne 4.2s ease-in-out infinite;
}
.ai-voice-sphere i:nth-child(2) {
  inset: 22%;
  border: 1px dashed rgba(255,255,255,.45);
  animation: aiVoiceSpin 7s linear infinite;
}
.ai-voice-sphere i:nth-child(3) {
  inset: 34%;
  background: radial-gradient(circle, rgba(255,255,255,.92), rgba(255,255,255,.12) 58%, transparent 72%);
  filter: blur(.2px);
  animation: aiVoiceCore 1.8s ease-in-out infinite;
}
.ai-voice-sphere span {
  width: 18%;
  height: 18%;
  background: rgba(255,255,255,.86);
  box-shadow: 0 0 42px rgba(255,255,255,.42);
}
.ai-voice-stage.is-listening .ai-voice-sphere {
  animation: aiVoiceFloat 4.8s ease-in-out infinite, aiVoiceListen 1.35s ease-in-out infinite;
}
.ai-voice-stage.is-speaking .ai-voice-sphere i:nth-child(3) {
  animation-duration: .72s;
}
.ai-voice-stage.is-thinking .ai-voice-sphere i:nth-child(2) {
  animation-duration: 2.1s;
}
.ai-voice-stage-copy {
  display: grid;
  gap: 12px;
}
.ai-voice-stage-copy strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 300;
  line-height: .9;
  letter-spacing: 0;
}
.ai-voice-stage-copy p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  font-size: clamp(15px, 2vw, 20px);
  line-height: 1.45;
}
.ai-voice-stage-stop {
  min-width: 220px;
  color: #fff;
  border-color: rgba(255,255,255,.42);
  background: transparent;
}
body.ai-voice-open {
  overflow: hidden;
}
@keyframes aiVoiceStageIn {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes aiVoiceFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -10px, 0) scale(1.015); }
}
@keyframes aiVoiceListen {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 44px 140px rgba(0,0,0,.72), 0 0 100px rgba(255,255,255,.1); }
  50% { box-shadow: 0 0 0 10px rgba(255,255,255,.035), 0 50px 150px rgba(0,0,0,.76), 0 0 130px rgba(255,255,255,.2); }
}
@keyframes aiVoiceRingOne {
  0%, 100% { transform: scale(.98); opacity: .48; }
  50% { transform: scale(1.04); opacity: .9; }
}
@keyframes aiVoiceAura {
  0%, 100% { transform: scale(.92); opacity: .52; }
  50% { transform: scale(1.08); opacity: .85; }
}
@media (max-width: 700px) {
  .ai-voice-stage {
    padding: 22px;
  }
  .ai-voice-close {
    top: 16px;
    right: 16px;
  }
  .ai-voice-sphere {
    width: min(76vw, 320px);
    height: min(76vw, 320px);
  }
}
.ai-voice-stage {
  background:
    linear-gradient(180deg, rgba(5,5,5,.05), transparent 28%),
    #f7f7f3;
  color: #050505;
}
.ai-voice-stage::before {
  background-image:
    linear-gradient(90deg, rgba(5,5,5,.025) 1px, transparent 1px),
    linear-gradient(rgba(5,5,5,.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(#000, transparent 78%);
  opacity: .72;
}
.ai-voice-stage::after {
  width: min(620px, 80vw);
  height: min(620px, 80vw);
  border-radius: 48% 52% 54% 46% / 46% 50% 50% 54%;
  background: radial-gradient(circle, rgba(5,5,5,.08), transparent 62%);
  filter: blur(16px);
}
.ai-voice-close {
  border-color: rgba(5,5,5,.28);
  background: rgba(255,255,255,.7);
  color: #050505;
}
.ai-voice-stage-inner {
  gap: 28px;
}
.ai-voice-sphere {
  width: clamp(150px, 24vw, 260px);
  height: clamp(190px, 31vw, 340px);
  border-radius: 48% 52% 50% 50% / 42% 44% 56% 58%;
  background:
    radial-gradient(circle at 40% 18%, rgba(255,255,255,.95) 0 8%, transparent 20%),
    radial-gradient(circle at 62% 72%, rgba(255,255,255,.2), transparent 36%),
    linear-gradient(145deg, #111 0%, #050505 42%, #2b2b2a 68%, #050505 100%);
  box-shadow:
    0 0 0 1px rgba(5,5,5,.16),
    0 36px 90px rgba(5,5,5,.18),
    inset 0 0 44px rgba(255,255,255,.07);
  animation: aiVoiceInkFloat 5.6s ease-in-out infinite;
  transform: scale(calc(1 + (var(--voice-level, 0) * .035)));
}
.ai-voice-sphere::before {
  content: "";
  position: absolute;
  inset: -16%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 42% 38%, rgba(5,5,5,.18), transparent 48%),
    radial-gradient(circle at 60% 66%, rgba(5,5,5,.08), transparent 52%);
  filter: blur(24px);
  opacity: calc(.34 + (var(--voice-level, 0) * .36));
  z-index: -1;
}
.ai-voice-sphere i:nth-child(1) {
  inset: 15% 18% 18% 16%;
  border: 0;
  border-radius: 54% 46% 48% 52% / 42% 52% 48% 58%;
  background: linear-gradient(150deg, rgba(255,255,255,.34), transparent 64%);
  filter: blur(8px);
  animation: aiVoiceInkSurface 4.8s ease-in-out infinite;
}
.ai-voice-sphere i:nth-child(2) {
  inset: 28% 26% 24% 30%;
  border: 0;
  border-radius: 50% 50% 44% 56% / 52% 44% 56% 48%;
  background: radial-gradient(circle, rgba(255,255,255,.34), rgba(255,255,255,.04) 58%, transparent 72%);
  animation: aiVoiceInkBreath 2.8s ease-in-out infinite;
}
.ai-voice-sphere i:nth-child(3) {
  inset: auto auto 17% 50%;
  width: 44%;
  height: 18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,255,255,.26), transparent 70%);
  filter: blur(12px);
  animation: aiVoiceInkGlow 2.4s ease-in-out infinite;
}
.ai-voice-sphere span {
  width: 20%;
  height: 20%;
  background: rgba(255,255,255,.78);
  box-shadow:
    0 0 calc(26px + (var(--voice-level, 0) * 44px)) rgba(255,255,255,.46),
    0 0 0 calc(8px + (var(--voice-level, 0) * 12px)) rgba(255,255,255,.08);
}
.ai-voice-stage.is-listening .ai-voice-sphere {
  animation: aiVoiceInkFloat 5.6s ease-in-out infinite, aiVoiceInkListen 1.28s ease-in-out infinite;
}
.ai-voice-stage.has-audio .ai-voice-sphere {
  filter: contrast(1.08);
}
.ai-voice-stage.is-speaking .ai-voice-sphere span,
.ai-voice-stage.is-thinking .ai-voice-sphere span {
  animation: aiVoiceInkDot 1.05s ease-in-out infinite;
}
.ai-voice-stage-copy strong {
  font-size: clamp(38px, 6vw, 84px);
  letter-spacing: -.02em;
}
.ai-voice-stage-copy p {
  color: rgba(5,5,5,.62);
}
.ai-voice-stage-stop {
  color: #050505;
  border-color: rgba(5,5,5,.28);
  background: rgba(255,255,255,.64);
}
.ai-voice-stage-stop:hover,
.ai-voice-close:hover {
  background: #050505;
  color: #fff;
}
@keyframes aiVoiceInkFloat {
  0%, 100% { border-radius: 48% 52% 50% 50% / 42% 44% 56% 58%; transform: translate3d(0, 0, 0) scale(calc(1 + (var(--voice-level, 0) * .035))); }
  33% { border-radius: 52% 48% 45% 55% / 46% 40% 60% 54%; transform: translate3d(0, -8px, 0) scale(calc(1.015 + (var(--voice-level, 0) * .04))); }
  66% { border-radius: 45% 55% 54% 46% / 40% 50% 50% 60%; transform: translate3d(0, 5px, 0) scale(calc(.995 + (var(--voice-level, 0) * .03))); }
}
@keyframes aiVoiceInkSurface {
  0%, 100% { opacity: .72; transform: translate3d(-2%, -2%, 0) scale(.98); }
  50% { opacity: .95; transform: translate3d(3%, 2%, 0) scale(1.05); }
}
@keyframes aiVoiceInkBreath {
  0%, 100% { opacity: .62; transform: scale(.94); }
  50% { opacity: .95; transform: scale(1.12); }
}
@keyframes aiVoiceInkGlow {
  0%, 100% { opacity: .32; transform: translateX(-50%) scale(.86); }
  50% { opacity: .78; transform: translateX(-50%) scale(1.1); }
}
@keyframes aiVoiceInkListen {
  0%, 100% { box-shadow: 0 0 0 1px rgba(5,5,5,.16), 0 36px 90px rgba(5,5,5,.18), inset 0 0 44px rgba(255,255,255,.07); }
  50% { box-shadow: 0 0 0 1px rgba(5,5,5,.28), 0 42px 110px rgba(5,5,5,.24), inset 0 0 58px rgba(255,255,255,.12); }
}
@keyframes aiVoiceInkDot {
  0%, 100% { transform: scale(.86); opacity: .72; }
  50% { transform: scale(1.18); opacity: 1; }
}
@media (max-width: 700px) {
  .ai-voice-sphere {
    width: min(54vw, 220px);
    height: min(68vw, 280px);
  }
}

/* Final voice layer: a quiet ink core instead of a radar-style orb. */
.ai-voice-stage {
  --voice-level: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(5, 5, 5, .045), transparent 28%),
    linear-gradient(180deg, #f8f8f4 0%, #fff 72%);
}
.ai-voice-stage::before {
  background:
    linear-gradient(90deg, rgba(5,5,5,.018) 1px, transparent 1px),
    linear-gradient(rgba(5,5,5,.014) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .48;
}
.ai-voice-stage::after {
  width: min(540px, 72vw);
  height: min(540px, 72vw);
  background: radial-gradient(ellipse at center, rgba(5,5,5,.055), transparent 66%);
  filter: blur(24px);
  opacity: calc(.54 + (var(--voice-level, 0) * .22));
}
.ai-voice-sphere {
  width: clamp(160px, 21vw, 250px);
  height: clamp(214px, 29vw, 336px);
  border: 0;
  border-radius: 44% 56% 48% 52% / 38% 42% 58% 62%;
  background:
    radial-gradient(circle at 38% 16%, rgba(255,255,255,.92) 0 5%, rgba(255,255,255,.34) 11%, transparent 23%),
    radial-gradient(circle at 68% 78%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(150deg, #050505 0%, #151515 44%, #30302e 64%, #050505 100%);
  box-shadow:
    0 42px 105px rgba(5,5,5,.18),
    0 0 0 1px rgba(5,5,5,.12),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -34px 70px rgba(0,0,0,.42);
}
.ai-voice-sphere::before {
  inset: -20% -24% -18%;
  background:
    radial-gradient(circle at 38% 38%, rgba(5,5,5,.20), transparent 46%),
    radial-gradient(circle at 64% 72%, rgba(5,5,5,.11), transparent 50%);
  filter: blur(30px);
  opacity: calc(.24 + (var(--voice-level, 0) * .48));
}
.ai-voice-sphere::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17%;
  width: 38%;
  height: 7%;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  filter: blur(8px);
  transform: translateX(-50%) scaleX(calc(.82 + (var(--voice-level, 0) * .42)));
  opacity: calc(.35 + (var(--voice-level, 0) * .38));
}
.ai-voice-sphere i:nth-child(1) {
  inset: 13% 18% auto 17%;
  height: 34%;
  border-radius: 55% 45% 48% 52% / 42% 54% 46% 58%;
  background: linear-gradient(150deg, rgba(255,255,255,.32), rgba(255,255,255,.04) 72%, transparent);
  filter: blur(7px);
}
.ai-voice-sphere i:nth-child(2) {
  inset: 35% 30% 28% 32%;
  border-radius: 48% 52% 44% 56% / 54% 42% 58% 46%;
  background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,.03) 58%, transparent 74%);
}
.ai-voice-sphere i:nth-child(3) {
  inset: auto auto 18% 50%;
  width: 34%;
  height: 11%;
  background: rgba(255,255,255,.18);
  filter: blur(10px);
}
.ai-voice-sphere span {
  width: calc(16% + (var(--voice-level, 0) * 5%));
  height: calc(16% + (var(--voice-level, 0) * 5%));
  background: rgba(255,255,255,.86);
  box-shadow:
    0 0 calc(22px + (var(--voice-level, 0) * 56px)) rgba(255,255,255,.48),
    0 0 0 calc(7px + (var(--voice-level, 0) * 12px)) rgba(255,255,255,.08);
}
.ai-voice-stage.is-listening .ai-voice-sphere,
.ai-voice-stage.has-audio .ai-voice-sphere {
  animation:
    aiVoiceInkFloat 5.8s ease-in-out infinite,
    aiVoiceInkListen 1.18s ease-in-out infinite;
}
.ai-voice-stage.has-transcript .ai-voice-sphere {
  box-shadow:
    0 44px 112px rgba(5,5,5,.2),
    0 0 0 1px rgba(5,5,5,.22),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -34px 70px rgba(0,0,0,.42);
}
.ai-voice-stage-copy strong {
  color: #050505;
}
.ai-voice-stage-copy p {
  max-width: min(680px, 86vw);
  min-height: 1.45em;
}
@media (max-width: 700px) {
  .ai-voice-stage-inner {
    gap: 22px;
  }
  .ai-voice-sphere {
    width: min(48vw, 190px);
    height: min(64vw, 250px);
  }
}
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ai-form, .ai-results { background: #fff; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.ai-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ai-form input, .ai-form textarea, .ai-form select {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 8px 0; outline: 0; text-transform: none; letter-spacing: 0; border-radius: var(--radius-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row .wide-field { grid-column: 1 / -1; }
.ai-loading { padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.ai-loading strong { font-family: "Archivo", sans-serif; font-weight: 300; font-size: 24px; }
.progress-line { position: relative; height: 1px; background: var(--line); overflow: hidden; contain: paint; }
.progress-line i { position: absolute; inset: 0 auto 0 0; display: block; width: 42%; height: 100%; background: var(--ink); animation: progress 1.8s var(--ease) infinite; }
@keyframes progress { 0% { transform: translateX(-120%); } 100% { transform: translateX(260%); } }
.ai-result-grid { display: grid; gap: 12px; }
.ai-assistant-answer {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid #050505;
  background:
    radial-gradient(circle at 92% 22%, rgba(5,5,5,.06), transparent 24%),
    #fff;
  color: #050505;
}
.ai-assistant-answer span {
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ai-assistant-answer strong {
  max-width: 940px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}
.ai-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.ai-answer-actions button {
  min-height: 36px;
  border: 1px solid rgba(5,5,5,.18);
  background: #fff;
  color: #050505;
  padding: 0 12px;
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.ai-answer-actions button:hover {
  border-color: #050505;
  background: #050505;
  color: #fff;
  transform: translateY(-1px);
}
.ai-answer-actions button:active {
  transform: translateY(0) scale(.985);
}
.empty-card { padding: 28px; border: 1px dashed var(--line); display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.empty-card strong { font-family: "Archivo", sans-serif; font-weight: 300; font-size: 20px; color: var(--ink); }
.ai-empty-card { gap: 14px; }
.ai-criteria-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ai-criteria-list span {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  padding: 6px 8px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============ QUICK VIEWS ============ */
.quick-view-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.quick-view-grid a {
  background: #fff; padding: 22px 18px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.quick-view-grid a:hover { background: var(--ink); color: #fff; }

/* ============ CATALOG ============ */
.catalog-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  background: #fff;
  padding: 0;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease);
  position: relative;
}
.product-card > * { padding-left: 24px; padding-right: 24px; }
.product-card > .product-visual { padding: 0; }

/* ----- Product visual (subscription-service style monochrome tile) ----- */
.product-visual.visual-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}
.visual-rim {
  position: absolute; inset: 12px;
  border: 1px solid rgba(0,0,0,.08);
  pointer-events: none;
  transition: border-color .35s var(--ease);
}
.visual-sheen {
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255,255,255,.7), transparent 55%);
  pointer-events: none;
}
.visual-mark {
  width: 38%; aspect-ratio: 1; max-width: 110px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 22%;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.visual-mark img {
  width: 60%; height: 60%; object-fit: contain;
  filter: grayscale(1) contrast(1.2);
  transition: filter .4s var(--ease);
}
.product-card:hover .visual-mark { transform: translateY(-4px) scale(1.04); box-shadow: 0 22px 40px -22px rgba(0,0,0,.45); }
.product-card:hover .visual-mark img { filter: grayscale(1) contrast(1.35); }

.visual-mark img.service-color-icon,
.product-card:hover .visual-mark img.service-color-icon,
.visual-mark--service-icon .service-color-icon,
.product-card:hover .visual-mark--service-icon .service-color-icon {
  filter: none;
  mix-blend-mode: normal;
}

.visual-tile--photo {
  background: #f7f8fb;
}

.visual-tile--photo .visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transform: scale(1);
  transition: transform .65s var(--ease), filter .65s var(--ease);
}

.visual-tile--photo .visual-sheen {
  background: linear-gradient(180deg, rgba(255,255,255,.55), transparent 44%, rgba(255,255,255,.2));
}

.visual-tile--photo .visual-copy,
.visual-tile--photo .visual-bg-word {
  display: none;
}

.visual-tile--photo > small {
  background: rgba(255,255,255,.9);
  border-color: rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}

.product-card:hover .visual-tile--photo {
  filter: none;
}

.product-card:hover .visual-tile--photo .visual-photo {
  transform: scale(1.055);
}

.visual-bg-word {
  position: absolute;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 38%;
  /* fluid huge initials behind the mark вЂ” subscription-service vibe */
  font-size: clamp(80px, 14vw, 220px);
  line-height: 1;
  color: rgba(0,0,0,.05);
  letter-spacing: 0;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.visual-mark, .visual-copy, .visual-tile > small { position: relative; z-index: 1; }

.visual-copy {
  position: absolute; left: 22px; top: 20px;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 2;
}
.visual-copy span {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
.visual-copy strong {
  font-family: "Archivo", sans-serif; font-weight: 400;
  font-size: 14px; letter-spacing: 0; color: var(--ink);
}
.visual-tile > small {
  position: absolute; right: 22px; bottom: 18px;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  padding: 4px 10px; border: 1px solid var(--ink); background: #fff;
}

/* Tones вЂ” monochromatic surfaces with subtle character (no rainbow gradients) */
.tone-telegram   { background: #eef3f8; }
.tone-ai         { background: #f1f0ee; }
.tone-audio      { background: #efeeea; }
.tone-cinema     { background: #1a1a1a; }
.tone-cinema .visual-copy span, .tone-cinema .visual-copy strong { color: #fff; }
.tone-cinema .visual-bg-word { color: rgba(255,255,255,.06); }
.tone-cinema .visual-rim { border-color: rgba(255,255,255,.1); }
.tone-cinema > small { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }
.tone-game       { background: #f5f2ed; }
.tone-gift       { background: #f0efec; }
.tone-apple      { background: #fafafa; }
.tone-fashion    { background: #efece7; }
.tone-perfume    { background: #f4efe9; }
.tone-auto       { background: #ececec; }
.tone-accessory  { background: #f1efeb; }

/* ----- Card content ----- */
.card-badges { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 22px; }
.badge {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--line); color: var(--muted);
}
.badge.plug { color: var(--ink); border-color: var(--ink); }

.product-card h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 22px; line-height: 1.15; letter-spacing: 0;
  margin: 14px 0 6px;
}
.product-description {
  font-size: 13px; color: var(--muted); margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta, .seller-row, .stock-row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 10px; padding-bottom: 10px;
  border-top: 1px solid var(--line);
}
.price-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 18px; padding-bottom: 6px;
  border-top: 1px solid var(--ink);
  margin-top: 4px;
}
.price-line strong {
  font-family: "Archivo", sans-serif; font-weight: 300;
  font-size: 32px; letter-spacing: 0;
}
.price-line span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.card-buttons { display: grid; grid-template-columns: .9fr .9fr 1.45fr; gap: 1px; background: var(--line); margin: 18px -24px 0; padding: 0; border-top: 1px solid var(--line); }
.card-action {
  background: #fff; border: 0;
  padding: 18px 14px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.card-action:hover { background: #f4f4f2; }
.card-action.primary { background: var(--ink); color: #fff; }
.card-action.primary:hover { background: var(--accent); }

.catalog-load-more {
  width: min(100%, 360px);
  min-height: 48px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.catalog-autoload-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}
.catalog-load-more:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.catalog-load-more[hidden] { display: none; }

.soon-category-card {
  grid-column: 1 / -1;
  min-height: clamp(260px, 34vw, 460px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(24px, 5vw, 72px);
}
.soon-category-card span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.soon-category-card strong {
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(44px, 8vw, 120px);
  line-height: .9;
  letter-spacing: 0;
}
.soon-category-card p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ============ DRAWERS / PANELS ============ */
.cart-drawer, .checkout-drawer, .detail-view {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,.4);
  display: flex; justify-content: flex-end;
  animation: fade .25s var(--ease);
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.drawer-backdrop[hidden], .cart-drawer[hidden], .checkout-drawer[hidden], .detail-view[hidden] { display: none; }
.drawer-panel, .cart-panel {
  position: relative;
  z-index: 1;
  background: #fff; width: min(440px, 100%);
  height: 100%;
  padding: 28px 28px 120px;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  animation: slideIn .35s var(--ease);
}
.cart-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 28px;
}
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.panel-head h2 { font-family: "Archivo", sans-serif; font-weight: 300; font-size: 32px; margin: 0; letter-spacing: 0; }
.panel-head button { background: transparent; border: 1px solid var(--ink); width: 36px; height: 36px; }

.cart-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); min-height: 0; overflow-y: auto; }
.cart-list > * { background: #fff; padding: 16px; }
.cart-summary { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 12px; background: #fff; flex: 0 0 auto; }

/* ============ FORMS (order/seller/support) ============ */
.order-form, .seller-form, .chat-form { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.order-form label, .seller-form label, .chat-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.order-form input, .order-form textarea, .order-form select,
.seller-form input, .seller-form textarea, .seller-form select,
.chat-form input, .chat-form textarea {
  font-family: inherit; font-size: 14px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 8px 0; outline: 0; border-radius: var(--radius-sm);
  text-transform: none; letter-spacing: 0;
}
.payment-methods { border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.payment-methods legend { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 6px; }
.payment-methods label { flex-direction: row; align-items: center; gap: 10px; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 13px; }
.payment-methods label.is-disabled { color: var(--muted); opacity: .58; }
.payment-methods input[type="radio"] { accent-color: var(--ink); }
.payment-status { margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.payment-status[data-ready="true"] { color: #087f4f; }

.notice { font-size: 11px; color: var(--muted); line-height: 1.6; padding: 16px; border: 1px solid var(--line); margin-top: 22px; }
.order-result { margin-top: 18px; padding: 16px; border: 1px solid var(--ink); font-size: 13px; }

.selected-service { padding: 18px; border: 1px solid var(--line); margin-top: 18px; font-size: 13px; }
.selected-service .visual-tile,
.selected-service .selected-visual,
#selectedService .visual-tile,
#selectedService .selected-visual {
  display: none !important;
}
.selected-order-summary {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.selected-order-summary strong {
  font-size: 14px;
  line-height: 1.35;
}
.selected-order-summary span {
  color: var(--muted);
  line-height: 1.45;
}
.requirement-box { padding: 16px; border: 1px solid var(--line); background: var(--bg-soft); font-size: 12px; color: var(--muted); }

/* ============ SUPPORT / PROFILE / SELLER / AGENTS layouts ============ */
.support-layout, .profile-layout, .seller-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 24px;
}
.support-layout > *, .profile-layout > *, .seller-layout > * { background: #fff; padding: 28px; }
.profile-menu { display: flex; flex-direction: column; gap: 4px; }
.profile-menu a, .profile-menu button {
  text-align: left; background: transparent; border: 0;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 13px; letter-spacing: .04em; color: var(--ink);
}
.profile-card { padding: 20px; border: 1px solid var(--line); margin-bottom: 18px; }
.profile-section { margin-top: 28px; }
.profile-section h3 { font-family: "Archivo", sans-serif; font-weight: 300; font-size: 22px; margin: 0 0 12px; }
.status-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }

.chat-feed { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 16px; border: 1px solid var(--line); margin-bottom: 12px; }
.chat-message { padding: 10px 14px; border: 1px solid var(--line); font-size: 13px; max-width: 80%; }
.chat-message.compact { font-size: 12px; color: var(--muted); }
.support-faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.support-faq summary { cursor: pointer; font-size: 14px; letter-spacing: .02em; }

.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 24px; }
.agent-card { background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.agent-card h3 { font-family: "Archivo", sans-serif; font-weight: 300; font-size: 22px; margin: 0; }
.agent-meta { font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.manager-link { display: inline-block; margin-top: 18px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.seller-result { margin-top: 18px; padding: 16px; border: 1px solid var(--ink); font-size: 13px; }

.placeholder { color: var(--muted); font-size: 13px; padding: 18px; border: 1px dashed var(--line); }

/* ============ FOOTER ============ */
.site-footer {
  padding: 80px 36px 60px;
  border-top: 1px solid var(--line);
  margin-top: 80px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer h4 { font-family: "Archivo", sans-serif; font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.site-footer a { color: var(--muted); display: block; padding: 4px 0; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--ink); }

/* ============ BOTTOM NAV (mobile) ============ */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
}
.bottom-nav a, .bottom-nav button {
  background: transparent; border: 0;
  padding: 14px 6px; text-align: center;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.bottom-nav a + a, .bottom-nav button { border-left: 1px solid var(--line); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .top-filter-panel { grid-template-columns: repeat(3, 1fr); }
  .advanced-filter-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .quick-view-grid { grid-template-columns: repeat(3, 1fr); }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr auto; padding: 14px 20px; gap: 14px; }
  .search-hub { grid-column: 1 / -1; order: 4; }
  main { padding: 0 20px 120px; }
  .hero-section { grid-template-columns: 1fr; gap: 36px; padding: 60px 0 56px; }
  .catalog-grid, .ai-layout, .support-layout, .profile-layout, .seller-layout { grid-template-columns: 1fr; }
  .top-filter-panel { grid-template-columns: repeat(2, 1fr); }
  .advanced-filter-panel { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-view-grid { grid-template-columns: repeat(2, 1fr); }
  .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 60px 20px; }
  .bottom-nav { display: grid; }
  body { padding-bottom: 60px; }
  .brand-logo { height: 44px; }
}
@media (max-width: 520px) {
  .top-filter-panel { grid-template-columns: 1fr; }
  .catalog-grid, .category-grid, .quick-view-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .card-buttons { grid-template-columns: 1fr; margin: 18px 0 0; }
  .hero-stack strong { font-size: 32px; }
}

/* ============ APP COMPATIBILITY LAYER ============ */
body[data-telegram-mini-app="true"] {
  min-height: var(--tg-viewport-height, 100vh);
}

body.drawer-open,
body.cart-open,
body.detail-open {
  overflow: hidden;
}

.cart-drawer[aria-hidden="true"],
.checkout-drawer[aria-hidden="true"] {
  display: none !important;
  pointer-events: none;
}

.cart-drawer[aria-hidden="false"],
.checkout-drawer[aria-hidden="false"] {
  display: flex;
  pointer-events: auto;
}

.brand-copy {
  display: none;
}

body,
main,
section,
.top-filter-section,
.filter-panel,
.top-filter-panel,
.ai-layout,
.ai-form,
.ai-results,
.support-layout,
.profile-layout,
.seller-layout,
.catalog-grid,
.category-grid,
.quick-view-grid {
  max-width: 100%;
}

main,
.top-filter-panel,
.ai-form,
.ai-results,
.filter-panel label,
.filter-panel input,
.filter-panel select,
.filter-panel textarea,
.ai-form label,
.ai-form input,
.ai-form select,
.ai-form textarea {
  min-width: 0;
}

body[data-page="support"] main > section:not(#support),
body[data-page="profile"] main > section:not(#profile) {
  display: none;
}

body[data-page="home"] #support,
body[data-page="home"] #profile {
  display: none;
}

body[data-page="support"] #support,
body[data-page="profile"] #profile {
  min-height: calc(100vh - 180px);
}

.circle-action svg,
.catalog-trigger svg,
.bottom-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.circle-action {
  position: relative;
}

.circle-action #cartCount,
.circle-action span {
  min-width: 18px;
}

.detail-view {
  align-items: stretch;
  padding: 0;
  overflow-y: auto;
}

.detail-view .detail-layout {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 1px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--ink);
}

.detail-visual,
.detail-content {
  background: #fff;
  padding: 32px;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-content h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  line-height: .95;
  letter-spacing: 0;
  margin: 0;
}

.detail-grid,
.supplier-grid,
.plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-spec,
.source-card,
.plan-button {
  background: #fff;
  border: 0;
  padding: 18px;
}

.detail-spec small,
.detail-spec span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-spec strong,
.source-card strong,
.plan-button strong {
  display: block;
  margin-top: 6px;
  font-family: "Archivo", sans-serif;
  font-size: 22px;
  font-weight: 300;
}

.source-card[data-best="true"],
.plan-button[data-active="true"] {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.source-breakdown {
  display: grid;
  gap: 8px;
}

.source-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.source-breakdown i {
  color: var(--muted);
  font-style: normal;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ghost-button,
.danger-button,
.qty-button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.danger-button:hover,
.qty-button:hover,
.ghost-button:hover {
  border-color: var(--ink);
}

.cart-item h3 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: 22px;
}

.cart-line,
.cart-controls,
.profile-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cart-controls {
  margin-top: 14px;
}

.profile-metrics > div {
  flex: 1 1 140px;
  padding: 16px;
  border: 1px solid var(--line);
}

.profile-head {
  display: flex;
  gap: 18px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--ink);
  font-family: "Archivo", sans-serif;
  font-size: 24px;
}

.pay-link {
  display: inline-block;
  margin: 10px 0;
  padding: 14px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.pay-link:hover {
  background: var(--accent);
}

.ai-result-grid {
  grid-template-columns: 1fr;
}

@media (max-width: 900px) {
  html,
  body {
    overflow-x: hidden;
  }

  .brand-logo {
    width: auto;
    max-width: 120px;
    height: 44px;
    clip-path: none;
    animation: none;
  }

  .site-header {
    width: 100%;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .catalog-trigger {
    grid-column: 1 / -1;
    width: 100%;
    order: 3;
  }

  .search-hub {
    grid-column: 1 / -1;
    width: 100%;
    order: 4;
  }

  .header-actions {
    justify-self: end;
    gap: 6px;
  }

  .circle-action {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .header-search,
  .search-tabs {
    width: 100%;
    max-width: 100%;
  }

  .header-search input {
    min-width: 0;
  }

  .top-filter-section,
  .ai-search,
  .support-section,
  .profile-section {
    overflow: hidden;
  }

  .top-filter-panel,
  .advanced-filter-panel,
  .filter-actions,
  .price-row,
  .form-row {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .filter-actions {
    display: grid;
  }

  .filter-panel input,
  .filter-panel select,
  .filter-panel textarea,
  .ai-form input,
  .ai-form select,
  .ai-form textarea {
    width: 100%;
  }

  .ai-form,
  .ai-results,
  .support-layout > *,
  .profile-layout > *,
  .seller-layout > * {
    padding: 22px;
  }

  .detail-view .detail-layout {
    width: 100%;
    min-height: 100%;
    max-height: none;
    margin: 0;
    grid-template-columns: 1fr;
    border: 0;
  }

  .detail-grid,
  .supplier-grid,
  .plan-options {
    grid-template-columns: 1fr;
  }
}

/* ============ AIR MOTION LAYER ============ */
:root {
  --air-ease: cubic-bezier(.25, .74, .22, .99);
  --air-border: 1px solid rgba(0, 0, 0, .16);
  --air-pointer-x: 50vw;
  --air-pointer-y: 50vh;
}

body {
  font-family: "Onest", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .44;
  background:
    radial-gradient(circle at var(--air-pointer-x) var(--air-pointer-y), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 18rem),
    linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, .04) 1px, transparent 1px);
  background-size: auto, calc(100vw / 12) 100%, 100% 7.5rem;
  mix-blend-mode: multiply;
}

.site-header,
.mega-menu,
main,
.cart-drawer,
.checkout-drawer,
.detail-view,
.bottom-nav,
.site-footer {
  position: relative;
  z-index: 2;
}

.cart-drawer,
.checkout-drawer,
.detail-view {
  position: fixed;
}

.air-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  color: #050505;
  transition:
    opacity .7s var(--air-ease),
    transform .9s var(--air-ease),
    clip-path .9s var(--air-ease);
}

.air-preloader::before,
.air-preloader::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: var(--air-border);
  pointer-events: none;
}

.air-preloader::after {
  inset: 50% 14px auto;
}

.air-preloader.is-leaving {
  opacity: 0;
  transform: translateY(-2.5rem);
  clip-path: inset(0 0 100% 0);
}

.air-preloader__grid {
  position: absolute;
  inset: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.air-preloader__grid strong {
  font: inherit;
}

.air-preloader__mark {
  width: min(88vw, 980px);
  overflow: hidden;
  font-family: "Onest", "Inter", sans-serif;
  font-size: clamp(42px, 11vw, 150px);
  line-height: .84;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  animation: airMarkIn 1.4s var(--air-ease) both;
}

@keyframes airMarkIn {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(1.6rem);
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

.hero-section {
  position: relative;
  min-height: clamp(680px, calc(100svh - 72px), 940px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero-section::before {
  content: "antichniistore";
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(90px, 16vh, 180px);
  z-index: -1;
  color: rgba(0, 0, 0, .035);
  font-family: "Onest", sans-serif;
  font-size: clamp(70px, 17vw, 230px);
  line-height: .78;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(calc((var(--air-pointer-x) - 50vw) * -.015));
}

.hero-copy h1 {
  overflow: hidden;
}

.hero-copy h1 span {
  display: inline-block;
  transform: translateY(105%) rotate(.001deg);
  animation: airWordIn .95s var(--air-ease) forwards;
  animation-delay: calc(.2s + var(--air-word, 0) * 55ms);
}

@keyframes airWordIn {
  to {
    transform: translateY(0) rotate(.001deg);
  }
}

.hero-stack > div {
  overflow: hidden;
  transition:
    color .55s var(--air-ease),
    background .55s var(--air-ease),
    transform .55s var(--air-ease);
}

.hero-stack > div:hover {
  background: #050505;
  color: #fff;
  transform: translateY(-4px);
}

.primary-button,
.secondary-button,
.card-action,
.catalog-trigger,
.circle-action,
.category-tile,
.quick-view-grid a,
.bottom-nav a,
.bottom-nav button {
  will-change: transform;
  transform: translate3d(var(--air-x, 0), var(--air-y, 0), 0) rotate(var(--air-r, 0));
  transition:
    transform .6s var(--air-ease),
    color .6s var(--air-ease),
    background .6s var(--air-ease),
    border-color .6s var(--air-ease);
}

.primary-button,
.secondary-button,
.card-action,
.quick-view-grid a,
.catalog-trigger {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.primary-button::before,
.secondary-button::before,
.card-action::before,
.quick-view-grid a::before,
.catalog-trigger::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 100%;
  background: #050505;
  transform: translateY(102%);
  transition: transform .65s var(--air-ease);
}

.primary-button:hover::before,
.secondary-button:hover::before,
.card-action:hover::before,
.quick-view-grid a:hover::before,
.catalog-trigger:hover::before {
  transform: translateY(0);
}

.secondary-button:hover,
.card-action:hover,
.quick-view-grid a:hover,
.catalog-trigger:hover {
  color: #fff;
}

.product-card,
.category-tile,
.agent-card,
.profile-card,
.support-faq article,
.support-faq details {
  transition:
    transform .75s var(--air-ease),
    opacity .75s var(--air-ease),
    background .65s var(--air-ease),
    color .65s var(--air-ease),
    border-color .65s var(--air-ease);
}

.product-card {
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-top: 1px solid #050505;
  transform: translateX(-101%);
  transition: transform .9s var(--air-ease);
}

.product-card:hover::before {
  transform: translateX(0);
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-card:hover .product-visual {
  filter: none;
}

.visual-mark,
.product-visual,
.detail-visual {
  transition:
    transform .9s var(--air-ease),
    filter .9s var(--air-ease),
    clip-path .9s var(--air-ease);
}

.product-card:hover .visual-mark {
  transform: translateY(-7px) scale(1.03);
}

.air-reveal {
  opacity: 0;
  transform: translateY(42px);
  clip-path: inset(0 0 18% 0);
}

.air-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition-delay: var(--air-delay, 0ms);
}

.air-scroll-meter {
  position: fixed;
  right: 14px;
  top: 14px;
  bottom: 14px;
  z-index: 90;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  pointer-events: none;
  color: #050505;
  mix-blend-mode: difference;
}

.air-scroll-meter span {
  width: 1px;
  min-height: 70px;
  background: currentColor;
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.air-scroll-meter b {
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  color: currentColor;
  writing-mode: vertical-rl;
}

.air-dark-panel {
  position: relative;
  margin-inline: calc(-1 * min(36px, 4vw));
  padding-inline: min(36px, 4vw);
  background: #050505;
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
  transition:
    background .9s var(--air-ease),
    color .9s var(--air-ease);
}

.air-dark-panel .section-heading span,
.air-dark-panel .section-heading p,
.air-dark-panel .agent-meta,
.air-dark-panel .quick-view-grid a {
  color: rgba(255, 255, 255, .62);
}

.air-dark-panel .section-heading h2,
.air-dark-panel .agent-card h3,
.air-dark-panel .quick-view-grid a:hover {
  color: #fff;
}

.air-dark-panel .agent-card,
.air-dark-panel .quick-view-grid a {
  background: #050505;
  border-color: rgba(255, 255, 255, .16);
}

.air-dark-panel .agent-card:hover,
.air-dark-panel .quick-view-grid a:hover {
  background: #fff;
  color: #050505;
}

body[data-air-theme="dark"] .site-header {
  color: #050505;
}

@media (prefers-reduced-motion: reduce) {
  .air-preloader,
  .air-reveal,
  .hero-copy h1 span,
  .primary-button,
  .secondary-button,
  .card-action,
  .catalog-trigger,
  .circle-action,
  .category-tile,
  .quick-view-grid a,
  .bottom-nav a,
  .bottom-nav button {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    clip-path: none !important;
  }
}

@media (max-width: 900px) {
  body::before {
    display: none;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-section::before {
    top: 92px;
    font-size: 64px;
    white-space: normal;
  }

  .air-scroll-meter {
    display: none;
  }

  .air-dark-panel {
    margin-inline: -20px;
    padding-inline: 20px;
  }
}

/* Original service icon code tiles for overlapping digital products. */
.visual-tile--service-icon {
  background:
    radial-gradient(circle at 52% 28%, rgba(255, 255, 255, .96) 0 13%, rgba(255, 255, 255, .46) 14% 26%, transparent 27%),
    linear-gradient(145deg, #f9fbff 0%, #eef3f9 58%, #dde6f2 100%);
}

.visual-tile--service-icon .visual-rim {
  inset: 12px;
  border-color: rgba(5, 5, 5, .1);
  border-radius: 12px;
}

.visual-tile--service-icon .visual-sheen {
  background:
    radial-gradient(120px 90px at 18% 12%, rgba(255, 255, 255, .92), transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, .32), transparent 62%);
}

.visual-mark--service-icon {
  width: clamp(78px, 40%, 118px);
  max-width: none;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #090909;
  box-shadow:
    0 24px 36px -26px rgba(5, 5, 5, .48),
    0 10px 18px -16px rgba(5, 5, 5, .35),
    inset 0 0 0 1px rgba(5, 5, 5, .045);
}

.visual-mark--service-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.visual-mark--service-icon .service-icon-code {
  position: relative;
  z-index: 1;
  font-family: "Onest", "Inter", sans-serif;
  font-size: clamp(15px, 2.5vw, 21px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.visual-mark--service-icon .service-color-icon {
  position: relative;
  z-index: 1;
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: none;
  border-radius: 18px;
}

.visual-tile--service-icon .visual-bg-word {
  color: rgba(5, 5, 5, .038);
}

.product-card:hover .product-visual.visual-tile--service-icon {
  filter: none;
}

.product-card:hover .visual-mark--service-icon {
  transform: translateY(-9px) scale(1.035);
  box-shadow:
    0 30px 48px -30px rgba(5, 5, 5, .56),
    0 16px 24px -18px rgba(5, 5, 5, .4),
    inset 0 0 0 1px rgba(5, 5, 5, .06);
}

.product-card:hover .visual-mark--service-icon .service-color-icon {
  filter: none;
}

.detail-visual.visual-tile--service-icon .visual-mark--service-icon,
.selected-visual.visual-tile--service-icon .visual-mark--service-icon {
  width: clamp(96px, 28vw, 154px);
  border-radius: 30px;
}

@media (max-width: 420px) {
  .visual-mark--service-icon {
    width: clamp(72px, 38%, 96px);
    border-radius: 22px;
  }

  .visual-mark--service-icon .service-icon-code {
    font-size: 15px;
  }

  .visual-mark--service-icon .service-color-icon {
    border-radius: 16px;
  }
}

/* UI fixes: white category surfaces and inverted hover for black CTAs. */
.category-section,
.category-grid,
.category-tile,
.top-filter-section,
.quick-views-section,
.quick-view-grid,
.quick-view-grid a,
.support-section#seller-onboarding {
  background: #fff;
}

.quick-view-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.secondary-button[href="#seller-onboarding"] {
  background: #fff;
}

.primary-button,
.card-action.primary,
.pay-link {
  border: 1px solid var(--ink);
}

.primary-button:hover,
.card-action.primary:hover,
.pay-link:hover {
  background: #fff;
  color: var(--ink);
  border-color: var(--ink);
}

.primary-button:hover::before,
.card-action.primary:hover::before {
  transform: translateY(102%);
}

/* UI/UX refactor 2026-06-21: catalog surfaces, desktop bottom nav and modal-friendly layouts. */
body {
  padding-bottom: 68px;
}

.catalog-category-filter {
  width: 100%;
  margin: 0 0 28px;
}

.catalog-category-label {
  display: block;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border-color: var(--line);
  overflow: hidden;
}

.category-tile {
  width: 100%;
  min-height: 126px;
  margin: 0;
  padding: 22px 24px;
  background: #fff;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
}

.category-tile:last-child {
  border-right: 0;
}

.category-tile strong,
.category-tile small {
  width: 100%;
}

.category-tile strong {
  margin-top: auto;
}

.category-tile[data-active="true"] {
  background: var(--ink);
  color: #fff;
}

.category-tile[data-active="true"] small {
  color: rgba(255, 255, 255, .62);
}

@media (min-width: 769px) {
  .category-tile:hover,
  .category-tile[data-active="true"]:hover {
    background: #fff;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
  }

  .category-tile:hover small,
  .category-tile[data-active="true"]:hover small {
    color: var(--muted);
  }
}

.quick-views-section.air-dark-panel {
  background: #fff;
  color: var(--ink);
}

.quick-views-section.air-dark-panel .section-heading span,
.quick-views-section.air-dark-panel .section-heading h2 {
  color: var(--ink);
}

.quick-view-grid {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border-color: var(--line);
}

.quick-view-grid a,
.quick-views-section.air-dark-panel .quick-view-grid a {
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.quick-view-grid a:last-child {
  border-right: 0;
}

.quick-view-grid a:hover,
.quick-views-section.air-dark-panel .quick-view-grid a:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.support-section#seller-onboarding .seller-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
  gap: 32px;
  background: #fff;
  border: 0;
}

.support-section#seller-onboarding .seller-layout > * {
  min-width: 0;
  padding: 0;
  background: #fff;
}

.seller-form,
.seller-form label,
.seller-form input,
.seller-form textarea,
.seller-form select {
  width: 100%;
}

.seller-result {
  align-self: start;
  margin-top: 0;
  padding: 0;
  border: 0;
  line-height: 1.55;
}

#agents.air-dark-panel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px max(20px, calc((100vw - 1180px) / 2 + 20px));
  background: #050505;
  color: #fff;
}

#agents.air-dark-panel .agent-grid {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .16);
}

#agents.air-dark-panel .agent-card {
  min-height: 132px;
  justify-content: flex-end;
  background: #050505;
  color: #fff;
}

#agents.air-dark-panel .agent-card h3 {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

#agents.air-dark-panel .agent-card p,
#agents.air-dark-panel .agent-meta {
  display: none;
}

#agents.air-dark-panel .agent-card:hover {
  background: #fff;
}

#agents.air-dark-panel .agent-card:hover h3 {
  color: #050505;
}

.catalog-grid {
  align-items: stretch;
}

.product-card {
  height: 100%;
  min-height: 100%;
}

.card-badges {
  min-height: 54px;
  align-content: flex-start;
}

.product-card h3 {
  min-height: 52px;
}

.product-description {
  min-height: 40px;
}

.price-line {
  margin-top: auto;
}

.card-buttons {
  margin-top: 18px;
}

.bottom-nav {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.bottom-nav a,
.bottom-nav button {
  min-width: 0;
  min-height: 58px;
  display: grid;
  place-items: center;
  background: #050505;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
}

.bottom-nav a:first-child {
  border-left: 0;
}

.bottom-nav a:hover,
.bottom-nav button:hover {
  background: #fff;
  color: #050505;
}

@media (min-width: 761px) {
  body[data-page="product"] {
    padding-bottom: 0;
  }

  body[data-page="product"] .bottom-nav {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: 64px;
  }

  .card-badges,
  .product-card h3,
  .product-description {
    min-height: 0;
  }

  .price-line {
    margin-top: 4px;
  }

  .catalog-category-filter {
    margin-bottom: 22px;
  }

  .category-grid,
  .quick-view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tile,
  .quick-view-grid a {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .support-section#seller-onboarding .seller-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #agents.air-dark-panel {
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    padding: 56px 20px;
  }
}

@media (max-width: 767px) {
  .category-tile strong {
    color: #000;
  }

  .category-tile[data-active="true"] strong {
    color: #fff;
  }
}

@media (max-width: 520px) {
  .category-grid,
  .quick-view-grid {
    grid-template-columns: 1fr;
  }

  .category-tile,
  .quick-view-grid a {
    border-right: 0;
  }
}

/* Desktop stability fixes: keep the home/catalog layout readable even when
   motion observers or auto-fit grids lag behind initial render. */
@media (min-width: 901px) {
  .quick-view-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .quick-view-grid a {
    min-height: 64px;
  }

  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.catalog-grid .product-card.air-reveal {
  opacity: 1;
  transform: none;
  clip-path: none;
}

/* Product page */
body[data-page="product"] main > section:not(#productPage) {
  display: none;
}

.product-page {
  padding: 34px 0 96px;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-breadcrumbs a,
.product-breadcrumbs button {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

.product-breadcrumbs a::after,
.product-breadcrumbs button::after,
.product-breadcrumbs span::after {
  content: "/";
  margin-left: 8px;
  color: var(--line-strong);
}

.product-breadcrumbs strong {
  color: var(--ink);
  font-weight: 500;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(320px, .88fr) minmax(300px, .58fr);
  gap: 1px;
  align-items: start;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-gallery,
.product-main-info,
.product-price-panel {
  min-width: 0;
  background: #fff;
}

.product-gallery {
  padding: 0;
}

.product-hero-image {
  min-height: clamp(420px, 56vw, 720px);
  display: grid;
  place-items: center;
  background: #f7f8fa;
  overflow: hidden;
}

.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(18px, 4vw, 54px);
}

.product-hero-image > span {
  font-family: "Archivo", sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 300;
  color: var(--muted);
}

.product-photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  color: #202020;
  background: #fff;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: 0;
}

.product-hero-photo > .product-photo-fallback {
  height: 100%;
  min-height: clamp(280px, 46vw, 620px);
}

.product-angle-card > .product-photo-fallback,
.product-angle-thumb > .product-photo-fallback,
.product-thumbs button > .product-photo-fallback {
  min-height: 100%;
  font-size: 18px;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.product-thumbs button {
  aspect-ratio: 1;
  border: 0;
  background: #fff;
  padding: 8px;
  overflow: hidden;
}

.product-thumbs button[data-active="true"] {
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-main-info {
  padding: clamp(24px, 4vw, 46px);
}

.product-main-info h1 {
  margin: 8px 0 18px;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(42px, 5vw, 82px);
  line-height: .95;
  letter-spacing: 0;
}

.product-info-title {
  margin: 8px 0 24px;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  letter-spacing: 0;
}

.product-main-info p {
  color: var(--muted);
  line-height: 1.65;
}

.product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-facts > div {
  background: #fff;
  padding: 16px;
}

.product-facts small,
.product-panel-lines i {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-facts strong,
.product-panel-lines b {
  display: block;
  margin-top: 5px;
  font-weight: 500;
}

.product-variants {
  margin-top: 30px;
}

.product-variant-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.product-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-variant-grid button {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  border: 0;
  background: #fff;
  padding: 12px;
  text-align: left;
  color: var(--ink);
}

.product-variant-grid button[data-active="true"] {
  background: var(--ink);
  color: #fff;
}

.product-variant-grid button:disabled {
  color: rgba(0,0,0,.28);
  text-decoration: line-through;
  cursor: not-allowed;
}

.product-variant-grid small {
  color: inherit;
  opacity: .64;
}

.product-inline-note {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.product-specs span {
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.product-price-panel {
  position: sticky;
  top: 92px;
  padding: clamp(22px, 3vw, 34px);
}

.product-price {
  display: block;
  margin: 10px 0 4px;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
}

.product-old-price {
  color: var(--muted);
  text-decoration: line-through;
}

.product-price-facts {
  display: grid;
  gap: 0;
  margin: 24px 0 18px;
  border: 1px solid #d7d7d2;
  background: #fff;
}

.product-price-facts div {
  display: grid;
  grid-template-columns: minmax(86px, .6fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid #d7d7d2;
  padding: 10px 0;
}

.product-price-facts div:last-child {
  border-bottom: 0;
}

.product-price-facts dt,
.product-price-facts dd {
  margin: 0;
}

.product-price-facts dt {
  color: #8f92a1;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.product-price-facts dd {
  color: #050505;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.product-price-actions {
  display: none;
  gap: 8px;
  margin: 0 0 10px;
}

.product-price-actions .primary-button,
.product-price-actions .secondary-button {
  min-height: 52px;
}

@media (max-width: 900px) {
  .product-price-actions {
    display: none;
  }
}

.product-panel-offers {
  margin-top: 22px;
  border: 1px solid #d7d7d2;
  background: #fff;
}

.product-panel-offers-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid #d7d7d2;
  padding: 13px 12px;
}

.product-panel-offers-head strong {
  color: #050505;
  font-size: 13px;
}

.product-panel-offers-head span {
  max-width: 86px;
  color: #8f92a1;
  font-size: 10px;
  line-height: 1.2;
  text-align: right;
}

.product-panel-offer {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(48px, 64px) minmax(0, 1fr);
  grid-template-areas:
    "thumb price"
    "thumb country"
    "thumb days"
    "thumb badge";
  gap: 2px 12px;
  border: 0;
  border-bottom: 1px solid #d7d7d2;
  background: #fff;
  color: #050505;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.product-panel-offer:last-child {
  border-bottom: 0;
}

.product-panel-offer img,
.product-panel-offer i {
  grid-area: thumb;
  width: 54px;
  height: 54px;
  align-self: center;
  border: 1px solid #d7d7d2;
  background: #f8f8f6;
  object-fit: contain;
  padding: 5px;
}

.product-panel-offer strong {
  grid-area: price;
  font-size: 15px;
  line-height: 1.1;
}

.product-panel-offer span {
  grid-area: country;
  font-size: 13px;
}

.product-panel-offer small {
  grid-area: days;
  color: #050505;
  font-size: 11px;
}

.product-panel-offer em {
  grid-area: badge;
  justify-self: start;
  margin-top: 4px;
  border: 1px solid #050505;
  padding: 3px 6px;
  font-style: normal;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-panel-offer:hover,
.product-panel-offer.is-selected {
  background: #f7f7f5;
}

.product-panel-lines {
  display: grid;
  gap: 1px;
  margin: 24px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-panel-lines span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
  padding: 14px 0;
}

.product-offers {
  margin-top: 26px;
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.product-offers-head,
.product-offer-loading,
.product-offer-empty,
.product-offer-card {
  background: #fff;
  padding: 16px;
}

.product-offers-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.product-offers-head strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.product-offers-head span {
  max-width: 96px;
  text-align: center;
}

.product-offer-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.product-offer-card:last-child {
  border-bottom: 0;
}

.product-offer-card img,
.offer-image-fallback {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.product-offer-card div {
  display: grid;
  gap: 3px;
}

.product-offer-card strong {
  color: #050505;
  font-size: 18px;
  line-height: 1.08;
}

.product-offer-card span {
  color: #050505;
  font-size: 15px;
  line-height: 1.18;
}

.product-offer-card small {
  color: #050505;
  font-size: 13px;
  line-height: 1.18;
}

.product-offer-card em {
  justify-self: start;
  margin-top: 5px;
  border: 1px solid var(--ink);
  padding: 5px 8px;
  font-style: normal;
  font-size: 10px;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.favorite-list {
  display: grid;
  gap: 10px;
}

.favorite-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: #050505;
  text-decoration: none;
}

.favorite-row img,
.favorite-row > span {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f3f5f8;
  object-fit: cover;
}

.favorite-row > span {
  display: grid;
  place-items: center;
  font-weight: 900;
}

.favorite-row strong,
.favorite-row small {
  min-width: 0;
}

.favorite-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-row small {
  grid-column: 2;
  color: var(--muted);
}

.favorite-row b {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  white-space: nowrap;
}

.product-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr .62fr;
  gap: 1px;
  min-height: 620px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-skeleton div {
  background:
    linear-gradient(90deg, #f3f3f3, #fff, #f3f3f3);
  background-size: 220% 100%;
  animation: productSkeleton 1.2s linear infinite;
}

@keyframes productSkeleton {
  to { background-position: -220% 0; }
}

.product-empty {
  min-height: 52vh;
  display: grid;
  align-content: center;
  gap: 16px;
}

.product-empty h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .95;
}

@media (max-width: 1180px) {
  .product-shell,
  .product-skeleton {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  }

  .product-price-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 760px) {
  .product-page {
    padding-top: 20px;
  }

  .product-shell,
  .product-skeleton {
    grid-template-columns: 1fr;
  }

  .product-hero-image {
    min-height: 360px;
  }

  .product-main-info,
  .product-price-panel {
    padding: 22px;
  }

  .product-facts {
    grid-template-columns: 1fr;
  }

  .product-main-info h1 {
    font-size: 42px;
  }

  .product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Unicorngo-like universal product page */
.product-neo-hero {
  --product-hero-bg: #f2f2f0;
  --product-hero-accent: #050505;
  --product-hero-text: #050505;
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: clamp(660px, 76vh, 780px);
  display: block;
  overflow: hidden;
  margin: 0 calc(50% - 50vw) 26px;
  border: 0;
  background: #fff;
  color: #050505;
}

.product-bg-word {
  position: absolute;
  top: clamp(118px, 16vh, 172px);
  left: max(24px, calc((100vw - 1760px) / 2 + 34px));
  max-width: min(48vw, 760px);
  z-index: 1;
  color: var(--product-hero-text);
  font-family: "Archivo", sans-serif;
  font-size: clamp(52px, 5.2vw, 104px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
  word-break: break-word;
  opacity: .18;
  pointer-events: none;
}

.product-bg-logo {
  position: absolute;
  top: clamp(110px, 16vh, 160px);
  right: max(54px, calc((100vw - 1760px) / 2 + 72px));
  z-index: 3;
  width: clamp(150px, 14vw, 260px);
  height: clamp(78px, 7.2vw, 138px);
  display: grid;
  place-items: center;
  color: var(--product-hero-text);
  font-family: "Archivo", sans-serif;
  font-size: clamp(48px, 5vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  opacity: .95;
  pointer-events: none;
}

.product-bg-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1) contrast(1.35);
}

.product-bg-logo .brand-mark-external {
  filter: grayscale(1) contrast(1.4) brightness(.78);
}

.brand-mark {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-wordmark-logo {
  max-width: 100%;
  display: block;
  color: #050505;
  font-family: "Archivo", "Inter", sans-serif;
  font-size: clamp(30px, 3.1vw, 72px);
  font-weight: 800;
  line-height: .86;
  letter-spacing: 0;
  text-align: right;
  text-transform: uppercase;
  filter: grayscale(1) contrast(1.25);
  overflow-wrap: anywhere;
}

.brand-wordmark-nike,
.brand-wordmark-adidas,
.brand-wordmark-asics,
.brand-wordmark-puma {
  font-style: italic;
}

.product-hero-copy {
  position: relative;
  z-index: 4;
  width: min(1760px, calc(100% - clamp(32px, 4vw, 80px)));
  margin: 0 auto;
  padding-top: clamp(52px, 7vh, 84px);
  color: rgba(0,0,0,.54);
}

.product-hero-copy h1 {
  width: min(620px, 42vw);
  margin: 8px 0 6px;
  color: #050505;
  font-family: "Archivo", sans-serif;
  font-size: clamp(44px, 4.2vw, 82px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.product-hero-copy p {
  max-width: 360px;
  margin: 0;
  color: rgba(0,0,0,.48);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.product-hero-photo {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  top: 16%;
  bottom: 112px;
  width: min(74vw, 1260px);
  transform: translateX(-34%);
  display: grid;
  place-items: center;
  padding: 0;
  background: #fff;
  pointer-events: none;
}

.product-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.02) translateY(-1%);
  transform-origin: center bottom;
  mix-blend-mode: normal;
  filter: drop-shadow(0 32px 36px rgba(0,0,0,.2));
}

.product-hero-photo > span {
  display: grid;
  place-items: center;
  width: clamp(160px, 20vw, 320px);
  height: clamp(160px, 20vw, 320px);
  border: 1px solid rgba(48,69,141,.24);
  border-radius: 38px;
  color: var(--product-hero-accent);
  background: rgba(255,255,255,.48);
  font-family: "Archivo", sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 800;
}

.product-hero-purchase {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  width: min(1640px, calc(100% - clamp(44px, 5vw, 112px)));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(460px, 1.12fr) minmax(280px, .72fr) minmax(260px, .68fr) minmax(170px, .45fr);
  grid-template-areas:
    "variants tariffs buy favorite"
    "notes notes notes notes";
  gap: 10px 12px;
  align-items: stretch;
}

.product-hero-option-card,
.product-hero-buy,
.product-hero-favorite {
  min-width: 0;
  min-height: 76px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ececef;
  box-shadow: none;
}

.product-hero-variant-card {
  grid-area: variants;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 7px 8px;
  padding: 14px 18px 16px 18px;
}

.product-hero-control-title {
  grid-column: 1 / -1;
  color: #050505;
  font: 800 15px/1 "Inter", sans-serif;
  letter-spacing: 0;
}

.product-variant-axis {
  color: #868897;
  font-size: 18px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-hero-variant-strip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow: visible;
}

.product-hero-variant-strip button,
.product-variant-static {
  flex: 0 0 auto;
  min-width: 39px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #13151d;
  padding: 0 10px;
  font: 600 15px/1 "Inter", sans-serif;
  white-space: nowrap;
}

.product-hero-variant-strip button[data-active="true"] {
  border-color: var(--product-hero-accent);
  background: #fff;
  color: #050505;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.product-hero-variant-strip button:disabled {
  color: rgba(19,21,29,.32);
  text-decoration: line-through;
}

.product-variant-more {
  display: none;
}

.product-hero-tariffs {
  grid-area: tariffs;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto minmax(76px, 1fr);
  gap: 7px 8px;
  align-self: end;
}

.product-hero-tariffs .product-hero-control-title {
  padding-left: 2px;
}

.product-hero-tariffs .product-hero-price-card {
  grid-area: auto;
  min-height: 76px;
}

.product-hero-price-card {
  appearance: none;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 13px 16px;
  text-align: left;
  color: #050505;
  cursor: pointer;
}

.product-hero-price-card[data-source-slot="economy"] {
  grid-area: auto;
}

.product-hero-price-card[data-source-slot="selected"] {
  grid-area: auto;
}

.product-hero-price-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.product-hero-price-card span {
  margin-top: 2px;
  color: #202435;
  font-size: 15px;
}

.product-hero-price-card small {
  color: rgba(5,5,5,.58);
  font-size: 12px;
  line-height: 1.1;
}

.product-hero-price-card em {
  align-self: flex-start;
  margin-top: 3px;
  border: 1px solid currentColor;
  padding: 3px 6px;
  font-style: normal;
  color: #050505;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-hero-price-card.is-selected {
  background: #fff;
  border-color: #050505;
  box-shadow: inset 0 0 0 1px #050505;
}

.product-hero-price-card:hover {
  background: #050505;
  color: #fff;
}

.product-hero-price-card:hover span,
.product-hero-price-card:hover strong,
.product-hero-price-card:hover small,
.product-hero-price-card:hover em {
  color: #fff;
}

.product-hero-buy {
  grid-area: buy;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #050505;
  color: #fff;
  border-color: #050505;
  box-shadow: none;
  font: 800 22px/1 "Inter", sans-serif;
  cursor: pointer;
  align-self: end;
  min-height: 118px;
  height: 118px;
  flex-wrap: wrap;
  align-content: center;
}

.product-hero-favorite {
  grid-area: favorite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #050505;
  border-color: #050505;
  box-shadow: none;
  font: 800 18px/1 "Inter", sans-serif;
  cursor: pointer;
  align-self: end;
  min-height: 118px;
  height: 118px;
}

.product-hero-favorite span {
  font-size: 20px;
  line-height: 1;
}

.product-hero-buy strong,
.product-hero-buy span,
.product-hero-favorite strong,
.product-hero-favorite span {
  color: inherit;
}

.product-hero-buy:hover {
  background: #fff;
  color: #050505;
  outline: 0;
}

.product-hero-favorite:hover,
.product-hero-favorite[aria-pressed="true"] {
  background: #050505;
  color: #fff;
  outline: 0;
}

.product-hero-notes {
  grid-area: notes;
  display: grid;
  grid-template-columns: minmax(360px, 1.38fr) minmax(420px, 1.36fr) minmax(300px, 1fr);
  gap: 12px;
  color: #9093a3;
  font-size: 14px;
  line-height: 1.22;
}

.product-hero-notes p {
  margin: 0;
  min-height: 34px;
}

.product-hero-notes p:first-child::before {
  content: "↕";
  margin-right: 10px;
  color: #ff5b79;
  font-size: 22px;
  vertical-align: middle;
}

.product-hero-notes p:nth-child(2)::before {
  content: "◇";
  margin-right: 10px;
  color: #ff5b79;
  font-size: 20px;
  vertical-align: middle;
}

.product-story-shell {
  width: calc(100vw - clamp(32px, 4vw, 80px));
  max-width: 1760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, .92fr) minmax(300px, .52fr);
  gap: 0;
  align-items: start;
  background: #fff;
  border: 1px solid #d7d7d2;
}

.product-story-shell .product-angle-gallery,
.product-story-shell .product-main-info,
.product-story-shell .product-price-panel {
  background: #fff;
}

.product-story-shell .product-main-info,
.product-story-shell .product-price-panel {
  border-left: 1px solid #d7d7d2;
}

.product-story-shell .product-price-panel {
  position: sticky;
  top: 86px;
}

.product-angle-gallery {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
}

.product-angle-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.product-angle-head strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(22px, 2.4vw, 42px);
  font-weight: 300;
  line-height: 1;
}

.product-angle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-angle-feature {
  display: grid;
  min-width: 0;
}

.product-angle-card {
  position: relative;
  min-width: 0;
  min-height: clamp(180px, 18vw, 320px);
  display: grid;
  place-items: center;
  border: 1px solid #d9d9d5;
  background: #fff;
  padding: 16px;
  cursor: pointer;
  overflow: hidden;
}

.product-angle-card:first-child {
  grid-column: 1 / -1;
  min-height: clamp(320px, 32vw, 560px);
}

.product-angle-primary,
.product-angle-primary:first-child {
  grid-column: auto;
  min-height: clamp(360px, 36vw, 640px);
}

.product-angle-card:hover {
  border-color: #050505;
  background: #fff;
}

.product-angle-card img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center;
  transform-origin: center;
  transition: transform .35s var(--ease), object-position .35s var(--ease);
}

.product-angle-card > span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  border: 1px solid rgba(5,5,5,.18);
  background: rgba(255,255,255,.86);
  color: rgba(5,5,5,.62);
  padding: 5px 8px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-angle-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.product-angle-thumb {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid #d9d9d5;
  background: #fff;
  padding: 10px;
  cursor: pointer;
  overflow: hidden;
}

.product-angle-thumb:hover {
  border-color: #050505;
}

.product-angle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s var(--ease);
}

.product-angle-thumb:hover img {
  transform: scale(1.04);
}

.product-angle-thumb > span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  border: 1px solid rgba(5,5,5,.18);
  background: rgba(255,255,255,.86);
  color: rgba(5,5,5,.62);
  padding: 4px 6px;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-angle-clean {
  background: #fff;
}

.product-angle-front img {
  transform: scale(.96);
}

.product-angle-detail img {
  transform: scale(1.34);
}

.product-angle-profile img {
  transform: scale(1.12) translateX(-4%);
}

.product-angle-clean:hover img {
  transform: scale(1.02);
}

.product-angle-detail:hover img {
  transform: scale(1.42);
}

.product-angle-profile:hover img {
  transform: scale(1.18) translateX(-4%);
}

.product-angle-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid #d9d9d5;
  background: #f6f6f4;
  color: #050505;
}

.product-angle-empty span {
  font-family: "Archivo", sans-serif;
  font-size: 70px;
  font-weight: 300;
}

.product-angle-gallery-lazy {
  min-height: clamp(280px, 28vw, 460px);
}

.product-angle-placeholder {
  min-height: clamp(240px, 24vw, 380px);
  display: grid;
  place-items: center;
  border: 1px solid #d9d9d5;
  background:
    radial-gradient(circle at 50% 45%, rgba(5,5,5,.08), transparent 34%),
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.76) 45%, transparent 66%),
    #f7f7f5;
  background-size: 100% 100%, 220% 100%, 100% 100%;
  animation: detailSkeletonSweep 1.2s ease-in-out infinite;
}

.product-angle-placeholder span {
  font-family: "Archivo", sans-serif;
  font-size: clamp(26px, 3vw, 48px);
  color: rgba(5,5,5,.26);
  letter-spacing: .08em;
}

.product-detail-block {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.product-detail-block p {
  margin: 8px 0 0;
}

.product-details-lazy {
  min-height: 118px;
}

.product-detail-placeholder {
  color: var(--muted);
  background:
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.72) 44%, transparent 64%),
    #f7f7f5;
  background-size: 220% 100%, 100% 100%;
  animation: detailSkeletonSweep 1.2s ease-in-out infinite;
}

.product-details-lazy.is-loaded {
  min-height: 0;
}

@keyframes detailSkeletonSweep {
  from { background-position: 120% 0, 0 0; }
  to { background-position: -120% 0, 0 0; }
}

.size-guide-block ol {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.size-guide-block li {
  line-height: 1.55;
  color: var(--muted);
}

.fragrance-pyramid {
  margin: 0 0 24px;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.fragrance-pyramid .eyebrow {
  display: block;
  margin-bottom: 14px;
}
.fragrance-pyramid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.fragrance-pyramid-grid > div {
  min-width: 0;
  padding: 16px;
  background: #fff;
}
.fragrance-pyramid-grid small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fragrance-pyramid-grid strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}

.product-discount {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid #050505;
  padding: 4px 8px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-recommendations {
  width: min(1760px, calc(100vw - clamp(32px, 5vw, 112px)));
  margin: 30px auto 0;
  border-top: 1px solid #d7d7d2;
  padding-top: 24px;
}

.product-recommendations .section-heading {
  margin: 0 0 20px;
  display: block;
}

.product-recommendations .section-heading span {
  margin: 0 0 10px;
}

.product-recommendations .section-heading h2 {
  font-size: clamp(24px, 1.8vw, 32px);
  line-height: 1;
  font-weight: 400;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #d7d7d2;
  background: #d7d7d2;
}

.related-card {
  min-width: 0;
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.related-card:hover {
  background: #f7f7f5;
}

.related-card-skeleton {
  min-height: 320px;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.78) 45%, transparent 66%),
    #f3f3f0;
  background-size: 220% 100%, 100% 100%;
  animation: detailSkeletonSweep 1.25s ease-in-out infinite;
}

.related-card-media {
  aspect-ratio: 1.28 / .88;
  display: grid;
  place-items: center;
  background: #fff;
  border-bottom: 1px solid #d7d7d2;
  overflow: hidden;
  padding: clamp(14px, 1.5vw, 24px);
}

.related-card-media img {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: contain;
  transform: scale(.96);
  transition: transform .35s var(--ease);
}

.related-card:hover .related-card-media img {
  transform: scale(1.02);
}

.related-card-media span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid #d7d7d2;
  color: #050505;
  font-family: "Archivo", sans-serif;
  font-size: 26px;
  font-weight: 400;
}

.related-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.related-card-body small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.related-card-body h3 {
  margin: 0;
  min-height: 42px;
  color: #050505;
  font-family: "Archivo", sans-serif;
  font-size: clamp(17px, 1.2vw, 22px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.related-card-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #050505;
  padding-top: 14px;
}

.related-card-bottom strong {
  color: #050505;
  font-family: "Archivo", sans-serif;
  font-size: clamp(20px, 1.5vw, 28px);
  font-weight: 300;
  line-height: 1;
}

.related-card-bottom button {
  min-height: 38px;
  border: 1px solid #050505;
  background: #050505;
  color: #fff;
  padding: 0 14px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.related-card-bottom button:hover {
  background: #fff;
  color: #050505;
}

.product-thumb-empty {
  grid-column: 1 / -1;
  padding: 18px;
  background: #fff;
  color: var(--muted);
}

@media (max-width: 1180px) {
  .product-neo-hero {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 24px;
    padding: 24px 16px 28px;
    background: #fff;
  }

  .product-story-shell {
    width: calc(100vw - 32px);
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  }

  .product-story-shell .product-price-panel {
    grid-column: 1 / -1;
    position: static;
  }

  .product-hero-photo {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(280px, 48vw, 420px);
    min-height: 260px;
    order: 2;
    transform: none;
    border: 1px solid #e2e2de;
    background: #fff;
  }

  .product-hero-copy {
    width: 100%;
    order: 0;
    padding-top: 0;
  }

  .product-hero-copy h1 {
    width: min(100%, 680px);
    font-size: clamp(42px, 7vw, 72px);
  }

  .product-bg-word {
    position: relative;
    inset: auto;
    max-width: 100%;
    order: 1;
    font-size: clamp(42px, 8vw, 78px);
    line-height: .92;
    opacity: .13;
  }

  .product-bg-logo {
    top: 104px;
    right: 28px;
    width: 128px;
    height: 68px;
    font-size: 42px;
  }

  .product-hero-purchase {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 3;
    transform: none;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
    grid-template-areas:
      "variants tariffs"
      "buy favorite"
      "notes notes";
  }

  .product-hero-variant-card {
    min-height: auto;
    align-items: start;
  }

  .product-hero-variant-strip {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .product-hero-buy,
  .product-hero-favorite {
    min-height: 58px;
    height: auto;
  }

  .product-hero-notes {
    grid-template-columns: 1fr 1fr;
  }

  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-breadcrumbs {
    display: none;
  }

  .product-neo-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-left: -12px;
    margin-right: -12px;
    padding: 18px 12px 24px;
    background: #fff;
  }

  .product-bg-word {
    position: relative;
    inset: auto;
    max-width: 100%;
    order: 1;
    font-size: clamp(34px, 11vw, 58px);
    line-height: .92;
    opacity: .14;
  }

  .product-bg-logo {
    top: 88px;
    right: 18px;
    width: 88px;
    height: 48px;
    font-size: 30px;
    opacity: .92;
  }

  .product-hero-photo {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: clamp(220px, 52vw, 330px);
    min-height: 220px;
    order: 2;
    transform: none;
    padding: 0;
    border: 1px solid #e2e2de;
    background: #fff;
  }

  .product-hero-photo img {
    transform: scale(.98);
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.14));
  }

  .product-hero-copy {
    width: 100%;
    order: 0;
    padding: 0 8px;
  }

  .product-hero-copy h1 {
    width: min(100%, 460px);
    font-size: clamp(30px, 10vw, 48px);
    line-height: .96;
  }

  .product-hero-purchase {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    order: 3;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "variants variants"
      "tariffs tariffs"
      "buy favorite"
      "notes notes";
    gap: 8px;
  }

  .product-hero-variant-card {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: auto;
    padding: 12px;
    align-items: start;
  }

  .product-hero-tariffs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-control-title {
    font-size: 14px;
  }

  .product-variant-axis {
    font-size: 13px;
  }

  .product-hero-variant-strip {
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .product-hero-variant-strip button,
  .product-variant-static {
    height: 34px;
    min-width: 32px;
    padding: 0 7px;
    font-size: 13px;
  }

  .product-hero-price-card {
    min-height: 54px;
  }

  .product-hero-buy,
  .product-hero-favorite {
    min-height: 58px;
    font-size: 18px;
  }

  .product-hero-notes {
    grid-template-columns: 1fr;
    font-size: 12px;
  }

  .product-hero-notes p {
    min-height: auto;
  }

  .product-story-shell {
    width: 100%;
    grid-template-columns: 1fr;
    border-left: 0;
    border-right: 0;
  }

  .product-story-shell .product-main-info,
  .product-story-shell .product-price-panel {
    border-left: 0;
    border-top: 1px solid #d7d7d2;
  }

  .product-price-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-recommendations {
    width: 100%;
    margin-top: 26px;
    padding-top: 22px;
  }

  .product-recommendations .section-heading {
    display: block;
    margin-bottom: 14px;
  }

  .product-recommendations .section-heading h2 {
    font-size: clamp(26px, 8vw, 34px);
    margin-top: 6px;
  }

  .product-related-grid {
    grid-template-columns: 1fr;
  }

  .related-card {
    grid-template-columns: minmax(112px, 38%) 1fr;
    grid-template-rows: 1fr;
  }

  .related-card-media {
    aspect-ratio: auto;
    min-height: 150px;
    border-bottom: 0;
    border-right: 1px solid #d7d7d2;
    padding: 12px;
  }

  .related-card-body {
    padding: 14px;
  }

  .related-card-bottom {
    grid-template-columns: 1fr;
  }

  .product-angle-gallery {
    padding: 14px;
  }

  .product-angle-grid {
    grid-template-columns: 1fr;
  }

  .product-angle-card,
  .product-angle-card:first-child {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  .product-hero-purchase {
    grid-template-columns: 1fr;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes";
  }

  .product-hero-tariffs {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 680px) and (max-width: 1180px) {
  .product-bg-word,
  html.desktop-shell .product-bg-word {
    display: none !important;
  }

  .product-hero-copy h1,
  html.desktop-shell .product-hero-copy h1 {
    font-size: clamp(38px, 5.8vw, 58px) !important;
  }

  .product-hero-photo,
  html.desktop-shell .product-hero-photo {
    height: clamp(240px, 39vw, 340px) !important;
    min-height: 240px !important;
  }

  .top-filter-panel,
  .category-grid,
  .quick-view-grid,
  .catalog-grid,
  .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop shell: some in-app/browser zoom states report a mobile innerWidth
   while the visible window is desktop-sized. This restores the desktop layout
   without changing the normal mobile breakpoint behavior. */
html.desktop-shell {
  overflow-x: hidden;
}

html.desktop-shell body {
  width: var(--desktop-shell-width, 1280px);
  min-width: var(--desktop-shell-width, 1280px);
  max-width: var(--desktop-shell-width, 1280px);
  zoom: var(--desktop-shell-scale, 1);
  padding-bottom: 0;
  overflow-x: hidden;
}

html.desktop-shell .site-header {
  width: var(--desktop-shell-width, 1280px);
  max-width: none;
  grid-template-columns: auto auto minmax(420px, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 20px 40px;
}

html.desktop-shell .brand-logo {
  height: 66px;
  width: auto;
  max-width: none;
}

html.desktop-shell .catalog-trigger {
  grid-column: auto;
  order: 0;
  width: auto;
  min-height: 48px;
}

html.desktop-shell .search-hub {
  grid-column: auto;
  order: 0;
  width: auto;
}

html.desktop-shell .search-field {
  width: 100%;
}

html.desktop-shell .header-actions {
  justify-self: end;
  gap: 8px;
}

html.desktop-shell .circle-action {
  width: 46px;
  height: 46px;
  min-width: 46px;
}

html.desktop-shell main {
  width: var(--desktop-shell-width, 1280px);
  max-width: none;
  margin: 0;
  padding: 0 36px 120px;
}

html.desktop-shell .hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 60px;
  padding: 120px 0 100px;
  min-height: 820px;
}

html.desktop-shell .hero-copy h1 {
  font-size: 120px;
  line-height: .92;
}

html.desktop-shell .hero-stack {
  display: grid;
}

html.desktop-shell .hero-stack strong {
  font-size: 44px;
}

html.desktop-shell .top-filter-panel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.desktop-shell .ai-layout {
  grid-template-columns: 1fr 1fr;
}

html.desktop-shell .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.desktop-shell .quick-view-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

html.desktop-shell .catalog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.desktop-shell .support-layout,
html.desktop-shell .profile-layout,
html.desktop-shell .seller-layout {
  grid-template-columns: 280px 1fr;
}

html.desktop-shell .site-footer {
  width: var(--desktop-shell-width, 1280px);
  max-width: none;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

html.desktop-shell body[data-page="product"] .bottom-nav {
  display: none !important;
}

html.desktop-shell .product-page {
  padding: 34px 0 96px;
}

html.desktop-shell .product-breadcrumbs {
  display: flex;
}

html.desktop-shell .product-neo-hero {
  width: 100%;
  min-height: 760px;
  display: block;
  margin: 0 0 26px;
  padding: 0;
  overflow: hidden;
}

html.desktop-shell .product-bg-word {
  position: absolute;
  top: 130px;
  left: 34px;
  max-width: 760px;
  font-size: 92px;
}

html.desktop-shell .product-bg-logo {
  top: 128px;
  right: 72px;
  width: 210px;
  height: 112px;
  font-size: 72px;
}

html.desktop-shell .product-hero-copy {
  width: calc(100% - 80px);
  margin: 0 auto;
  padding-top: 64px;
}

html.desktop-shell .product-hero-copy h1 {
  width: 620px;
  font-size: 72px;
  line-height: .94;
}

html.desktop-shell .product-hero-photo {
  position: absolute;
  left: 50%;
  right: auto;
  top: 16%;
  bottom: 112px;
  width: min(74%, 1260px);
  height: auto;
  min-height: 0;
  order: initial;
  transform: translateX(-34%);
  border: 0;
}

html.desktop-shell .product-hero-purchase {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: calc(100% - 96px);
  transform: translateX(-50%);
  grid-template-columns: minmax(460px, 1.12fr) minmax(280px, .72fr) minmax(260px, .68fr) minmax(170px, .45fr);
  grid-template-areas:
    "variants tariffs buy favorite"
    "notes notes notes notes";
}

html.desktop-shell .product-hero-tariffs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.desktop-shell .product-hero-buy,
html.desktop-shell .product-hero-favorite {
  min-height: 118px;
  height: 118px;
}

html.desktop-shell .product-hero-notes {
  grid-template-columns: minmax(360px, 1.38fr) minmax(420px, 1.36fr) minmax(300px, 1fr);
}

html.desktop-shell .product-story-shell {
  width: calc(100% - 72px);
  grid-template-columns: minmax(360px, 1.05fr) minmax(360px, .92fr) minmax(300px, .52fr);
  border-left: 1px solid #d7d7d2;
  border-right: 1px solid #d7d7d2;
}

html.desktop-shell .product-story-shell .product-main-info,
html.desktop-shell .product-story-shell .product-price-panel {
  border-top: 0;
  border-left: 1px solid #d7d7d2;
}

html.desktop-shell .product-story-shell .product-price-panel {
  grid-column: auto;
  position: sticky;
  top: 86px;
}

html.desktop-shell .product-angle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.desktop-shell .product-angle-card:first-child {
  grid-column: 1 / -1;
  min-height: clamp(320px, 32vw, 560px);
}

html.desktop-shell .product-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Kill-switch for the old desktop-shell zoom fallback. If an already-open tab
   still has the class from a cached app.js, these rules make it harmless. */
html.desktop-shell,
html.desktop-shell body {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  zoom: 1 !important;
  overflow-x: clip !important;
}

html.desktop-shell .site-header,
html.desktop-shell main,
html.desktop-shell .site-footer {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 1180px) {
  html.desktop-shell .site-header {
    grid-template-columns: 1fr auto !important;
    padding: 14px 20px !important;
    gap: 14px !important;
  }

  html.desktop-shell .search-hub,
  html.desktop-shell .catalog-trigger {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  html.desktop-shell main {
    padding: 0 20px 96px !important;
  }

  html.desktop-shell .product-breadcrumbs {
    display: none !important;
  }

  html.desktop-shell .product-neo-hero {
    width: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin: 0 0 24px !important;
    padding: 24px 16px 28px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  html.desktop-shell .product-hero-copy {
    width: 100% !important;
    margin: 0 !important;
    padding-top: 0 !important;
    order: 0 !important;
  }

  html.desktop-shell .product-hero-copy h1 {
    width: min(100%, 680px) !important;
    font-size: clamp(42px, 7vw, 72px) !important;
  }

  html.desktop-shell .product-bg-word {
    position: relative !important;
    inset: auto !important;
    max-width: 100% !important;
    order: 1 !important;
    font-size: clamp(42px, 8vw, 78px) !important;
    line-height: .92 !important;
    opacity: .13 !important;
  }

  html.desktop-shell .product-bg-logo {
    top: 104px !important;
    right: 28px !important;
    width: 128px !important;
    height: 68px !important;
    font-size: 42px !important;
  }

  html.desktop-shell .product-hero-photo {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: clamp(280px, 48vw, 420px) !important;
    min-height: 260px !important;
    order: 2 !important;
    transform: none !important;
    border: 1px solid #e2e2de !important;
    background: #fff !important;
  }

  html.desktop-shell .product-hero-purchase {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    order: 3 !important;
    transform: none !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr) !important;
    grid-template-areas:
      "variants tariffs"
      "buy favorite"
      "notes notes" !important;
  }

  html.desktop-shell .product-hero-variant-card {
    min-height: auto !important;
    align-items: start !important;
  }

  html.desktop-shell .product-hero-variant-strip {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 4px !important;
    scrollbar-width: thin !important;
  }

  html.desktop-shell .product-hero-buy,
  html.desktop-shell .product-hero-favorite {
    min-height: 58px !important;
    height: auto !important;
  }

  html.desktop-shell .product-story-shell {
    width: calc(100vw - 32px) !important;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr) !important;
  }

  html.desktop-shell .product-story-shell .product-price-panel {
    grid-column: 1 / -1 !important;
    position: static !important;
  }

  html.desktop-shell .catalog-grid,
  html.desktop-shell .category-grid,
  html.desktop-shell .quick-view-grid,
  html.desktop-shell .product-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Stable desktop product layout for browser zoom levels. The previous
   poster-style absolute layout drifted at 100% and at low zoom values. */
@media (min-width: 1181px) {
  body[data-page="product"] main {
    padding: 0 36px 96px;
  }

  .product-neo-hero,
  html.desktop-shell .product-neo-hero {
    width: min(1760px, calc(100vw - 72px)) !important;
    max-width: 1760px !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr) !important;
    grid-template-areas:
      "copy photo"
      "word photo"
      "purchase purchase" !important;
    gap: 18px 36px !important;
    margin: 0 auto 30px !important;
    padding: 42px 0 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .product-hero-copy,
  html.desktop-shell .product-hero-copy {
    grid-area: copy !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: start !important;
  }

  .product-hero-copy h1,
  html.desktop-shell .product-hero-copy h1 {
    width: 100% !important;
    max-width: 680px !important;
    font-size: clamp(56px, 4.3vw, 86px) !important;
    line-height: .94 !important;
  }

  .product-bg-word,
  html.desktop-shell .product-bg-word {
    grid-area: word !important;
    position: relative !important;
    inset: auto !important;
    max-width: 100% !important;
    align-self: start !important;
    font-size: clamp(58px, 4.8vw, 94px) !important;
    line-height: .92 !important;
    opacity: .12 !important;
  }

  .product-bg-logo,
  html.desktop-shell .product-bg-logo {
    top: clamp(72px, 5vw, 104px) !important;
    right: clamp(36px, 4vw, 72px) !important;
    width: clamp(118px, 8.4vw, 180px) !important;
    height: clamp(64px, 5vw, 100px) !important;
    font-size: clamp(42px, 4vw, 78px) !important;
  }

  .product-hero-photo,
  html.desktop-shell .product-hero-photo {
    grid-area: photo !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: clamp(460px, 39vw, 650px) !important;
    min-height: 460px !important;
    transform: none !important;
    border: 1px solid #e2e2de !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .product-hero-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: scale(.96) !important;
    filter: drop-shadow(0 24px 30px rgba(0,0,0,.16)) !important;
  }

  .product-hero-purchase,
  html.desktop-shell .product-hero-purchase {
    grid-area: purchase !important;
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    grid-template-columns: minmax(420px, 1.1fr) minmax(260px, .72fr) minmax(260px, .7fr) minmax(180px, .48fr) !important;
    grid-template-areas:
      "variants tariffs buy favorite"
      "notes notes notes notes" !important;
    align-items: stretch !important;
  }

  .product-hero-variant-card,
  html.desktop-shell .product-hero-variant-card {
    min-height: auto !important;
    align-items: start !important;
  }

  .product-hero-variant-strip,
  html.desktop-shell .product-hero-variant-strip {
    flex-wrap: wrap !important;
    overflow: visible !important;
  }

  .product-hero-buy,
  .product-hero-favorite,
  html.desktop-shell .product-hero-buy,
  html.desktop-shell .product-hero-favorite {
    height: auto !important;
    min-height: 106px !important;
  }
}

/* Product photo must never drift out of its white stage at any zoom level. */
.product-hero-photo,
html.desktop-shell .product-hero-photo {
  overflow: hidden !important;
}

.product-hero-photo img,
html.desktop-shell .product-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  margin: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(.94) !important;
}

/* Final product hero reset: keep the product page stable at 67%, 100%, and
   normal browser widths by removing the old poster-style absolute composition. */
body[data-page="product"] .product-neo-hero,
html.desktop-shell body[data-page="product"] .product-neo-hero {
  width: min(1760px, calc(100vw - clamp(32px, 4vw, 72px))) !important;
  max-width: 1760px !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr) !important;
  grid-template-areas:
    "copy photo"
    "purchase photo" !important;
  gap: 22px 34px !important;
  align-items: start !important;
  margin: 0 auto 30px !important;
  padding: 34px 0 0 !important;
  overflow: visible !important;
  background: #fff !important;
  color: #050505 !important;
}

body[data-page="product"] .product-hero-copy,
html.desktop-shell body[data-page="product"] .product-hero-copy {
  grid-area: copy !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  inset: auto !important;
  align-self: start !important;
  z-index: 2 !important;
}

body[data-page="product"] .product-hero-copy h1,
html.desktop-shell body[data-page="product"] .product-hero-copy h1 {
  width: min(100%, 720px) !important;
  max-width: none !important;
  margin: 8px 0 8px !important;
  font-size: clamp(52px, 4.8vw, 86px) !important;
  line-height: .94 !important;
}

body[data-page="product"] .product-bg-word,
html.desktop-shell body[data-page="product"] .product-bg-word {
  display: none !important;
}

body[data-page="product"] .product-bg-logo,
html.desktop-shell body[data-page="product"] .product-bg-logo {
  position: absolute !important;
  top: 58px !important;
  right: 48px !important;
  width: clamp(116px, 8vw, 172px) !important;
  height: clamp(62px, 5vw, 96px) !important;
  z-index: 4 !important;
}

body[data-page="product"] .product-hero-photo,
html.desktop-shell body[data-page="product"] .product-hero-photo {
  grid-area: photo !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 650px !important;
  transform: none !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e2e2de !important;
  background: #fff !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

body[data-page="product"] .product-hero-photo img,
html.desktop-shell body[data-page="product"] .product-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(.92) !important;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.14)) !important;
}

body[data-page="product"] .product-hero-purchase,
html.desktop-shell body[data-page="product"] .product-hero-purchase {
  grid-area: purchase !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .55fr) !important;
  grid-template-areas:
    "variants tariffs"
    "buy favorite"
    "notes notes" !important;
  gap: 10px 12px !important;
  align-items: stretch !important;
  z-index: 2 !important;
}

body[data-page="product"] .product-hero-variant-card,
html.desktop-shell body[data-page="product"] .product-hero-variant-card {
  min-height: auto !important;
  align-items: start !important;
}

body[data-page="product"] .product-hero-variant-strip,
html.desktop-shell body[data-page="product"] .product-hero-variant-strip {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

body[data-page="product"] .product-hero-buy,
body[data-page="product"] .product-hero-favorite,
html.desktop-shell body[data-page="product"] .product-hero-buy,
html.desktop-shell body[data-page="product"] .product-hero-favorite {
  display: inline-flex !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 78px !important;
}

@media (max-width: 1180px) {
  body[data-page="product"] .product-neo-hero,
  html.desktop-shell body[data-page="product"] .product-neo-hero {
    width: calc(100vw - 32px) !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "photo"
      "purchase" !important;
    gap: 14px !important;
    padding: 22px 0 0 !important;
  }

  body[data-page="product"] .product-hero-copy h1,
  html.desktop-shell body[data-page="product"] .product-hero-copy h1 {
    font-size: clamp(38px, 7vw, 64px) !important;
  }

  body[data-page="product"] .product-bg-logo,
  html.desktop-shell body[data-page="product"] .product-bg-logo {
    top: clamp(110px, 18vw, 150px) !important;
    right: 22px !important;
    width: 108px !important;
    height: 58px !important;
  }

  body[data-page="product"] .product-hero-photo,
  html.desktop-shell body[data-page="product"] .product-hero-photo {
    aspect-ratio: 16 / 8.4 !important;
  }

  body[data-page="product"] .product-hero-purchase,
  html.desktop-shell body[data-page="product"] .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) !important;
  }
}

@media (max-width: 640px) {
  body[data-page="product"] .product-hero-purchase,
  html.desktop-shell body[data-page="product"] .product-hero-purchase {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes" !important;
  }

  body[data-page="product"] .product-hero-tariffs,
  html.desktop-shell body[data-page="product"] .product-hero-tariffs {
    grid-template-columns: 1fr !important;
  }
}

/* FINAL LOCK: product page layout must stay in normal document flow at every
   browser zoom level. This intentionally avoids the old absolute poster layout. */
.product-page:not([hidden]) .product-neo-hero,
html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
  width: min(1760px, calc(100vw - clamp(32px, 4vw, 72px))) !important;
  max-width: 1760px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto 30px !important;
  padding: 34px 0 0 !important;
  display: grid !important;
  grid-template-columns: minmax(320px, .82fr) minmax(420px, 1.18fr) !important;
  grid-template-areas:
    "copy photo"
    "purchase purchase" !important;
  gap: 22px 34px !important;
  align-items: start !important;
  overflow: visible !important;
  background: #fff !important;
  color: #050505 !important;
}

.product-page:not([hidden]) .product-hero-copy,
html.desktop-shell .product-page:not([hidden]) .product-hero-copy {
  grid-area: copy !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2 !important;
}

.product-page:not([hidden]) .product-hero-copy h1,
html.desktop-shell .product-page:not([hidden]) .product-hero-copy h1 {
  width: min(100%, 720px) !important;
  max-width: none !important;
  margin: 8px 0 8px !important;
  font-size: clamp(48px, 4.6vw, 84px) !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
}

.product-page:not([hidden]) .product-bg-word,
html.desktop-shell .product-page:not([hidden]) .product-bg-word {
  display: none !important;
}

.product-page:not([hidden]) .product-bg-logo,
html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
  position: absolute !important;
  top: 58px !important;
  right: 48px !important;
  width: clamp(108px, 8vw, 172px) !important;
  height: clamp(58px, 5vw, 96px) !important;
  z-index: 4 !important;
}

.product-page:not([hidden]) .product-hero-photo,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
  grid-area: photo !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  max-height: 650px !important;
  transform: none !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e2e2de !important;
  background: #fff !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.product-page:not([hidden]) .product-hero-photo img,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(.92) !important;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.14)) !important;
}

.product-page:not([hidden]) .product-hero-purchase,
html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
  grid-area: purchase !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 1.08fr) minmax(300px, .72fr) minmax(260px, .68fr) minmax(190px, .5fr) !important;
  grid-template-areas:
    "variants tariffs buy favorite"
    "notes notes notes notes" !important;
  gap: 10px 12px !important;
  align-items: stretch !important;
  z-index: 2 !important;
}

.product-page:not([hidden]) .product-hero-variant-card,
html.desktop-shell .product-page:not([hidden]) .product-hero-variant-card {
  min-height: auto !important;
  align-items: start !important;
}

.product-page:not([hidden]) .product-hero-variant-strip,
html.desktop-shell .product-page:not([hidden]) .product-hero-variant-strip {
  flex-wrap: wrap !important;
  overflow: visible !important;
}

.product-page:not([hidden]) .product-hero-buy,
.product-page:not([hidden]) .product-hero-favorite,
html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
  height: auto !important;
  min-height: 78px !important;
}

@media (max-width: 1180px) {
  .product-page:not([hidden]) .product-neo-hero,
  html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
    width: calc(100vw - 32px) !important;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "copy"
      "photo"
      "purchase" !important;
    gap: 14px !important;
    padding-top: 22px !important;
  }

  .product-page:not([hidden]) .product-hero-copy h1,
  html.desktop-shell .product-page:not([hidden]) .product-hero-copy h1 {
    font-size: clamp(36px, 7vw, 64px) !important;
  }

  .product-page:not([hidden]) .product-bg-logo,
  html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
    top: clamp(110px, 18vw, 150px) !important;
    right: 22px !important;
    width: 108px !important;
    height: 58px !important;
  }

  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) !important;
    grid-template-areas:
      "variants tariffs"
      "buy favorite"
      "notes notes" !important;
  }
}

@media (max-width: 640px) {
  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes" !important;
  }

  .product-page:not([hidden]) .product-hero-tariffs,
  html.desktop-shell .product-page:not([hidden]) .product-hero-tariffs {
    grid-template-columns: 1fr !important;
  }
}

/* ZOOM-SAFE LOCK v2: this is the single highest-priority layout contract for
   product pages and catalog cards. Keep every moving part in normal flow. */
.product-page:not([hidden]) {
  width: 100% !important;
  max-width: none !important;
  overflow-x: clip !important;
}

.product-page:not([hidden]) .product-breadcrumbs {
  width: min(1760px, calc(100vw - clamp(32px, 4vw, 72px))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.product-page:not([hidden]) .product-neo-hero,
html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
  width: min(1760px, calc(100vw - clamp(32px, 4vw, 72px))) !important;
  max-width: 1760px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto 30px !important;
  padding: clamp(22px, 3vw, 38px) 0 0 !important;
  display: grid !important;
  grid-template-columns: minmax(300px, .78fr) minmax(460px, 1.22fr) !important;
  grid-template-areas:
    "copy photo"
    "purchase purchase" !important;
  gap: clamp(16px, 2.4vw, 36px) !important;
  align-items: start !important;
  overflow: visible !important;
  background: #fff !important;
  color: #050505 !important;
}

.product-page:not([hidden]) .product-hero-copy,
html.desktop-shell .product-page:not([hidden]) .product-hero-copy {
  grid-area: copy !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 2 !important;
}

.product-page:not([hidden]) .product-hero-copy h1,
html.desktop-shell .product-page:not([hidden]) .product-hero-copy h1 {
  width: min(100%, 720px) !important;
  max-width: none !important;
  margin: 8px 0 8px !important;
  font-size: clamp(44px, 4.2vw, 82px) !important;
  line-height: .94 !important;
  letter-spacing: 0 !important;
  overflow-wrap: anywhere !important;
}

.product-page:not([hidden]) .product-bg-word,
html.desktop-shell .product-page:not([hidden]) .product-bg-word {
  display: none !important;
}

.product-page:not([hidden]) .product-bg-logo,
html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
  position: absolute !important;
  top: clamp(44px, 4vw, 72px) !important;
  right: clamp(28px, 4vw, 72px) !important;
  width: clamp(96px, 7vw, 154px) !important;
  height: clamp(52px, 4.5vw, 88px) !important;
  z-index: 4 !important;
}

.product-page:not([hidden]) .product-hero-photo,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
  grid-area: photo !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: clamp(360px, 32vw, 610px) !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  transform: none !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #e2e2de !important;
  background: #fff !important;
  overflow: hidden !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.product-page:not([hidden]) .product-hero-photo img,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  padding: clamp(18px, 2vw, 34px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(.92) !important;
  transform-origin: center center !important;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.14)) !important;
}

.product-page:not([hidden]) .product-hero-purchase,
html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
  grid-area: purchase !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: minmax(420px, 1.08fr) minmax(300px, .72fr) minmax(260px, .68fr) minmax(190px, .5fr) !important;
  grid-template-areas:
    "variants tariffs buy favorite"
    "notes notes notes notes" !important;
  gap: 10px 12px !important;
  align-items: stretch !important;
  z-index: 2 !important;
}

.product-page:not([hidden]) .product-hero-variant-card,
html.desktop-shell .product-page:not([hidden]) .product-hero-variant-card {
  min-height: 0 !important;
  align-items: start !important;
}

.product-page:not([hidden]) .product-hero-variant-strip,
html.desktop-shell .product-page:not([hidden]) .product-hero-variant-strip {
  min-width: 0 !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
}

.product-page:not([hidden]) .product-hero-buy,
.product-page:not([hidden]) .product-hero-favorite,
html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
  min-width: 0 !important;
  height: auto !important;
  min-height: 96px !important;
}

.product-page:not([hidden]) .product-story-shell,
.product-page:not([hidden]) .product-recommendations,
html.desktop-shell .product-page:not([hidden]) .product-story-shell,
html.desktop-shell .product-page:not([hidden]) .product-recommendations {
  width: min(1760px, calc(100vw - clamp(32px, 4vw, 72px))) !important;
  max-width: 1760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.catalog-grid {
  align-items: stretch !important;
}

.product-card {
  min-width: 0 !important;
  min-height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-card > .product-visual.visual-tile {
  flex: 0 0 auto !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  display: grid !important;
  place-items: center !important;
}

.visual-tile--photo .visual-photo,
.related-card-media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

.visual-tile--photo .visual-photo {
  padding: clamp(14px, 1.6vw, 24px) !important;
}

.product-card h3 {
  min-height: 52px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product-description {
  min-height: 34px !important;
}

.product-meta,
.seller-row,
.stock-row {
  min-height: 42px !important;
  align-items: center !important;
}

.price-line {
  margin-top: auto !important;
}

.card-buttons {
  flex: 0 0 auto !important;
}

.product-card > .card-buttons {
  width: 100% !important;
  margin: 18px 0 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.related-card {
  min-height: 100% !important;
}

.related-card-media {
  min-height: 220px !important;
}

.related-card-body {
  min-height: 230px !important;
}

@media (max-width: 1180px) {
  .product-page:not([hidden]) .product-breadcrumbs {
    display: none !important;
  }

  .product-page:not([hidden]) .product-neo-hero,
  html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
    width: calc(100vw - 32px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "copy"
      "photo"
      "purchase" !important;
    gap: 14px !important;
    padding-top: 22px !important;
  }

  .product-page:not([hidden]) .product-hero-copy h1,
  html.desktop-shell .product-page:not([hidden]) .product-hero-copy h1 {
    font-size: clamp(34px, 7vw, 64px) !important;
  }

  .product-page:not([hidden]) .product-bg-logo,
  html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
    top: clamp(96px, 16vw, 140px) !important;
    right: 22px !important;
    width: 108px !important;
    height: 58px !important;
  }

  .product-page:not([hidden]) .product-hero-photo,
  html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
    height: clamp(300px, 48vw, 480px) !important;
  }

  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) minmax(220px, .72fr) !important;
    grid-template-areas:
      "variants tariffs"
      "buy favorite"
      "notes notes" !important;
  }

  .product-page:not([hidden]) .product-story-shell,
  .product-page:not([hidden]) .product-recommendations,
  html.desktop-shell .product-page:not([hidden]) .product-story-shell,
  html.desktop-shell .product-page:not([hidden]) .product-recommendations {
    width: calc(100vw - 32px) !important;
  }
}

@media (max-width: 640px) {
  .product-page:not([hidden]) .product-hero-photo,
  html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
    height: clamp(250px, 58vw, 360px) !important;
  }

  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes" !important;
  }

  .product-page:not([hidden]) .product-hero-tariffs,
  html.desktop-shell .product-page:not([hidden]) .product-hero-tariffs {
    grid-template-columns: 1fr !important;
  }

  .product-page:not([hidden]) .product-hero-buy,
  .product-page:not([hidden]) .product-hero-favorite,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
    min-height: 64px !important;
  }
}

.product-page:not([hidden]) .product-story-title,
html.desktop-shell .product-page:not([hidden]) .product-story-title {
  display: none !important;
}

body[data-page="product"] #home > :not(#productPage) {
  display: none !important;
}

body[data-page="product"] #productPage {
  display: block !important;
}

@media (max-width: 900px) {
  .product-page:not([hidden]) .product-neo-hero,
  html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
    display: grid !important;
    width: calc(100vw - 32px) !important;
    margin: 0 auto 26px !important;
    padding: 22px 0 0 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .product-page:not([hidden]) .product-story-shell,
  html.desktop-shell .product-page:not([hidden]) .product-story-shell {
    margin-top: 0 !important;
  }

  .product-page:not([hidden]) .product-story-title,
  html.desktop-shell .product-page:not([hidden]) .product-story-title {
    display: none !important;
    grid-column: 1 / -1 !important;
    margin: 0 0 18px !important;
    color: #050505 !important;
    font-family: "Archivo", sans-serif !important;
    font-size: clamp(34px, 9vw, 58px) !important;
    font-weight: 300 !important;
    line-height: .96 !important;
    letter-spacing: 0 !important;
  }

  .product-page:not([hidden]) .product-angle-gallery,
  html.desktop-shell .product-page:not([hidden]) .product-angle-gallery {
    grid-column: 1 / -1 !important;
    padding-top: 18px !important;
  }

  .product-page:not([hidden]) .product-main-info,
  .product-page:not([hidden]) .product-price-panel,
  html.desktop-shell .product-page:not([hidden]) .product-main-info,
  html.desktop-shell .product-page:not([hidden]) .product-price-panel {
    grid-column: 1 / -1 !important;
  }

  .product-page:not([hidden]) .product-angle-grid,
  html.desktop-shell .product-page:not([hidden]) .product-angle-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product-page:not([hidden]) .product-angle-card:first-child,
  html.desktop-shell .product-page:not([hidden]) .product-angle-card:first-child {
    min-height: clamp(260px, 70vw, 520px) !important;
  }
}

/* Site fixes from "Что надо поправить на сайте.docx" */
html,
body {
  overflow-x: clip !important;
}

.hero-section,
.progress-line {
  overflow: hidden !important;
}

body:not([data-page="product"]) #agents,
body:not([data-page="product"]) #agents.air-dark-panel,
html.desktop-shell body:not([data-page="product"]) #agents,
html.desktop-shell body:not([data-page="product"]) #agents.air-dark-panel {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: clamp(72px, 8vw, 112px) 0 0 !important;
  padding: clamp(56px, 7vw, 92px) max(18px, calc((100vw - 1280px) / 2 + 24px)) clamp(64px, 8vw, 104px) !important;
  background: #050505 !important;
  color: #fff !important;
  border: 0 !important;
  overflow: clip !important;
}

body:not([data-page="product"]) #agents .section-heading,
html.desktop-shell body:not([data-page="product"]) #agents .section-heading {
  max-width: 1280px !important;
  margin: 0 auto 24px !important;
}

body:not([data-page="product"]) #agents .agent-grid,
html.desktop-shell body:not([data-page="product"]) #agents .agent-grid {
  width: min(1280px, 100%) !important;
  margin: 24px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: rgba(255, 255, 255, .18) !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
}

body:not([data-page="product"]) #agents .agent-card,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card {
  min-width: 0 !important;
  min-height: 136px !important;
  padding: clamp(20px, 3vw, 34px) !important;
  justify-content: flex-end !important;
  background: #050505 !important;
  color: #fff !important;
}

body:not([data-page="product"]) #agents .agent-card h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card h3 {
  color: #fff !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: clamp(14px, 1.25vw, 17px) !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body:not([data-page="product"]) #agents .agent-card:hover,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover {
  background: #fff !important;
}

body:not([data-page="product"]) #agents .agent-card:hover h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover h3 {
  color: #050505 !important;
}

/* Cart badge guard: the counter belongs to the cart button only and must not
   drift visually into the adjacent profile button on compact/mobile headers. */
#cartButton {
  position: relative !important;
}

#cartButton #cartCount {
  top: 3px !important;
  right: 4px !important;
  transform: none !important;
  z-index: 3 !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border: 1px solid #fff !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  #cartButton #cartCount {
    top: 2px !important;
    right: 3px !important;
  }
}

/* Last rule wins for entry preview3: no stacked intro words after refresh. */
.entry-splash__reel {
  isolation: isolate !important;
}

.entry-splash__reel span {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 46%, 0) scale(.985);
  filter: blur(10px);
  animation: entryWordOneAtATimeFinal .48s cubic-bezier(.22, 1, .36, 1) calc(.1s + var(--i, 0) * .5s) both !important;
  white-space: nowrap !important;
  will-change: opacity, transform, filter, visibility !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .82s cubic-bezier(.22, 1, .36, 1) 3.12s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + 2.04s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.5s cubic-bezier(.2, .82, .22, 1) 2.92s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .58s cubic-bezier(.22, 1, .36, 1) 4.18s forwards !important;
}

.entry-splash__meta {
  animation-delay: 4.12s !important;
}

.entry-splash__meta i {
  animation-delay: 4.2s !important;
}

@keyframes entryWordOneAtATimeFinal {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 46%, 0) scale(.985);
    filter: blur(10px);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -44%, 0) scale(1.018);
    filter: blur(8px);
  }
}

/* Final entry preview3: prevent intro reel words from overlapping on refresh/cache races. */
.entry-splash__reel {
  isolation: isolate !important;
}

.entry-splash__reel span {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  transform: translate3d(0, 42%, 0) scale(.985);
  animation: entryWordOneAtATime .48s cubic-bezier(.22, 1, .36, 1) calc(.1s + var(--i, 0) * .5s) both !important;
  white-space: nowrap !important;
  z-index: calc(10 - var(--i, 0)) !important;
  will-change: opacity, transform, filter, visibility !important;
}

.entry-splash__reel span:nth-child(n + 7) {
  display: none !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .82s cubic-bezier(.22, 1, .36, 1) 3.12s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + 2.04s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.5s cubic-bezier(.2, .82, .22, 1) 2.92s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .58s cubic-bezier(.22, 1, .36, 1) 4.18s forwards !important;
}

.entry-splash__meta {
  animation-delay: 4.12s !important;
}

.entry-splash__meta i {
  animation-delay: 4.2s !important;
}

@keyframes entryWordOneAtATime {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 46%, 0) scale(.985);
    filter: blur(10px);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -44%, 0) scale(1.018);
    filter: blur(8px);
  }
}

/* Final entry reel timing: keep one preview word visible at a time. */
.entry-splash__reel span {
  animation: entryWordStep .36s cubic-bezier(.22, 1, .36, 1) calc(var(--i) * .36s) both !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .82s cubic-bezier(.22, 1, .36, 1) 1.92s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + .72s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.5s cubic-bezier(.2, .82, .22, 1) 1.72s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .58s cubic-bezier(.22, 1, .36, 1) 3.08s forwards !important;
}

.entry-splash__meta {
  animation-delay: 3.04s !important;
}

.entry-splash__meta i {
  animation-delay: 3.12s !important;
}

@keyframes entryWordStep {
  0% {
    opacity: 0;
    transform: translateY(78%) scale(.98);
    filter: blur(7px);
  }
  24%, 68% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-76%) scale(1.02);
    filter: blur(6px);
  }
}

@keyframes entryCenterLineClean {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }
  100% {
    opacity: .14;
    transform: translate(-50%, -50%) scaleX(1);
  }
}

@keyframes entryLogoSettleClean {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.045);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes entryLogoPenClean {
  0% {
    opacity: 0;
    transform: translate3d(0, 4px, 0) rotate(21deg);
  }
  6% {
    opacity: .55;
  }
  14% {
    transform: translate3d(8vw, -6px, 0) rotate(19deg);
  }
  28% {
    transform: translate3d(18vw, 8px, 0) rotate(24deg);
  }
  42% {
    transform: translate3d(31vw, -4px, 0) rotate(20deg);
  }
  56% {
    transform: translate3d(45vw, 7px, 0) rotate(25deg);
  }
  70% {
    transform: translate3d(59vw, -7px, 0) rotate(18deg);
  }
  84% {
    opacity: .55;
    transform: translate3d(72vw, 6px, 0) rotate(23deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(min(900px, 82vw), 0, 0) rotate(21deg);
  }
}

/* Entry preview upgrade inspired by editorial portfolio loaders, adapted to antichniistore. */
.entry-splash {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)) !important;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .035) 1px, transparent 1px) 0 0 / clamp(58px, 7vw, 112px) 100%,
    linear-gradient(180deg, #fff 0%, #f7f7f4 100%) !important;
  color: #050505 !important;
  transition:
    opacity .54s cubic-bezier(.65, 0, .35, 1),
    visibility .54s cubic-bezier(.65, 0, .35, 1),
    transform .54s cubic-bezier(.65, 0, .35, 1) !important;
}

.entry-splash.is-hidden {
  transform: translateY(-2.5vh) scale(1.015) !important;
}

.entry-splash::before,
.entry-splash::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.entry-splash::before {
  inset: 0;
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 255, 255, .92), transparent 36%),
    radial-gradient(circle at 50% 120%, rgba(5, 5, 5, .12), transparent 42%);
  opacity: .85;
}

.entry-splash::after {
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 5, 5, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 5, 5, .02) 1px, transparent 1px);
  background-size: 100% 8px, 8px 100%;
  mix-blend-mode: multiply;
  opacity: .45;
}

.entry-splash__panel {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  min-height: calc(100svh - max(36px, env(safe-area-inset-top)) - max(36px, env(safe-area-inset-bottom)));
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, .08);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  animation: entryPanelIn .7s cubic-bezier(.22, 1, .36, 1) both;
}

.entry-splash__panel::before,
.entry-splash__panel::after {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 72px);
  right: clamp(18px, 4vw, 72px);
  height: 1px;
  background: #050505;
  transform-origin: left;
  animation: entryRuleIn .72s cubic-bezier(.22, 1, .36, 1) both;
}

.entry-splash__panel::before {
  top: clamp(18px, 4vw, 72px);
}

.entry-splash__panel::after {
  bottom: clamp(18px, 4vw, 72px);
  animation-delay: .08s;
}

.entry-splash__reel {
  position: relative;
  align-self: end;
  width: min(1180px, 92vw);
  min-height: clamp(78px, 13vw, 176px);
  display: grid;
  place-items: center;
  margin-bottom: clamp(8px, 2vw, 24px);
  overflow: hidden;
  font-family: "Archivo", Inter, sans-serif;
  font-size: clamp(48px, 12vw, 180px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: 0;
  text-transform: uppercase;
}

.entry-splash__reel span {
  position: absolute;
  inset: auto 0;
  text-align: center;
  opacity: 0;
  transform: translateY(72%) scale(.96);
  filter: blur(8px);
  animation: entryWordReel 2.08s cubic-bezier(.65, 0, .35, 1) calc(var(--i) * .24s) both;
}

.entry-splash__mark {
  width: min(1180px, 94vw) !important;
  height: clamp(230px, 32vw, 440px) !important;
  --entry-logo-size: min(1360px, 126vw) !important;
  isolation: isolate;
}

.entry-splash__mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(940px, 76vw);
  height: 1px;
  background: #050505;
  opacity: .14;
  transform: translate(-50%, -50%) scaleX(0);
  transform-origin: center;
  animation: entryCenterLine 1.05s cubic-bezier(.22, 1, .36, 1) .86s both;
}

.entry-splash__logo {
  transform: translate(-50%, -50%) scale(1.045) !important;
  animation: entryLogoSettle .62s cubic-bezier(.22, 1, .36, 1) 2.55s forwards !important;
}

.entry-splash__stroke {
  animation: entryLogoStroke .42s cubic-bezier(.18, .84, .24, 1) var(--delay) forwards !important;
}

.entry-splash__pen {
  top: 25% !important;
  left: 9% !important;
  height: 48% !important;
  animation: entryLogoPen 1.62s cubic-bezier(.2, .82, .22, 1) 1.02s forwards !important;
}

.entry-splash__meta {
  align-self: start;
  width: min(1180px, 92vw);
  display: grid;
  grid-template-columns: auto minmax(40px, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-top: clamp(6px, 2vw, 22px);
  font-family: "Archivo", Inter, sans-serif;
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: 0;
  animation: entryMetaIn .7s cubic-bezier(.22, 1, .36, 1) 2.38s forwards;
}

.entry-splash__meta i {
  display: block;
  height: 1px;
  background: #050505;
  transform-origin: left;
  animation: entryRuleIn .74s cubic-bezier(.22, 1, .36, 1) 2.52s both;
}

@keyframes entryPanelIn {
  from { opacity: 0; transform: scale(.982); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes entryRuleIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes entryWordReel {
  0% { opacity: 0; transform: translateY(72%) scale(.96); filter: blur(8px); }
  18%, 45% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
  62%, 100% { opacity: 0; transform: translateY(-72%) scale(1.04); filter: blur(7px); }
}

@keyframes entryCenterLine {
  0% { opacity: 0; transform: translate(-50%, -50%) scaleX(0); }
  100% { opacity: .14; transform: translate(-50%, -50%) scaleX(1); }
}

@keyframes entryMetaIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes entryLogoSettle {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(1.045); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes entryLogoPen {
  0% { opacity: 0; transform: translate3d(0, 4px, 0) rotate(21deg); }
  6% { opacity: .55; }
  12% { transform: translate3d(8vw, -6px, 0) rotate(19deg); }
  24% { transform: translate3d(18vw, 8px, 0) rotate(24deg); }
  36% { transform: translate3d(28vw, -4px, 0) rotate(20deg); }
  48% { transform: translate3d(40vw, 7px, 0) rotate(25deg); }
  60% { transform: translate3d(52vw, -7px, 0) rotate(18deg); }
  72% { transform: translate3d(64vw, 6px, 0) rotate(23deg); }
  84% { opacity: .55; transform: translate3d(74vw, -3px, 0) rotate(20deg); }
  100% { opacity: 0; transform: translate3d(min(900px, 82vw), 0, 0) rotate(21deg); }
}

@media (max-width: 768px) {
  .entry-splash {
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)) 12px !important;
  }

  .entry-splash__panel {
    min-height: calc(100svh - max(24px, env(safe-area-inset-top)) - max(24px, env(safe-area-inset-bottom)));
  }

  .entry-splash__reel {
    font-size: clamp(42px, 18vw, 98px);
    min-height: clamp(70px, 22vw, 118px);
  }

  .entry-splash__mark {
    width: min(680px, 96vw) !important;
    height: clamp(190px, 42vw, 300px) !important;
    --entry-logo-size: min(840px, 160vw) !important;
  }

  .entry-splash__meta {
    width: min(680px, 88vw);
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
    letter-spacing: .2em;
  }

  .entry-splash__meta i {
    width: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-splash,
  .entry-splash__panel,
  .entry-splash__panel::before,
  .entry-splash__panel::after,
  .entry-splash__reel span,
  .entry-splash__logo,
  .entry-splash__stroke,
  .entry-splash__pen,
  .entry-splash__meta,
  .entry-splash__meta i,
  .entry-splash__mark::before {
    animation: none !important;
    transition: none !important;
  }

  .entry-splash__reel span:not(:last-child),
  .entry-splash__stroke,
  .entry-splash__pen {
    display: none !important;
  }

  .entry-splash__reel span:last-child,
  .entry-splash__logo,
  .entry-splash__meta {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 760px) {
  body:not([data-page="product"]) #agents .agent-grid,
  html.desktop-shell body:not([data-page="product"]) #agents .agent-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Product polish v4: logos, recommendations, AI photos, CDEK address map */
.product-page:not([hidden]) .product-bg-logo,
html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
  width: clamp(92px, 7vw, 142px) !important;
  height: clamp(48px, 4.8vw, 88px) !important;
  opacity: .96 !important;
}

.product-bg-logo img,
.product-angle-brand-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  filter: grayscale(1) contrast(1.45) brightness(.72) !important;
}

.product-angle-head {
  min-height: 58px !important;
  align-items: center !important;
}

.product-angle-brand-logo {
  width: clamp(82px, 8vw, 138px);
  height: clamp(38px, 4.8vw, 68px);
  display: grid;
  place-items: center;
  margin-left: auto;
}

.product-angle-brand-logo .brand-wordmark-logo {
  font-size: clamp(22px, 2.2vw, 42px);
  text-align: right;
}

.product-page:not([hidden]) .product-hero-photo,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-page:not([hidden]) .product-hero-photo img,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo img,
.product-angle-card img,
.product-angle-thumb img,
.related-card-media img,
.visual-tile--photo .visual-photo {
  mix-blend-mode: multiply;
}

.product-story-shell,
html.desktop-shell .product-story-shell {
  align-items: stretch !important;
  background: #d7d7d2 !important;
  gap: 1px !important;
  border: 1px solid #d7d7d2 !important;
}

.product-story-shell .product-angle-gallery,
.product-story-shell .product-main-info,
.product-story-shell .product-price-panel,
html.desktop-shell .product-story-shell .product-angle-gallery,
html.desktop-shell .product-story-shell .product-main-info,
html.desktop-shell .product-story-shell .product-price-panel {
  height: 100% !important;
  min-height: 100% !important;
  border-left: 0 !important;
}

.product-story-shell .product-price-panel,
html.desktop-shell .product-story-shell .product-price-panel {
  position: relative !important;
  top: auto !important;
  align-self: stretch !important;
}

.product-recommendations,
html.desktop-shell .product-recommendations {
  padding-bottom: clamp(28px, 4vw, 56px) !important;
}

.product-related-grid,
html.desktop-shell .product-related-grid {
  align-items: stretch !important;
}

.related-card,
html.desktop-shell .related-card {
  min-height: 0 !important;
  grid-template-rows: clamp(230px, 18vw, 320px) 1fr !important;
}

.related-card-media,
html.desktop-shell .related-card-media {
  min-height: clamp(230px, 18vw, 320px) !important;
  aspect-ratio: auto !important;
  background: #fff !important;
  padding: clamp(20px, 2vw, 34px) !important;
}

.related-card-media img,
html.desktop-shell .related-card-media img {
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.related-card:hover .related-card-media img,
html.desktop-shell .related-card:hover .related-card-media img {
  transform: scale(1.035) !important;
}

.related-card-body,
html.desktop-shell .related-card-body {
  min-height: 0 !important;
}

.related-card-bottom,
html.desktop-shell .related-card-bottom {
  border-top-color: #050505 !important;
}

.source-card {
  display: grid;
  grid-template-columns: minmax(132px, 22%) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.source-card-media {
  min-height: 170px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  overflow: hidden;
}

.source-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.source-card-media span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--line);
  font-family: "Archivo", sans-serif;
  font-size: 24px;
}

.source-card-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.address-card {
  overflow: hidden;
}

.address-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.address-head h3 {
  margin: 6px 0 8px;
}

.cdek-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cdek-city-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
}

.cdek-city-search label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cdek-city-search span {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cdek-city-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  color: #050505;
  padding: 0 14px;
  font: inherit;
}

.cdek-map,
.cdek-point-list {
  background: #fff;
}

.cdek-map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cdek-map-placeholder {
  width: min(100%, 420px);
  display: grid;
  gap: 12px;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: #050505;
}

.cdek-map-placeholder span {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.cdek-map-placeholder strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: .95;
}

.cdek-map-placeholder p {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cdek-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.cdek-map-actions .secondary-button {
  min-width: 150px;
}

.cdek-map--interactive iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  border: 0;
  filter: grayscale(.12) contrast(1.02);
}

.cdek-map svg {
  width: min(92%, 760px);
  height: auto;
}

.cdek-map path {
  fill: #f4f4f1;
  stroke: #050505;
  stroke-width: 2;
}

.cdek-map circle {
  fill: #050505;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 1px solid #050505;
  background: #fff;
  color: #050505;
  padding: 5px 8px;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pin-msk { left: 21%; top: 51%; }
.pin-spb { left: 16%; top: 42%; }
.pin-kzn { left: 31%; top: 56%; }
.pin-ekb { left: 42%; top: 57%; }
.pin-nsk { left: 56%; top: 60%; }

.cdek-point-list {
  display: grid;
  align-content: start;
}

.cdek-point {
  width: 100%;
  display: grid;
  gap: 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 18px;
  text-align: left;
  color: #050505;
}

.cdek-point:hover {
  background: #050505;
  color: #fff;
}

.cdek-point.is-active {
  background: #050505;
  color: #fff;
}

.cdek-point span,
.cdek-point small,
.cdek-point em {
  color: inherit;
  opacity: .68;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .source-card,
  .cdek-map-layout {
    grid-template-columns: 1fr;
  }

  .source-card-media {
    min-height: 220px;
  }

  .address-head {
    flex-direction: column;
  }

  .cdek-city-search {
    grid-template-columns: 1fr;
  }

  .cdek-map {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .related-card,
  html.desktop-shell .related-card {
    grid-template-columns: minmax(112px, 38%) 1fr !important;
    grid-template-rows: 1fr !important;
  }

  .related-card-media,
  html.desktop-shell .related-card-media {
    min-height: 160px !important;
    border-right: 1px solid #d7d7d2;
    border-bottom: 0;
  }
}

/* Final visual cleanup: transparent product photos and cleaner perfume cards */
.visual-tile--photo,
html.desktop-shell .visual-tile--photo,
.related-card-media,
html.desktop-shell .related-card-media {
  background: transparent !important;
  box-shadow: none !important;
}

.visual-tile--photo .visual-rim,
.visual-tile--photo .visual-sheen,
.related-card-media::before,
.related-card-media::after {
  display: none !important;
}

.visual-tile--photo .visual-photo,
html.desktop-shell .visual-tile--photo .visual-photo,
.related-card-media img,
html.desktop-shell .related-card-media img,
.source-card-media img {
  background: transparent !important;
  mix-blend-mode: multiply;
  filter: saturate(.98) contrast(1.02);
}

.product-related-grid,
html.desktop-shell .product-related-grid {
  background: #d8d8d2 !important;
  border: 1px solid #d8d8d2 !important;
  gap: 1px !important;
}

.related-card,
html.desktop-shell .related-card {
  background: rgba(255, 255, 255, .86) !important;
  border: 0 !important;
  min-height: 100% !important;
  overflow: hidden !important;
}

.related-card-body,
html.desktop-shell .related-card-body {
  background: rgba(255, 255, 255, .92) !important;
}

.related-card-bottom,
html.desktop-shell .related-card-bottom {
  margin-top: auto !important;
  border-top: 1px solid #111 !important;
  padding-top: 12px !important;
}

.related-card-bottom button,
html.desktop-shell .related-card-bottom button {
  background: #050505 !important;
  color: #fff !important;
  border: 1px solid #050505 !important;
}

.related-card-bottom button:hover,
html.desktop-shell .related-card-bottom button:hover {
  background: #fff !important;
  color: #050505 !important;
}

/* Mobile/product logo cleanup */
.product-bg-logo,
.product-angle-brand-logo,
.product-brand-logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-bg-logo.is-logo-missing,
.product-angle-brand-logo.is-logo-missing,
.product-brand-logo.is-logo-missing {
  display: none !important;
}

.brand-mark,
.brand-mark-external,
.brand-mark-generated,
.product-bg-logo img,
.product-angle-brand-logo img {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  mix-blend-mode: multiply;
}

.brand-mark-generated {
  width: min(190px, 18vw) !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .product-bg-logo {
    width: min(118px, 28vw) !important;
    max-height: 72px !important;
    right: 16px !important;
    top: 18px !important;
    opacity: .72 !important;
  }

  .product-bg-logo img,
  .brand-mark-generated {
    width: 100% !important;
    height: auto !important;
  }

  .product-angle-gallery,
  html.desktop-shell .product-angle-gallery {
    overflow: visible !important;
  }

  .product-angle-grid,
  .product-angle-strip,
  html.desktop-shell .product-angle-grid,
  html.desktop-shell .product-angle-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .product-angle-card,
  .product-angle-thumb,
  html.desktop-shell .product-angle-card,
  html.desktop-shell .product-angle-thumb {
    min-height: 150px !important;
    aspect-ratio: 1 / 1 !important;
    background: transparent !important;
  }

  .product-angle-feature .product-angle-primary,
  html.desktop-shell .product-angle-feature .product-angle-primary {
    min-height: 280px !important;
    aspect-ratio: 1 / 1 !important;
  }

  .product-angle-card img,
  .product-angle-thumb img,
  .product-hero-photo img,
  .visual-tile--photo .visual-photo {
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
  }

  .fragrance-pyramid-grid {
    grid-template-columns: 1fr !important;
  }
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-layout[data-profile-mode="auth"] {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  background: transparent !important;
}

.profile-layout[data-profile-mode="auth"] .profile-content {
  width: 100% !important;
  max-width: 980px !important;
  min-width: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.profile-layout[data-profile-mode="auth"] .profile-menu {
  display: none !important;
}

.profile-layout[data-profile-mode="auth"] .profile-card {
  background: #fff !important;
}

.auth-card,
.account-profile-form {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.auth-card label,
.account-profile-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.auth-card input,
.account-profile-form input {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}

.account-profile-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.account-profile-form h3,
.account-profile-form .form-result {
  grid-column: 1 / -1;
}

.account-saved-address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  margin: 12px 0;
}

.account-saved-address span {
  color: var(--muted);
}

@media (max-width: 768px) {
  .auth-grid,
  .account-profile-form {
    grid-template-columns: 1fr;
  }

  .profile-layout[data-profile-mode="auth"] {
    border: 0 !important;
    margin-top: 14px !important;
  }
}

/* Final mobile catalog density override.
   This intentionally sits at the end of the stylesheet so older safety layers
   cannot force the catalog back into one huge card per screen. */
@media (max-width: 768px) {
  body:not([data-page="product"]) main,
  html.desktop-shell body:not([data-page="product"]) main {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body:not([data-page="product"]) .hero-section,
  html.desktop-shell body:not([data-page="product"]) .hero-section {
    min-height: auto !important;
    padding: 24px 0 30px !important;
    gap: 18px !important;
  }

  body:not([data-page="product"]) .hero-copy h1,
  html.desktop-shell body:not([data-page="product"]) .hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px) !important;
    line-height: .94 !important;
  }

  body:not([data-page="product"]) .hero-copy p,
  html.desktop-shell body:not([data-page="product"]) .hero-copy p {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body:not([data-page="product"]) .hero-actions .primary-button,
  body:not([data-page="product"]) .hero-actions .secondary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .primary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .secondary-button {
    min-height: 46px !important;
    padding: 13px 14px !important;
    font-size: 11px !important;
  }

  body:not([data-page="product"]) .hero-stack,
  html.desktop-shell body:not([data-page="product"]) .hero-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body:not([data-page="product"]) .hero-stack > div,
  html.desktop-shell body:not([data-page="product"]) .hero-stack > div {
    min-height: 58px !important;
    padding: 10px 8px !important;
    display: grid !important;
    align-content: center !important;
  }

  body:not([data-page="product"]) .hero-stack strong,
  html.desktop-shell body:not([data-page="product"]) .hero-stack strong {
    font-size: 22px !important;
  }

  body:not([data-page="product"]) .hero-stack span,
  html.desktop-shell body:not([data-page="product"]) .hero-stack span {
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .12em !important;
  }

  .catalog-toolbar,
  html.desktop-shell .catalog-toolbar {
    margin: 18px 0 10px !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .catalog-toolbar h2,
  html.desktop-shell .catalog-toolbar h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1 !important;
  }

  .brand-discovery,
  html.desktop-shell .brand-discovery {
    margin: 14px 0 16px !important;
    padding: 0 !important;
  }

  .brand-rail,
  html.desktop-shell .brand-rail {
    gap: 8px !important;
    padding-bottom: 8px !important;
  }

  .brand-rail-card,
  html.desktop-shell .brand-rail-card {
    flex-basis: 118px !important;
    min-width: 118px !important;
    min-height: 138px !important;
    padding: 8px !important;
  }

  #productGrid.catalog-grid,
  .catalog-grid,
  html.desktop-shell #productGrid.catalog-grid,
  html.desktop-shell .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #productGrid.catalog-grid > .product-card,
  .catalog-grid > .product-card,
  html.desktop-shell #productGrid.catalog-grid > .product-card,
  html.desktop-shell .catalog-grid > .product-card {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    contain: layout paint !important;
    content-visibility: visible !important;
  }

  .product-card > *:not(.product-visual):not(.card-buttons),
  html.desktop-shell .product-card > *:not(.product-visual):not(.card-buttons) {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .product-card > .product-visual,
  .product-card > .product-visual.visual-tile,
  .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual,
  html.desktop-shell .product-card > .product-visual.visual-tile,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1.05 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .product-card > .product-visual .visual-photo,
  .product-card > .product-visual img,
  html.desktop-shell .product-card > .product-visual .visual-photo,
  html.desktop-shell .product-card > .product-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }

  .product-card .card-badges,
  html.desktop-shell .product-card .card-badges {
    gap: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  .product-card .badge,
  html.desktop-shell .product-card .badge {
    padding: 4px 5px !important;
    font-size: 7px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    margin: 8px 0 7px !important;
    font-size: 15px !important;
    line-height: 1.08 !important;
    min-height: 32px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .product-card .product-description,
  .product-card .product-meta,
  html.desktop-shell .product-card .product-description,
  html.desktop-shell .product-card .product-meta {
    display: none !important;
  }

  .product-card .seller-row,
  .product-card .stock-row,
  html.desktop-shell .product-card .seller-row,
  html.desktop-shell .product-card .stock-row {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .1em !important;
  }

  .product-card .price-line,
  html.desktop-shell .product-card .price-line {
    margin-top: auto !important;
    min-height: 56px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 22px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .product-card .price-line span,
  html.desktop-shell .product-card .price-line span {
    font-size: 8px !important;
    line-height: 1.1 !important;
    max-width: 48px !important;
    text-align: right !important;
  }

  .product-card > .card-buttons,
  .card-buttons,
  html.desktop-shell .product-card > .card-buttons,
  html.desktop-shell .card-buttons {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  .product-card .card-buttons [data-detail],
  html.desktop-shell .product-card .card-buttons [data-detail] {
    display: none !important;
  }

  .product-card .card-action,
  html.desktop-shell .product-card .card-action {
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 5px !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    white-space: normal !important;
  }
}

@media (max-width: 340px) {
  #productGrid.catalog-grid,
  .catalog-grid,
  html.desktop-shell #productGrid.catalog-grid,
  html.desktop-shell .catalog-grid {
    gap: 6px !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 19px !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    font-size: 14px !important;
  }
}

/* Final mobile no-filter layer: keep category pages direct and product cards visual. */
@media (max-width: 768px) {
  .mobile-catalog-hub,
  html.desktop-shell .mobile-catalog-hub,
  #catalogFilters,
  html.desktop-shell #catalogFilters {
    display: none !important;
  }

  body[data-catalog-mode="category"] .hero-section,
  body[data-catalog-mode="category"] #ai-search,
  html.desktop-shell body[data-catalog-mode="category"] .hero-section,
  html.desktop-shell body[data-catalog-mode="category"] #ai-search {
    display: none !important;
  }

  body[data-catalog-mode="category"] .catalog-toolbar,
  body[data-catalog-mode="category"] .catalog-category-filter,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-toolbar,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-category-filter {
    display: none !important;
  }

  body[data-catalog-mode="category"] #catalog,
  html.desktop-shell body[data-catalog-mode="category"] #catalog {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .product-card > .product-visual.visual-tile--photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo {
    display: grid !important;
    place-items: center !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .product-card > .product-visual.visual-tile--photo .visual-photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }
}

/* Entry splash and process hover base. */
.entry-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .34s ease, visibility .34s ease;
}

.entry-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.entry-splash__mark {
  position: relative;
  width: min(980px, 94vw);
  height: clamp(210px, 28vw, 360px);
  display: grid;
  place-items: center;
  overflow: hidden;
  --entry-logo-size: min(1120px, 112vw);
}

.entry-splash__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--entry-logo-size);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.12);
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.02);
  animation: entryLogoSettle .42s ease-out 1.68s forwards;
}

.entry-splash__stroke {
  position: absolute;
  inset: 0;
  display: block;
  background-image: url("/assets/antichniistore-entry-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--entry-logo-size) var(--entry-logo-size);
  filter: grayscale(1) contrast(1.12);
  opacity: 0;
  clip-path: inset(0 calc(100% - var(--from)) 0 var(--from));
  animation: entryLogoStroke .34s cubic-bezier(.18, .84, .24, 1) var(--delay) forwards;
}

.entry-splash__pen {
  position: absolute;
  top: 28%;
  left: 14%;
  width: 2px;
  height: 40%;
  background: #050505;
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(21deg);
  transform-origin: 50% 50%;
  animation: entryLogoPen 1.78s cubic-bezier(.2, .82, .22, 1) .08s forwards;
}

@keyframes entryLogoStroke {
  0% {
    opacity: 0;
    clip-path: inset(0 calc(100% - var(--from)) 0 var(--from));
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 calc(100% - var(--end)) 0 var(--from));
  }
}

@keyframes entryLogoSettle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes entryLogoPen {
  0% {
    opacity: 0;
    transform: translate3d(0, 4px, 0) rotate(21deg);
  }
  6% {
    opacity: .55;
  }
  12% {
    transform: translate3d(8vw, -6px, 0) rotate(19deg);
  }
  24% {
    transform: translate3d(16vw, 8px, 0) rotate(24deg);
  }
  36% {
    transform: translate3d(24vw, -4px, 0) rotate(20deg);
  }
  48% {
    transform: translate3d(32vw, 7px, 0) rotate(25deg);
  }
  60% {
    transform: translate3d(42vw, -7px, 0) rotate(18deg);
  }
  72% {
    transform: translate3d(52vw, 6px, 0) rotate(23deg);
  }
  84% {
    opacity: .55;
    transform: translate3d(62vw, -3px, 0) rotate(20deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(min(720px, 72vw), 0, 0) rotate(21deg);
  }
}

body:not([data-page="product"]) #agents,
body:not([data-page="product"]) #agents.air-dark-panel,
html.desktop-shell body:not([data-page="product"]) #agents,
html.desktop-shell body:not([data-page="product"]) #agents.air-dark-panel {
  transition: none !important;
}

body:not([data-page="product"]) #agents .agent-card,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card {
  transition:
    background-color .13s ease-out,
    color .13s ease-out,
    border-color .13s ease-out,
    box-shadow .13s ease-out !important;
  transform: none !important;
}

body:not([data-page="product"]) #agents .agent-card h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card h3 {
  transition: color .13s ease-out !important;
}

body:not([data-page="product"]) #agents .agent-card:hover,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover {
  background: #fff !important;
  color: #050505 !important;
  transform: none !important;
  box-shadow: none !important;
}

body:not([data-page="product"]) #agents .agent-card:hover h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover h3 {
  color: #050505 !important;
}

@media (max-width: 768px) {
  .entry-splash__mark {
    width: min(620px, 94vw);
    height: clamp(170px, 34vw, 260px);
    --entry-logo-size: min(760px, 138vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-splash,
  .entry-splash__logo,
  .entry-splash__stroke,
  .entry-splash__pen,
  body:not([data-page="product"]) #agents .agent-card,
  body:not([data-page="product"]) #agents .agent-card h3 {
    animation: none !important;
    transition: none !important;
  }

  .entry-splash__logo {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }

  .entry-splash__stroke {
    display: none !important;
  }

  .entry-splash__pen {
    display: none !important;
  }
}

/* Final profile auth layout repair: login/register should not inherit the account two-column shell. */
.link-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font: inherit;
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.auth-reset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.profile-layout[data-profile-mode="auth"],
html.desktop-shell .profile-layout[data-profile-mode="auth"] {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  background: transparent !important;
  border-color: transparent !important;
}

.profile-layout[data-profile-mode="auth"] .profile-menu,
html.desktop-shell .profile-layout[data-profile-mode="auth"] .profile-menu {
  display: none !important;
}

.profile-layout[data-profile-mode="auth"] .profile-content,
html.desktop-shell .profile-layout[data-profile-mode="auth"] .profile-content {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 980px !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

.profile-layout[data-profile-mode="auth"] .auth-grid,
html.desktop-shell .profile-layout[data-profile-mode="auth"] .auth-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.profile-layout[data-profile-mode="auth"] .auth-card,
html.desktop-shell .profile-layout[data-profile-mode="auth"] .auth-card {
  min-width: 0 !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .profile-layout[data-profile-mode="auth"] .auth-grid,
  html.desktop-shell .profile-layout[data-profile-mode="auth"] .auth-grid {
    grid-template-columns: 1fr !important;
  }

  .auth-reset-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Final process-section repair: keep the dark "Как работает подбор" block readable. */
body:not([data-page="product"]) #agents,
body:not([data-page="product"]) #agents.air-dark-panel,
html.desktop-shell body:not([data-page="product"]) #agents,
html.desktop-shell body:not([data-page="product"]) #agents.air-dark-panel {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
  overflow: visible !important;
}

body:not([data-page="product"]) #agents .section-heading,
html.desktop-shell body:not([data-page="product"]) #agents .section-heading {
  width: min(1280px, 100%) !important;
  max-width: 1280px !important;
}

body:not([data-page="product"]) #agents .agent-grid,
html.desktop-shell body:not([data-page="product"]) #agents .agent-grid {
  width: min(1280px, 100%) !important;
  max-width: 1280px !important;
  grid-template-columns: repeat(3, minmax(220px, 1fr)) !important;
}

body:not([data-page="product"]) #agents .agent-card,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card {
  min-width: 0 !important;
  min-height: 156px !important;
  overflow: visible !important;
}

body:not([data-page="product"]) #agents .agent-card h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card h3 {
  max-width: 24ch !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (max-width: 900px) {
  body:not([data-page="product"]) #agents .agent-grid,
  html.desktop-shell body:not([data-page="product"]) #agents .agent-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile flow repair: no extra filter strips, keep navigation simple and cards visual. */
@media (max-width: 768px) {
  .mobile-catalog-hub,
  html.desktop-shell .mobile-catalog-hub,
  #catalogFilters,
  html.desktop-shell #catalogFilters {
    display: none !important;
  }

  body[data-catalog-mode="category"] .hero-section,
  body[data-catalog-mode="category"] #ai-search,
  html.desktop-shell body[data-catalog-mode="category"] .hero-section,
  html.desktop-shell body[data-catalog-mode="category"] #ai-search {
    display: none !important;
  }

  body[data-catalog-mode="category"] #catalog,
  html.desktop-shell body[data-catalog-mode="category"] #catalog {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  body[data-catalog-mode="category"] .catalog-toolbar,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-toolbar {
    display: none !important;
  }

  body[data-catalog-mode="category"] .catalog-category-filter,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-category-filter {
    display: none !important;
  }

  .product-card > .product-visual.visual-tile--photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo {
    display: grid !important;
    place-items: center !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .product-card > .product-visual.visual-tile--photo .visual-photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }
}

.mobile-catalog-hub {
  display: none;
}

@media (max-width: 768px) {
  body[data-catalog-mode="category"] .hero-section,
  body[data-catalog-mode="category"] #catalogFilters,
  body[data-catalog-mode="category"] #ai-search,
  html.desktop-shell body[data-catalog-mode="category"] .hero-section,
  html.desktop-shell body[data-catalog-mode="category"] #catalogFilters,
  html.desktop-shell body[data-catalog-mode="category"] #ai-search {
    display: none !important;
  }

  body[data-catalog-mode="category"] #catalog,
  html.desktop-shell body[data-catalog-mode="category"] #catalog {
    margin-top: 0 !important;
    padding-top: 0 !important;
    scroll-margin-top: 84px !important;
  }

  .mobile-catalog-hub,
  html.desktop-shell .mobile-catalog-hub {
    position: sticky;
    top: 0;
    z-index: 80;
    display: grid;
    gap: 8px;
    margin: 0 -10px 14px;
    padding: 10px 10px 12px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-catalog-strip,
  html.desktop-shell .mobile-catalog-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 1px;
  }

  .mobile-catalog-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-catalog-strip a,
  html.desktop-shell .mobile-catalog-strip a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid #d9d9d6;
    background: #fff;
    color: #050505;
    padding: 0 13px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    white-space: nowrap;
  }

  .mobile-catalog-strip--primary a,
  html.desktop-shell .mobile-catalog-strip--primary a {
    min-width: 86px;
    min-height: 42px;
  }

  .mobile-catalog-strip--secondary a,
  html.desktop-shell .mobile-catalog-strip--secondary a {
    min-height: 34px;
    font-size: 9px;
    letter-spacing: .1em;
    color: #666;
  }

  body[data-catalog-category="digital-services"] .mobile-catalog-strip a[data-catalog-view="digital"],
  body[data-catalog-category="fashion"] .mobile-catalog-strip a[data-catalog-view="fashion"],
  body[data-catalog-category="beauty"] .mobile-catalog-strip a[data-catalog-view="beauty"],
  body[data-catalog-category="auto-parts"] .mobile-catalog-strip a[data-catalog-view="auto-parts"],
  body[data-catalog-category="tires"] .mobile-catalog-strip a[data-catalog-view="auto-parts"],
  body[data-catalog-subcategory="shoes"] .mobile-catalog-strip a[data-catalog-view="sneakers"],
  body[data-catalog-subcategory="clothing"] .mobile-catalog-strip a[data-catalog-view="clothes"],
  body[data-catalog-subcategory="accessories"] .mobile-catalog-strip a[data-catalog-view="accessories"],
  body[data-catalog-subcategory="perfume"] .mobile-catalog-strip a[data-catalog-view="perfume"],
  body[data-catalog-subcategory="cosmetics"] .mobile-catalog-strip a[data-catalog-view="cosmetics"] {
    background: #050505 !important;
    border-color: #050505 !important;
    color: #fff !important;
  }

  body[data-catalog-mode="category"] .catalog-toolbar,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-toolbar {
    margin-top: 4px !important;
  }

  body[data-catalog-mode="category"] .brand-discovery,
  html.desktop-shell body[data-catalog-mode="category"] .brand-discovery {
    margin-top: 8px !important;
  }

  body[data-catalog-mode="category"] .catalog-category-filter,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-category-filter {
    display: none !important;
  }

  body[data-catalog-mode="category"] .catalog-toolbar,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-toolbar {
    display: none !important;
  }

  body[data-catalog-mode="category"] .brand-discovery,
  html.desktop-shell body[data-catalog-mode="category"] .brand-discovery {
    margin: 8px 0 8px !important;
    padding: 0 !important;
  }

  body[data-catalog-mode="category"] .brand-discovery-head,
  html.desktop-shell body[data-catalog-mode="category"] .brand-discovery-head {
    display: none !important;
  }

  body[data-catalog-mode="category"] .brand-rail,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail {
    grid-auto-columns: 104px !important;
    gap: 6px !important;
    padding-bottom: 6px !important;
  }

  body[data-catalog-mode="category"] .brand-rail-card,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-card {
    min-width: 104px !important;
    min-height: 104px !important;
    padding: 7px !important;
    grid-template-rows: 46px auto !important;
    gap: 5px !important;
  }

  body[data-catalog-mode="category"] .brand-rail-logo,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-logo {
    height: 46px !important;
    min-height: 46px !important;
    padding: 4px !important;
  }

  body[data-catalog-mode="category"] .brand-rail-logo img,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-logo img {
    max-width: 82px !important;
    max-height: 32px !important;
  }

  body[data-catalog-mode="category"] .brand-rail-card strong,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-card strong {
    min-height: 26px !important;
    font-size: 10px !important;
    line-height: 1.12 !important;
  }

  body[data-catalog-mode="category"] .brand-rail-card small,
  body[data-catalog-mode="category"] .brand-rail-card em,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-card small,
  html.desktop-shell body[data-catalog-mode="category"] .brand-rail-card em {
    display: none !important;
  }
}

/* Extra mobile compression: keep cards scannable, details remain on product page. */
@media (max-width: 768px) {
  .product-card .seller-row,
  .product-card .stock-row,
  html.desktop-shell .product-card .seller-row,
  html.desktop-shell .product-card .stock-row {
    display: none !important;
  }

  .product-card .card-badges .badge:last-child,
  html.desktop-shell .product-card .card-badges .badge:last-child {
    display: none !important;
  }

  .product-card > .product-visual,
  .product-card > .product-visual.visual-tile,
  .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual,
  html.desktop-shell .product-card > .product-visual.visual-tile,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo {
    aspect-ratio: 1 / .92 !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    font-size: 14px !important;
    min-height: 30px !important;
  }

  .product-card .price-line,
  html.desktop-shell .product-card .price-line {
    min-height: 48px !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 20px !important;
  }

  .product-card .card-action,
  html.desktop-shell .product-card .card-action {
    min-height: 40px !important;
    height: 40px !important;
  }
}

/* Mobile marketplace density: keeps the antichniistore visual language, but
   makes catalog browsing closer to compact mobile marketplaces. */
@media (max-width: 768px) {
  body:not([data-page="product"]) main,
  html.desktop-shell body:not([data-page="product"]) main {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body:not([data-page="product"]) .hero-section,
  html.desktop-shell body:not([data-page="product"]) .hero-section {
    min-height: auto !important;
    padding: 24px 0 30px !important;
    gap: 18px !important;
  }

  body:not([data-page="product"]) .hero-copy h1,
  html.desktop-shell body:not([data-page="product"]) .hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px) !important;
    line-height: .94 !important;
    max-width: 100% !important;
  }

  body:not([data-page="product"]) .hero-copy p,
  html.desktop-shell body:not([data-page="product"]) .hero-copy p {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body:not([data-page="product"]) .hero-actions,
  html.desktop-shell body:not([data-page="product"]) .hero-actions {
    gap: 8px !important;
  }

  body:not([data-page="product"]) .hero-actions .primary-button,
  body:not([data-page="product"]) .hero-actions .secondary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .primary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .secondary-button {
    min-height: 46px !important;
    padding: 13px 14px !important;
    font-size: 11px !important;
  }

  body:not([data-page="product"]) .hero-stack,
  html.desktop-shell body:not([data-page="product"]) .hero-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  body:not([data-page="product"]) .hero-stack > div,
  html.desktop-shell body:not([data-page="product"]) .hero-stack > div {
    min-height: 58px !important;
    padding: 10px 8px !important;
    display: grid !important;
    align-content: center !important;
    gap: 4px !important;
  }

  body:not([data-page="product"]) .hero-stack strong,
  html.desktop-shell body:not([data-page="product"]) .hero-stack strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  body:not([data-page="product"]) .hero-stack span,
  html.desktop-shell body:not([data-page="product"]) .hero-stack span {
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .12em !important;
  }

  .catalog-toolbar,
  html.desktop-shell .catalog-toolbar {
    margin: 18px 0 10px !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .catalog-toolbar h2,
  html.desktop-shell .catalog-toolbar h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1 !important;
  }

  .catalog-toolbar p,
  .catalog-toolbar span,
  html.desktop-shell .catalog-toolbar p,
  html.desktop-shell .catalog-toolbar span {
    font-size: 10px !important;
  }

  .brand-discovery,
  html.desktop-shell .brand-discovery {
    margin: 14px 0 16px !important;
    padding: 0 !important;
  }

  .brand-rail,
  html.desktop-shell .brand-rail {
    gap: 8px !important;
    padding: 0 0 8px !important;
    scroll-padding-inline: 10px !important;
  }

  .brand-rail-card,
  html.desktop-shell .brand-rail-card {
    flex-basis: 118px !important;
    min-width: 118px !important;
    padding: 8px !important;
  }

  .catalog-grid,
  html.desktop-shell .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  .product-card,
  html.desktop-shell .product-card {
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    border-color: #e7e7e7 !important;
    contain: layout paint style !important;
    content-visibility: auto;
    contain-intrinsic-size: 360px;
  }

  .product-card > *,
  html.desktop-shell .product-card > * {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .product-card > .product-visual,
  .product-card > .product-visual.visual-tile,
  .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual,
  html.desktop-shell .product-card > .product-visual.visual-tile,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1.05 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .product-card > .product-visual .visual-photo,
  .product-card > .product-visual img,
  html.desktop-shell .product-card > .product-visual .visual-photo,
  html.desktop-shell .product-card > .product-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }

  .product-card .visual-mark,
  html.desktop-shell .product-card .visual-mark {
    width: 62px !important;
    height: 62px !important;
    font-size: 18px !important;
  }

  .product-card .card-badges,
  html.desktop-shell .product-card .card-badges {
    gap: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  .product-card .badge,
  html.desktop-shell .product-card .badge {
    padding: 4px 5px !important;
    font-size: 7px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
    max-width: 100% !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    margin: 8px 0 7px !important;
    font-size: 15px !important;
    line-height: 1.08 !important;
    min-height: 32px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .product-card .product-description,
  .product-card .product-meta,
  html.desktop-shell .product-card .product-description,
  html.desktop-shell .product-card .product-meta {
    display: none !important;
  }

  .product-card .seller-row,
  .product-card .stock-row,
  html.desktop-shell .product-card .seller-row,
  html.desktop-shell .product-card .stock-row {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    min-height: 0 !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .1em !important;
  }

  .product-card .seller-row {
    border-top: 0 !important;
  }

  .product-card .price-line,
  html.desktop-shell .product-card .price-line {
    margin-top: auto !important;
    min-height: 56px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .product-card .price-line span,
  html.desktop-shell .product-card .price-line span {
    font-size: 8px !important;
    line-height: 1.1 !important;
    letter-spacing: .12em !important;
    max-width: 48px !important;
    text-align: right !important;
  }

  .product-card > .card-buttons,
  .card-buttons,
  html.desktop-shell .product-card > .card-buttons,
  html.desktop-shell .card-buttons {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) !important;
    margin: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  .product-card .card-buttons [data-detail],
  html.desktop-shell .product-card .card-buttons [data-detail] {
    display: none !important;
  }

  .product-card .card-action,
  html.desktop-shell .product-card .card-action {
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 5px !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    white-space: normal !important;
  }

  .product-card .card-action.primary,
  html.desktop-shell .product-card .card-action.primary {
    font-weight: 800 !important;
  }
}

@media (max-width: 340px) {
  .catalog-grid,
  html.desktop-shell .catalog-grid {
    gap: 6px !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 19px !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    font-size: 14px !important;
  }
}

/* Mobile catalog crash-fix: force full card rendering and show controls/price */
@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .product-card {
    min-height: 0 !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .product-card > .card-buttons {
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .card-action {
    min-height: 44px !important;
    padding: 12px 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .price-line {
    margin-top: 12px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .price-line strong {
    font-size: 28px !important;
    color: #050505 !important;
    word-break: break-word !important;
  }
}

@media (max-width: 520px) {
  .product-card > .card-buttons {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Final mobile card visibility stabilizer: always show price + controls */
@media (max-width: 900px) {
  .catalog-grid {
    overflow: visible !important;
  }

  #catalogGrid,
  .catalog-grid,
  .catalog-list,
  .profile-content,
  .category-grid,
  .quick-view-grid {
    min-width: 0 !important;
  }

  .product-card {
    overflow: visible !important;
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-card > * {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .product-card > .product-visual {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .price-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: auto !important;
    overflow: visible !important;
    margin-top: 12px !important;
  }

  .price-line strong {
    font-size: 28px !important;
    color: #050505 !important;
    min-width: 0 !important;
  }

  .price-line span {
    font-size: 10px !important;
    color: #6b6b6b !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
  }

  .product-card > .card-buttons,
  .card-buttons {
    width: 100% !important;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1px !important;
    background: #e6e6e3 !important;
    border-top: 1px solid #e6e6e3 !important;
    overflow: visible !important;
  }

  .card-action {
    min-height: 44px !important;
    height: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 12px 8px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    color: #050505 !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #e6e6e3 !important;
    border-bottom: 0 !important;
  }

  .card-action.primary {
    background: #050505 !important;
    color: #fff !important;
  }

  .card-action:last-child {
    border-right: 0 !important;
  }
}

@media (max-width: 520px) {
  .product-card > .card-buttons,
  .card-buttons {
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .card-action {
    font-size: 10px !important;
    min-height: 42px !important;
    padding: 10px 6px !important;
  }
}

/* Mobile product/catalog safety layer.
   Keeps the existing business logic intact, but prevents previous product-page
   overrides from hiding price/actions on Telegram Mini App and narrow screens. */
@media (max-width: 900px) {
  body[data-page="product"],
  body[data-page="product"] #app,
  body[data-page="product"] #home,
  body[data-page="product"] #productPage,
  .product-page:not([hidden]) {
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  body[data-page="product"] #productPage.product-page {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .product-page:not([hidden]) .product-neo-hero,
  html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto 16px !important;
    padding: 18px 0 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "copy"
      "photo"
      "purchase" !important;
    gap: 12px !important;
    overflow: visible !important;
    background: #fff !important;
  }

  .product-page:not([hidden]) .product-hero-copy,
  html.desktop-shell .product-page:not([hidden]) .product-hero-copy {
    display: block !important;
    visibility: visible !important;
    grid-area: copy !important;
    min-width: 0 !important;
    color: #050505 !important;
  }

  .product-page:not([hidden]) .product-hero-copy h1,
  html.desktop-shell .product-page:not([hidden]) .product-hero-copy h1 {
    font-size: clamp(30px, 10vw, 48px) !important;
    line-height: .98 !important;
    max-width: 100% !important;
    color: #050505 !important;
  }

  .product-page:not([hidden]) .product-bg-logo,
  html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
    width: clamp(72px, 24vw, 112px) !important;
    height: clamp(38px, 14vw, 64px) !important;
    top: 18px !important;
    right: 12px !important;
    opacity: .9 !important;
    pointer-events: none !important;
  }

  .product-page:not([hidden]) .product-hero-photo,
  html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
    display: grid !important;
    visibility: visible !important;
    grid-area: photo !important;
    width: 100% !important;
    height: clamp(260px, 76vw, 420px) !important;
    min-height: 260px !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .product-page:not([hidden]) .product-hero-photo img,
  html.desktop-shell .product-page:not([hidden]) .product-hero-photo img {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    padding: 16px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
  }

  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    display: grid !important;
    visibility: visible !important;
    grid-area: purchase !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes" !important;
    gap: 8px !important;
    overflow: visible !important;
  }

  .product-page:not([hidden]) .product-hero-variant-card,
  .product-page:not([hidden]) .product-hero-tariffs,
  .product-page:not([hidden]) .product-hero-buy,
  .product-page:not([hidden]) .product-hero-favorite,
  .product-page:not([hidden]) .product-hero-notes,
  html.desktop-shell .product-page:not([hidden]) .product-hero-variant-card,
  html.desktop-shell .product-page:not([hidden]) .product-hero-tariffs,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite,
  html.desktop-shell .product-page:not([hidden]) .product-hero-notes {
    display: grid !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    opacity: 1 !important;
  }

  .product-page:not([hidden]) .product-hero-buy,
  .product-page:not([hidden]) .product-hero-favorite,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
    min-height: 58px !important;
    height: auto !important;
    padding: 14px 16px !important;
    place-items: center !important;
    color: #fff !important;
    background: #050505 !important;
    border: 1px solid #050505 !important;
    pointer-events: auto !important;
  }

  .product-page:not([hidden]) .product-hero-favorite,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
    color: #050505 !important;
    background: #fff !important;
  }

  .product-page:not([hidden]) .product-hero-buy strong,
  .product-page:not([hidden]) .product-hero-buy span,
  .product-page:not([hidden]) .product-hero-favorite strong,
  .product-page:not([hidden]) .product-hero-favorite span,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy strong,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy span,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite strong,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .product-page:not([hidden]) .product-price-panel,
  html.desktop-shell .product-page:not([hidden]) .product-price-panel {
    display: grid !important;
    visibility: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    position: relative !important;
    top: auto !important;
    color: #050505 !important;
    background: #fff !important;
  }

  .product-page:not([hidden]) .product-price,
  html.desktop-shell .product-page:not([hidden]) .product-price {
    display: block !important;
    visibility: visible !important;
    color: #050505 !important;
    font-size: clamp(34px, 10vw, 54px) !important;
  }

  .product-page:not([hidden]) .product-price-actions,
  html.desktop-shell .product-page:not([hidden]) .product-price-actions {
    display: none !important;
    visibility: hidden !important;
  }

  .product-page:not([hidden]) .product-price-actions .primary-button,
  .product-page:not([hidden]) .product-price-actions .secondary-button,
  html.desktop-shell .product-page:not([hidden]) .product-price-actions .primary-button,
  html.desktop-shell .product-page:not([hidden]) .product-price-actions .secondary-button {
    display: inline-flex !important;
    visibility: visible !important;
    min-height: 50px !important;
    width: 100% !important;
  }

  .catalog-grid,
  #catalogGrid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
  }

  .product-card .price-line,
  .product-card .card-buttons {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .product-card .card-buttons {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .product-card .price-line strong {
    display: block !important;
    color: #050505 !important;
  }
}

/* Final mobile shell repair: prevents the legacy desktop-shell fallback from
   pushing header controls outside narrow Telegram/mobile viewports. */
@media (max-width: 900px) {
  html,
  body,
  html.desktop-shell,
  html.desktop-shell body {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    zoom: 1 !important;
  }

  .site-header,
  html.desktop-shell .site-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 12px 14px !important;
    overflow: hidden !important;
  }

  .brand,
  html.desktop-shell .brand {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    order: 1 !important;
  }

  .brand-logo,
  html.desktop-shell .brand-logo {
    width: auto !important;
    height: 44px !important;
    max-width: 124px !important;
    object-fit: contain !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    flex: 0 0 75vw !important;
    width: 75vw !important;
    max-width: 75vw !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    order: 2 !important;
    min-width: 0 !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    flex: 0 0 25vw !important;
    width: 25vw !important;
    max-width: 25vw !important;
    height: 40px !important;
    min-width: 0 !important;
    border-right: 0 !important;
  }

  .circle-action:last-child,
  html.desktop-shell .circle-action:last-child {
    border-right: 1px solid #050505 !important;
  }

  .catalog-trigger,
  html.desktop-shell .catalog-trigger,
  .search-hub,
  html.desktop-shell .search-hub {
    flex: 0 0 calc(100vw - 28px) !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .catalog-trigger,
  html.desktop-shell .catalog-trigger {
    order: 3 !important;
  }

  .search-hub,
  html.desktop-shell .search-hub {
    order: 4 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .bottom-nav a,
  .bottom-nav button {
    min-width: 0 !important;
    overflow: hidden !important;
    font-size: 10px !important;
    letter-spacing: .04em !important;
    white-space: nowrap !important;
  }
}

/* Mobile complete fix: real phone browsers were still rendering a narrow
   emergency shell and raw-looking forms while the catalog was loading. */
@media (max-width: 900px) {
  html,
  body,
  html.desktop-shell,
  html.desktop-shell body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    zoom: 1 !important;
  }

  .site-header,
  html.desktop-shell .site-header {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 18px 18px 12px !important;
    overflow: hidden !important;
  }

  .brand,
  html.desktop-shell .brand,
  .header-actions,
  html.desktop-shell .header-actions,
  .catalog-trigger,
  html.desktop-shell .catalog-trigger,
  .search-hub,
  html.desktop-shell .search-hub {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  .brand,
  html.desktop-shell .brand {
    order: 1 !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    order: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    height: 40px !important;
    border-right: 0 !important;
  }

  .circle-action:last-child,
  html.desktop-shell .circle-action:last-child {
    border-right: 1px solid #050505 !important;
  }

  .catalog-trigger,
  html.desktop-shell .catalog-trigger {
    order: 3 !important;
  }

  .search-hub,
  html.desktop-shell .search-hub {
    order: 4 !important;
  }

  main,
  html.desktop-shell main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 18px calc(108px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
  }

  .hero-section {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 34px 0 42px !important;
    gap: 22px !important;
    overflow: visible !important;
  }

  .hero-copy {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hero-copy h1 {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    font-size: clamp(44px, 14vw, 68px) !important;
    line-height: .93 !important;
  }

  .hero-copy p {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .catalog-trigger,
  .header-search {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-stack {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-stack > div {
    min-height: 72px !important;
    padding: 18px !important;
  }

  .top-filter-section,
  .ai-search-section,
  .support-section,
  .profile-section,
  .seller-section {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .filter-heading,
  .section-heading {
    width: 100% !important;
    max-width: 100% !important;
  }

  .filter-heading p,
  .section-heading p {
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .top-filter-panel,
  .filter-panel,
  .ai-layout,
  .ai-form,
  .ai-results,
  .form-row,
  .price-row,
  .advanced-filter-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 12px !important;
  }

  .top-filter-panel,
  .ai-form {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  .filter-panel label,
  .ai-form label,
  .seller-form label,
  .order-form label {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 6px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .filter-panel input,
  .filter-panel select,
  .filter-panel textarea,
  .ai-form input,
  .ai-form select,
  .ai-form textarea,
  .seller-form input,
  .seller-form select,
  .seller-form textarea,
  .order-form input,
  .order-form select,
  .order-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    border: 1px solid #d9d9d6 !important;
    border-radius: var(--radius-sm) !important;
    background-color: #fff !important;
    color: #050505 !important;
    box-shadow: none !important;
    opacity: 1 !important;
  }

  .filter-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .toggle-line {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 34px !important;
  }

  .toggle-line input {
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    overflow: hidden !important;
  }

  .bottom-nav a,
  .bottom-nav button {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 2px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
}

/* Final mobile media guard: every non-digital catalog item that has a real
   photo keeps the photo visible in narrow browsers and Telegram Mini App. */
@media (max-width: 900px) {
  .product-card > .product-visual.visual-tile--photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    min-height: 210px !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
  }

  .product-card > .product-visual.visual-tile--photo .visual-photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
  }

  .product-card > .product-visual.visual-tile--photo > small {
    display: inline-flex !important;
    right: 12px !important;
    bottom: 12px !important;
  }
}

@media (max-width: 520px) {
  .product-card > .product-visual.visual-tile--photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo {
    min-height: 190px !important;
  }
}

/* Final mobile usability layer: keeps the existing visual language and app
   logic intact, but makes the current controls easier to read and tap. */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 164px !important;
  }

  body {
    -webkit-text-size-adjust: 100% !important;
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)) !important;
  }

  button,
  a,
  input,
  select,
  textarea {
    touch-action: manipulation !important;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .site-header,
  html.desktop-shell .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .brand-logo,
  html.desktop-shell .brand-logo {
    width: auto !important;
    height: auto !important;
    max-width: min(150px, 48vw) !important;
    max-height: 56px !important;
  }

  .brand,
  html.desktop-shell .brand {
    order: 1 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    order: 1 !important;
    width: auto !important;
    max-width: 148px !important;
    justify-self: end !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(42px, 46px)) !important;
    gap: 0 !important;
  }

  .catalog-trigger,
  html.desktop-shell .catalog-trigger {
    order: 2 !important;
    grid-column: 1 / -1 !important;
  }

  .search-hub,
  html.desktop-shell .search-hub {
    order: 3 !important;
    grid-column: 1 / -1 !important;
  }

  .search-tabs,
  html.desktop-shell .search-tabs {
    min-height: 36px !important;
    gap: 8px !important;
  }

  .search-tabs button,
  html.desktop-shell .search-tabs button {
    min-height: 36px !important;
    padding: 8px 4px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  .header-search,
  .catalog-trigger,
  html.desktop-shell .header-search,
  html.desktop-shell .catalog-trigger {
    min-height: 50px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    min-height: 46px !important;
    height: 46px !important;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button,
  .primary-button,
  .secondary-button,
  .catalog-load-more {
    min-height: 48px !important;
  }

  #catalog,
  #ai-search,
  #seller-onboarding,
  #support,
  #profile,
  .top-filter-section {
    scroll-margin-top: 168px !important;
  }

  .catalog-toolbar,
  html.desktop-shell .catalog-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: start !important;
    margin-bottom: 18px !important;
  }

  .catalog-toolbar h2 {
    line-height: 1 !important;
  }

  .product-card,
  html.desktop-shell .product-card {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .product-card > *:not(.product-visual):not(.card-buttons) {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    margin-top: 12px !important;
    font-size: 21px !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere !important;
  }

  .product-description {
    font-size: 13px !important;
    line-height: 1.42 !important;
  }

  .product-meta,
  .seller-row,
  .stock-row {
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .product-meta span,
  .seller-row span,
  .stock-row span {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .price-line {
    align-items: flex-end !important;
    gap: 12px !important;
  }

  .price-line strong {
    font-size: clamp(28px, 9vw, 36px) !important;
  }

  .card-buttons,
  html.desktop-shell .card-buttons {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr) !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
  }

  .card-action {
    min-height: 52px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: .08em !important;
    white-space: normal !important;
  }

  .filter-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .filter-actions button,
  .ai-form button,
  .seller-form button,
  .order-form button,
  .product-hero-variant-strip button,
  .product-hero-price-card,
  .product-hero-buy,
  .product-hero-favorite {
    min-height: 48px !important;
  }

  .support-layout > *,
  .profile-layout > *,
  .seller-layout > *,
  .ai-form,
  .ai-results {
    padding: 18px !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  }

  .bottom-nav a,
  .bottom-nav button,
  html.desktop-shell .bottom-nav a,
  html.desktop-shell .bottom-nav button {
    width: auto !important;
    max-width: none !important;
    min-height: 64px !important;
    padding: 4px 2px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
}

@media (max-width: 380px) {
  .hero-copy h1 {
    font-size: clamp(40px, 13vw, 56px) !important;
  }

  .card-action {
    font-size: 9px !important;
    letter-spacing: .06em !important;
  }
}

/* Desktop recovery layer: keeps hidden drawers out of the document flow even
   during slow stylesheet/cache states and removes the mobile bottom bar from
   the desktop layout. */
.cart-drawer[hidden],
.checkout-drawer[hidden],
.cart-drawer[aria-hidden="true"],
.checkout-drawer[aria-hidden="true"],
.detail-view[hidden],
.drawer-backdrop[hidden] {
  display: none !important;
  pointer-events: none !important;
}

@media (min-width: 901px) {
  body {
    padding-bottom: 0 !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    display: none !important;
  }

  .site-header,
  html.desktop-shell .site-header {
    min-height: 72px !important;
  }

  main,
  html.desktop-shell main {
    width: min(1440px, 100%) !important;
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-section {
    min-height: clamp(420px, 52vh, 720px) !important;
  }
}

/* Brand-first catalog navigation */
.top-filter-section[hidden] {
  display: none !important;
}

.brand-discovery {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(18px, 2.2vw, 30px) 0;
  margin: 0 0 clamp(18px, 2vw, 28px);
  background: #fff;
}

.brand-discovery[hidden] {
  display: none !important;
}

.brand-discovery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.brand-discovery-head span,
.brand-quick-summary span,
.brand-chip-group > span {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-discovery-head h3 {
  margin: 4px 0 0;
  font-family: "Archivo", var(--font);
  font-size: clamp(28px, 3.2vw, 54px);
  line-height: .95;
  letter-spacing: 0;
}

.brand-rail-controls {
  display: flex;
  gap: 8px;
}

.brand-rail-controls button,
.brand-chip-group button,
.brand-quick-actions button {
  appearance: none;
  border: 1px solid #050505;
  background: #fff;
  color: #050505;
  min-height: 42px;
  padding: 0 14px;
  font: 700 12px/1 var(--font);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.brand-rail-controls button:hover,
.brand-chip-group button:hover,
.brand-chip-group button[aria-pressed="true"] {
  background: #050505;
  color: #fff;
}

.brand-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 220px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.brand-rail-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 74px auto auto auto;
  gap: 7px;
  min-height: 176px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #050505;
  text-align: left;
  cursor: pointer;
}

.brand-rail-card[aria-pressed="true"] {
  border-color: #050505;
  box-shadow: inset 0 0 0 1px #050505;
}

.brand-rail-card:hover {
  border-color: #050505;
  transform: translateY(-1px);
}

.brand-rail-logo {
  display: grid;
  place-items: center;
  min-height: 72px;
  overflow: hidden;
}

.brand-rail-logo img {
  display: block;
  max-width: 118px;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.15);
  mix-blend-mode: multiply;
}

.brand-rail-logo img + .brand-rail-wordmark {
  display: none;
}

.brand-rail-wordmark,
.brand-rail-all {
  font-family: "Archivo", var(--font);
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  color: #050505;
}

.brand-rail-card strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: 0;
}

.brand-rail-card small,
.brand-rail-card em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-quick-panel {
  margin-top: 14px;
  border: 1px solid #050505;
  background: #fff;
}

.brand-quick-form {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(220px, .85fr) minmax(280px, 1.4fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 12px;
}

.brand-quick-summary {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.brand-quick-summary strong {
  font-family: "Archivo", var(--font);
  font-size: clamp(22px, 2vw, 34px);
  line-height: .95;
}

.brand-quick-summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.brand-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.brand-price-fields label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-price-fields input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: #050505;
  min-height: 44px;
  padding: 0 10px;
  font: 600 14px/1 var(--font);
}

.brand-chip-groups {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.brand-chip-group {
  display: grid;
  gap: 7px;
}

.brand-chip-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.brand-chip-group button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: .08em;
}

.brand-quick-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 150px;
}

.brand-quick-actions .primary-button {
  background: #050505;
  color: #fff;
}

.brand-quick-actions .primary-button:hover {
  background: #fff;
  color: #050505;
}

@media (max-width: 1024px) {
  .brand-quick-form {
    grid-template-columns: 1fr;
  }

  .brand-quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .brand-discovery {
    padding: 16px 0;
    margin-bottom: 18px;
  }

  .brand-discovery-head {
    align-items: start;
  }

  .brand-discovery-head h3 {
    font-size: 30px;
  }

  .brand-rail-controls button {
    min-width: 42px;
    padding: 0;
  }

  .brand-rail {
    grid-auto-columns: minmax(142px, 68vw);
    gap: 8px;
  }

  .brand-rail-card {
    min-height: 156px;
    grid-template-rows: 62px auto auto auto;
    padding: 12px;
  }

  .brand-rail-logo {
    min-height: 60px;
  }

  .brand-rail-logo img {
    max-width: 96px;
    max-height: 42px;
  }

  .brand-price-fields {
    grid-template-columns: 1fr 1fr;
  }

  .brand-chip-group > div {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .brand-chip-group button {
    flex: 0 0 auto;
  }
}

/* Final marketplace polish: brand rails must keep real logo colors and product pages must not clip the buy area. */
.brand-rail-logo {
  position: relative;
  display: grid !important;
  place-items: center !important;
  width: 100%;
  height: 78px;
  min-height: 78px !important;
  padding: 8px;
  overflow: hidden !important;
}

.brand-rail-logo img {
  grid-area: 1 / 1;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 124px !important;
  max-height: 52px !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 0;
  transition: opacity .18s ease;
}

.brand-rail-logo img.is-loaded {
  opacity: 1;
}

.brand-rail-logo .brand-rail-real.is-loaded + .brand-rail-fallback {
  display: none !important;
}

.brand-rail-logo .brand-rail-real[src] + .brand-rail-fallback {
  display: none !important;
}

.brand-rail-wordmark,
.brand-rail-all {
  grid-area: 1 / 1;
  display: grid !important;
  place-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.brand-rail-card strong {
  width: 100%;
  max-width: 100%;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  text-align: center;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .brand-rail-logo {
    height: 66px;
    min-height: 66px !important;
    padding: 7px;
  }

  .brand-rail-logo img {
    max-width: 104px !important;
    max-height: 44px !important;
  }
}

.product-page:not([hidden]),
body[data-page="product"] #productPage {
  overflow: visible !important;
  isolation: isolate;
}

.product-page:not([hidden]) .product-neo-hero,
html.desktop-shell .product-page:not([hidden]) .product-neo-hero {
  position: relative !important;
  overflow: visible !important;
  isolation: isolate !important;
  z-index: 0 !important;
  padding-bottom: clamp(18px, 2.2vw, 38px) !important;
}

.product-page:not([hidden]) .product-bg-word,
html.desktop-shell .product-page:not([hidden]) .product-bg-word {
  z-index: 0 !important;
  pointer-events: none !important;
}

.product-page:not([hidden]) .product-hero-copy,
html.desktop-shell .product-page:not([hidden]) .product-hero-copy {
  position: relative !important;
  z-index: 3 !important;
}

.product-page:not([hidden]) .product-bg-logo,
html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
  z-index: 8 !important;
  overflow: visible !important;
  contain: none !important;
  pointer-events: none !important;
}

.product-page:not([hidden]) .product-bg-logo img,
.product-page:not([hidden]) .product-angle-brand-logo img,
html.desktop-shell .product-page:not([hidden]) .product-bg-logo img,
html.desktop-shell .product-page:not([hidden]) .product-angle-brand-logo img {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

.product-page:not([hidden]) .product-hero-photo,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo {
  position: relative !important;
  z-index: 2 !important;
  background: #fff !important;
  overflow: hidden !important;
  contain: paint !important;
}

.product-page:not([hidden]) .product-hero-photo img,
html.desktop-shell .product-page:not([hidden]) .product-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  padding: clamp(16px, 2vw, 34px) !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.product-page:not([hidden]) .product-hero-purchase,
html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
  position: relative !important;
  z-index: 9 !important;
  overflow: visible !important;
  align-items: stretch !important;
}

.product-page:not([hidden]) .product-hero-variant-card,
.product-page:not([hidden]) .product-hero-tariffs,
.product-page:not([hidden]) .product-hero-notes,
html.desktop-shell .product-page:not([hidden]) .product-hero-variant-card,
html.desktop-shell .product-page:not([hidden]) .product-hero-tariffs,
html.desktop-shell .product-page:not([hidden]) .product-hero-notes {
  overflow: visible !important;
  min-width: 0 !important;
}

.product-page:not([hidden]) .product-hero-buy,
.product-page:not([hidden]) .product-hero-favorite,
html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  min-height: 64px !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.product-page:not([hidden]) .product-story-shell,
.product-page:not([hidden]) .product-angle-gallery,
.product-page:not([hidden]) .product-angle-grid,
.product-page:not([hidden]) .product-angle-card,
html.desktop-shell .product-page:not([hidden]) .product-story-shell,
html.desktop-shell .product-page:not([hidden]) .product-angle-gallery,
html.desktop-shell .product-page:not([hidden]) .product-angle-grid,
html.desktop-shell .product-page:not([hidden]) .product-angle-card {
  overflow: visible !important;
  isolation: isolate;
}

.product-page:not([hidden]) .product-angle-brand-logo,
html.desktop-shell .product-page:not([hidden]) .product-angle-brand-logo {
  z-index: 6 !important;
  overflow: visible !important;
  max-width: min(160px, 34vw) !important;
  contain: none !important;
}

@media (max-width: 768px) {
  .brand-rail-logo img {
    width: min(112px, 88%) !important;
    height: 50px !important;
    max-width: 112px !important;
    max-height: 50px !important;
  }

  .brand-rail-logo {
    height: 64px;
    min-height: 64px !important;
  }

  .brand-rail-card strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .product-page:not([hidden]) .product-bg-logo,
  html.desktop-shell .product-page:not([hidden]) .product-bg-logo {
    width: clamp(70px, 22vw, 104px) !important;
    height: clamp(34px, 13vw, 58px) !important;
    top: 14px !important;
    right: 10px !important;
  }

  .product-page:not([hidden]) .product-hero-purchase,
  html.desktop-shell .product-page:not([hidden]) .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "variants"
      "tariffs"
      "buy"
      "favorite"
      "notes" !important;
    gap: 8px !important;
  }

  .product-page:not([hidden]) .product-hero-buy,
  .product-page:not([hidden]) .product-hero-favorite,
  html.desktop-shell .product-page:not([hidden]) .product-hero-buy,
  html.desktop-shell .product-page:not([hidden]) .product-hero-favorite {
    min-height: 58px !important;
    padding: 14px 16px !important;
  }
}

/* Last rule wins: compact mobile catalog after every legacy repair layer. */
@media (max-width: 768px) {
  body:not([data-page="product"]) main,
  html.desktop-shell body:not([data-page="product"]) main {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body:not([data-page="product"]) .hero-section,
  html.desktop-shell body:not([data-page="product"]) .hero-section {
    min-height: auto !important;
    padding: 24px 0 30px !important;
    gap: 18px !important;
  }

  body:not([data-page="product"]) .hero-copy h1,
  html.desktop-shell body:not([data-page="product"]) .hero-copy h1 {
    font-size: clamp(38px, 11vw, 58px) !important;
    line-height: .94 !important;
  }

  body:not([data-page="product"]) .hero-copy p,
  html.desktop-shell body:not([data-page="product"]) .hero-copy p {
    margin-bottom: 18px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body:not([data-page="product"]) .hero-actions .primary-button,
  body:not([data-page="product"]) .hero-actions .secondary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .primary-button,
  html.desktop-shell body:not([data-page="product"]) .hero-actions .secondary-button {
    min-height: 46px !important;
    padding: 13px 14px !important;
    font-size: 11px !important;
  }

  body:not([data-page="product"]) .hero-stack,
  html.desktop-shell body:not([data-page="product"]) .hero-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body:not([data-page="product"]) .hero-stack > div,
  html.desktop-shell body:not([data-page="product"]) .hero-stack > div {
    min-height: 58px !important;
    padding: 10px 8px !important;
    display: grid !important;
    align-content: center !important;
  }

  body:not([data-page="product"]) .hero-stack strong,
  html.desktop-shell body:not([data-page="product"]) .hero-stack strong {
    font-size: 22px !important;
  }

  body:not([data-page="product"]) .hero-stack span,
  html.desktop-shell body:not([data-page="product"]) .hero-stack span {
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .12em !important;
  }

  .catalog-toolbar,
  html.desktop-shell .catalog-toolbar {
    margin: 18px 0 10px !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .catalog-toolbar h2,
  html.desktop-shell .catalog-toolbar h2 {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1 !important;
  }

  .brand-discovery,
  html.desktop-shell .brand-discovery {
    margin: 14px 0 16px !important;
    padding: 0 !important;
  }

  .brand-rail,
  html.desktop-shell .brand-rail {
    gap: 8px !important;
    padding-bottom: 8px !important;
  }

  .brand-rail-card,
  html.desktop-shell .brand-rail-card {
    flex-basis: 118px !important;
    min-width: 118px !important;
    min-height: 138px !important;
    padding: 8px !important;
  }

  #productGrid.catalog-grid,
  .catalog-grid,
  html.desktop-shell #productGrid.catalog-grid,
  html.desktop-shell .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  #productGrid.catalog-grid > .product-card,
  .catalog-grid > .product-card,
  html.desktop-shell #productGrid.catalog-grid > .product-card,
  html.desktop-shell .catalog-grid > .product-card {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    contain: layout paint !important;
    content-visibility: visible !important;
  }

  .product-card > *:not(.product-visual):not(.card-buttons),
  html.desktop-shell .product-card > *:not(.product-visual):not(.card-buttons) {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }

  .product-card > .product-visual,
  .product-card > .product-visual.visual-tile,
  .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual,
  html.desktop-shell .product-card > .product-visual.visual-tile,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1.05 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .product-card > .product-visual .visual-photo,
  .product-card > .product-visual img,
  html.desktop-shell .product-card > .product-visual .visual-photo,
  html.desktop-shell .product-card > .product-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }

  .product-card .card-badges,
  html.desktop-shell .product-card .card-badges {
    gap: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 0 !important;
  }

  .product-card .badge,
  html.desktop-shell .product-card .badge {
    padding: 4px 5px !important;
    font-size: 7px !important;
    line-height: 1 !important;
    letter-spacing: .12em !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    margin: 8px 0 7px !important;
    font-size: 15px !important;
    line-height: 1.08 !important;
    min-height: 32px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
  }

  .product-card .product-description,
  .product-card .product-meta,
  html.desktop-shell .product-card .product-description,
  html.desktop-shell .product-card .product-meta {
    display: none !important;
  }

  .product-card .seller-row,
  .product-card .stock-row,
  html.desktop-shell .product-card .seller-row,
  html.desktop-shell .product-card .stock-row {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .1em !important;
  }

  .product-card .price-line,
  html.desktop-shell .product-card .price-line {
    margin-top: auto !important;
    min-height: 56px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    align-items: center !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 22px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .product-card .price-line span,
  html.desktop-shell .product-card .price-line span {
    font-size: 8px !important;
    line-height: 1.1 !important;
    max-width: 48px !important;
    text-align: right !important;
  }

  .product-card > .card-buttons,
  .card-buttons,
  html.desktop-shell .product-card > .card-buttons,
  html.desktop-shell .card-buttons {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--line) !important;
  }

  .product-card .card-buttons [data-detail],
  html.desktop-shell .product-card .card-buttons [data-detail] {
    display: none !important;
  }

  .product-card .card-action,
  html.desktop-shell .product-card .card-action {
    min-width: 0 !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 5px !important;
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .13em !important;
    white-space: normal !important;
  }
}

@media (max-width: 340px) {
  #productGrid.catalog-grid,
  .catalog-grid,
  html.desktop-shell #productGrid.catalog-grid,
  html.desktop-shell .catalog-grid {
    gap: 6px !important;
  }

  .product-card .price-line strong,
  html.desktop-shell .product-card .price-line strong {
    font-size: 19px !important;
  }

  .product-card h3,
  html.desktop-shell .product-card h3 {
    font-size: 14px !important;
  }
}

/* Final mobile no-filter layer: keep category pages direct and product cards visual. */
@media (max-width: 768px) {
  .mobile-catalog-hub,
  html.desktop-shell .mobile-catalog-hub,
  #catalogFilters,
  html.desktop-shell #catalogFilters {
    display: none !important;
  }

  body[data-catalog-mode="category"] .hero-section,
  body[data-catalog-mode="category"] #ai-search,
  html.desktop-shell body[data-catalog-mode="category"] .hero-section,
  html.desktop-shell body[data-catalog-mode="category"] #ai-search {
    display: none !important;
  }

  body[data-catalog-mode="category"] .catalog-toolbar,
  body[data-catalog-mode="category"] .catalog-category-filter,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-toolbar,
  html.desktop-shell body[data-catalog-mode="category"] .catalog-category-filter {
    display: none !important;
  }

  body[data-catalog-mode="category"] #catalog,
  html.desktop-shell body[data-catalog-mode="category"] #catalog {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .product-card > .product-visual.visual-tile--photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo {
    display: grid !important;
    place-items: center !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .product-card > .product-visual.visual-tile--photo .visual-photo,
  .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile--photo .visual-photo,
  html.desktop-shell .product-card > .product-visual.visual-tile.visual-tile--photo .visual-photo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 8px !important;
  }
}

/* Last absolute override for the "Как работает подбор" panel: remove slow air transitions. */
body:not([data-page="product"]) #agents,
body:not([data-page="product"]) #agents.air-dark-panel,
html.desktop-shell body:not([data-page="product"]) #agents,
html.desktop-shell body:not([data-page="product"]) #agents.air-dark-panel {
  transition: none !important;
}

body:not([data-page="product"]) #agents .agent-card,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card {
  transition: background-color .13s ease-out, color .13s ease-out, border-color .13s ease-out !important;
  transform: none !important;
  box-shadow: none !important;
}

body:not([data-page="product"]) #agents .agent-card h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card h3 {
  transition: color .13s ease-out !important;
}

body:not([data-page="product"]) #agents .agent-card:hover,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover {
  background: #fff !important;
  color: #050505 !important;
  transform: none !important;
  box-shadow: none !important;
}

body:not([data-page="product"]) #agents .agent-card:hover h3,
html.desktop-shell body:not([data-page="product"]) #agents .agent-card:hover h3 {
  color: #050505 !important;
}

/* Absolute final entry preview3 override: keep the intro reel readable after refresh. */
.entry-splash__reel {
  isolation: isolate !important;
}

.entry-splash__reel span {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 46%, 0) scale(.985);
  filter: blur(10px);
  animation: entryWordCleanFinal .48s cubic-bezier(.22, 1, .36, 1) calc(.1s + var(--i, 0) * .5s) both !important;
  white-space: nowrap !important;
  will-change: opacity, transform, filter, visibility !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .82s cubic-bezier(.22, 1, .36, 1) 3.12s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + 2.04s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.5s cubic-bezier(.2, .82, .22, 1) 2.92s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .58s cubic-bezier(.22, 1, .36, 1) 4.18s forwards !important;
}

.entry-splash__meta {
  animation-delay: 4.12s !important;
}

.entry-splash__meta i {
  animation-delay: 4.2s !important;
}

@keyframes entryWordCleanFinal {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 46%, 0) scale(.985);
    filter: blur(10px);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  72% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -44%, 0) scale(1.018);
    filter: blur(8px);
  }
}

/* Entry preview5: explicit word slots, no stacked words on refresh. */
.entry-splash__reel {
  contain: layout paint !important;
  isolation: isolate !important;
}

.entry-splash__reel span {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 44%, 0) scale(.982);
  filter: blur(10px);
  animation-name: entryWordSlotPreview5 !important;
  animation-duration: .42s !important;
  animation-timing-function: cubic-bezier(.22, 1, .36, 1) !important;
  animation-fill-mode: both !important;
  animation-delay: 0s !important;
  white-space: nowrap !important;
  will-change: opacity, transform, filter, visibility !important;
}

.entry-splash__reel span:nth-child(1) { animation-delay: .08s !important; }
.entry-splash__reel span:nth-child(2) { animation-delay: .50s !important; }
.entry-splash__reel span:nth-child(3) { animation-delay: .92s !important; }
.entry-splash__reel span:nth-child(4) { animation-delay: 1.34s !important; }
.entry-splash__reel span:nth-child(5) { animation-delay: 1.76s !important; }
.entry-splash__reel span:nth-child(6) { animation-delay: 2.18s !important; }

.entry-splash__mark::before {
  animation: entryCenterLineClean .84s cubic-bezier(.22, 1, .36, 1) 2.88s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + 1.88s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.52s cubic-bezier(.2, .82, .22, 1) 2.74s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .62s cubic-bezier(.22, 1, .36, 1) 4.18s forwards !important;
}

/* Entry preview9 final guard: one visible handwritten word, no legacy reel stacking. */
.entry-splash .entry-splash__reel {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(1180px, 94vw) !important;
  min-height: clamp(78px, 10vw, 152px) !important;
  overflow: visible !important;
  contain: layout paint !important;
  isolation: isolate !important;
  font-size: clamp(50px, 8.4vw, 138px) !important;
  line-height: .9 !important;
}

.entry-splash .entry-splash__reel > span,
.entry-splash .entry-splash__reel > span.is-visible {
  animation: none !important;
  transition: none !important;
}

.entry-splash .entry-splash__reel > span:not(#entrySplashWord),
.entry-splash .entry-splash__reel > span:not(#entrySplashWord) * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none !important;
}

.entry-splash .entry-splash__reel > #entrySplashWord,
.entry-splash .entry-splash__reel > #entrySplashWord.is-visible {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: .012em !important;
  width: auto !important;
  max-width: min(1180px, 94vw) !important;
  height: auto !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  color: #050505 !important;
  text-align: center !important;
  letter-spacing: .005em !important;
}

.entry-splash .entry-splash__reel > #entrySplashWord i {
  display: inline-block !important;
  flex: 0 0 auto !important;
  min-width: .12em !important;
  font: inherit !important;
  font-style: normal !important;
  color: currentColor !important;
  opacity: 0;
  transform: translate3d(0, .5em, 0) rotateX(62deg);
  filter: blur(10px);
  animation: entryLetterWriteFinalGuard .62s cubic-bezier(.18, .82, .22, 1) calc(.12s + var(--letter-index, 0) * .052s) both !important;
  will-change: opacity, transform, filter;
}

@keyframes entryLetterWriteFinalGuard {
  0% {
    opacity: 0;
    transform: translate3d(0, .5em, 0) rotateX(62deg);
    filter: blur(10px);
  }
  54% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .entry-splash .entry-splash__reel {
    width: 96vw !important;
    min-height: clamp(56px, 17vw, 92px) !important;
    font-size: clamp(32px, 9.6vw, 60px) !important;
  }

  .entry-splash .entry-splash__reel > #entrySplashWord,
  .entry-splash .entry-splash__reel > #entrySplashWord.is-visible {
    max-width: 96vw !important;
    letter-spacing: 0 !important;
  }
}

/* Absolute final product navigation owner 2026-07-04.
   This intentionally lives after every legacy override and intro block. */
.entry-splash {
  pointer-events: none !important;
}

body[data-page="product"] #home > :not(#productPage),
html.desktop-shell body[data-page="product"] #home > :not(#productPage) {
  display: none !important;
}

body[data-page="product"] #productPage,
html.desktop-shell body[data-page="product"] #productPage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 12px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
body[data-page="product"] .mega-menu,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
}

body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  display: inline-flex !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  justify-self: start !important;
  cursor: pointer !important;
}

body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(40px, 4.4vw, 56px) !important;
  max-width: min(210px, 46vw) !important;
  object-fit: contain !important;
}

body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-self: end !important;
  justify-content: end !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  overflow: visible !important;
}

body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  display: inline-flex !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
}

@media (max-width: 900px) {
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
  }

  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }
}

/* Catalog card action bar final guard 2026-07-05.
   Product cards already open details on card click, so the compact bottom bar
   uses two equal actions only. This prevents favorite/cart labels from being
   squeezed into narrow icon columns on desktop and mobile catalog grids. */
body:not([data-page="product"]) .product-card > .card-buttons,
html.desktop-shell body:not([data-page="product"]) .product-card > .card-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1px !important;
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #e6e6e3 !important;
  border-top: 1px solid #050505 !important;
  overflow: hidden !important;
}

body:not([data-page="product"]) .product-card .card-buttons [data-detail],
html.desktop-shell body:not([data-page="product"]) .product-card .card-buttons [data-detail] {
  display: none !important;
}

body:not([data-page="product"]) .product-card .card-action,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 0 10px !important;
  border: 0 !important;
  border-right: 1px solid #e6e6e3 !important;
  background: #fff !important;
  color: #050505 !important;
  font-size: clamp(9px, .78vw, 12px) !important;
  line-height: 1.15 !important;
  letter-spacing: .16em !important;
  text-align: center !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body:not([data-page="product"]) .product-card .card-action:last-child,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action:last-child {
  border-right: 0 !important;
}

body:not([data-page="product"]) .product-card .card-action.primary,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary {
  background: #050505 !important;
  color: #fff !important;
}

body:not([data-page="product"]) .product-card .card-action-label,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action-label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body:not([data-page="product"]) .product-card .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action-svg {
  display: none !important;
}

body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"],
body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite,
body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"],
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"],
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"] {
  background: #fff !important;
  color: #050505 !important;
  box-shadow: inset 0 0 0 1px #050505 !important;
}

/* Final mobile marketplace entry 2026-07-04.
   Desktop keeps the current landing. On phones the first screen becomes a
   product-first marketplace: search/actions stay at the top, AI opens only
   after the AI tab/button, and the hero/stat block no longer steals the entry. */
@media (max-width: 768px) {
  body:not([data-page="product"]) {
    overflow-x: hidden !important;
    background: #fff !important;
  }

  body:not([data-page="product"]) .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    display: grid !important;
    grid-template-columns: minmax(92px, 1fr) repeat(3, 46px) !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid #e8e8e5 !important;
  }

  body:not([data-page="product"]) .brand {
    grid-column: 1 / 2 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 132px !important;
    align-self: center !important;
  }

  body:not([data-page="product"]) .brand-logo {
    width: auto !important;
    height: 46px !important;
    max-width: 128px !important;
    object-fit: contain !important;
  }

  body:not([data-page="product"]) .brand-copy {
    display: none !important;
  }

  body:not([data-page="product"]) .header-actions {
    grid-column: 2 / 5 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 46px) !important;
    justify-self: end !important;
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    gap: 0 !important;
  }

  body:not([data-page="product"]) .circle-action {
    position: relative !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    height: 42px !important;
  }

  body:not([data-page="product"]) #cartCount {
    top: -8px !important;
    right: -7px !important;
    left: auto !important;
    transform: none !important;
    z-index: 3 !important;
  }

  body:not([data-page="product"]) .catalog-trigger {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 14px !important;
    background: #fff !important;
  }

  body:not([data-page="product"]) .search-hub {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  body:not([data-page="product"]) .search-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    margin-bottom: 8px !important;
  }

  body:not([data-page="product"]) .search-tabs button {
    min-height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #050505 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    letter-spacing: .18em !important;
  }

  body:not([data-page="product"]) .search-tabs button[aria-selected="true"] {
    border-bottom: 1px solid #050505 !important;
  }

  body:not([data-page="product"]) .header-search {
    min-height: 54px !important;
    background: #fff !important;
  }

  body:not([data-page="product"]) .hero-section,
  body:not([data-page="product"]) .hero-stack,
  body:not([data-page="product"]) .top-filter-section,
  html.desktop-shell body:not([data-page="product"]) .hero-section,
  html.desktop-shell body:not([data-page="product"]) .hero-stack,
  html.desktop-shell body:not([data-page="product"]) .top-filter-section {
    display: none !important;
  }

  body:not([data-page="product"]):not([data-search-mode="ai"]) .ai-search-section {
    display: none !important;
  }

  body:not([data-page="product"])[data-search-mode="ai"] .ai-search-section {
    display: block !important;
    margin: 16px 0 0 !important;
    padding: 18px 14px !important;
  }

  body:not([data-page="product"]) #home {
    display: block !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 0 calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body:not([data-page="product"]) .catalog-layout,
  body:not([data-page="product"]) .catalog-section {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 10px 0 0 !important;
  }

  body:not([data-page="product"]) .catalog-toolbar {
    padding: 0 14px 10px !important;
  }

  body:not([data-page="product"]) .catalog-toolbar h2 {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  body:not([data-page="product"]) .catalog-toolbar span,
  body:not([data-page="product"]) .catalog-toolbar p {
    font-size: 11px !important;
  }

  body:not([data-page="product"]):not([data-catalog-mode="category"]) .catalog-toolbar,
  body:not([data-page="product"]):not([data-catalog-mode="category"]) .catalog-category-filter {
    display: none !important;
  }

  body:not([data-page="product"]) .brand-discovery,
  body:not([data-page="product"]) .catalog-category-filter {
    margin: 0 0 10px !important;
    padding: 0 14px !important;
  }

  body:not([data-page="product"]) .category-grid {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 6px !important;
    scroll-snap-type: x proximity !important;
  }

  body:not([data-page="product"]) .category-tile {
    flex: 0 0 auto !important;
    min-width: 136px !important;
    scroll-snap-align: start !important;
    background: #fff !important;
  }

  body:not([data-page="product"]) #productGrid.catalog-grid,
  body:not([data-page="product"]) .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    width: 100% !important;
    max-width: 100vw !important;
    padding: 0 4px !important;
    background: #e8e8e5 !important;
  }

  body:not([data-page="product"]) .product-card {
    min-width: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border: 0 !important;
    outline: 1px solid #e4e4e0 !important;
    overflow: hidden !important;
  }

  body:not([data-page="product"]) .product-card > *:not(.product-visual):not(.card-buttons) {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  body:not([data-page="product"]) .product-card > .product-visual,
  body:not([data-page="product"]) .product-card > .product-visual.visual-tile,
  body:not([data-page="product"]) .product-card > .product-visual.visual-tile--photo {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
  }

  body:not([data-page="product"]) .product-card .visual-photo,
  body:not([data-page="product"]) .product-card .product-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff !important;
  }

  body:not([data-page="product"]) .product-card h3 {
    min-height: 48px !important;
    margin: 10px 0 8px !important;
    font-size: clamp(17px, 4.6vw, 22px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  body:not([data-page="product"]) .product-card .product-description,
  body:not([data-page="product"]) .product-card .product-meta,
  body:not([data-page="product"]) .product-card .seller-row,
  body:not([data-page="product"]) .product-card .stock-row {
    font-size: 10px !important;
  }

  body:not([data-page="product"]) .product-card .price-line {
    padding: 12px 10px !important;
  }

  body:not([data-page="product"]) .product-card .price-line strong {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1 !important;
  }

  body:not([data-page="product"]) .product-card > .card-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    min-height: 56px !important;
  }

  body:not([data-page="product"]) .product-card .card-buttons [data-detail] {
    display: none !important;
  }

  body:not([data-page="product"]) .product-card .card-action {
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
    letter-spacing: .18em !important;
    white-space: nowrap !important;
  }

  body:not([data-page="product"]) .product-card .card-action.is-favorite,
  body:not([data-page="product"]) .product-card .card-action[data-favorite-state="active"] {
    background: #fff !important;
    color: #050505 !important;
    border-color: #050505 !important;
  }
}

/* Final fashion card image restore: category cards use the original clean
   white product stage; product pages keep their extra angle gallery. */
.product-card.category-fashion > .product-visual.visual-tile--photo,
html.desktop-shell .product-card.category-fashion > .product-visual.visual-tile--photo {
  background: #fff !important;
  box-shadow: none !important;
}

.product-card.category-fashion > .product-visual.visual-tile--photo .visual-photo,
html.desktop-shell .product-card.category-fashion > .product-visual.visual-tile--photo .visual-photo {
  background: #fff !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Product header absolute final override 2026-07-04.
   Keep this at EOF: product pages show only logo/actions in the header.
   Catalog/search controls stay on home/catalog pages and cannot cover product UI. */
html.product-route-pending .catalog-trigger,
html.product-route-pending .search-hub,
html.product-route-pending .mega-menu,
body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
body[data-page="product"] .mega-menu,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.product-route-pending .site-header,
body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 12px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

html.product-route-pending .brand,
html.product-route-pending .header-actions,
html.product-route-pending .circle-action,
body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

html.product-route-pending .brand,
body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  display: inline-flex !important;
  justify-self: start !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  cursor: pointer !important;
}

html.product-route-pending .brand-logo,
body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(40px, 4.4vw, 56px) !important;
  max-width: min(210px, 46vw) !important;
  object-fit: contain !important;
}

html.product-route-pending .header-actions,
body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-self: end !important;
  justify-content: end !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  overflow: visible !important;
}

html.product-route-pending .circle-action,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  display: inline-flex !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
}

@media (max-width: 900px) {
  html.product-route-pending .site-header,
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  html.product-route-pending .brand,
  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
  }

  html.product-route-pending .brand-logo,
  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  html.product-route-pending .header-actions,
  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }
}

/* Catalog card actions final polish 2026-07-06.
   The product card already opens details on tap, so the bottom bar uses only
   favorite/cart as equal icon actions. Text remains available to screen readers. */
body:not([data-page="product"]) .product-card,
html.desktop-shell body:not([data-page="product"]) .product-card {
  transform: translateY(0) !important;
  transition: transform .22s cubic-bezier(.22, 1, .36, 1), box-shadow .22s ease !important;
  z-index: 0 !important;
}

body:not([data-page="product"]) .product-card:hover,
html.desktop-shell body:not([data-page="product"]) .product-card:hover,
body:not([data-page="product"]) .product-card:active,
html.desktop-shell body:not([data-page="product"]) .product-card:active {
  transform: translateY(0) !important;
}

body:not([data-page="product"]) .product-card.is-card-pulse,
html.desktop-shell body:not([data-page="product"]) .product-card.is-card-pulse {
  position: relative !important;
  z-index: 3 !important;
  animation: antCardSelectPulse .42s cubic-bezier(.22, 1, .36, 1) both !important;
}

body:not([data-page="product"]) .product-card > .card-buttons,
html.desktop-shell body:not([data-page="product"]) .product-card > .card-buttons,
body:not([data-page="product"]) .card-buttons,
html.desktop-shell body:not([data-page="product"]) .card-buttons {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 1px !important;
  width: 100% !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #e7e7e4 !important;
  border-top: 1px solid #050505 !important;
  overflow: hidden !important;
}

body:not([data-page="product"]) .product-card .card-buttons [data-detail],
html.desktop-shell body:not([data-page="product"]) .product-card .card-buttons [data-detail] {
  display: none !important;
}

body:not([data-page="product"]) .product-card .card-action,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid #e7e7e4 !important;
  background: #fff !important;
  color: #050505 !important;
  overflow: hidden !important;
  -webkit-tap-highlight-color: transparent !important;
  touch-action: manipulation !important;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease !important;
}

body:not([data-page="product"]) .product-card .card-action:last-child,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action:last-child {
  border-right: 0 !important;
}

body:not([data-page="product"]) .product-card .card-action::before,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action::before {
  display: none !important;
  content: none !important;
}

body:not([data-page="product"]) .product-card .card-action-label,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

body:not([data-page="product"]) .product-card .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action-svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.85 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  transition: transform .18s cubic-bezier(.22, 1, .36, 1), fill .18s ease, stroke .18s ease !important;
}

body:not([data-page="product"]) .product-card .card-action.primary,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary {
  background: #050505 !important;
  color: #fff !important;
}

body:not([data-page="product"]) .product-card .card-action:hover,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action:hover,
body:not([data-page="product"]) .product-card .card-action:focus,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action:focus {
  background: #f7f7f5 !important;
  color: #050505 !important;
}

body:not([data-page="product"]) .product-card .card-action.primary:hover,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary:hover,
body:not([data-page="product"]) .product-card .card-action.primary:focus,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary:focus {
  background: #050505 !important;
  color: #fff !important;
}

body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"],
body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite,
body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"],
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"],
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"] {
  background: #fff !important;
  color: #e21b2d !important;
  box-shadow: inset 0 0 0 1px #050505 !important;
}

body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"] .card-action-svg,
body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite .card-action-svg,
body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"] .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][aria-pressed="true"] .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite].is-favorite .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action[data-favorite][data-favorite-state="active"] .card-action-svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

body:not([data-page="product"]) .product-card .card-action.is-action-pulse .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.is-action-pulse .card-action-svg {
  animation: antHeartTap .42s cubic-bezier(.22, 1, .36, 1) both !important;
}

body:not([data-page="product"]) .product-card .card-action.primary.is-cart-pulse .card-action-svg,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary.is-cart-pulse .card-action-svg {
  animation: antCartDrop .46s cubic-bezier(.22, 1, .36, 1) both !important;
}

body:not([data-page="product"]) .product-card .card-action.primary.is-cart-pulse::after,
html.desktop-shell body:not([data-page="product"]) .product-card .card-action.primary.is-cart-pulse::after {
  content: "" !important;
  position: absolute !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #fff !important;
  right: calc(50% - 22px) !important;
  top: calc(50% - 17px) !important;
  animation: antCartPing .46s ease-out both !important;
}

@keyframes antCardSelectPulse {
  0% { transform: translateY(0); }
  45% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes antHeartTap {
  0% { transform: scale(1); }
  42% { transform: scale(1.28); }
  100% { transform: scale(1); }
}

@keyframes antCartDrop {
  0% { transform: translateX(0) rotate(0deg) scale(1); }
  36% { transform: translateX(4px) rotate(-7deg) scale(1.08); }
  70% { transform: translateX(0) rotate(4deg) scale(.96); }
  100% { transform: translateX(0) rotate(0deg) scale(1); }
}

@keyframes antCartPing {
  0% { opacity: 0; transform: translateY(-2px) scale(.6); }
  38% { opacity: 1; transform: translateY(-6px) scale(1); }
  100% { opacity: 0; transform: translateY(-10px) scale(.35); }
}

@media (max-width: 768px) {
  body:not([data-page="product"]) .product-card > .card-buttons,
  html.desktop-shell body:not([data-page="product"]) .product-card > .card-buttons {
    min-height: 64px !important;
  }

  body:not([data-page="product"]) .product-card .card-action,
  html.desktop-shell body:not([data-page="product"]) .product-card .card-action {
    min-height: 64px !important;
  }

  body:not([data-page="product"]) .product-card .card-action-svg,
  html.desktop-shell body:not([data-page="product"]) .product-card .card-action-svg {
    width: 25px !important;
    height: 25px !important;
    flex-basis: 25px !important;
  }
}

/* Entry logo clean reveal 2026-07-06.
   The old handwriting layer used sliced background spans, which exposed the
   logo image paper in visible blocks. Reveal one transparent PNG instead. */
.entry-splash,
.entry-splash__panel,
.entry-splash__mark {
  background: #fff !important;
}

.entry-splash__panel {
  box-shadow: none !important;
}

.entry-splash__mark {
  overflow: hidden !important;
  isolation: isolate !important;
}

.entry-splash__mark::before {
  display: none !important;
  content: none !important;
}

.entry-splash__stroke,
.entry-splash__pen {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.entry-splash__logo {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  clip-path: inset(0 100% 0 0);
  animation:
    entryCleanLogoWrite 1.18s steps(18, end) .1s forwards,
    entryCleanLogoSettle .34s cubic-bezier(.22, 1, .36, 1) 1.28s both !important;
  will-change: clip-path, transform;
}

@keyframes entryCleanLogoWrite {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes entryCleanLogoSettle {
  0% { transform: translate3d(0, 2px, 0) scale(.995); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .entry-splash__logo {
    clip-path: inset(0 0 0 0) !important;
    animation: none !important;
  }
}

/* Site issue pass 2026-07-05: faster intro, clearer cards, stable header logo. */
.entry-splash {
  background: #fff !important;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s linear .32s !important;
}

.entry-splash .entry-splash__reel,
.entry-splash__reel {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  visibility: hidden !important;
}

.entry-splash__panel {
  background: #fff !important;
}

.entry-splash__mark {
  margin-top: 0 !important;
  background: #fff !important;
  isolation: isolate !important;
}

.entry-splash__logo {
  mix-blend-mode: multiply !important;
  animation: entryLogoSettleClean .36s cubic-bezier(.22, 1, .36, 1) 1.34s forwards !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .42s cubic-bezier(.22, 1, .36, 1) .22s both !important;
}

.entry-splash__stroke {
  animation-duration: .24s !important;
}

.entry-splash__stroke:nth-of-type(1) { animation-delay: .08s !important; }
.entry-splash__stroke:nth-of-type(2) { animation-delay: .13s !important; }
.entry-splash__stroke:nth-of-type(3) { animation-delay: .18s !important; }
.entry-splash__stroke:nth-of-type(4) { animation-delay: .23s !important; }
.entry-splash__stroke:nth-of-type(5) { animation-delay: .28s !important; }
.entry-splash__stroke:nth-of-type(6) { animation-delay: .33s !important; }
.entry-splash__stroke:nth-of-type(7) { animation-delay: .38s !important; }
.entry-splash__stroke:nth-of-type(8) { animation-delay: .43s !important; }
.entry-splash__stroke:nth-of-type(9) { animation-delay: .48s !important; }
.entry-splash__stroke:nth-of-type(10) { animation-delay: .53s !important; }
.entry-splash__stroke:nth-of-type(11) { animation-delay: .58s !important; }
.entry-splash__stroke:nth-of-type(12) { animation-delay: .63s !important; }

.entry-splash__pen {
  animation: entryLogoPenClean 1s cubic-bezier(.2, .82, .22, 1) .22s forwards !important;
}

.entry-splash__meta {
  animation-delay: 1.42s !important;
}

.entry-splash__meta i {
  animation-delay: 1.5s !important;
}

.brand {
  background: transparent !important;
  transform: none !important;
  transition: transform .16s ease, filter .16s ease !important;
}

.brand-logo {
  background: transparent !important;
  mix-blend-mode: multiply !important;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.035) !important;
  filter: grayscale(1) contrast(1.18) drop-shadow(0 2px 8px rgba(0,0,0,.12)) !important;
}

.brand:active {
  transform: translateY(1px) scale(.985) !important;
}

.primary-button,
.secondary-button,
.card-action,
.catalog-trigger,
.circle-action,
.category-tile,
.quick-view-grid a,
.bottom-nav a,
.bottom-nav button,
.hero-stack > div,
.agent-card {
  transition-duration: .18s !important;
}

.card-buttons {
  grid-template-columns: minmax(0, 1fr) 68px 68px !important;
  align-items: stretch !important;
}

.card-action {
  min-width: 0 !important;
  min-height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 14px 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.card-action::before {
  display: none !important;
}

.card-action:hover {
  background: #f6f6f4 !important;
  color: var(--ink) !important;
}

.card-action.primary {
  background: var(--ink) !important;
  color: #fff !important;
}

.card-action.primary:hover {
  background: #2a2a28 !important;
  color: #fff !important;
}

.card-action-svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: square !important;
  stroke-linejoin: miter !important;
  transition: fill .18s ease, stroke .18s ease, transform .18s ease !important;
}

.card-action-favorite .card-action-label,
.card-action-cart .card-action-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.card-action-favorite.is-favorite,
.card-action-favorite[aria-pressed="true"] {
  background: #fff !important;
  color: #e11d2e !important;
}

.card-action-favorite.is-favorite .card-action-svg,
.card-action-favorite[aria-pressed="true"] .card-action-svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.card-action.is-action-pulse .card-action-svg,
.card-action.is-cart-pulse .card-action-svg {
  animation: cardIconPulse .42s cubic-bezier(.22, 1, .36, 1) both;
}

.product-card.is-card-pulse {
  animation: productCardTap .38s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes cardIconPulse {
  0% { transform: scale(1); }
  42% { transform: scale(1.24); }
  100% { transform: scale(1); }
}

@keyframes productCardTap {
  0% { transform: translateY(0); }
  42% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.agent-card:hover,
.hero-stack > div:hover {
  transition-duration: .18s !important;
}

@media (min-width: 901px) {
  .card-buttons {
    grid-template-columns: minmax(0, 1.2fr) 74px 74px !important;
  }
}

@media (max-width: 900px) {
  .card-buttons {
    grid-template-columns: minmax(0, 1fr) 62px 62px !important;
  }

  .card-action {
    min-height: 56px !important;
    padding: 12px 8px !important;
    font-size: 10px !important;
  }

  .card-action-svg {
    width: 21px !important;
    height: 21px !important;
    flex-basis: 21px !important;
  }

  .entry-splash__mark {
    width: min(80vw, 460px) !important;
  }
}

/* Product header final override 2026-07-04.
   This is intentionally the last product-header rule: on product pages the
   global catalog/search controls are hidden, while logo, support, cart and
   profile remain above the product artwork and fully clickable. */
html.product-route-pending .catalog-trigger,
html.product-route-pending .search-hub,
html.product-route-pending .mega-menu,
body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
body[data-page="product"] .mega-menu,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.product-route-pending .site-header,
body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 12px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

html.product-route-pending .brand,
html.product-route-pending .header-actions,
html.product-route-pending .circle-action,
body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

html.product-route-pending .brand,
body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  display: inline-flex !important;
  justify-self: start !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  cursor: pointer !important;
}

html.product-route-pending .brand-logo,
body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(40px, 4.4vw, 56px) !important;
  max-width: min(210px, 46vw) !important;
  object-fit: contain !important;
}

html.product-route-pending .header-actions,
body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-self: end !important;
  justify-content: end !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  overflow: visible !important;
}

html.product-route-pending .circle-action,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  display: inline-flex !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
}

@media (max-width: 900px) {
  html.product-route-pending .site-header,
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  html.product-route-pending .brand,
  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
  }

  html.product-route-pending .brand-logo,
  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  html.product-route-pending .header-actions,
  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }
}

/* Product route navigation owner 2026-07-04.
   Keep the product page focused: no catalog/search header controls over the
   card, and the remaining logo/actions must stay clickable above product art. */
body[data-page="product"] #home > :not(#productPage),
html.desktop-shell body[data-page="product"] #home > :not(#productPage) {
  display: none !important;
}

body[data-page="product"] #productPage,
html.desktop-shell body[data-page="product"] #productPage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 12px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
body[data-page="product"] .mega-menu,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
}

body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  display: inline-flex !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  justify-self: start !important;
  cursor: pointer !important;
}

body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(40px, 4.4vw, 56px) !important;
  max-width: min(210px, 46vw) !important;
  object-fit: contain !important;
}

body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-self: end !important;
  justify-content: end !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  overflow: visible !important;
}

body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  display: inline-flex !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
}

@media (max-width: 900px) {
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
  }

  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }
}

/* Final product-route navigation guard.
   Product pages need only the compact logo/actions header; catalog/search
   controls stay on the homepage so they do not cover product navigation. */
body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 180 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .97) !important;
  border-bottom: 1px solid var(--line) !important;
}

body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub {
  display: none !important;
  pointer-events: none !important;
}

body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  pointer-events: auto !important;
}

@media (max-width: 900px) {
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    width: auto !important;
    max-width: calc(100vw - 178px) !important;
  }

  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    width: auto !important;
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
    object-fit: contain !important;
  }

  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 46px) !important;
    width: 138px !important;
    max-width: 138px !important;
    min-width: 138px !important;
    justify-self: end !important;
  }

  body[data-page="product"] .circle-action,
  html.desktop-shell body[data-page="product"] .circle-action {
    width: 46px !important;
    max-width: 46px !important;
    min-width: 46px !important;
    height: 42px !important;
  }
}

/* Product navigation guard: product pages should keep only the compact,
   clickable header controls. The catalog/search header is useful on the
   homepage, but it sits over the product flow and traps attention there. */
body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 140 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid var(--line) !important;
}

body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub {
  display: none !important;
}

body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  position: relative !important;
  z-index: 142 !important;
  display: inline-flex !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  flex: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(42px, 4.8vw, 58px) !important;
  max-width: min(220px, 46vw) !important;
  object-fit: contain !important;
}

body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  position: relative !important;
  z-index: 142 !important;
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-content: end !important;
  justify-self: end !important;
  gap: 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 138px !important;
  pointer-events: auto !important;
  overflow: visible !important;
}

body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
  pointer-events: auto !important;
}

@media (max-width: 900px) {
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
    gap: 10px !important;
  }

  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
    order: 1 !important;
  }

  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    order: 2 !important;
    width: 138px !important;
    max-width: 138px !important;
    min-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }

  body[data-page="product"] .circle-action,
  html.desktop-shell body[data-page="product"] .circle-action {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
  }
}

@media (max-width: 360px) {
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 126px !important;
  }

  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 166px) !important;
  }

  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    max-width: min(110px, calc(100vw - 184px)) !important;
  }

  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 126px !important;
    max-width: 126px !important;
    min-width: 126px !important;
    grid-template-columns: repeat(3, 42px) !important;
  }

  body[data-page="product"] .circle-action,
  html.desktop-shell body[data-page="product"] .circle-action {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }
}

/* Product mobile photo containment: tall bottles and vertical product shots
   must stay inside the white media frame instead of covering the text below. */
@media (max-width: 900px) {
  body[data-page="product"] .product-page:not([hidden]) .product-neo-hero,
  body[data-page="product"] #productPage .product-neo-hero,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-neo-hero,
  html.desktop-shell body[data-page="product"] #productPage .product-neo-hero {
    gap: 12px !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-hero-photo,
  body[data-page="product"] #productPage .product-hero-photo,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-hero-photo,
  html.desktop-shell body[data-page="product"] #productPage .product-hero-photo {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    grid-area: photo !important;
    width: 100% !important;
    height: clamp(220px, 50vh, 330px) !important;
    min-height: 0 !important;
    max-height: 330px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #e2e2de !important;
    z-index: 1 !important;
    contain: paint !important;
    isolation: isolate !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-hero-photo img,
  body[data-page="product"] #productPage .product-hero-photo img,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-hero-photo img,
  html.desktop-shell body[data-page="product"] #productPage .product-hero-photo img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
    padding: clamp(32px, 8vw, 48px) !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .12)) !important;
    z-index: 1 !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-story-shell,
  body[data-page="product"] #productPage .product-story-shell,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-story-shell,
  html.desktop-shell body[data-page="product"] #productPage .product-story-shell {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 12px !important;
    background: #fff !important;
  }
}

@media (max-width: 430px) {
  body[data-page="product"] .product-page:not([hidden]) .product-hero-photo,
  body[data-page="product"] #productPage .product-hero-photo,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-hero-photo,
  html.desktop-shell body[data-page="product"] #productPage .product-hero-photo {
    height: clamp(210px, 46vh, 292px) !important;
    max-height: 292px !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-hero-photo img,
  body[data-page="product"] #productPage .product-hero-photo img,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-hero-photo img,
  html.desktop-shell body[data-page="product"] #productPage .product-hero-photo img {
    padding: clamp(36px, 10vw, 54px) !important;
  }
}

@media (max-width: 900px) {
  body[data-page="product"] .product-page:not([hidden]) .product-angle-gallery,
  body[data-page="product"] #productPage .product-angle-gallery,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-gallery,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-gallery {
    overflow: hidden !important;
    background: #fff !important;
    contain: layout paint !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-angle-grid,
  body[data-page="product"] .product-page:not([hidden]) .product-angle-strip,
  body[data-page="product"] #productPage .product-angle-grid,
  body[data-page="product"] #productPage .product-angle-strip,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-grid,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-strip,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-grid,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-strip {
    overflow: hidden !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-angle-card,
  body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb,
  body[data-page="product"] #productPage .product-angle-card,
  body[data-page="product"] #productPage .product-angle-thumb,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-card,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-card,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-thumb {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #fff !important;
    contain: paint !important;
    isolation: isolate !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-angle-card:first-child,
  body[data-page="product"] #productPage .product-angle-card:first-child,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-card:first-child,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-card:first-child {
    min-height: 0 !important;
    max-height: none !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-angle-card img,
  body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb img,
  body[data-page="product"] #productPage .product-angle-card img,
  body[data-page="product"] #productPage .product-angle-thumb img,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-card img,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb img,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-card img,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-thumb img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
    padding: clamp(20px, 7vw, 42px) !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .1)) !important;
    z-index: 1 !important;
  }

  body[data-page="product"] .product-page:not([hidden]) .product-angle-card > span,
  body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb > span,
  body[data-page="product"] #productPage .product-angle-card > span,
  body[data-page="product"] #productPage .product-angle-thumb > span,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-card > span,
  html.desktop-shell body[data-page="product"] .product-page:not([hidden]) .product-angle-thumb > span,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-card > span,
  html.desktop-shell body[data-page="product"] #productPage .product-angle-thumb > span {
    z-index: 2 !important;
  }
}

/* Absolute final header badge guard. Keep the cart counter anchored inside the
   cart button and prevent the compact header controls from drifting right. */
#cartButton {
  position: relative !important;
}

#cartButton #cartCount {
  top: 3px !important;
  right: 4px !important;
  transform: none !important;
  z-index: 3 !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border: 1px solid #fff !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .site-header,
  html.desktop-shell .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(132px, 138px) !important;
    overflow: hidden !important;
  }

  .brand,
  html.desktop-shell .brand {
    min-width: 0 !important;
    max-width: calc(100vw - 190px) !important;
  }

  .brand-logo,
  html.desktop-shell .brand-logo {
    max-width: min(132px, calc(100vw - 214px)) !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    width: 138px !important;
    max-width: 138px !important;
    min-width: 132px !important;
    justify-self: end !important;
    display: grid !important;
    grid-template-columns: repeat(3, 46px) !important;
    overflow: visible !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    width: 46px !important;
    max-width: 46px !important;
    min-width: 46px !important;
  }

  #cartButton #cartCount {
    top: 2px !important;
    right: 3px !important;
  }
}

@media (max-width: 360px) {
  .site-header,
  html.desktop-shell .site-header {
    grid-template-columns: minmax(0, 1fr) 126px !important;
  }

  .brand,
  html.desktop-shell .brand {
    max-width: calc(100vw - 176px) !important;
  }

  .brand-logo,
  html.desktop-shell .brand-logo {
    max-width: min(112px, calc(100vw - 196px)) !important;
  }

  .header-actions,
  html.desktop-shell .header-actions {
    width: 126px !important;
    max-width: 126px !important;
    min-width: 126px !important;
    grid-template-columns: repeat(3, 42px) !important;
  }

  .circle-action,
  html.desktop-shell .circle-action {
    width: 42px !important;
    max-width: 42px !important;
    min-width: 42px !important;
  }
}

/* Favorite buttons: tapping on mobile must not leave a black hover layer.
   The selected state stays explicit through text and a clean checked outline. */
.card-action[data-favorite] {
  background: #fff !important;
  color: #050505 !important;
  border-color: #e6e6e3 !important;
}

.card-action[data-favorite]::before {
  display: none !important;
  content: none !important;
  transform: none !important;
}

.card-action[data-favorite]:hover,
.card-action[data-favorite]:active,
.card-action[data-favorite]:focus {
  background: #fff !important;
  color: #050505 !important;
}

.card-action[data-favorite]:focus-visible {
  outline: 1px solid #050505 !important;
  outline-offset: -4px !important;
}

.card-action[data-favorite][aria-pressed="true"],
.card-action[data-favorite].is-favorite,
.card-action[data-favorite][data-favorite-state="active"] {
  background: #fff !important;
  color: #050505 !important;
  font-weight: 800 !important;
  box-shadow: inset 0 0 0 1px #050505 !important;
}

.card-action[data-favorite][aria-pressed="true"]:hover,
.card-action[data-favorite].is-favorite:hover,
.card-action[data-favorite][data-favorite-state="active"]:hover {
  background: #f7f7f5 !important;
  color: #050505 !important;
}

@media (max-width: 768px) {
  .card-action[data-favorite] {
    -webkit-tap-highlight-color: transparent !important;
  }
}

/* Entry preview7: one word, letter-by-letter reveal. This replaces the old
   rotating intro words so a refresh/cache race cannot stack Hello/Digital/Market. */
.entry-splash__reel {
  min-height: clamp(72px, 10vw, 150px) !important;
  font-size: clamp(44px, 8.1vw, 132px) !important;
  line-height: .92 !important;
  overflow: visible !important;
  contain: layout paint !important;
}

.entry-splash__reel span:not(#entrySplashWord) {
  display: none !important;
}

.entry-splash__reel #entrySplashWord,
.entry-splash__reel #entrySplashWord.is-visible {
  position: relative !important;
  inset: auto !important;
  width: auto !important;
  max-width: min(1180px, 94vw) !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: .015em !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
  text-align: center !important;
  letter-spacing: .01em !important;
}

.entry-splash__reel #entrySplashWord i {
  display: inline-block !important;
  font-style: normal !important;
  opacity: 0;
  transform: translate3d(0, .46em, 0) rotateX(58deg);
  filter: blur(8px);
  animation: entryLetterReveal .58s cubic-bezier(.22, 1, .36, 1) calc(.1s + var(--letter-index, 0) * .045s) both;
  will-change: opacity, transform, filter;
}

@keyframes entryLetterReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, .46em, 0) rotateX(58deg);
    filter: blur(8px);
  }
  62% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .entry-splash__reel {
    min-height: clamp(54px, 16vw, 86px) !important;
    font-size: clamp(30px, 9vw, 56px) !important;
  }

  .entry-splash__reel #entrySplashWord,
  .entry-splash__reel #entrySplashWord.is-visible {
    max-width: 96vw !important;
    letter-spacing: 0 !important;
  }
}

.entry-splash__meta {
  animation-delay: 4.24s !important;
}

.entry-splash__meta i {
  animation-delay: 4.34s !important;
}

@keyframes entryWordSlotPreview5 {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 44%, 0) scale(.982);
    filter: blur(10px);
  }
  18% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  68% {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -40%, 0) scale(1.018);
    filter: blur(8px);
  }
}

/* Entry preview6: one real word slot, so intro labels cannot overlap on refresh. */
.entry-splash__reel {
  contain: layout paint !important;
  isolation: isolate !important;
}

.entry-splash__reel span,
.entry-splash__reel #entrySplashWord {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, 28%, 0) scale(.985) !important;
  filter: blur(8px) !important;
  animation: none !important;
  transition:
    opacity .22s ease,
    visibility .22s ease,
    transform .22s cubic-bezier(.22, 1, .36, 1),
    filter .22s ease !important;
}

.entry-splash__reel span.is-visible,
.entry-splash__reel #entrySplashWord.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  filter: blur(0) !important;
}

.entry-splash__mark::before {
  animation: entryCenterLineClean .84s cubic-bezier(.22, 1, .36, 1) 2.86s both !important;
}

.entry-splash__stroke {
  animation-delay: calc(var(--delay) + 1.88s) !important;
}

.entry-splash__pen {
  animation: entryLogoPenClean 1.52s cubic-bezier(.2, .82, .22, 1) 2.74s forwards !important;
}

.entry-splash__logo {
  animation: entryLogoSettleClean .62s cubic-bezier(.22, 1, .36, 1) 4.18s forwards !important;
}

/* Entry preview9 absolute final guard: this must stay after legacy preview blocks. */
.entry-splash .entry-splash__reel {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(1180px, 94vw) !important;
  min-height: clamp(78px, 10vw, 152px) !important;
  height: auto !important;
  overflow: visible !important;
  contain: layout paint !important;
  isolation: isolate !important;
  font-size: clamp(50px, 8.4vw, 138px) !important;
  line-height: .9 !important;
}

.entry-splash .entry-splash__reel > span,
.entry-splash .entry-splash__reel > span.is-visible {
  animation: none !important;
  transition: none !important;
}

.entry-splash .entry-splash__reel > span:not(#entrySplashWord),
.entry-splash .entry-splash__reel > span:not(#entrySplashWord) * {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none !important;
}

.entry-splash .entry-splash__reel > #entrySplashWord,
.entry-splash .entry-splash__reel > #entrySplashWord.is-visible {
  position: relative !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: .012em !important;
  width: auto !important;
  max-width: min(1180px, 94vw) !important;
  height: auto !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  color: #050505 !important;
  text-align: center !important;
  letter-spacing: .005em !important;
}

.entry-splash .entry-splash__reel > #entrySplashWord i {
  display: inline-block !important;
  flex: 0 0 auto !important;
  min-width: .12em !important;
  font: inherit !important;
  font-style: normal !important;
  color: currentColor !important;
  opacity: 0;
  transform: translate3d(0, .5em, 0) rotateX(62deg);
  filter: blur(10px);
  animation: entryLetterWriteFinalGuard .62s cubic-bezier(.18, .82, .22, 1) calc(.12s + var(--letter-index, 0) * .052s) both !important;
  will-change: opacity, transform, filter;
}

@keyframes entryLetterWriteFinalGuard {
  0% {
    opacity: 0;
    transform: translate3d(0, .5em, 0) rotateX(62deg);
    filter: blur(10px);
  }
  54% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0);
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .entry-splash .entry-splash__reel {
    width: 96vw !important;
    min-height: clamp(56px, 17vw, 92px) !important;
    font-size: clamp(32px, 9.6vw, 60px) !important;
  }

  .entry-splash .entry-splash__reel > #entrySplashWord,
  .entry-splash .entry-splash__reel > #entrySplashWord.is-visible {
    max-width: 96vw !important;
    letter-spacing: 0 !important;
  }
}

/* Absolute final product navigation owner 2026-07-04.
   This intentionally lives after every legacy override and intro block. */
body[data-page="product"] #home > :not(#productPage),
html.desktop-shell body[data-page="product"] #home > :not(#productPage) {
  display: none !important;
}

body[data-page="product"] #productPage,
html.desktop-shell body[data-page="product"] #productPage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.product-route-pending .site-header,
body[data-page="product"] .site-header,
html.desktop-shell body[data-page="product"] .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 5000 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  padding: 12px clamp(18px, 3vw, 40px) !important;
  overflow: visible !important;
  background: rgba(255, 255, 255, .98) !important;
  border-bottom: 1px solid var(--line) !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}

html.product-route-pending .catalog-trigger,
html.product-route-pending .search-hub,
html.product-route-pending .mega-menu,
body[data-page="product"] .catalog-trigger,
body[data-page="product"] .search-hub,
body[data-page="product"] .mega-menu,
html.desktop-shell body[data-page="product"] .catalog-trigger,
html.desktop-shell body[data-page="product"] .search-hub,
html.desktop-shell body[data-page="product"] .mega-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.product-route-pending .brand,
html.product-route-pending .header-actions,
html.product-route-pending .circle-action,
body[data-page="product"] .brand,
body[data-page="product"] .header-actions,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .circle-action {
  position: relative !important;
  z-index: 5002 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

html.product-route-pending .brand,
body[data-page="product"] .brand,
html.desktop-shell body[data-page="product"] .brand {
  display: inline-flex !important;
  width: auto !important;
  max-width: min(240px, 48vw) !important;
  min-width: 0 !important;
  justify-self: start !important;
  cursor: pointer !important;
}

html.product-route-pending .brand-logo,
body[data-page="product"] .brand-logo,
html.desktop-shell body[data-page="product"] .brand-logo {
  width: auto !important;
  height: clamp(40px, 4.4vw, 56px) !important;
  max-width: min(210px, 46vw) !important;
  object-fit: contain !important;
}

html.product-route-pending .header-actions,
body[data-page="product"] .header-actions,
html.desktop-shell body[data-page="product"] .header-actions {
  display: inline-grid !important;
  grid-template-columns: repeat(3, 46px) !important;
  justify-self: end !important;
  justify-content: end !important;
  gap: 0 !important;
  width: auto !important;
  min-width: 138px !important;
  max-width: none !important;
  overflow: visible !important;
}

html.product-route-pending .circle-action,
body[data-page="product"] .circle-action,
html.desktop-shell body[data-page="product"] .circle-action {
  display: inline-flex !important;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 42px !important;
}

@media (max-width: 900px) {
  html.product-route-pending .site-header,
  body[data-page="product"] .site-header,
  html.desktop-shell body[data-page="product"] .site-header {
    grid-template-columns: minmax(0, 1fr) 138px !important;
    gap: 10px !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 10px !important;
  }

  html.product-route-pending .brand,
  body[data-page="product"] .brand,
  html.desktop-shell body[data-page="product"] .brand {
    max-width: calc(100vw - 178px) !important;
  }

  html.product-route-pending .brand-logo,
  body[data-page="product"] .brand-logo,
  html.desktop-shell body[data-page="product"] .brand-logo {
    height: 42px !important;
    max-width: min(126px, calc(100vw - 198px)) !important;
  }

  html.product-route-pending .header-actions,
  body[data-page="product"] .header-actions,
  html.desktop-shell body[data-page="product"] .header-actions {
    width: 138px !important;
    min-width: 138px !important;
    max-width: 138px !important;
    grid-template-columns: repeat(3, 46px) !important;
  }
}
/* Logo paper removal 2026-07-06.
   Header and intro logos use transparent artwork, so mobile must not add a
   separate white/gray plate that looks like a cut-out square. Keep at EOF. */
:root {
  --antichnii-paper: #fff;
}

html,
body {
  background: var(--antichnii-paper) !important;
}

.site-header,
.brand,
.brand::before,
.brand::after {
  background: transparent !important;
  box-shadow: none !important;
}

.brand-logo,
html.desktop-shell .brand-logo,
body[data-page="product"] .brand-logo,
html.product-route-pending .brand-logo {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
  filter: grayscale(1) contrast(1.16) !important;
  object-fit: contain !important;
}

body[data-ai-catalog-only="true"] #catalog {
  display: none !important;
}

.entry-splash,
.entry-splash__panel,
.entry-splash__mark {
  background: var(--antichnii-paper) !important;
}

.entry-splash__panel,
.entry-splash__mark,
.entry-splash__logo {
  border-color: rgba(5, 5, 5, .08) !important;
  box-shadow: none !important;
}

.entry-splash__logo {
  background: transparent !important;
  mix-blend-mode: normal !important;
}

@media (max-width: 900px) {
  .site-header {
    background: var(--antichnii-paper) !important;
  }

  .brand {
    background: transparent !important;
    isolation: auto !important;
  }

  .brand-logo {
    background: transparent !important;
    display: block !important;
  }
}

/* Mobile bottom nav lock 2026-07-06.
   Some older mobile overrides and browser address-bar resizes could make the
   quick nav behave like it belonged to the scroll flow. Keep this at EOF. */
@media (max-width: 900px) {
  html,
  body {
    min-height: 100% !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .bottom-nav,
  html.desktop-shell .bottom-nav {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 2147483000 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom, 0px) !important;
    translate: none !important;
    transform: none !important;
    will-change: auto !important;
    contain: layout paint !important;
    overflow: hidden !important;
    background: #050505 !important;
    box-shadow: 0 -1px 0 #050505 !important;
  }

  .bottom-nav a,
  .bottom-nav button,
  html.desktop-shell .bottom-nav a,
  html.desktop-shell .bottom-nav button {
    position: static !important;
    display: grid !important;
    place-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    translate: none !important;
    transform: none !important;
    background: #050505 !important;
    color: #fff !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 1px solid rgba(255, 255, 255, .34) !important;
    border-radius: var(--radius-lg) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }

  .bottom-nav a:first-child,
  html.desktop-shell .bottom-nav a:first-child {
    border-left: 0 !important;
  }
}

/* Voice assistant input layer: keeps the GPT-like stage useful even when
   browser speech recognition misses the user's words. */
.ai-voice-dialogue {
  width: min(640px, 92vw);
  max-height: min(260px, 28vh);
  display: grid;
  gap: 8px;
  margin: 18px auto 0;
  overflow: auto;
  scrollbar-width: thin;
}

.ai-voice-message {
  max-width: 86%;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid rgba(5,5,5,.14);
  background: rgba(255,255,255,.74);
  color: #050505;
  text-align: left;
  backdrop-filter: blur(10px);
}

.ai-voice-message.is-user {
  justify-self: end;
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.ai-voice-message.is-assistant {
  justify-self: start;
}

.ai-voice-message span {
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .54;
}

.ai-voice-message p {
  margin: 0;
  color: inherit;
  font-size: 13px;
  line-height: 1.36;
}

.ai-voice-results[hidden] {
  display: none !important;
}

.ai-voice-results {
  width: min(760px, 92vw);
  display: grid;
  gap: 10px;
  margin: 14px auto 0;
  color: #050505;
  text-align: left;
}

.ai-voice-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.ai-voice-results-head > span {
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ai-voice-results-head > strong {
  max-width: 420px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
}

.ai-voice-result-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 46%);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: 0 0 8px;
}

.ai-voice-result-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  grid-template-rows: minmax(102px, 1fr) auto;
  scroll-snap-align: start;
  border: 1px solid rgba(5, 5, 5, .18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .94);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(5, 5, 5, .06);
}

.ai-voice-result-media {
  min-width: 0;
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #fff;
  border-right: 1px solid rgba(5, 5, 5, .1);
}

.ai-voice-result-media img {
  width: 100%;
  height: 100%;
  max-height: 120px;
  object-fit: contain;
  background: #fff;
}

.ai-voice-result-media > span {
  font-family: "Archivo", sans-serif;
  font-size: 18px;
}

.ai-voice-result-copy {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.ai-voice-result-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ai-voice-result-meta span {
  max-width: 100%;
  padding: 4px 7px;
  border: 1px solid rgba(5, 5, 5, .14);
  border-radius: var(--radius-pill);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-voice-result-copy > strong {
  font-family: "Archivo", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.ai-voice-result-copy > h3 {
  min-width: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ai-voice-result-copy > p,
.ai-voice-result-empty p {
  margin: 0;
  color: rgba(5, 5, 5, .58);
  font-size: 11px;
  line-height: 1.35;
}

.ai-voice-result-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(5, 5, 5, .14);
  background: rgba(5, 5, 5, .14);
}

.ai-voice-result-actions button,
.ai-voice-result-empty button {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #050505;
  font-family: "Archivo", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.ai-voice-result-actions button.is-primary,
.ai-voice-result-empty button {
  background: #050505;
  color: #fff;
}

.ai-voice-result-actions button.is-added {
  background: #fff;
  color: #050505;
}

.ai-voice-result-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(5, 5, 5, .16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .9);
}

.ai-voice-result-empty button {
  min-width: 180px;
  border-radius: var(--radius-md);
  padding: 0 14px;
}

.ai-voice-stage.has-results .ai-voice-sphere {
  width: 76px;
  height: 96px;
}

.ai-voice-stage.has-results .ai-voice-stage-inner {
  gap: 12px;
}

.ai-voice-stage.has-results .ai-voice-dialogue {
  max-height: min(150px, 18vh);
}

.ai-voice-stage.has-results .ai-voice-stage-stop {
  display: none;
}

.ai-voice-stage.has-results .ai-voice-stage-copy > strong {
  font-size: clamp(30px, 4vw, 52px);
}

.ai-voice-stage.has-results .ai-voice-stage-copy > p {
  font-size: 14px;
}

.ai-voice-manual {
  width: min(640px, 92vw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px;
  margin: 18px auto 0;
  border: 1px solid rgba(5,5,5,.22);
  background: #050505;
  box-shadow: 0 18px 55px rgba(5,5,5,.08);
}

.ai-voice-manual input {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.97);
  color: #050505;
  padding: 0 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
}

.ai-voice-manual input::placeholder {
  color: rgba(5,5,5,.38);
}

.ai-voice-manual input:focus {
  background: #fff;
}

.ai-voice-manual button {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #050505;
  color: #fff;
  padding: 0 18px;
  font-family: "Archivo", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.ai-voice-manual button:hover {
  background: #fff;
  color: #050505;
}

@media (max-width: 700px) {
  .ai-voice-dialogue {
    max-height: 24vh;
  }

  .ai-voice-message {
    max-width: 94%;
  }

  .ai-voice-results {
    width: min(100%, 540px);
    margin-top: 10px;
  }

  .ai-voice-results-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ai-voice-results-head > strong {
    max-width: none;
    text-align: left;
  }

  .ai-voice-result-rail {
    grid-auto-columns: minmax(270px, 86%);
  }

  .ai-voice-results.is-product-collection .ai-voice-result-rail {
    grid-template-rows: repeat(2, minmax(158px, auto));
    grid-auto-columns: minmax(270px, 86%);
    grid-auto-flow: column;
  }

  .ai-voice-results.is-product-collection .ai-voice-result-card {
    min-height: 158px;
  }

  .ai-voice-result-empty {
    grid-template-columns: 1fr;
  }

  .ai-voice-result-empty button {
    width: 100%;
  }

  .ai-voice-manual {
    grid-template-columns: 1fr;
    width: min(520px, 92vw);
  }

  .ai-voice-manual button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  body.ai-voice-open .ai-voice-stage.has-results .ai-voice-stage-inner {
    min-height: auto !important;
    justify-content: start !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Final voice launch surface: the collapsed state should feel like the same
   assistant as the full-screen voice mode, not like a cheap form button. */
.ai-voice-panel {
  --voice-panel-ink: #050505;
  --voice-panel-paper: #fff;
  --voice-panel-line: rgba(5,5,5,.16);
  position: relative;
  border: 1px solid var(--voice-panel-ink) !important;
  background: var(--voice-panel-ink) !important;
  box-shadow: 0 24px 80px rgba(5,5,5,.08);
}

.ai-voice-panel .ai-voice-launch {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.12), transparent 28%),
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.14), transparent 26%),
    #050505 !important;
}

.ai-voice-panel .ai-voice-launch::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.13);
  pointer-events: none;
}

.ai-voice-panel .ai-voice-launch::after {
  content: "VOICE PICKER";
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: rgba(255,255,255,.72);
  font: 700 10px/1 "Archivo", sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.ai-voice-panel .ai-voice-launch-orb {
  width: 82px;
  height: 106px;
  margin-left: 4px;
  border-radius: 49% 51% 46% 54% / 42% 38% 62% 58%;
  background:
    radial-gradient(circle at 36% 17%, rgba(255,255,255,.98) 0 8%, transparent 22%),
    radial-gradient(circle at 58% 54%, rgba(255,255,255,.42) 0 8%, transparent 22%),
    radial-gradient(circle at 48% 78%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(145deg, #050505 0%, #151515 45%, #3c3c38 70%, #050505 100%) !important;
  box-shadow:
    0 20px 56px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -28px 56px rgba(0,0,0,.46);
}

.ai-voice-panel .ai-voice-copy {
  position: relative;
  min-width: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.018) 1px, transparent 1px),
    linear-gradient(rgba(5,5,5,.014) 1px, transparent 1px),
    #fff !important;
  background-size: 32px 32px;
  border-left: 1px solid var(--voice-panel-ink);
}

.ai-voice-panel .ai-voice-copy::before {
  content: "Голосовой подбор";
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--voice-panel-line);
  background: rgba(255,255,255,.72);
  color: rgba(5,5,5,.62);
  padding: 0 9px;
  font: 800 9px/1 "Archivo", sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.ai-voice-panel[data-state="listening"] .ai-voice-copy::before {
  content: "Слушаю";
  color: #050505;
  border-color: #050505;
}

.ai-voice-panel[data-state="thinking"] .ai-voice-copy::before,
.ai-voice-panel[data-state="ready"] .ai-voice-copy::before {
  content: "Проверяю каталог";
  color: #050505;
  border-color: #050505;
}

.ai-voice-panel[data-state="speaking"] .ai-voice-copy::before,
.ai-voice-panel[data-state="blocked"] .ai-voice-copy::before {
  content: "Отвечаю";
  color: #050505;
  border-color: #050505;
}

.ai-voice-panel[data-state="unsupported"] .ai-voice-copy::before,
.ai-voice-panel[data-state="error"] .ai-voice-copy::before,
.ai-voice-panel[data-state="retry"] .ai-voice-copy::before {
  content: "Можно текстом";
  color: #050505;
  border-color: #050505;
}

.ai-voice-panel .ai-voice-copy strong {
  max-width: 980px;
  font-size: clamp(32px, 4.1vw, 60px);
  line-height: .94;
  letter-spacing: 0;
}

.ai-voice-panel .ai-voice-copy p {
  max-width: 760px;
  color: rgba(5,5,5,.58);
}

.ai-voice-panel .ai-voice-examples button {
  border-color: rgba(5,5,5,.14);
  background: rgba(255,255,255,.76);
}

.ai-voice-panel .ai-voice-examples button:active {
  transform: translateY(0) scale(.985);
}

.ai-voice-panel.is-listening .ai-voice-launch,
.ai-voice-panel.is-thinking .ai-voice-launch,
.ai-voice-panel.is-speaking .ai-voice-launch {
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), transparent 30%),
    radial-gradient(circle at 32% 28%, rgba(255,255,255,.22), transparent 28%),
    #050505 !important;
}

.ai-voice-panel.is-listening .ai-voice-launch-orb,
.ai-voice-panel.is-thinking .ai-voice-launch-orb,
.ai-voice-panel.is-speaking .ai-voice-launch-orb {
  filter: contrast(1.05);
}

.ai-voice-panel .ai-voice-stop {
  min-width: 156px;
  border-left: 1px solid var(--voice-panel-ink) !important;
  background: #fff !important;
  color: #050505 !important;
}

.ai-voice-panel .ai-voice-stop:hover {
  background: #050505 !important;
  color: #fff !important;
}

@media (max-width: 700px) {
  .ai-voice-panel .ai-voice-launch {
    min-height: 118px;
  }

  .ai-voice-panel .ai-voice-launch::after {
    left: auto;
    right: 18px;
    bottom: 18px;
    font-size: 8px;
  }

  .ai-voice-panel .ai-voice-launch-orb {
    width: 58px;
    height: 76px;
  }

  .ai-voice-panel .ai-voice-copy {
    border-left: 0;
    border-top: 1px solid #050505;
  }

  .ai-voice-panel .ai-voice-copy strong {
    font-size: clamp(30px, 10vw, 42px);
  }

  .ai-voice-panel .ai-voice-stop {
    min-width: 0;
    border-left: 0 !important;
    border-top: 1px solid #050505 !important;
  }
}

/* Rounded futurism layer 2026-07-09.
   One final skin pass for the whole storefront: no sharp corners, but the
   existing black/white premium structure and catalogue logic stay intact. */
:root {
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 42px;
  --radius-pill: 999px;
  --glow-soft: 0 16px 44px rgba(5, 5, 5, .08);
  --glow-hover: 0 20px 54px rgba(5, 5, 5, .12);
  --focus-ring: 0 0 0 4px rgba(5, 5, 5, .08);
}

.site-header,
.mega-menu,
.cart-drawer,
.checkout-drawer,
.detail-view,
.support-page,
.profile-page,
.product-page,
.seller-section,
.support-section,
.feedback-section,
.modal,
.drawer,
.ai-voice-stage,
.entry-splash__card {
  border-radius: var(--radius-xl) !important;
}

.site-header {
  width: min(1560px, calc(100% - clamp(18px, 3vw, 46px))) !important;
  margin: clamp(10px, 1.2vw, 18px) auto 0 !important;
  overflow: visible !important;
  box-shadow: 0 12px 40px rgba(5, 5, 5, .045) !important;
}

.catalog-trigger,
.header-search,
.search-tabs,
.primary-button,
.secondary-button,
.manager-link,
.pay-link,
.circle-action,
.card-action,
.product-cta,
.product-favorite,
.product-buy-button,
.product-question,
.variant-option,
.source-option,
.brand-rail-card,
.filter-pill,
.category-card,
.quick-category,
.tab-button,
.bottom-nav a,
.bottom-nav button,
.ai-voice-panel,
.ai-voice-launch,
.ai-voice-stop,
.ai-voice-examples button,
.ai-voice-manual,
.ai-voice-manual input,
.ai-voice-manual button,
.feedback-form,
.seller-form,
.order-form,
.chat-form,
.profile-card,
.notice,
.order-result,
.selected-service,
.success-box,
.support-card,
.agent-card,
.bo-button,
.so-button {
  border-radius: var(--radius-md) !important;
}

input,
select,
textarea,
.feedback-form input,
.feedback-form textarea,
.feedback-form select,
.seller-form input,
.seller-form select,
.seller-form textarea,
.order-form input,
.order-form select,
.order-form textarea,
.chat-form input,
.chat-form textarea,
.chat-form select,
.profile-card input,
.profile-card select,
.profile-card textarea {
  border-radius: var(--radius-sm) !important;
}

.header-search,
input,
select,
textarea {
  background-clip: padding-box !important;
}

.product-card,
.product-visual,
.visual-tile,
.visual-tile--photo,
.product-angle-card,
.brand-rail-logo,
.brand-rail-real,
.brand-rail-fallback,
.cart-item,
.checkout-item,
.ai-result-card,
.product-price-panel,
.product-details-card,
.recommendation-card,
.catalog-panel,
.filter-panel,
.brand-quick-panel,
.bo-form,
.bo-result,
.so-panel,
.so-stat,
.so-card,
.so-empty {
  border-radius: var(--radius-lg) !important;
}

.product-card,
.product-visual,
.visual-tile,
.visual-tile--photo,
.product-angle-card,
.brand-rail-logo,
.cart-drawer,
.checkout-drawer,
.detail-view,
.bo-form,
.bo-result,
.so-panel,
.so-card {
  overflow: hidden !important;
}

.card-buttons {
  gap: 8px !important;
  padding: 10px !important;
  margin: 14px -14px -14px !important;
  background: transparent !important;
  border-top: 1px solid rgba(5, 5, 5, .08) !important;
}

.card-action {
  min-height: 44px !important;
  border: 1px solid rgba(5, 5, 5, .88) !important;
  overflow: hidden !important;
}

.card-action.primary,
.primary-button,
.product-buy-button {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08) !important;
}

.bottom-nav {
  width: min(720px, calc(100% - 16px)) !important;
  left: 50% !important;
  right: auto !important;
  bottom: 8px !important;
  transform: translateX(-50%) !important;
  border-radius: var(--radius-2xl) !important;
  overflow: hidden !important;
  box-shadow: 0 -12px 44px rgba(5, 5, 5, .18) !important;
}

.bottom-nav a,
.bottom-nav button {
  border-radius: var(--radius-lg) !important;
}

.bottom-nav a:first-child,
.bottom-nav button:first-child {
  border-top-left-radius: var(--radius-2xl) !important;
  border-bottom-left-radius: var(--radius-2xl) !important;
}

.bottom-nav a:last-child,
.bottom-nav button:last-child {
  border-top-right-radius: var(--radius-2xl) !important;
  border-bottom-right-radius: var(--radius-2xl) !important;
}

.entry-splash,
.entry-splash__stage {
  border-radius: var(--radius-xl) !important;
}

.entry-splash__logo,
.brand-logo,
.success-logo {
  border-radius: var(--radius-sm) !important;
}

.product-card,
.brand-rail-card,
.category-card,
.quick-category,
.agent-card,
.feedback-form,
.seller-form,
.order-form,
.profile-card,
.product-price-panel,
.product-details-card {
  transition:
    border-color .18s var(--ease),
    background-color .18s var(--ease),
    color .18s var(--ease),
    box-shadow .18s var(--ease),
    transform .18s var(--ease) !important;
}

@media (hover: hover) and (pointer: fine) {
  .catalog-trigger:hover,
  .circle-action:hover,
  .primary-button:hover,
  .secondary-button:hover,
  .card-action:hover,
  .brand-rail-card:hover,
  .category-card:hover,
  .quick-category:hover,
  .agent-card:hover,
  .ai-voice-examples button:hover,
  .ai-voice-manual button:hover {
    box-shadow: var(--glow-hover) !important;
  }

  .brand-rail-card:hover,
  .category-card:hover,
  .quick-category:hover,
  .agent-card:hover {
    transform: translateY(-2px) !important;
  }

  .product-card:hover {
    box-shadow: var(--glow-soft) !important;
  }
}

.catalog-trigger:focus-visible,
.circle-action:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.card-action:focus-visible,
.brand-rail-card:focus-visible,
.bottom-nav a:focus-visible,
.bottom-nav button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 0 !important;
  box-shadow: var(--focus-ring), 0 0 0 1px #050505 inset !important;
}

.ai-voice-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), transparent 34%),
    #050505 !important;
}

.ai-voice-panel .ai-voice-launch,
.ai-voice-panel .ai-voice-copy,
.ai-voice-manual {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    border-radius: var(--radius-xl) !important;
  }

  .catalog-trigger,
  .header-search,
  .circle-action,
  .primary-button,
  .secondary-button,
  .card-action {
    border-radius: var(--radius-lg) !important;
  }

  .product-card,
  .product-visual,
  .visual-tile,
  .visual-tile--photo {
    border-radius: var(--radius-xl) !important;
  }

  .card-buttons {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 12px 0 0 !important;
    padding: 8px !important;
  }

  .card-action {
    min-height: 48px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .brand-rail-card,
  .category-card,
  .quick-category,
  .agent-card,
  .card-action,
  .primary-button,
  .secondary-button,
  .circle-action {
    transition: none !important;
    transform: none !important;
  }
}

/* Future interaction and performance layer 2026-07-09. */
:root {
  --cursor-x: 50vw;
  --cursor-y: 28vh;
  --future-line: rgba(5, 5, 5, .14);
  --future-glow: 0 20px 70px rgba(5, 5, 5, .08), 0 0 0 1px rgba(5, 5, 5, .10);
  --future-glow-strong: 0 26px 92px rgba(5, 5, 5, .13), 0 0 0 1px rgba(5, 5, 5, .18);
  --future-ease: cubic-bezier(.16, 1, .3, 1);
}

html.future-pointer::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .26;
  background:
    radial-gradient(520px circle at var(--cursor-x) var(--cursor-y),
      rgba(5, 5, 5, .10),
      rgba(5, 5, 5, .035) 28%,
      transparent 64%);
  mix-blend-mode: multiply;
  transition: opacity .2s var(--future-ease);
}

html.future-pointer:has(body[data-loading="true"])::before,
html.future-pointer:has(body[data-page="product"])::before {
  opacity: .16;
}

.product-card,
.brand-rail-card,
.category-card,
.quick-category,
.agent-card,
.profile-card,
.support-card,
.product-price-panel,
.product-details-card,
.ai-result-card {
  contain: layout paint style;
}

.product-card,
.brand-rail-card,
.category-card,
.quick-category,
.agent-card,
.primary-button,
.secondary-button,
.card-action,
.circle-action,
.catalog-trigger,
.bottom-nav a,
.bottom-nav button,
.ai-voice-launch,
.ai-voice-panel {
  transition:
    transform .16s var(--future-ease),
    box-shadow .16s var(--future-ease),
    border-color .16s var(--future-ease),
    background-color .16s var(--future-ease),
    color .16s var(--future-ease),
    opacity .16s var(--future-ease) !important;
}

.product-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--future-glow) !important;
}

.brand-rail-card:hover,
.category-card:hover,
.quick-category:hover,
.agent-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--future-glow) !important;
}

.primary-button:hover,
.secondary-button:hover,
.card-action:hover,
.circle-action:hover,
.catalog-trigger:hover,
.bottom-nav a:hover,
.bottom-nav button:hover,
.ai-voice-launch:hover {
  box-shadow: var(--future-glow-strong) !important;
}

.is-future-press {
  transform: translateY(1px) scale(.992) !important;
  box-shadow: 0 10px 38px rgba(5, 5, 5, .08) !important;
}

.product-card img,
.visual-tile img,
.product-angle-card img,
.recommendation-card img,
.brand-rail-logo img {
  image-rendering: auto;
  transform: translateZ(0);
}

.product-card img {
  transition: opacity .16s var(--future-ease), transform .2s var(--future-ease) !important;
}

.product-card:hover img {
  transform: translateZ(0) scale(1.012);
}

.ai-voice-launch,
.ai-voice-panel {
  position: relative;
  border-color: rgba(5, 5, 5, .18) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 18px 60px rgba(5, 5, 5, .08) !important;
}

.ai-voice-launch::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0 20%, rgba(255, 255, 255, .32) 42%, transparent 60% 100%);
  opacity: 0;
  transform: translateX(-38%);
  transition: opacity .18s var(--future-ease), transform .42s var(--future-ease);
}

.ai-voice-launch:hover::after,
.ai-voice-launch.is-future-press::after {
  opacity: .52;
  transform: translateX(38%);
}

.mobile-voice-fab {
  display: none;
}

@media (max-width: 768px) {
  .mobile-voice-fab {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(88px + env(safe-area-inset-bottom));
    z-index: 860;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 48px;
    padding: 8px 14px 8px 9px;
    border: 1px solid rgba(5, 5, 5, .88);
    border-radius: var(--radius-pill, 999px);
    background: rgba(255, 255, 255, .92);
    color: #050505;
    font: 800 11px/1 "Archivo", "Inter", sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 16px 46px rgba(5, 5, 5, .18);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    touch-action: manipulation;
  }

  .mobile-voice-fab__orb {
    width: 30px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 48% 52% 46% 54% / 42% 40% 60% 58%;
    background:
      radial-gradient(circle at 34% 18%, rgba(255,255,255,.96) 0 8%, transparent 24%),
      radial-gradient(circle at 60% 56%, rgba(255,255,255,.48) 0 9%, transparent 24%),
      linear-gradient(145deg, #050505 0%, #171717 48%, #4c4c47 74%, #050505 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.24),
      inset 0 -12px 22px rgba(0,0,0,.48),
      0 8px 22px rgba(5,5,5,.22);
    animation: aiVoiceInkFloat 5.8s ease-in-out infinite;
  }

  .mobile-voice-fab__label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }

  .mobile-voice-fab:active {
    transform: scale(.98);
  }

  body.ai-voice-open .mobile-voice-fab,
  body.cart-open .mobile-voice-fab,
  body.drawer-open .mobile-voice-fab {
    display: none;
  }
}

@supports (content-visibility: auto) {
  .product-card,
  .brand-rail-card,
  .ai-result-card,
  .recommendation-card {
    content-visibility: auto;
    contain-intrinsic-size: 440px 360px;
  }
}

@media (max-width: 900px) {
  html.future-pointer::before {
    display: none;
  }

  .product-card:hover,
  .brand-rail-card:hover,
  .category-card:hover,
  .quick-category:hover,
  .agent-card:hover,
  .product-card:hover img {
    transform: none !important;
  }

  .product-card,
  .brand-rail-card,
  .ai-result-card,
  .recommendation-card {
    contain-intrinsic-size: 520px 320px;
  }

  .is-future-press {
    transform: scale(.992) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.future-pointer::before {
    display: none;
  }

  .product-card,
  .brand-rail-card,
  .category-card,
  .quick-category,
  .agent-card,
  .primary-button,
  .secondary-button,
  .card-action,
  .circle-action,
  .catalog-trigger,
  .bottom-nav a,
  .bottom-nav button,
  .ai-voice-launch,
  .ai-voice-panel,
  .mobile-voice-fab,
  .mobile-voice-fab__orb,
  .product-card img {
    transition: none !important;
    transform: none !important;
  }
}

/* Voice modal must sit above the locked mobile nav.
   The nav has an intentionally huge z-index, so hide it while the assistant is open. */
@media (max-width: 900px) {
  body.ai-voice-open {
    padding-bottom: 0 !important;
    overflow: hidden !important;
  }

  body.ai-voice-open .bottom-nav,
  html.desktop-shell body.ai-voice-open .bottom-nav {
    display: none !important;
    pointer-events: none !important;
  }

  body.ai-voice-open .ai-voice-stage {
    z-index: 2147483600 !important;
    display: grid !important;
    place-items: start center !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding:
      calc(18px + env(safe-area-inset-top, 0px))
      16px
      calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.ai-voice-open .ai-voice-stage-inner {
    width: min(100%, 560px) !important;
    min-height: calc(100svh - 48px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    justify-content: center !important;
    gap: 18px !important;
  }

  body.ai-voice-open .ai-voice-close {
    top: calc(14px + env(safe-area-inset-top, 0px)) !important;
    right: 14px !important;
  }

  body.ai-voice-open .ai-voice-manual {
    margin-bottom: 0 !important;
  }
}

/* Futuristic page-motion layer 2026-07-09.
   Lightweight transforms only: no heavy filters on catalog grids, so mobile and
   desktop keep the optimized image pipeline while navigation feels more alive. */
:root {
  --future-route-ease: cubic-bezier(.16, 1, .3, 1);
  --future-route-glow: 0 24px 80px rgba(5, 5, 5, .10);
}

body.is-future-route::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      transparent 0%,
      transparent 38%,
      rgba(5, 5, 5, .035) 45%,
      rgba(255, 255, 255, .68) 50%,
      rgba(5, 5, 5, .045) 55%,
      transparent 64%,
      transparent 100%),
    radial-gradient(720px 240px at 50% 0%, rgba(5, 5, 5, .05), transparent 72%);
  opacity: 0;
  transform: translateX(-42%);
  animation: futureRouteScan .58s var(--future-route-ease) both;
}

body.is-future-route #home,
body.is-future-route #productPage,
body.is-future-route .support-section,
body.is-future-route .profile-section {
  animation: futurePageSettle .48s var(--future-route-ease) both;
}

.is-future-revealed {
  animation: futureRevealUp .52s var(--future-route-ease) var(--future-delay, 0ms) both;
}

.future-card-in {
  animation: futureCardMaterialize .42s var(--future-route-ease) var(--future-delay, 0ms) both;
}

.cart-drawer[aria-hidden="false"] .drawer-panel,
.checkout-drawer[aria-hidden="false"] .drawer-panel {
  animation: futureDrawerEnter .34s var(--future-route-ease) both;
}

.cart-drawer[aria-hidden="false"] .drawer-backdrop,
.checkout-drawer[aria-hidden="false"] .drawer-backdrop {
  animation: futureBackdropEnter .24s ease-out both;
}

.bottom-nav a,
.bottom-nav button {
  position: relative !important;
  isolation: isolate !important;
}

.bottom-nav a::after,
.bottom-nav button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 9px;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: translateX(-50%) scaleX(.35);
  transition:
    opacity .18s var(--future-route-ease),
    transform .22s var(--future-route-ease);
}

.bottom-nav a.is-active::after,
.bottom-nav button.is-active::after,
.bottom-nav a[aria-current="page"]::after,
.bottom-nav button[aria-current="page"]::after {
  opacity: .86;
  transform: translateX(-50%) scaleX(1);
}

.catalog-trigger,
.header-search,
.circle-action,
.primary-button,
.secondary-button,
.card-action,
.ai-voice-launch,
.mobile-voice-fab {
  transition:
    transform .18s var(--future-route-ease),
    box-shadow .18s var(--future-route-ease),
    border-color .18s var(--future-route-ease),
    background-color .18s var(--future-route-ease),
    color .18s var(--future-route-ease) !important;
}

.catalog-trigger:active,
.header-search:focus-within,
.circle-action:active,
.primary-button:active,
.secondary-button:active,
.card-action:active,
.mobile-voice-fab:active {
  transform: translateY(1px) scale(.992) !important;
}

@keyframes futureRouteScan {
  0% {
    opacity: 0;
    transform: translateX(-44%);
  }
  28% {
    opacity: .92;
  }
  100% {
    opacity: 0;
    transform: translateX(44%);
  }
}

@keyframes futurePageSettle {
  0% {
    opacity: .78;
    transform: translateY(10px) scale(.996);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes futureRevealUp {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes futureCardMaterialize {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(.985);
  }
  66% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes futureDrawerEnter {
  0% {
    opacity: 0;
    transform: translateX(18px) scale(.985);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes futureBackdropEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 900px) {
  body.is-future-route::after {
    background:
      linear-gradient(105deg,
        transparent 0%,
        transparent 36%,
        rgba(5, 5, 5, .035) 45%,
        rgba(255, 255, 255, .76) 51%,
        transparent 64%),
      radial-gradient(420px 240px at 50% 6%, rgba(5, 5, 5, .045), transparent 76%);
  }

  .is-future-revealed {
    animation-duration: .38s;
  }

  .future-card-in {
    animation-duration: .32s;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.is-future-route::after,
  body.is-future-route #home,
  body.is-future-route #productPage,
  body.is-future-route .support-section,
  body.is-future-route .profile-section,
  .is-future-revealed,
  .future-card-in,
  .cart-drawer[aria-hidden="false"] .drawer-panel,
  .checkout-drawer[aria-hidden="false"] .drawer-panel,
  .cart-drawer[aria-hidden="false"] .drawer-backdrop,
  .checkout-drawer[aria-hidden="false"] .drawer-backdrop {
    animation: none !important;
    transform: none !important;
  }
}

/* Fast product transitions 2026-07-09.
   Product cards already contain the product data locally, so opening a product
   page must feel immediate. Keep a small cinematic pulse without delaying UI. */
body.is-future-route-product::after {
  background:
    linear-gradient(100deg,
      transparent 0%,
      transparent 36%,
      rgba(5, 5, 5, .045) 43%,
      rgba(255, 255, 255, .9) 49%,
      rgba(5, 5, 5, .06) 55%,
      transparent 66%),
    radial-gradient(620px 260px at 50% 0%, rgba(5, 5, 5, .045), transparent 72%) !important;
  animation: futureProductScan .42s cubic-bezier(.16, 1, .3, 1) both !important;
}

body.is-future-route-product::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147481999;
  width: min(760px, 82vw);
  height: min(420px, 54vh);
  pointer-events: none;
  border: 1px solid rgba(5, 5, 5, .16);
  border-radius: 42px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(5,5,5,.08) 50%, transparent 82%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(5,5,5,.12) 22px 23px, transparent 23px 44px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.92);
  animation: futureProductPortal .42s cubic-bezier(.16, 1, .3, 1) both;
}

body.is-future-route-product #home,
body.is-future-route-product #productPage {
  animation: futureProductSnapIn .34s cubic-bezier(.16, 1, .3, 1) both !important;
}

.is-product-instant-reveal {
  animation-duration: .16s !important;
  animation-delay: 0ms !important;
}

body[data-page="product"] .future-card-in,
body[data-page="product"] .is-future-revealed {
  animation-delay: 0ms !important;
}

@keyframes futureProductSnapIn {
  from {
    opacity: .82;
    transform: translateY(10px) scale(.997);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes futureProductScan {
  0% {
    opacity: 0;
    transform: translateX(-46%);
  }
  30% {
    opacity: .86;
  }
  100% {
    opacity: 0;
    transform: translateX(46%);
  }
}

@keyframes futureProductPortal {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(.9);
  }
  38% {
    opacity: .42;
  }
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(1.04);
  }
}

@media (max-width: 900px) {
  body.is-future-route-product::before {
    width: min(520px, 86vw);
    height: min(360px, 50vh);
    border-radius: 30px;
  }
}

/* Final mobile nav owner 2026-07-09.
   Keep this at EOF: earlier rounded/futuristic layers can otherwise shrink the
   quick nav into a side pill on iOS browsers with a bottom address bar. */
@media (max-width: 900px) {
  .bottom-nav,
  html.desktop-shell .bottom-nav {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100dvw !important;
    max-width: 100dvw !important;
    min-width: 100dvw !important;
    height: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    min-height: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 0 0 env(safe-area-inset-bottom, 0px) !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    transform: none !important;
    translate: none !important;
    border-radius: 0 !important;
    background: #050505 !important;
    overflow: hidden !important;
    z-index: 2147483000 !important;
  }

  .bottom-nav a,
  .bottom-nav button,
  html.desktop-shell .bottom-nav a,
  html.desktop-shell .bottom-nav button {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 66px !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border-radius: 0 !important;
    transform: none !important;
    translate: none !important;
  }

  body.ai-voice-open .bottom-nav,
  html.desktop-shell body.ai-voice-open .bottom-nav {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.ai-voice-open .ai-voice-stage {
    min-height: 100dvh !important;
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.ai-voice-open .ai-voice-stage-inner {
    padding-bottom: 0 !important;
  }

  body.ai-voice-open .ai-voice-manual {
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 18px !important;
  }
}

/* Product detail containment 2026-07-10.
   This is the final owner for product media: logos, photos and actions must
   remain inside the page at every responsive width and browser zoom. */
body[data-page="product"] #productPage,
body[data-page="product"] .product-page:not([hidden]) {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
  box-sizing: border-box !important;
}

body[data-page="product"] .product-neo-hero,
body[data-page="product"] .product-hero-copy,
body[data-page="product"] .product-hero-photo,
body[data-page="product"] .product-hero-purchase,
body[data-page="product"] .product-hero-purchase > *,
body[data-page="product"] .product-story-shell,
body[data-page="product"] .product-main-info,
body[data-page="product"] .product-price-panel {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body[data-page="product"] .product-neo-hero {
  overflow: clip !important;
}

body[data-page="product"] .product-bg-logo,
body[data-page="product"] .product-angle-brand-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  padding: 4px !important;
}

body[data-page="product"] .product-bg-logo {
  width: clamp(88px, 10vw, 148px) !important;
  height: clamp(44px, 5.5vw, 72px) !important;
}

body[data-page="product"] .product-bg-logo img,
body[data-page="product"] .product-angle-brand-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

body[data-page="product"] .product-hero-photo {
  overflow: hidden !important;
  isolation: isolate !important;
}

body[data-page="product"] .product-hero-photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
}

body[data-page="product"] .product-hero-purchase {
  width: 100% !important;
  overflow: clip !important;
}

body[data-page="product"] .product-hero-buy,
body[data-page="product"] .product-hero-favorite {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

body[data-page="product"] .product-hero-favorite strong,
body[data-page="product"] .product-hero-favorite span {
  min-width: 0 !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  body:not([data-page="product"]) #agents,
  body:not([data-page="product"]) #agents.air-dark-panel,
  html.desktop-shell body:not([data-page="product"]) #agents,
  html.desktop-shell body:not([data-page="product"]) #agents.air-dark-panel {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: clip !important;
    box-sizing: border-box !important;
  }
}

.product-card,
.product-card .product-visual,
.product-card .visual-mark,
.product-card .card-buttons,
.product-card .card-action {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.product-card .product-visual,
.product-card .visual-mark {
  overflow: hidden !important;
}

.product-card .visual-photo,
.product-card .visual-mark img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 900px) {
  body[data-page="product"] .product-bg-logo {
    top: 12px !important;
    right: 12px !important;
    width: clamp(72px, 24vw, 104px) !important;
    height: clamp(38px, 13vw, 58px) !important;
  }

  body[data-page="product"] .product-hero-copy {
    width: 100% !important;
    padding-top: clamp(58px, 17vw, 74px) !important;
    padding-right: 0 !important;
  }

  body[data-page="product"] .product-hero-copy h1 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
  }

  body[data-page="product"] .product-hero-purchase {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body[data-page="product"] .product-hero-favorite strong {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* The same voice entry point is available on desktop and mobile. */
@media (min-width: 769px) {
  .mobile-voice-fab {
    position: fixed;
    right: 26px;
    bottom: 86px;
    z-index: 860;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 56px;
    padding: 9px 18px 9px 10px;
    border: 1px solid #050505;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #050505;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    box-shadow: 0 16px 46px rgba(5, 5, 5, .16);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    cursor: pointer;
  }

  .mobile-voice-fab__orb {
    width: 32px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 48% 52% 46% 54% / 42% 40% 60% 58%;
    background:
      radial-gradient(circle at 34% 18%, rgba(255,255,255,.96) 0 8%, transparent 24%),
      radial-gradient(circle at 60% 56%, rgba(255,255,255,.48) 0 9%, transparent 24%),
      linear-gradient(145deg, #050505 0%, #171717 48%, #4c4c47 74%, #050505 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.24),
      inset 0 -12px 22px rgba(0,0,0,.48),
      0 8px 22px rgba(5,5,5,.22);
    animation: aiVoiceInkFloat 5.8s ease-in-out infinite;
  }

  .mobile-voice-fab:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 54px rgba(5, 5, 5, .22);
  }

  body.ai-voice-open .mobile-voice-fab,
  body.cart-open .mobile-voice-fab,
  body.drawer-open .mobile-voice-fab {
    display: none !important;
  }
}

@media (max-width: 900px) {
  body[data-page="product"] .product-hero-photo,
  html.desktop-shell body[data-page="product"] .product-hero-photo {
    height: clamp(238px, 58vw, 330px) !important;
  }

  body[data-page="product"] .product-neo-hero.no-hero-logo .product-hero-copy,
  html.desktop-shell body[data-page="product"] .product-neo-hero.no-hero-logo .product-hero-copy {
    padding-top: 8px !important;
  }

  body[data-page="product"] .mobile-voice-fab {
    display: none !important;
  }

  body[data-page="product"] .mobile-voice-fab__orb {
    width: 30px !important;
    height: 32px !important;
  }

  body[data-page="product"] .mobile-voice-fab__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}

@media (max-width: 768px) {
  body:not([data-page="product"]) .mobile-voice-fab {
    right: max(10px, env(safe-area-inset-right, 0px)) !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 6px !important;
    justify-content: center !important;
  }

  body:not([data-page="product"]) .mobile-voice-fab__orb {
    width: 30px !important;
    height: 32px !important;
  }

  body:not([data-page="product"]) .mobile-voice-fab__label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
}
