:root {
  --bg: #f6ebe6;
  --bg-deep: #ead9d1;
  --ink: #2a1f1c;
  --ink-soft: #5c4a44;
  --rose: #c45f5f;
  --rose-deep: #9e4545;
  --jade: #5f7f72;
  --cream: #fff8f4;
  --surface: #ffffff;
  --surface-warm: #fffaf7;
  --line: rgba(42, 31, 28, 0.12);
  --shadow: 0 18px 50px rgba(42, 31, 28, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --disclaimer-h: 2.4rem;
  --dock-h: 4.15rem;
  --nav-ink: #1c1715;
  --sale-pink: #e11d6a;
  --sale-navy: #1e2a5a;
  --mega-bg: #f7f4f2;
  --mega-pill: #ece7e4;
}

html[lang="ar"] body,
html[lang="he"] body {
  font-family: "Noto Sans Arabic", "Noto Sans Hebrew", var(--font-body);
}

html[lang="he"] body {
  font-family: "Noto Sans Hebrew", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(196, 95, 95, 0.18), transparent 55%),
    radial-gradient(900px 600px at -10% 30%, rgba(95, 127, 114, 0.14), transparent 50%),
    linear-gradient(180deg, #f8eee9 0%, var(--bg) 40%, #f3e4dc 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header — dark bar + mega */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  top: var(--disclaimer-h, 0px);
  margin-top: -1px; /* close subpixel gap under disclaimer */
  direction: ltr;
}

.header-bar {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: var(--nav-ink);
  color: #f5efe9;
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease);
  direction: ltr;
}

.header.is-scrolled .header-bar {
  box-shadow: 0 10px 30px rgba(28, 23, 21, 0.28);
}

.logo {
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: #fff;
}

.nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  direction: ltr;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav-item {
  display: flex;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 239, 233, 0.82);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-link:hover,
.nav-item-mega.is-open .nav-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 0 #f3c6b3;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 239, 233, 0.82);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.1rem;
}

.nav-toggle-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
}

.header.is-nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.header.is-nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.nav-chevron {
  width: 0.65rem;
  height: 0.45rem;
  opacity: 0.7;
  transition: transform 0.3s var(--ease);
}

.nav-item-mega.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-accent {
  color: #fff !important;
  letter-spacing: 0.1em;
}

.nav-accent-sale {
  background: var(--sale-pink);
}

.nav-accent-sale:hover {
  background: #c9165a;
}

.nav-accent-clearance {
  background: var(--sale-navy);
}

.nav-accent-clearance:hover {
  background: #152047;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: end;
  align-self: center;
}

/* Language menu */
.lang-menu {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 239, 233, 0.82);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.lang-btn:hover,
.lang-menu.is-open .lang-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.lang-flag,
.lang-meta,
.lang-label,
.lang-current:not(.visually-hidden),
.lang-chevron {
  display: none;
}

.lang-list {
  position: absolute;
  top: calc(100% + 0.45rem);
  inset-inline-end: 0;
  z-index: 50;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  min-width: 11.5rem;
  background: #fffaf7;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(28, 23, 21, 0.18);
}

.lang-list[hidden] {
  display: none;
}

.lang-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}

.lang-list li:hover,
.lang-list li.is-active {
  background: var(--mega-pill);
}

.lang-opt-code {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 1.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--nav-ink);
  color: #fff;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.lang-opt-name {
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — first focusable control for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 0.35rem;
  background: var(--nav-ink, #2a1f1c);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #f0c4b4;
  outline-offset: 3px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--ink, #2a1f1c) 70%, #f0c4b4);
  outline-offset: 3px;
}

.btn:focus-visible,
.add-btn:focus-visible,
.filter:focus-visible,
.hero-dot:focus-visible,
.dock-item:focus-visible,
.nav-link:focus-visible,
.lang-btn:focus-visible,
.cart-btn:focus-visible,
.icon-close:focus-visible,
.product-tab:focus-visible,
.product-gallery-thumb:focus-visible {
  outline: 2px solid #f0c4b4;
  outline-offset: 3px;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.product-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.product-breadcrumb [aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 239, 233, 0.82);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.cart-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.cart-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.cart-count {
  position: absolute;
  top: 0.2rem;
  inset-inline-end: 0.15rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.2rem;
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0;
  border-radius: 999px;
  background: #f0c4b4;
  color: #2a1f1c;
}

.cart-count:empty,
.cart-count[data-empty="true"] {
  display: none;
}

/* Mega menu */
.mega {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 45;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(28, 23, 21, 0.14);
  animation: megaIn 0.28s var(--ease);
}

.mega[hidden] {
  display: none;
}

.mega-backdrop {
  position: fixed;
  inset: 0;
  top: calc(var(--disclaimer-h) + var(--header-h));
  z-index: 35;
  background: rgba(28, 23, 21, 0.28);
}

.mega-backdrop[hidden] {
  display: none;
}

.mega-inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  min-height: 280px;
  max-height: min(70vh, 520px);
}

.mega-cats {
  background: var(--mega-bg);
  border-inline-end: 1px solid var(--line);
  overflow-y: auto;
}

.mega-cat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  text-align: start;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(42, 31, 28, 0.08);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.mega-cat svg {
  width: 0.45rem;
  height: 0.7rem;
  flex-shrink: 0;
  opacity: 0.35;
}

.mega-cat:hover,
.mega-cat.is-active {
  background: #fff;
  color: var(--ink);
}

.mega-cat.is-active svg {
  opacity: 0.7;
  color: var(--rose);
}

html[dir="rtl"] .mega-cat svg {
  transform: scaleX(-1);
}

.mega-panel {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  background: #fff;
}

.mega-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mega-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.15rem;
  background: var(--mega-pill);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease);
}

.mega-pill:hover {
  background: var(--nav-ink);
  color: #fff;
  transform: translateY(-1px);
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.disclaimer {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: calc(0.55rem + env(safe-area-inset-top, 0px))
    max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-right, 0px))
    0.55rem
    max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-left, 0px));
  background: #120f0e;
  color: var(--cream);
  text-align: center;
  font-size: clamp(0.72rem, 1.6vw, 0.84rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.disclaimer p {
  margin: 0;
}

.disclaimer strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  touch-action: pan-y;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* Isolate compositor work so Ken Burns doesn't fight page scroll */
  contain: layout paint;
  transform: translateZ(0);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-img.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroZoomOut var(--hero-slide-ms, 9000ms) linear both;
}

.hero-img:nth-child(1) {
  object-position: 72% center;
}

.hero-img:nth-child(2) {
  object-position: center center;
}

.hero-img:nth-child(3) {
  object-position: center 42%;
}

.hero-img:nth-child(4) {
  object-position: center center;
}

.hero-img:nth-child(1).is-active,
.hero-img:nth-child(3).is-active {
  animation: heroZoomOutSoft var(--hero-slide-ms, 9000ms) linear both;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(42, 31, 28, 0.12) 0%, rgba(42, 31, 28, 0.48) 70%, rgba(42, 31, 28, 0.72) 100%),
    linear-gradient(90deg, rgba(42, 31, 28, 0.38) 0%, rgba(42, 31, 28, 0.12) 45%, transparent 62%);
  transition: background-image 0.6s ease, background-color 0.6s ease;
}

/* Затемнение на слайде со спреем (теперь 3-й) */
.hero-media[data-active-slide="2"] .hero-wash,
.hero-media:has(.hero-img:nth-child(3).is-active) .hero-wash {
  background-color: rgba(18, 12, 10, 0.4);
  background-image:
    linear-gradient(180deg, rgba(42, 31, 28, 0.22) 0%, rgba(42, 31, 28, 0.58) 65%, rgba(42, 31, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(42, 31, 28, 0.58) 0%, rgba(42, 31, 28, 0.28) 42%, transparent 62%);
}

.hero-dots {
  position: absolute;
  inset-inline-start: clamp(1.25rem, 5vw, 4.5rem);
  bottom: clamp(1.25rem, 4vh, 2.25rem);
  z-index: 2;
  display: flex;
  gap: 0.35rem;
}

.hero-dot {
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 248, 244, 0.4);
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), width 0.35s var(--ease);
}

.hero-dot::before {
  content: "";
  position: absolute;
  inset: -0.7rem;
}

.hero-dot.is-active {
  width: 1.35rem;
  background: var(--cream);
}

.hero-dot:hover {
  background: rgba(255, 248, 244, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + var(--disclaimer-h) + 2rem) clamp(1.25rem, 5vw, 4.5rem) clamp(3rem, 8vh, 5rem);
  max-width: 42rem;
}

.brand-mark {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 10vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-shadow: 0 12px 40px rgba(20, 12, 10, 0.35);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 32rem;
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 248, 244, 0.9);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cream);
  color: var(--ink);
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 248, 244, 0.45);
  color: var(--cream);
}

.btn-ghost:hover {
  border-color: rgba(255, 248, 244, 0.85);
  background: rgba(255, 248, 244, 0.08);
}

.btn-block {
  width: 100%;
}

/* Marquee */
.marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 248, 244, 0.45);
  padding: 0.95rem 0;
  width: 100%;
  direction: ltr !important;
  unicode-bidi: isolate;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  max-width: none;
  margin: 0;
  margin-inline: 0;
  justify-content: flex-start;
  --marquee-shift: 50%;
  --marquee-duration: 36s;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  animation: marquee-scroll var(--marquee-duration) linear infinite;
  -webkit-animation: marquee-scroll var(--marquee-duration) linear infinite;
  animation-play-state: running;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.marquee-group {
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  padding: 0;
}

html[dir="rtl"] .marquee,
html[dir="rtl"] .marquee-track {
  direction: ltr !important;
}

/* Sections */
.section-head {
  margin-bottom: 2rem;
}

.section-head h1,
.section-head h2,
.ritual-copy h2,
.about h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.section-head p,
.ritual-copy > p,
.about p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.catalog,
.muses,
.about,
.intro {
  padding: clamp(4rem, 10vh, 7rem) clamp(1.25rem, 5vw, 4.5rem);
}

/* Title sits on page beige; products sit on a white full-bleed shelf underneath */
.catalog {
  background: transparent;
  padding-inline: 0;
  padding-bottom: 0;
}

.catalog .section-head {
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
  margin-bottom: clamp(1.15rem, 2.5vw, 1.65rem);
}

.product-stage {
  background: var(--surface);
  padding: clamp(1.35rem, 3.2vw, 2rem) clamp(1.25rem, 5vw, 4.5rem)
    clamp(3.5rem, 8vh, 5.5rem);
}

.product-stage .filters {
  margin-bottom: 1.5rem;
}

.product-stage .catalog-more {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.page-main {
  padding-top: calc(var(--header-h) + var(--disclaimer-h));
  min-height: 60vh;
}

.page-catalog .section-head {
  max-width: 40rem;
}

.brand-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.brand-filter-bar[hidden] {
  display: none !important;
}

.brand-filter-clear {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Brands page */
.page-brands {
  position: relative;
  padding: clamp(2.5rem, 7vh, 4.5rem) clamp(1.25rem, 5vw, 4.5rem) clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}

.page-brands::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(52vh, 28rem);
  background:
    radial-gradient(55% 80% at 12% 20%, rgba(196, 95, 95, 0.16), transparent 70%),
    radial-gradient(45% 70% at 88% 10%, rgba(95, 127, 114, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.brands-hero,
.brands-alpha,
.brands-directory {
  position: relative;
  z-index: 1;
}

.brands-hero {
  max-width: 38rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  animation: brandsFadeUp 0.9s var(--ease) both;
}

.brands-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  animation: brandsFadeUp 0.9s var(--ease) 0.08s both;
}

.brands-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  animation: brandsFadeUp 0.95s var(--ease) 0.14s both;
}

.brands-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 300;
  max-width: 30rem;
  animation: brandsFadeUp 0.95s var(--ease) 0.22s both;
}

.brands-meta {
  margin: 1.1rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 31, 28, 0.5);
  animation: brandsFadeUp 0.95s var(--ease) 0.3s both;
}

.brands-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.1rem;
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(42, 31, 28, 0.1);
  animation: brandsFadeUp 0.9s var(--ease) 0.34s both;
}

.brands-alpha[hidden] {
  display: none !important;
}

.brands-alpha-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.brands-alpha-link:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.brands-directory {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}

.brand-group {
  scroll-margin-top: calc(var(--header-h) + var(--disclaimer-h) + 1rem);
}

.brand-group-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.brand-group-letter {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.brand-group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(42, 31, 28, 0.18), transparent 90%);
}

.brand-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.15rem 1.2rem;
}

.brand-tile {
  --brand-delay: 0ms;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  background: linear-gradient(180deg, #fff9f6 0%, #f4e6de 100%);
  box-shadow: inset 0 0 0 1px rgba(42, 31, 28, 0.07);
  opacity: 0;
  animation: brandsIn 0.65s var(--ease) var(--brand-delay) forwards;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.brand-tile:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 0 1px rgba(42, 31, 28, 0.1),
    0 20px 44px rgba(42, 31, 28, 0.12);
}

.brand-tile-media {
  position: relative;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.9), transparent 62%),
    linear-gradient(160deg, #f8eee9, #e8d5cb);
}

.brand-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 58%;
  padding: 1.1rem 1.1rem 0.4rem;
  transform: scale(0.96);
  transition: transform 0.65s var(--ease);
}

.brand-tile-wash {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(244, 230, 222, 0.55) 55%, rgba(244, 230, 222, 0.92));
  pointer-events: none;
}

.brand-tile-mono {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(42, 31, 28, 0.08);
  z-index: 1;
  pointer-events: none;
}

.brand-tile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.15rem 1.15rem 1.15rem;
  margin-top: -0.35rem;
}

.brand-tile-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  transition: transform 0.4s var(--ease);
}

.brand-tile-count {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 300;
}

.brand-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.brand-tile-cta::after {
  content: "→";
  font-size: 0.95em;
  transition: transform 0.35s var(--ease);
}

html[dir="rtl"] .brand-tile-cta::after {
  content: "←";
}

.brand-tile:hover .brand-tile-media img,
.brand-tile:focus-visible .brand-tile-media img {
  transform: scale(1.04);
}

.brand-tile:hover .brand-tile-title,
.brand-tile:focus-visible .brand-tile-title {
  transform: translateY(-1px);
}

.brand-tile:hover .brand-tile-cta,
.brand-tile:focus-visible .brand-tile-cta {
  opacity: 1;
  transform: translateY(0);
}

.brand-tile:hover .brand-tile-cta::after,
.brand-tile:focus-visible .brand-tile-cta::after {
  transform: translateX(3px);
}

html[dir="rtl"] .brand-tile:hover .brand-tile-cta::after,
html[dir="rtl"] .brand-tile:focus-visible .brand-tile-cta::after {
  transform: translateX(-3px);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .brands-hero,
  .brands-eyebrow,
  .brands-title,
  .brands-lead,
  .brands-meta,
  .brands-alpha,
  .brand-tile {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .brand-group-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .brand-tile-cta {
    opacity: 0.9;
    transform: none;
  }
}

@media (max-width: 420px) {
  .brand-group-grid {
    grid-template-columns: 1fr;
  }
}

/* Intro */
.intro {
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 7vw, 5.5rem);
  align-items: center;
  max-width: 62rem;
  width: 100%;
  margin-inline: auto;
}

.intro-inner {
  max-width: 36rem;
}

.intro-eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rose);
}

.intro h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.02em;
}

.intro-inner > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 34rem;
  line-height: 1.65;
}

.intro-media {
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.intro-media img {
  width: min(100%, 26rem);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 36px rgba(42, 31, 28, 0.14));
  transform: translateY(0.25rem);
  animation: introFloat 5.5s ease-in-out infinite;
}

@keyframes introFloat {
  0%, 100% { transform: translateY(0.25rem); }
  50% { transform: translateY(-0.45rem); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-media img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .intro-inner {
    max-width: 34rem;
    margin-inline: auto;
  }

  .intro-inner > p:last-child {
    margin-inline: auto;
  }

  .intro-media img {
    width: min(72%, 18rem);
  }
}

@media (max-width: 560px) {
  .intro-media img {
    width: min(78%, 15.5rem);
  }
}

.product-badge-new {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  z-index: 2;
  width: 4.6rem;
  height: 4.6rem;
  overflow: hidden;
  pointer-events: none;
}

.product-badge-new span {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: -1.35rem;
  width: 6.2rem;
  padding: 0.28rem 0;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #2a1f1c 0%, #8b3a3a 55%, #c45f5f 100%);
  box-shadow: 0 4px 12px rgba(42, 31, 28, 0.25);
  transform: rotate(-45deg);
  transform-origin: center;
}

html[dir="rtl"] .product-badge-new span {
  transform: rotate(45deg);
  inset-inline-start: auto;
  inset-inline-end: -1.35rem;
}

.product-badge-hit {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 248, 244, 0.92);
  border: 1px solid rgba(42, 31, 28, 0.12);
}

.product-badge-sale {
  position: absolute;
  bottom: 0.9rem;
  inset-inline-start: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--sale-pink);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  box-shadow: 2px 4px 12px rgba(225, 29, 106, 0.28);
}

html[dir="rtl"] .product-badge-sale {
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
}

.filter {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 248, 244, 0.5);
  color: var(--ink-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.filter:hover {
  color: var(--ink);
  border-color: rgba(42, 31, 28, 0.25);
}

.filter.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Products — interaction containers, light structure */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease);
}

.product.is-hidden {
  display: none;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface);
  width: 100%;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

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

.product-link {
  display: block;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  min-height: 0;
}

.product-cat {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade);
}

.product-name-ru {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

.product-brand {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.product-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.35em * 2);
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.catalog-more .btn-primary {
  background: var(--nav-ink);
  color: #fff;
}

.mega-pill-all {
  background: var(--nav-ink) !important;
  color: #fff !important;
}

.mega-inner {
  min-height: 320px;
}

.mega-cats {
  padding: 0.35rem 0;
}

.mega-cat {
  font-weight: 450;
}

.mega-panel {
  background:
    radial-gradient(600px 280px at 100% 0%, rgba(196, 95, 95, 0.08), transparent 55%),
    #fff;
}

.product-desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.product-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.7rem;
}

.product-price {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  word-break: break-word;
}

.product-price.is-sale {
  color: var(--sale-pink);
}

.product-price-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.55rem;
  min-width: 0;
}

.product-price-old {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.75;
}

.add-btn {
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border: 1px solid var(--ink);
  font-size: 0.82rem;
  white-space: nowrap;
  text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.add-btn:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-1px);
}

/* Product page */
.product-page {
  padding: clamp(2.4rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}

.product-skeleton {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--ink) 6%, transparent) 0%,
    color-mix(in srgb, var(--ink) 12%, transparent) 45%,
    color-mix(in srgb, var(--ink) 6%, transparent) 100%
  );
  background-size: 200% 100%;
  animation: productSkeletonPulse 1.1s ease-in-out infinite;
  border-radius: 0.35rem;
}

.product-skeleton-media {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.6rem;
  background-color: #fff;
}

.product-skeleton-line {
  height: 0.85rem;
}

.product-skeleton-btn {
  height: 2.8rem;
  width: 10rem;
  border-radius: 999px;
}

@keyframes productSkeletonPulse {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.product-page-head {
  margin-bottom: 1rem;
}

.product-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.product-back-link:hover {
  color: var(--ink);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.2rem, 4vw, 2.8rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.product-hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(0.8rem, 2vw, 1.2rem);
}

.product-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--surface);
}

.product-gallery {
  display: grid;
  gap: 0.75rem;
}

.product-gallery-main {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(0.8rem, 2vw, 1.2rem);
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.product-gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.product-gallery-thumb {
  flex: 0 0 auto;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-gallery-thumb.is-active {
  border-color: var(--rose);
}

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

.product-hero-brand {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--jade);
}

.product-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
}

.product-hero-subtitle {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.product-hero-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.product-hero-price {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
}

.product-hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.product-hero-actions .add-btn {
  min-width: 10rem;
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-tabs {
  margin-top: 1.35rem;
  min-width: 0;
}

.product-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.85rem;
  scrollbar-width: thin;
}

.product-tab {
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.product-tab:hover {
  color: var(--ink);
}

.product-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--rose);
}

.product-tabs-panels {
  min-height: 8rem;
}

.product-tab-panel {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.product-tab-panel[hidden] {
  display: none;
}

.product-tab-panel ul {
  margin: 0;
  padding-inline-start: 1.1rem;
}

.product-tab-panel li + li {
  margin-top: 0.35rem;
}

.product-rte p {
  margin: 0 0 0.75rem;
  text-indent: 1.25em;
}

.product-rte p:last-child {
  margin-bottom: 0;
}

.product-rte ul {
  margin: 0 0 0.75rem;
  padding-inline-start: 1.1rem;
  text-indent: 0;
}

.product-rte li + li {
  margin-top: 0.35rem;
}

.product-tab-panel > ul > li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.product-ingredient-copy p {
  text-indent: 1.25em;
}

.product-ingredients {
  display: grid;
  gap: 0.75rem;
}

.product-ingredient {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.product-ingredient-media img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 50%;
}

.product-ingredient-copy h4 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.product-ingredient-copy p {
  margin: 0;
}

.product-composition-full {
  margin-top: 0.75rem;
}

.product-composition-full.is-collapsed {
  display: none;
}

.product-composition-full p {
  margin: 0;
  white-space: pre-wrap;
}

.product-composition-toggle {
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jade);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
}

.product-certificate {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0;
}

.product-certificate img {
  max-width: min(100%, 18rem);
  height: auto;
  object-fit: contain;
}

.product-specs {
  margin: 0;
}

.product-spec-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.product-spec-row:last-child {
  border-bottom: 0;
}

.product-spec-row dt {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.product-spec-row dd {
  margin: 0;
}

.product-copy-empty {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.product-reviews {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding-inline: clamp(1.25rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vh, 3.5rem);
}

.product-reviews-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.product-review-card {
  border: 1px solid var(--line);
  background: rgba(255, 248, 244, 0.8);
  padding: 0.95rem 1rem;
}

.product-review-card p {
  margin: 0;
}

.product-review-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

.product-review-form {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.product-review-form textarea {
  width: 100%;
  min-height: 5.8rem;
  resize: vertical;
  border: 1px solid var(--line);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.product-review-auth {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-spec-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Ritual */
.ritual {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  background:
    linear-gradient(120deg, rgba(95, 127, 114, 0.1), transparent 45%),
    rgba(255, 248, 244, 0.55);
}

.ritual-visual {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: rgba(255, 248, 244, 0.6);
}

.ritual-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}

.ritual-visual:hover img {
  transform: scale(1.04);
}

.ritual-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.ritual-steps li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

.ritual-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ritual-steps span {
  font-family: var(--font-display);
  color: var(--rose);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

/* Muses gallery */
.muses-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.muse {
  margin: 0;
  grid-column: span 3;
  overflow: hidden;
}

.muse-tall {
  grid-row: span 1;
}

.muse:nth-child(1) {
  grid-column: 1 / span 5;
}

.muse:nth-child(2) {
  grid-column: 6 / span 7;
}

.muse:nth-child(3) {
  grid-column: 1 / span 4;
}

.muse:nth-child(4) {
  grid-column: 5 / span 8;
}

.muse img {
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.92);
}

.muse:nth-child(2) img,
.muse:nth-child(3) img {
  height: clamp(320px, 48vw, 580px);
}

.muse:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.muse figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-soft);
}

/* About */
.about {
  text-align: start;
  padding-block: clamp(3rem, 8vh, 5rem);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.about-copy {
  max-width: 34rem;
}

.about-eyebrow {
  margin: 0 0 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--rose);
}

.about h2 {
  margin: 0 0 1rem;
}

.about-copy > p {
  margin: 0;
  max-width: 34rem;
}

.about-note {
  margin: 1.1rem 0 0 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jade) !important;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-visual {
  position: relative;
  min-height: clamp(18rem, 42vw, 28rem);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 248, 244, 0.2), transparent 40%),
    rgba(255, 248, 244, 0.5);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: clamp(18rem, 42vw, 28rem);
  object-fit: cover;
  display: block;
}

.about-holidays-head {
  margin-bottom: 1.4rem;
}

.about-holidays-head h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.about-holidays-head p {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.about-holidays-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.9rem, 2.5vw, 1.5rem);
}

.about-holiday {
  display: grid;
  gap: 0.7rem;
}

.about-holiday img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-holiday-copy h4 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
}

.about-holiday-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 300;
  max-width: none;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .about-holidays-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vh, 5.5rem) clamp(1.25rem, 5vw, 4.5rem) 3rem;
  border-top: 1px solid rgba(255, 248, 244, 0.08);
  background:
    radial-gradient(90% 70% at 78% 55%, rgba(196, 95, 95, 0.16), transparent 58%),
    radial-gradient(70% 55% at 18% 80%, rgba(95, 127, 114, 0.1), transparent 55%),
    linear-gradient(165deg, #2a1f1c 0%, #322622 38%, #241c1a 72%, #181412 100%);
  color: rgba(255, 248, 244, 0.82);
}

.footer-glow {
  position: absolute;
  inset: 10% -20% -30% 25%;
  background:
    radial-gradient(ellipse 55% 45% at 70% 45%, rgba(196, 95, 95, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 35% 70%, rgba(139, 90, 78, 0.12), transparent 65%);
  pointer-events: none;
  filter: blur(28px);
  opacity: 0.9;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer-tagline {
  margin: 0;
  max-width: 18rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 248, 244, 0.72);
}

.footer-seoul {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: rgba(196, 95, 95, 0.85);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col h3 {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 248, 244, 0.45);
}

.footer-col a {
  color: rgba(255, 248, 244, 0.8);
  font-size: 0.95rem;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(3px);
}

html[dir="rtl"] .footer-col a:hover {
  transform: translateX(-3px);
}

.footer-col-note p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 248, 244, 0.65);
  line-height: 1.5;
}

.footer-disclaimer {
  margin-top: 0.75rem !important;
  font-size: 0.78rem !important;
  opacity: 0.75;
}

.footer strong {
  color: #fff;
  font-weight: 600;
}

/* Auth */
.auth-chip {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.auth-btn {
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.auth-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  transform: translateY(-1px);
}

.auth-user {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.auth-user[hidden],
.auth-btn[hidden],
.auth-menu[hidden],
.auth-form[hidden],
.comments-guest[hidden],
.comments-form[hidden],
.catalog-more [hidden],
#load-more[hidden] {
  display: none !important;
}

.auth-profile-btn {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.auth-profile-btn:hover,
.auth-user.is-open .auth-profile-btn {
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.auth-profile-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.auth-profile-avatar svg {
  width: 1.05rem;
  height: 1.05rem;
}

.auth-profile-avatar img,
.settings-avatar-preview img,
.comment-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  inset-inline-end: 0;
  right: 0;
  left: auto;
  z-index: 80;
  width: min(16.5rem, calc(100vw - 1.5rem));
  padding: 0;
  border: 1px solid rgba(42, 31, 28, 0.08);
  border-radius: 1.1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 244, 0.98));
  box-shadow:
    0 22px 50px rgba(28, 20, 16, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
  color: var(--ink);
  overflow: hidden;
  animation: authMenuIn 0.28s var(--ease);
}

@keyframes authMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Header is always LTR — keep profile menu anchored to the button's end edge */
[dir="rtl"] .auth-menu {
  right: 0;
  left: auto;
}

.auth-menu-head {
  padding: 1rem 1.05rem 0.85rem;
  background:
    linear-gradient(135deg, rgba(196, 95, 95, 0.08), transparent 60%),
    rgba(42, 31, 28, 0.02);
}

.auth-menu-label {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(42, 31, 28, 0.48);
}

.auth-menu-name {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.auth-menu-actions {
  display: grid;
  gap: 0.2rem;
  padding: 0.45rem;
}

.auth-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.75rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--ink);
  border-radius: 0.75rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.auth-menu-item svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  opacity: 0.72;
}

[dir="rtl"] .auth-menu-item {
  text-align: right;
}

.auth-menu-item:hover {
  background: rgba(42, 31, 28, 0.05);
  color: var(--rose-deep);
}

.auth-menu-item:hover svg {
  opacity: 1;
}

.auth-menu-logout {
  color: rgba(42, 31, 28, 0.62);
}

.auth-menu-logout:hover {
  color: #9e2f2f;
  background: rgba(158, 47, 47, 0.06);
}

.settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 76;
  background: rgba(22, 16, 14, 0.48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.settings-backdrop.is-open {
  opacity: 1;
}

.settings-modal {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.settings-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.settings-modal[hidden] {
  display: none;
}

.settings-dialog {
  position: relative;
  width: min(100%, 26.5rem);
  max-height: min(90dvh, 42rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.85rem 1.55rem 1.55rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(196, 95, 95, 0.08), transparent 42%),
    linear-gradient(180deg, #fffdfb, #fff7f2);
  border: 1px solid rgba(42, 31, 28, 0.08);
  box-shadow:
    0 28px 70px rgba(28, 20, 16, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.settings-modal.is-open .settings-dialog {
  transform: none;
}

.settings-close {
  position: absolute;
  top: 0.95rem;
  right: 0.95rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(42, 31, 28, 0.04);
  transition: background 0.25s var(--ease);
}

.settings-close:hover {
  background: rgba(42, 31, 28, 0.08);
}

[dir="rtl"] .settings-close {
  right: auto;
  left: 0.95rem;
}

.settings-dialog h2 {
  margin: 0 2rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
}

[dir="rtl"] .settings-dialog h2 {
  margin: 0 0 0.35rem 2rem;
}

.settings-hint {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(42, 31, 28, 0.58);
}

.settings-error,
.settings-success {
  margin: 0 0 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
}

.settings-error {
  background: rgba(180, 50, 50, 0.08);
  color: #8a2a2a;
}

.settings-success {
  background: rgba(50, 120, 70, 0.1);
  color: #2a6b3d;
}

.settings-avatar-block {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin-bottom: 1.3rem;
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(42, 31, 28, 0.07);
}

.settings-avatar-preview {
  position: relative;
  width: 5rem;
  height: 5rem;
  padding: 0;
  border-radius: 999px;
  border: 1.5px dashed rgba(42, 31, 28, 0.18);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 50%),
    rgba(42, 31, 28, 0.04);
  color: rgba(42, 31, 28, 0.5);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.settings-avatar-preview:hover {
  border-color: rgba(158, 69, 69, 0.45);
  transform: scale(1.02);
}

.settings-avatar-preview.has-image {
  border-style: solid;
  border-color: rgba(42, 31, 28, 0.1);
}

.settings-avatar-placeholder,
.settings-avatar-preview > svg {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
}

.settings-avatar-placeholder svg,
.settings-avatar-preview > svg {
  width: 1.85rem;
  height: 1.85rem;
}

.settings-avatar-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(28, 20, 16, 0.42);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.settings-avatar-preview:hover .settings-avatar-overlay {
  opacity: 1;
}

.settings-avatar-overlay svg {
  width: 1.35rem;
  height: 1.35rem;
}

.settings-avatar-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  min-width: 0;
}

.settings-avatar-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.settings-avatar-note {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: rgba(42, 31, 28, 0.5);
}

.settings-avatar-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.settings-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 31, 28, 0.14);
  background: var(--nav-ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.settings-upload-btn:hover {
  background: #120f0e;
  transform: translateY(-1px);
}

.settings-remove-btn {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(42, 31, 28, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(42, 31, 28, 0.62);
  font-size: 0.78rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

.settings-remove-btn:hover {
  color: #9e2f2f;
  border-color: rgba(158, 47, 47, 0.28);
  background: rgba(158, 47, 47, 0.05);
}

#settings-password-form {
  display: grid;
  gap: 0.8rem;
}

#settings-password-form .btn-primary,
.settings-dialog .btn-primary {
  margin-top: 0.25rem;
  border-radius: 999px;
  background: var(--nav-ink);
  color: #fff;
  padding: 0.85rem 1rem;
}

#settings-password-form .btn-primary:hover,
.settings-dialog .btn-primary:hover {
  background: #120f0e;
}

.settings-dialog .field input {
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(42, 31, 28, 0.1);
}

.settings-dialog .field input:focus {
  border-color: rgba(158, 69, 69, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 95, 95, 0.12);
}

.auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(22, 16, 14, 0.48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.auth-backdrop.is-open {
  opacity: 1;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal[hidden] {
  display: none;
}

.auth-dialog {
  position: relative;
  width: min(100%, 420px);
  max-height: min(90dvh, 40rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.85rem 1.55rem 1.55rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(196, 95, 95, 0.08), transparent 42%),
    linear-gradient(180deg, #fffdfb, #fff7f2);
  border: 1px solid rgba(42, 31, 28, 0.08);
  box-shadow:
    0 28px 70px rgba(28, 20, 16, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.85) inset;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.auth-modal.is-open .auth-dialog {
  transform: none;
}

.auth-close {
  position: absolute;
  top: 0.9rem;
  inset-inline-end: 0.9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(42, 31, 28, 0.04);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 1rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(42, 31, 28, 0.05);
}

.auth-tab {
  padding: 0.7rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.auth-tab.is-active {
  background: var(--nav-ink);
  color: #fff;
}

.auth-hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 300;
}

.auth-error {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
  color: #8b1e3f;
  background: rgba(225, 29, 106, 0.08);
  border: 1px solid rgba(225, 29, 106, 0.2);
}

.auth-form {
  display: grid;
  gap: 0.85rem;
}

.auth-form[hidden] {
  display: none !important;
}

.auth-form .field input {
  border-radius: 0.8rem;
}

.auth-form .btn-primary {
  border-radius: 999px;
}

.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(42, 31, 28, 0.45);
}

/* Comments */
.comments {
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(255, 248, 244, 0.55), transparent),
    rgba(234, 217, 209, 0.35);
}

.comments-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.comments-list {
  display: grid;
  gap: 1rem;
}

.comments-sync-hint {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #5c4033;
  background: rgba(180, 120, 80, 0.12);
  border: 1px solid rgba(180, 120, 80, 0.28);
}

.comments-empty {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.comment-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  background: rgba(255, 248, 244, 0.85);
  border: 1px solid var(--line);
}

.comment-card.is-entering {
  opacity: 0;
  transform: translateY(18px);
  animation: commentIn 0.7s var(--ease) forwards;
}

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

.comment-avatar {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(145deg, #2a1f1c, #8b3a3a);
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.35rem;
}

.comment-meta strong {
  font-weight: 600;
}

.comment-meta time {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.comment-body p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
}

.comments-compose {
  padding: 1.35rem 1.25rem;
  background: rgba(255, 248, 244, 0.92);
  border: 1px solid var(--line);
  position: sticky;
  top: calc(var(--disclaimer-h) + var(--header-h) + 1rem);
}

.comments-guest {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.comments-guest p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 300;
}

.comments-form {
  display: grid;
  gap: 0.85rem;
}

.comments-form .btn {
  justify-self: start;
}

.auth-dialog .btn-primary,
.comments-compose .btn-primary {
  background: var(--nav-ink);
  color: #fff;
}

.auth-dialog .btn-primary:hover,
.comments-compose .btn-primary:hover {
  background: #120f0e;
  color: #fff;
}

@media (max-width: 900px) {
  .comments-layout {
    grid-template-columns: 1fr;
  }

  .comments-compose {
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comment-card.is-entering {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .auth-row {
    grid-template-columns: 1fr;
  }

  .auth-btn {
    padding: 0.5rem 0.65rem;
    font-size: 0.65rem;
  }
}

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(42, 31, 28, 0.35);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cart-backdrop.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 60;
  width: min(100%, 420px);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--cream);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  /* Always dock to the physical right — avoids cross-screen jump on LTR↔RTL */
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}

html[dir="rtl"] .cart-drawer {
  /* Keep physical right edge; only flip text direction inside */
  direction: rtl;
  right: 0;
  left: auto;
  transform: translateX(100%);
}

.cart-drawer.is-open,
html[dir="rtl"] .cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
}

.icon-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--ink-soft);
  transition: color 0.25s;
}

.icon-close:hover {
  color: var(--ink);
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 1rem 1.4rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.cart-empty {
  color: var(--ink-soft);
  font-weight: 300;
  padding: 2rem 0;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  animation: itemIn 0.4s var(--ease);
}

.cart-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
}

.cart-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.qty button {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.25s;
}

.qty button:hover {
  background: var(--bg);
}

.remove-item {
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-foot {
  padding: 1.25rem 1.4rem calc(1.6rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
}

.cart-total strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

/* Checkout modal */
.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 82;
  background: rgba(22, 16, 14, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.checkout-backdrop.is-open {
  opacity: 1;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 84;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.checkout-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92dvh, 46rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.6rem 1.35rem 1.4rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(196, 95, 95, 0.08), transparent 42%),
    linear-gradient(180deg, #fffdfb, #fff7f2);
  border: 1px solid rgba(42, 31, 28, 0.08);
  box-shadow: 0 28px 70px rgba(28, 20, 16, 0.22);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s var(--ease);
}

.checkout-modal.is-open .checkout-dialog {
  transform: none;
}

.checkout-close {
  position: absolute;
  top: 0.7rem;
  inset-inline-end: 0.7rem;
}

.checkout-dialog h2 {
  margin: 0 2rem 0.35rem 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 1.75rem);
}

html[dir="rtl"] .checkout-dialog h2 {
  margin: 0 0 0.35rem 2rem;
}

.checkout-lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.95rem;
}

.checkout-error {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.85rem;
  background: rgba(158, 47, 47, 0.08);
  color: #9e2f2f;
  font-size: 0.9rem;
}

.checkout-section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.checkout-section h3 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.checkout-form .field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.checkout-form .field span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.checkout-form textarea {
  resize: vertical;
  min-height: 4rem;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout-row-3 {
  grid-template-columns: 0.85fr 0.7fr 1.2fr;
}

.checkout-choice {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.checkout-choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.checkout-choice-card:has(input:checked) {
  border-color: rgba(196, 95, 95, 0.55);
  background: rgba(196, 95, 95, 0.06);
}

.checkout-choice-body {
  display: grid;
  gap: 0.15rem;
}

.checkout-choice-body strong {
  font-weight: 500;
}

.checkout-choice-body small {
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 300;
}

.checkout-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.45;
}

.checkout-branches {
  display: grid;
  gap: 0.55rem;
}

.checkout-branch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  cursor: pointer;
  background: #fff;
}

.checkout-branch:has(input:checked) {
  border-color: rgba(95, 127, 114, 0.55);
  background: rgba(95, 127, 114, 0.07);
}

.checkout-branch span {
  display: grid;
  gap: 0.15rem;
}

.checkout-branch strong {
  font-weight: 500;
}

.checkout-branch small,
.checkout-branch em {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 300;
}

.checkout-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0.65rem 0 0.9rem;
}

.checkout-card-option {
  cursor: pointer;
}

.checkout-card-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-card-face {
  display: grid;
  gap: 0.35rem;
  min-height: 4.4rem;
  padding: 0.65rem 0.55rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  color: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.checkout-card-visa .checkout-card-face {
  background: linear-gradient(135deg, #1a1f71 0%, #3f51b5 100%);
}

.checkout-card-mastercard .checkout-card-face {
  background: linear-gradient(135deg, #2a1f1c 0%, #8b3a3a 55%, #c45f5f 100%);
}

.checkout-card-humo .checkout-card-face {
  background: linear-gradient(135deg, #0f3d2e 0%, #1f7a5c 100%);
}

.checkout-card-uzcard .checkout-card-face {
  background: linear-gradient(135deg, #1c3a5c 0%, #3d6ea3 100%);
}

.checkout-card-option:has(input:checked) .checkout-card-face {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(42, 31, 28, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.checkout-card-brand {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.checkout-card-hint {
  font-size: 0.72rem;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.25rem 0 1rem;
  font-size: 1.05rem;
}

.checkout-summary strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.checkout-disclaimer {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 300;
}

@media (max-width: 640px) {
  .checkout-row,
  .checkout-row-3,
  .checkout-cards {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-row-3 .field:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .checkout-cards {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-dialog {
    padding: 1.35rem 1rem 1.2rem;
  }
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 70;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--cream);
  padding: 0.85rem 1.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), background 0.3s var(--ease);
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(42, 31, 28, 0.22);
  max-width: min(92vw, 26rem);
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.is-success {
  background: linear-gradient(135deg, #2a1f1c 0%, #5c3530 55%, #8b3a3a 100%);
}

/* Site intro — soft brand open / dissolve */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(92, 58, 48, 0.35), transparent 70%),
    linear-gradient(165deg, #1a1210 0%, #2a1f1c 45%, #3d2a24 100%);
  color: var(--cream);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  filter: blur(0);
  will-change: opacity, transform, filter;
}

body.is-intro,
body.intro-done {
  overflow: hidden;
}

body.is-intro .site-intro {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-intro .reveal-hero {
  animation: none;
  opacity: 0;
}

/* Keep hero photo fully covered during brand intro — avoid dull veiled image */
body.is-intro .hero-media {
  opacity: 0;
}

body.hero-ready .hero-media {
  opacity: 1;
  transition: opacity 0.28s ease;
}

.site-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.site-intro-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 12vw, 5.5rem);
  letter-spacing: 0.22em;
  line-height: 1;
  transform: translateY(18px);
  opacity: 0;
}

body.is-intro .site-intro-brand {
  animation: introBrandIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.site-intro-line {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 244, 0.75), transparent);
}

body.is-intro .site-intro-line {
  animation: introLineIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

/* Dissolve: brand lifts first, veil soft-blurs away */
body.intro-done .site-intro {
  animation: introVeilOut 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

body.intro-done .site-intro-inner {
  animation: introMarkOut 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-done .site-intro-brand {
  animation: introBrandOut 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-done .site-intro-line {
  animation: introLineOut 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-done .reveal-hero,
body.hero-ready .reveal-hero {
  animation: fadeUp 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.intro-done .reveal-hero.delay-1,
body.hero-ready .reveal-hero.delay-1 { animation-delay: 0.38s; }
body.intro-done .reveal-hero.delay-2,
body.hero-ready .reveal-hero.delay-2 { animation-delay: 0.56s; }

body.intro-skip .site-intro {
  display: none;
}

body.intro-skip.hero-ready .reveal-hero.delay-1 { animation-delay: 0.15s; }
body.intro-skip.hero-ready .reveal-hero.delay-2 { animation-delay: 0.3s; }

@keyframes introBrandIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introLineIn {
  to {
    width: min(7rem, 28vw);
  }
}

@keyframes introBrandOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@keyframes introLineOut {
  from {
    width: min(7rem, 28vw);
    opacity: 1;
  }
  to {
    width: 0;
    opacity: 0;
  }
}

@keyframes introMarkOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-18px) scale(0.96);
    filter: blur(6px);
  }
}

@keyframes introVeilOut {
  0% {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    filter: blur(10px);
  }
}

/* Animations */
.reveal-hero {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-hero.delay-1 { animation-delay: 0.15s; }
.reveal-hero.delay-2 { animation-delay: 0.3s; }
.reveal-hero.delay-3 { animation-delay: 0.45s; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

@keyframes heroZoomOutSoft {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

/* Phones/tablets: Ken Burns scale + scroll = visible “shake” on iOS.
   Keep crossfade only; vertical pan stays the primary gesture. */
@media (hover: none), (pointer: coarse) {
  .hero-img {
    will-change: opacity;
    transform: none;
  }

  .hero-img.is-active,
  .hero-img:nth-child(1).is-active,
  .hero-img:nth-child(3).is-active {
    animation: none !important;
    transform: none !important;
  }

  .hero-media {
    transform: none;
  }
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--marquee-shift, 50%) * -1), 0, 0); }
}

@-webkit-keyframes marquee-scroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to { -webkit-transform: translate3d(calc(var(--marquee-shift, 50%) * -1), 0, 0); transform: translate3d(calc(var(--marquee-shift, 50%) * -1), 0, 0); }
}

/* Полоса — мягкий loop; на iOS «Уменьшение движения» раньше полностью её останавливало */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    --marquee-duration: 64s;
  }
}

@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mega-inner {
    grid-template-columns: minmax(180px, 220px) 1fr;
  }
}

@media (max-width: 900px) {
  .header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 0.75rem;
    position: relative;
    z-index: 2;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 0.4rem;
    margin-inline-start: auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 42;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0.35rem 0.75rem 0.85rem;
    background: var(--nav-ink);
    border-bottom: 1px solid rgba(245, 239, 233, 0.12);
    box-shadow: 0 18px 40px rgba(28, 23, 21, 0.35);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .header.is-nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link {
    padding: 0.95rem 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    border-bottom: 1px solid rgba(245, 239, 233, 0.08);
  }

  .nav-link:last-child {
    border-bottom: 0;
  }

  .nav-link.is-current {
    box-shadow: inset 3px 0 0 #f3c6b3;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(28, 23, 21, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), visibility 0.28s;
  }

  .header.is-nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header.is-nav-open .nav-backdrop[hidden] {
    display: block;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  :root {
    --disclaimer-h: 3.1rem;
  }

  .ritual {
    grid-template-columns: 1fr;
  }

  .ritual-visual {
    aspect-ratio: 16 / 11;
  }

  .muses-grid {
    grid-template-columns: 1fr 1fr;
  }

  .muse,
  .muse:nth-child(1),
  .muse:nth-child(2),
  .muse:nth-child(3),
  .muse:nth-child(4) {
    grid-column: span 1;
  }

  .muse img,
  .muse:nth-child(2) img,
  .muse:nth-child(3) img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    max-height: min(78vh, 560px);
  }

  .mega-cats {
    display: flex;
    overflow-x: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .mega-cat {
    flex: 0 0 auto;
    border-bottom: 0;
    border-inline-end: 1px solid rgba(42, 31, 28, 0.08);
    white-space: nowrap;
  }

  .mega-cat svg {
    display: none;
  }
}

@media (max-width: 560px) {
  .muses-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-btn span:not(.cart-count):not(.visually-hidden) {
    display: none;
  }

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

  .product-title {
    font-size: 0.92rem;
  }

  .product-row {
    gap: 0.5rem;
  }

  .add-btn {
    width: 100%;
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
  }

  .filters {
    gap: 0.4rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter {
    flex: 0 0 auto;
  }

  .brand-mark {
    font-size: clamp(2.6rem, 14vw, 3.6rem);
    letter-spacing: 0.14em;
  }

  .comments-layout {
    gap: 1.25rem;
  }
}

/* Adaptive polish — phones, tablets, large screens */
@supports (padding: max(0px)) {
  .header-bar {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .disclaimer {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
}

.product-media img {
  content-visibility: auto;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
    gap: 1.25rem 1rem;
  }

  .intro-layout {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: min(100svh, 860px);
  }

  .hero-content {
    padding-bottom: clamp(4.5rem, 12vh, 6rem);
    max-width: 100%;
  }

  .hero-dots {
    bottom: clamp(1rem, 3vh, 1.5rem);
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .section-head h1,
  .section-head h2,
  .intro h2 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.85rem;
  }

  .product-title {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-name-ru {
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
  }

  .catalog {
    padding-left: 0;
    padding-right: 0;
  }

  .catalog .section-head,
  .product-stage,
  .product-reviews {
    padding-left: clamp(0.9rem, 4vw, 1.5rem);
    padding-right: clamp(0.9rem, 4vw, 1.5rem);
  }

  .intro,
  .ritual,
  .comments,
  .about {
    padding-left: clamp(0.9rem, 4vw, 1.5rem);
    padding-right: clamp(0.9rem, 4vw, 1.5rem);
  }

  .cart-drawer {
    width: min(100vw, 24rem);
  }

  .auth-dialog,
  .settings-dialog {
    width: min(calc(100vw - 1.5rem), 26rem);
  }

  .btn {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .add-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
  }

  .product-hero-actions .add-btn {
    min-width: 0;
    width: 100%;
    max-width: 16rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }

  .hero-cta .btn,
  .section-cta .btn,
  .about-copy .btn,
  .catalog-more .btn {
    padding: 0.55rem 1.05rem;
    font-size: 0.8rem;
  }

  .filter {
    padding: 0.42rem 0.75rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .logo {
    letter-spacing: 0.14em;
    font-size: 1.05rem;
    min-width: 0;
  }

  .header-actions {
    gap: 0.25rem;
  }

  .lang-btn,
  .cart-btn,
  .nav-toggle {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .auth-btn {
    max-width: 6.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  }

  .intro-layout {
    max-width: 64rem;
  }
}

html[dir="rtl"] .hero-content {
  margin-inline-start: 0;
  margin-inline-end: auto;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .site-intro,
  body.is-intro .site-intro,
  body.intro-done .site-intro {
    display: none !important;
    animation: none !important;
  }

  /* Контент остаётся видимым; лёгкие декоративные анимации не глушим целиком */
  .reveal-hero,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .product-media img,
  .muse img,
  .ritual-visual img,
  .intro-media img {
    transition: none !important;
  }

  .intro-media img {
    animation: none !important;
  }

  /* Герой: без zoom, но смена слайдов через opacity остаётся */
  .hero-img {
    animation: none !important;
    transform: none !important;
  }
}

/* ===== Mobile dock (comax-style bottom nav) ===== */
.dock {
  display: none;
}

@media (max-width: 900px) {
  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
    padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 250, 247, 0.96);
    border-top: 1px solid rgba(42, 31, 28, 0.1);
    box-shadow: 0 -10px 30px rgba(28, 23, 21, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .dock-item {
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(42, 31, 28, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    min-width: 0;
    padding: 0.2rem 0.15rem;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s var(--ease);
  }

  .dock-item:hover,
  .dock-item:focus-visible,
  .dock-item.is-current {
    color: var(--rose-deep);
  }

  .dock-item.is-current .dock-label {
    color: var(--rose-deep);
  }

  .dock-icon {
    display: inline-flex;
    width: 1.45rem;
    height: 1.45rem;
  }

  .dock-icon svg {
    width: 100%;
    height: 100%;
  }

  .dock-lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    border: 1px solid rgba(42, 31, 28, 0.16);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--ink);
    background: #fff;
  }

  .dock-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: rgba(42, 31, 28, 0.62);
  }

  .dock-item-cart {
    position: relative;
  }

  .dock-cart-count {
    position: absolute;
    top: 0.05rem;
    inset-inline-end: calc(50% - 1.35rem);
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: var(--rose);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.05rem;
    text-align: center;
  }

  .dock-cart-count:empty,
  .dock-cart-count[hidden] {
    display: none !important;
  }

  body {
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding-bottom: 1.5rem;
  }

  /* Top header: logo only — actions live in the dock */
  .header-bar {
    justify-content: center;
  }

  .header-bar .logo {
    margin-inline: 0;
  }

  .header-bar .nav,
  .header-bar .nav-toggle,
  .header-bar .cart-btn,
  .header-bar .auth-chip,
  .header-bar .lang-btn {
    display: none !important;
  }

  /* Keep lang-menu in DOM so the list can open from dock */
  .header-actions {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 84;
  }

  .header-actions .lang-menu {
    pointer-events: auto;
  }

  .header.is-nav-open .nav,
  .header.is-nav-open .nav-backdrop {
    display: none !important;
  }

  /* Language list opens above the dock */
  .lang-menu.is-open .lang-list,
  .lang-list:not([hidden]) {
    position: fixed;
    top: auto;
    bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px) + 0.65rem);
    left: 50%;
    right: auto;
    inset-inline-end: auto;
    transform: translateX(-50%);
    z-index: 85;
    max-height: min(60vh, 22rem);
    overflow: auto;
  }

  [dir="rtl"] .lang-menu.is-open .lang-list,
  [dir="rtl"] .lang-list:not([hidden]) {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .cart-drawer {
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
    z-index: 90;
  }

  .cart-backdrop {
    z-index: 88;
  }
}

