/* ==========================================================================
   Essence Pharm — styles.css
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-body: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Marcellus', 'Amiri', Georgia, serif;

  --bg: #FAF6F1;
  --bg-soft: #F3EAE1;
  --surface: #FFFCF8;
  --surface-2: #FBF3EB;
  --ink: #2D2220;
  --muted: #6F5B54;
  --line: rgba(45, 34, 32, .11);
  --line-strong: rgba(45, 34, 32, .22);
  --brand: #7C3F4F;
  --brand-deep: #5E2C3A;
  --brand-soft: #F0DEDA;
  --on-brand: #FFFFFF;
  --gold: #B98A4B;
  --gold-deep: #9A6E36;
  --gold-soft: #EFDFC5;
  --rose: #E7C9C1;
  --field-bg: #FFFDFA;

  --topbar-bg: #2D2220;
  --topbar-fg: #F8F0E7;
  --header-bg: rgba(250, 246, 241, .84);
  --band-bg: #2D2220;
  --band-fg: #F8F0E7;
  --footer-bg: #221719;
  --footer-fg: #F6EDE4;

  --shadow-xs: 0 2px 10px rgba(62, 40, 34, .05);
  --shadow-sm: 0 12px 30px -20px rgba(62, 40, 34, .35);
  --shadow: 0 26px 60px -32px rgba(73, 40, 35, .4);
  --shadow-lg: 0 40px 90px -45px rgba(60, 30, 25, .55);

  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[lang="ar"] {
  --font-display: 'Amiri', 'Marcellus', Georgia, serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151010;
  --bg-soft: #1C1413;
  --surface: #201816;
  --surface-2: #261C1A;
  --ink: #F5EAE1;
  --muted: #B7A49B;
  --line: rgba(245, 234, 225, .12);
  --line-strong: rgba(245, 234, 225, .24);
  --brand: #D9A3AE;
  --brand-deep: #C78E9B;
  --brand-soft: #342125;
  --on-brand: #201213;
  --gold: #D8B078;
  --gold-deep: #C39A5F;
  --gold-soft: #3B2C1D;
  --rose: #4A2E35;
  --field-bg: #251B19;

  --topbar-bg: #0D0909;
  --topbar-fg: #F4E9DF;
  --header-bg: rgba(21, 16, 16, .84);
  --band-bg: #F2E7DC;
  --band-fg: #201816;
  --footer-bg: #0E0A0A;
  --footer-fg: #F4E9DF;

  --shadow-xs: 0 2px 10px rgba(0, 0, 0, .25);
  --shadow-sm: 0 12px 30px -20px rgba(0, 0, 0, .7);
  --shadow: 0 26px 60px -32px rgba(0, 0, 0, .8);
  --shadow-lg: 0 40px 90px -45px rgba(0, 0, 0, .9);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html[lang="en"] body { line-height: 1.65; }

body:has(dialog[open]) { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.01em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { line-height: 1.35; letter-spacing: 0; }

h1 em, h2 em, h3 em { font-style: normal; color: var(--brand); }

::selection { background: var(--brand); color: var(--on-brand); }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

[hidden] { display: none !important; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section--soft { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head h2 { margin-top: 14px; font-size: clamp(2rem, 3.5vw, 3rem); }
.section-head__sub {
  max-width: 40ch;
  color: var(--muted);
  font-size: .95rem;
  padding-bottom: 7px;
}
.section-head--center {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.section-head--center .section-head__sub {
  max-width: 58ch;
  margin: 14px auto 0;
  padding-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 17%, transparent);
}
.eyebrow--light { color: #F3D9CE; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }

.btn--primary {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  box-shadow: 0 14px 30px -16px color-mix(in srgb, var(--brand) 65%, transparent);
}
.btn--primary:hover { --btn-bg: var(--brand-deep); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-strong);
}
.btn--ghost:hover { --btn-bg: var(--surface); --btn-border: var(--brand); color: var(--brand); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #251812;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45);
}
.btn--gold:hover { --btn-bg: #CEA163; }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #FBF4EC;
  --btn-border: rgba(255, 246, 236, .32);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-border: rgba(255, 246, 236, .6); }

.btn--wide { width: 100%; }

.text-btn {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--brand);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.text-btn:hover { text-decoration-color: var(--brand); }

[dir="rtl"] .arrow-icon { transform: scaleX(-1); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--topbar-bg);
  color: var(--topbar-fg);
  font-size: .76rem;
  line-height: 1.5;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 5px;
}
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar__secondary { color: color-mix(in srgb, var(--topbar-fg) 78%, transparent); }
.topbar__sep {
  width: 1px;
  height: 12px;
  background: color-mix(in srgb, var(--topbar-fg) 22%, transparent);
  margin-inline: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 14px 34px -30px rgba(45, 34, 32, .6);
}
.header__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.brand { justify-self: start; }
.header__actions { justify-self: end; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand__mark { width: 44px; height: 44px; color: var(--brand); flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.02rem;
  letter-spacing: .27em;
  color: var(--ink);
}
.brand__sub {
  margin-top: 6px;
  font-size: .5rem;
  letter-spacing: .33em;
  font-weight: 500;
  color: var(--muted);
}
.brand--light .brand__name { color: var(--footer-fg); }
.brand--light .brand__sub { color: rgba(246, 237, 228, .55); }
.brand--light .brand__mark { color: var(--footer-fg); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav a {
  position: relative;
  font-size: .84rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--ink) 82%, transparent);
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { transform: scaleX(1); transform-origin: inline-start; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface); border-color: var(--line); color: var(--brand); }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn--lang {
  width: 42px;
  border-color: var(--line);
  font-family: 'Marcellus', Georgia, serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.icon-btn--fav .count-badge {
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 0;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: .58rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  border: 2px solid var(--bg);
}
#themeToggle .icon-sun { display: none; }
#themeToggle .icon-moon { display: block; }
[data-theme="dark"] #themeToggle .icon-sun { display: block; }
[data-theme="dark"] #themeToggle .icon-moon { display: none; }

.header__cta { min-height: 42px; padding: 10px 22px; font-size: .82rem; margin-inline-start: 6px; }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 80px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 520px at 82% -5%, color-mix(in srgb, var(--rose) 42%, transparent), transparent 65%),
    radial-gradient(700px 420px at 5% 40%, color-mix(in srgb, var(--gold-soft) 35%, transparent), transparent 70%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
  pointer-events: none;
}
.hero__glow--one {
  width: 340px; height: 340px;
  background: var(--rose);
  inset-block-start: -120px;
  inset-inline-end: -80px;
}
.hero__glow--two {
  width: 260px; height: 260px;
  background: var(--gold-soft);
  inset-block-end: -120px;
  inset-inline-start: -100px;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero .eyebrow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--brand);
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}
.hero h1 {
  margin-block: 22px 18px;
  font-size: clamp(2.65rem, 5.2vw, 4.35rem);
  line-height: 1.2;
  text-wrap: balance;
}
html[lang="ar"] .hero h1 { line-height: 1.32; }
.hero h1 em {
  position: relative;
  padding-inline: 2px;
  white-space: nowrap;
  background-image: linear-gradient(90deg, transparent 0%, var(--brand-soft) 5%, var(--brand-soft) 95%, transparent 100%);
  background-repeat: no-repeat;
  background-size: 100% 30%;
  background-position: 0 86%;
}
.hero__sub {
  max-width: 50ch;
  color: var(--muted);
  font-size: clamp(.95rem, 1.15vw, 1.06rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__stats {
  display: flex;
  align-items: stretch;
  gap: clamp(20px, 3vw, 38px);
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 540px;
}
.stat { display: flex; flex-direction: column-reverse; gap: 4px; }
.stat + .stat {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: clamp(20px, 3vw, 38px);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  white-space: nowrap;
}
.stat__unit { font-size: .8rem; color: var(--muted); margin-inline-start: 2px; }
.stat__label { font-size: .73rem; color: var(--muted); line-height: 1.4; }

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}
.hero__orbit {
  position: absolute;
  inset-block-start: -6%;
  inset-inline-start: -7%;
  width: 112%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}
.hero__orbit::before,
.hero__orbit::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
  opacity: .6;
}
.hero__orbit::before { inset: 9%; }
.hero__orbit::after { inset: 20%; border-style: dashed; }

.hero__arch {
  position: relative;
  height: clamp(470px, 45vw, 552px);
  border-radius: 999px 999px 32px 32px;
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 250, 244, .6), transparent 42%),
    linear-gradient(158deg, #F4DED4 0%, #E7C0B4 45%, #CD9788 100%);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
[data-theme="dark"] .hero__arch {
  background:
    radial-gradient(circle at 68% 18%, rgba(255, 235, 225, .16), transparent 42%),
    linear-gradient(158deg, #4C2F35 0%, #694047 55%, #845860 100%);
}
.hero__arch::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, .5) .7px, transparent .8px);
  background-size: 17px 17px;
  opacity: .3;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  pointer-events: none;
}
.hero__arch-line {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 250, 245, .5);
  border-radius: inherit;
  pointer-events: none;
}
.hero__art {
  position: absolute;
  inset-block-end: 30px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 340px;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
[dir="rtl"] .hero__art { transform: translateX(50%); }
.hero__art .product-art {
  background: none;
  box-shadow: none;
  aspect-ratio: auto;
}
.hero__art .product-art::before,
.hero__art .product-art::after { display: none; }
.hero__art .product-art__svg {
  width: 100%;
  filter: drop-shadow(0 36px 26px rgba(74, 35, 27, .32));
}

.hero__seal {
  position: absolute;
  inset-block-start: 24px;
  inset-inline-end: 22px;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: rgba(255, 250, 244, .9);
  border: 1px solid rgba(185, 138, 75, .32);
  box-shadow: 0 16px 34px -22px rgba(60, 30, 25, .55);
  z-index: 5;
  padding: 9px;
}
.hero__seal svg { width: 100%; height: 100%; animation: spin 38s linear infinite; }
.hero__seal text {
  direction: ltr;
  fill: #5E2C3A;
  font-family: 'Marcellus', Georgia, serif;
  font-size: 7.6px;
  letter-spacing: 1.6px;
}
.hero__seal-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(185, 138, 75, .4);
  color: #9A6E36;
}
.hero__seal-center .icon { width: 15px; height: 15px; }

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 251, 246, .93);
  color: #2D2220;
  box-shadow: 0 20px 44px -26px rgba(60, 30, 25, .65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  line-height: 1.3;
}
.float-card--auth { inset-inline-start: -26px; inset-block-start: 22%; }
.float-card--rating { inset-inline-end: -20px; inset-block-end: 17%; flex-direction: column; align-items: flex-start; gap: 4px; }
.float-card__icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #F2E2DD;
  color: #7C3F4F;
  flex: 0 0 auto;
}
.float-card__icon .icon { width: 17px; height: 17px; }
.float-card__text { display: flex; flex-direction: column; }
.float-card__text strong { font-size: .76rem; font-weight: 700; }
.float-card__text small { font-size: .64rem; color: #7A6159; margin-top: 2px; }
.float-card__stars { display: flex; gap: 1px; color: #B98A4B; }
.float-card__stars .icon { width: 11px; height: 11px; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--band-bg);
  color: var(--band-fg);
  padding-block: 13px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__inner { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-inline-end: 38px;
  white-space: nowrap;
}
.marquee__group > span:not(.marquee__dot) {
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .04em;
}
.marquee__dot { color: var(--gold); font-size: .62rem; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-height: 172px;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-align: start;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.category-card::after {
  content: '';
  position: absolute;
  inset-block-end: -50%;
  inset-inline-end: -30%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--brand-soft);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.category-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.category-card:hover::after { opacity: .5; transform: scale(1.1); }
.category-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.category-card:hover .category-card__icon { background: var(--brand); color: var(--on-brand); }
.category-card__icon .icon { width: 22px; height: 22px; }
.category-card__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink);
  margin-top: auto;
}
.category-card__count {
  position: relative;
  z-index: 1;
  font-size: .68rem;
  color: var(--muted);
  margin-top: -10px;
}
.category-card__arrow {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 16px;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
[dir="rtl"] .category-card__arrow { transform: translateX(4px); }
.category-card__arrow .icon { width: 15px; height: 15px; }
.category-card:hover .category-card__arrow { opacity: 1; transform: translateX(0); }

/* ---------- Shop ---------- */
.shop-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}
.chip__count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
}
.chip.is-active .chip__count { background: rgba(255, 255, 255, .18); color: var(--on-brand); }
.chip--fav .icon { width: 15px; height: 15px; }
.chip--fav.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip--fav.is-active .icon { fill: currentColor; }

.shop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 250px;
  max-width: 360px;
  height: 44px;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--field-bg);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 12%, transparent);
}
.search-field .icon { width: 17px; height: 17px; color: var(--muted); }
.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: .82rem;
}
.search-field input::placeholder { color: var(--muted); opacity: .75; }

.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding-inline: 16px 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--field-bg);
  color: var(--ink);
  font-size: .78rem;
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.select-wrap select:hover, .select-wrap select:focus { border-color: var(--brand); }
.select-wrap__icon {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
}

.results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block: 24px 16px;
  min-height: 22px;
}
.results-count { color: var(--muted); font-size: .76rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  animation: card-in .55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
  box-shadow: var(--shadow);
}
.product-card__media {
  position: relative;
  cursor: pointer;
}
.product-card__media .product-art { transition: transform .5s var(--ease); }
.product-card:hover .product-art__svg { transform: translateY(-5px) scale(1.035); }

.product-badge {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 3;
  padding: 5px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.product-badge--new { background: var(--gold); color: #251812; }
.product-badge--limited { background: var(--ink); color: var(--bg); }
.product-badge--pick {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--brand);
}

.fav-toggle {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(255, 251, 247, .88);
  color: #6B3544;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.fav-toggle:hover { transform: scale(1.06); background: #FFF; }
.fav-toggle .icon { width: 17px; height: 17px; }
.fav-toggle.is-active { background: var(--brand); color: #FFF; border-color: transparent; }
.fav-toggle.is-active .icon { fill: currentColor; }

.quick-view {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-start: 50%;
  z-index: 3;
  transform: translate(-50%, 8px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: rgba(255, 251, 247, .92);
  color: #3A2624;
  font-size: .7rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
}
[dir="rtl"] .quick-view { transform: translate(50%, 8px); }
.quick-view .icon { width: 13px; height: 13px; }
.product-card:hover .quick-view,
.product-card:focus-within .quick-view {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
[dir="rtl"] .product-card:hover .quick-view,
[dir="rtl"] .product-card:focus-within .quick-view { transform: translate(50%, 0); }
.quick-view:hover { background: #FFF; }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 16px;
}
.product-brand {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-name {
  margin-block: 4px 5px;
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--ink);
}
.product-name button {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  transition: color .2s var(--ease);
}
.product-name button:hover { color: var(--brand); }
.product-suitable {
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.5;
  min-height: 2.1em;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  color: var(--muted);
}
.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.rating .icon { width: 12px; height: 12px; color: var(--gold); }
.rating span { color: var(--muted); font-size: .64rem; }
.product-size { color: var(--muted); }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; line-height: 1.2; }
.price__now { font-size: .92rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.price__old { font-size: .68rem; color: var(--muted); text-decoration: line-through; }
.btn-order {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn-order:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: translateY(-2px); }
.btn-order .icon { width: 17px; height: 17px; }

/* ---------- Product art ---------- */
.product-art {
  --tint: #EFE1D6;
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(163deg, #FFFDF9 0%, var(--tint) 100%);
  overflow: hidden;
  isolation: isolate;
}
.product-art::before {
  content: '';
  position: absolute;
  inset-block-start: 6%;
  inset-inline-end: -12%;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .32);
}
.product-art::after {
  content: '';
  position: absolute;
  inset-block-end: -20%;
  inset-inline-start: -15%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .38);
}
.product-art__svg {
  position: relative;
  z-index: 2;
  width: 76%;
  height: auto;
  margin-block-end: 7%;
  transition: transform .5s var(--ease);
}
.product-art--photo {
  align-items: stretch;
  background: var(--tint);
}
.product-art--photo::before, .product-art--photo::after { display: none; }
.product-art__img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-art__img { transform: translateY(-5px) scale(1.035); }
.product-art--bare { background: none; aspect-ratio: auto; overflow: visible; isolation: auto; }
.product-art--bare::before, .product-art--bare::after { display: none; }
.product-art--bare .product-art__img { height: auto; object-fit: contain; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: clamp(36px, 5vw, 64px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state__icon {
  width: 58px;
  height: 58px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.empty-state__icon .icon { width: 24px; height: 24px; }
.empty-state h3 { margin-block: 16px 6px; font-size: 1.4rem; }
.empty-state p { color: var(--muted); font-size: .86rem; max-width: 42ch; margin-inline: auto; }
.empty-state .btn { margin-top: 20px; }

/* ---------- No-JS catalog ---------- */
html:not(.js) .shop-toolbar,
html:not(.js) .results-row,
html:not(.js) .product-grid,
html:not(.js) #emptyState {
  display: none;
}
.noscript-catalog {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-xs);
}
.noscript-catalog__title {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.noscript-catalog__title span {
  font-family: var(--font-display);
  font-size: .55em;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--muted);
}
.noscript-catalog__note {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}
.noscript-catalog__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 42px;
  margin-block: 28px;
}
.noscript-catalog__group h4 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.02rem;
}
.noscript-catalog__group h4 span {
  font-family: var(--font-display);
  font-size: .72em;
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--muted);
}
.noscript-catalog__group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.noscript-catalog__group li {
  font-size: .9rem;
  line-height: 1.45;
}
.noscript-catalog__group li strong { font-weight: 500; }
.noscript-catalog__group li span {
  display: block;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .02em;
}
.noscript-catalog__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}
.noscript-catalog__contact a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.noscript-catalog__contact a:hover { border-bottom-color: currentColor; }

@media (max-width: 720px) {
  .noscript-catalog__groups { grid-template-columns: 1fr; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(36px, 6vw, 86px);
}
.about__copy h2 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin-block: 14px 20px; }
.about__copy > p {
  color: var(--muted);
  font-size: .93rem;
  max-width: 54ch;
  margin-bottom: 13px;
}
.about__quote {
  margin-block: 26px;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--gold);
}
.about__quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
}
.about__quote footer {
  margin-top: 10px;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .01em;
}
.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.credential-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.4;
}
.credential-list .icon { width: 13px; height: 13px; color: var(--brand); }

.about__visual { position: relative; }
.about__arch {
  position: relative;
  height: clamp(400px, 36vw, 480px);
  border-radius: 999px 999px 32px 32px;
  background:
    radial-gradient(circle at 70% 12%, rgba(255, 228, 210, .2), transparent 45%),
    linear-gradient(158deg, #5E2C3A 0%, #3A1E24 58%, #281419 100%);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 22px;
}
.about__ring {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 246, 236, .18);
  border-radius: inherit;
  pointer-events: none;
}
.about__botanical {
  position: absolute;
  inset-block-start: 7%;
  inset-inline-start: 4%;
  width: 42%;
  max-width: 170px;
  color: rgba(239, 216, 190, .4);
  pointer-events: none;
}
.about__art {
  position: absolute;
  z-index: 2;
  inset: 0 24px 22px;
}
.about-product {
  position: absolute;
  inset-block-end: 0;
  width: 42%;
  min-width: 0;
  transform-origin: bottom center;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .32));
}
.about-product .product-art { width: 100%; }
.about-product .product-art__svg { width: 100%; margin-block-end: 0; }
.about-product:nth-child(1) { inset-inline-start: 0; transform: translateY(8px) scale(.94); z-index: 1; }
.about-product:nth-child(2) { inset-inline-start: 26%; width: 48%; z-index: 2; transform: translateY(-4px); }
.about-product:nth-child(3) { inset-inline-end: 0; transform: translateY(12px) scale(.92); z-index: 1; }

.about__badge {
  position: absolute;
  inset-block-end: -18px;
  inset-inline-start: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 14px;
  background: rgba(255, 250, 244, .94);
  color: #2D2220;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7);
}
.about__badge-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #F0DEDA;
  color: #7C3F4F;
  font-family: 'Marcellus', Georgia, serif;
  font-size: .66rem;
  letter-spacing: .04em;
}
.about__badge-text { display: flex; flex-direction: column; line-height: 1.35; }
.about__badge-text strong { font-size: .7rem; }
.about__badge-text small { font-size: .6rem; color: #7A6159; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.value-card {
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 24%, transparent);
  box-shadow: var(--shadow-sm);
}
.value-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.value-card__icon .icon { width: 21px; height: 21px; }
.value-card h3 { font-size: 1.18rem; margin-block: 17px 7px; }
.value-card p { color: var(--muted); font-size: .82rem; line-height: 1.7; }

/* ---------- Tips ---------- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.tip-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tip-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
  box-shadow: var(--shadow-sm);
}
.tip-card__num {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 20px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--gold);
  opacity: .18;
  pointer-events: none;
}
.tip-card__tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .64rem;
  font-weight: 700;
}
.tip-card h3 { margin-block: 15px 9px; font-size: 1.28rem; max-width: 20ch; }
.tip-card p { color: var(--muted); font-size: .83rem; line-height: 1.8; }

/* ---------- Contact ---------- */
.contact { padding-block: clamp(48px, 6vw, 88px); }
.contact-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px);
  border-radius: 34px;
  background:
    radial-gradient(700px 400px at 88% 0%, rgba(216, 170, 150, .22), transparent 65%),
    linear-gradient(135deg, #5E2C3A 0%, #3B1F25 58%, #2A161B 100%);
  color: #FBF3EA;
  box-shadow: var(--shadow-lg);
}
.contact-card__monogram {
  position: absolute;
  inset-block-start: -82px;
  inset-inline-end: -10px;
  font-family: 'Marcellus', Georgia, serif;
  font-size: 23rem;
  line-height: 1;
  color: rgba(255, 246, 236, .035);
  pointer-events: none;
  user-select: none;
}
.contact-card__halo {
  position: absolute;
  inset-block-end: -40%;
  inset-inline-start: -10%;
  width: 55%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(239, 216, 190, .12);
  pointer-events: none;
}
.contact-card__copy { position: relative; z-index: 1; }
.contact-card h2 { color: #FBF3EA; font-size: clamp(2.1rem, 3.6vw, 3.1rem); margin-block: 14px 14px; }
.contact-card__copy > p:not(.eyebrow, .contact-card__note) {
  color: rgba(251, 243, 234, .7);
  font-size: .92rem;
  max-width: 48ch;
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-card__note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: rgba(251, 243, 234, .55);
  font-size: .68rem;
}
.contact-card__note .icon { width: 14px; height: 14px; }

.contact-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 246, 236, .12);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 246, 236, .16);
  border-radius: 50%;
  color: #DFBB94;
  flex: 0 0 auto;
}
.contact-list__icon .icon { width: 16px; height: 16px; }
.contact-list li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.contact-list small {
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(251, 243, 234, .46);
}
.contact-list strong, .contact-list a {
  font-size: .8rem;
  font-weight: 500;
  color: rgba(251, 243, 234, .92);
  line-height: 1.5;
}
[data-phone-text], [data-email-text], [data-instagram-text] {
  direction: ltr;
  unicode-bidi: isolate;
}
.contact-list a:hover { color: #DFBB94; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding-block: clamp(48px, 6vw, 72px) 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr .9fr 1.2fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 46px;
}
.footer__brand > p {
  margin-block: 18px;
  max-width: 34ch;
  color: rgba(246, 237, 228, .58);
  font-size: .82rem;
  line-height: 1.8;
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 237, 228, .16);
  border-radius: 50%;
  color: rgba(246, 237, 228, .75);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.footer__social a:hover { color: var(--footer-fg); border-color: rgba(246, 237, 228, .4); background: rgba(246, 237, 228, .06); }
.footer__social .icon { width: 16px; height: 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer__col h3 {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #E6CDBB;
  margin-bottom: 8px;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(246, 237, 228, .62);
  font-size: .8rem;
  line-height: 1.5;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: #DFBB94; }
.footer__col .icon { width: 15px; height: 15px; opacity: .7; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(246, 237, 228, .1);
  color: rgba(246, 237, 228, .4);
  font-size: .68rem;
}
.footer__credit { color: rgba(223, 187, 148, .65); }
.footer__payments { display: flex; align-items: center; gap: 6px; }
.footer__payments .icon { width: 14px; height: 14px; }

/* ---------- Dialogs & overlays ---------- */
dialog { color: var(--ink); }
.product-modal::backdrop,
.fav-drawer::backdrop,
.menu-dialog::backdrop {
  background: rgba(24, 14, 13, .56);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  z-index: 6;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(255, 251, 247, .9);
  color: #3A2624;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.dialog-close:hover { background: #FFF; transform: rotate(90deg); }
.dialog-close .icon { width: 18px; height: 18px; }

.product-modal {
  position: fixed;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: auto;
  overscroll-behavior: contain;
}
.product-modal[open] { animation: modal-in .35s var(--ease); }
.product-modal::backdrop { animation: fade-in .3s ease; }

.pmodal {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 560px;
}
.pmodal__media {
  position: relative;
  background: var(--surface-2);
  min-height: 100%;
}
.pmodal__media .product-art {
  width: 100%;
  height: 100%;
  min-height: 560px;
  aspect-ratio: auto;
}
.pmodal__media .product-art__svg { width: 74%; margin-block-end: 8%; }
.pmodal__media .product-badge {
  inset-block-start: 18px;
  inset-inline-start: 18px;
  font-size: .68rem;
  padding: 6px 12px;
}
.pmodal__stamp {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 251, 247, .88);
  color: #4F3430;
  font-size: .66rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pmodal__stamp .icon { width: 14px; height: 14px; color: #7C3F4F; }

.pmodal__info {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.6vw, 42px);
  padding-block-start: clamp(52px, 5vw, 58px);
}
.pmodal__title {
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  line-height: 1.3;
  margin-block: 5px 8px;
}
.pmodal__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: .76rem;
  color: var(--muted);
}
.pmodal__rating .icon { width: 14px; height: 14px; color: var(--gold); }
.pmodal__rating strong { color: var(--ink); font-weight: 700; }
.pmodal__desc { color: var(--muted); font-size: .87rem; margin-block: 14px 0; line-height: 1.8; }
.pmodal__price { display: flex; align-items: baseline; gap: 10px; margin-block: 18px 0; }
.pmodal__price .price__now { font-size: 1.45rem; }
.pmodal__price .price__old { font-size: .8rem; }
.pmodal__price .price__off {
  font-size: .62rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 8px;
}
.pmodal__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-block: 20px 4px; }
.pmodal__actions .btn--primary { flex: 1 1 190px; }
.pmodal__actions .btn--ghost { flex: 0 1 auto; font-size: .8rem; padding-inline: 18px; }
.pmodal__actions .btn--ghost.is-active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.pmodal__actions .btn--ghost.is-active .icon { fill: currentColor; }

.pmodal__details { margin-top: 18px; border-top: 1px solid var(--line); }
.pmodal__details details { border-bottom: 1px solid var(--line); }
.pmodal__details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 13px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.pmodal__details summary::-webkit-details-marker { display: none; }
.pmodal__details summary .icon { width: 15px; height: 15px; color: var(--muted); transition: transform .2s var(--ease); }
.pmodal__details details[open] summary .icon { transform: rotate(180deg); }
.pmodal__details details p {
  padding-block: 0 14px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.8;
}
.pmodal__shipping {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.65;
}
.pmodal__shipping .icon { width: 16px; height: 16px; color: var(--brand); margin-top: 2px; }

/* Favourites drawer */
.fav-drawer {
  position: fixed;
  inset-block: 0;
  margin-block: 0;
  margin-inline-start: auto;
  margin-inline-end: 0;
  width: min(430px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  border: 0;
  border-start-start-radius: 24px;
  border-end-start-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.fav-drawer[open] { animation: drawer-in .35s var(--ease); }
.fav-drawer::backdrop { animation: fade-in .3s ease; }
.drawer__inner { display: flex; flex-direction: column; height: 100dvh; }
.drawer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 1.55rem; line-height: 1.2; }
.drawer__head p { margin-top: 4px; font-size: .72rem; color: var(--muted); }
.drawer__body { flex: 1; overflow: auto; padding: 4px 22px; overscroll-behavior: contain; }
.fav-item {
  display: flex;
  gap: 12px;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}
.fav-item:last-child { border-bottom: 0; }
.fav-art {
  width: 74px;
  height: 82px;
  flex: 0 0 auto;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.fav-art .product-art {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.fav-art .product-art__svg { width: 78%; margin-block-end: 4%; }
.fav-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.fav-info .product-brand { font-size: .55rem; }
.fav-item__name {
  border: 0;
  padding: 0;
  margin-block: 3px 2px;
  background: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: .9rem;
  line-height: 1.4;
  text-align: start;
  transition: color .2s var(--ease);
}
.fav-item__name:hover { color: var(--brand); }
.fav-info__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 5px; }
.fav-info__meta span { font-size: .7rem; color: var(--muted); }
.fav-info__meta strong { font-size: .78rem; font-weight: 700; }
.fav-remove {
  align-self: flex-start;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.fav-remove:hover { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
.fav-remove .icon { width: 13px; height: 13px; }

.drawer-empty { text-align: center; padding: 54px 12px; }
.drawer-empty__icon {
  width: 62px;
  height: 62px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.drawer-empty__icon .icon { width: 25px; height: 25px; }
.drawer-empty h3 { font-size: 1.35rem; margin-block: 16px 6px; }
.drawer-empty p { color: var(--muted); font-size: .82rem; max-width: 30ch; margin-inline: auto; }
.drawer-empty .btn { margin-top: 18px; min-height: 42px; font-size: .8rem; }

.drawer__foot {
  padding: 16px 22px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.drawer__foot[hidden] { display: none; }
.drawer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.drawer__total span { font-size: .75rem; color: var(--muted); }
.drawer__total strong { font-size: 1rem; }
.drawer__foot .btn { min-height: 46px; font-size: .8rem; }
.drawer__note { margin-top: 10px; color: var(--muted); font-size: .64rem; line-height: 1.6; text-align: center; }

/* Mobile menu */
.menu-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  overflow: hidden;
}
.menu-dialog::backdrop { background: rgba(24, 14, 13, .35); }
.menu-dialog[open] .menu-panel { animation: menu-in .35s var(--ease); }
.menu-panel {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 18px clamp(20px, 5vw, 40px) 24px;
}
.menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.menu-nav { display: flex; flex-direction: column; flex: 1; overflow: auto; padding-block: 10px; }
.menu-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: clamp(12px, 2vh, 18px);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  color: var(--ink);
  transition: color .2s var(--ease);
}
.menu-nav a:hover { color: var(--brand); }
.menu-nav a > span:first-child {
  width: 24px;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold);
}
.menu-nav .arrow-icon { margin-inline-start: auto; width: 18px; color: var(--muted); }
.menu-panel__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}
.menu-panel__foot .btn { width: 100%; }
.menu-panel__phone { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* Toast */
.toast {
  position: fixed;
  inset: auto auto 24px 50%;
  margin: 0;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow);
  font-size: .78rem;
  font-weight: 500;
  display: none;
  align-items: center;
  gap: 7px;
  translate: -50% 0;
  z-index: 200;
}
.toast .icon { width: 15px; height: 15px; color: var(--gold); }
.toast:popover-open,
.toast.is-visible { display: flex; }
.toast:popover-open { animation: toast-in .25s var(--ease); }

/* Back to top */
.back-top {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), visibility .25s var(--ease), transform .25s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { color: var(--brand); background: var(--surface); }
.back-top .icon { width: 18px; height: 18px; }

/* ---------- Reveal / motion ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes card-in {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes drawer-in {
  from { opacity: .4; translate: 100% 0; }
  to { opacity: 1; translate: 0 0; }
}
[dir="rtl"] .fav-drawer[open] { animation-name: drawer-in-rtl; }
@keyframes drawer-in-rtl {
  from { opacity: .4; translate: -100% 0; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-in {
  from { opacity: 0; translate: -50% 10px; }
  to { opacity: 1; translate: -50% 0; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Theme tweaks ---------- */
[data-theme="dark"] .product-art {
  background: linear-gradient(163deg, #2A201D 0%, color-mix(in srgb, var(--tint) 42%, #1A1312) 100%);
}
[data-theme="dark"] .product-art::before { background: rgba(255, 255, 255, .07); }
[data-theme="dark"] .product-art::after { border-color: rgba(255, 255, 255, .1); }
[data-theme="dark"] .product-art__svg { filter: saturate(.92) brightness(.94); }
[data-theme="dark"] .product-art__img { filter: saturate(.94) brightness(.9); }
[data-theme="dark"] .hero__art .product-art { background: none; }
[data-theme="dark"] .hero h1 em {
  background-image: linear-gradient(90deg, transparent 0%, rgba(231, 175, 180, .2) 5%, rgba(231, 175, 180, .2) 95%, transparent 100%);
}
[data-theme="dark"] .fav-toggle { background: rgba(30, 22, 20, .82); color: #EBC7C4; border-color: rgba(255, 255, 255, .18); }
[data-theme="dark"] .fav-toggle.is-active { background: var(--brand); color: #201213; }
[data-theme="dark"] .quick-view { background: rgba(32, 24, 22, .9); color: #F3E7DD; border-color: rgba(255, 255, 255, .18); }
[data-theme="dark"] .dialog-close { background: rgba(32, 24, 22, .9); color: #F3E7DD; border-color: rgba(255, 255, 255, .18); }
[data-theme="dark"] .pmodal__stamp { background: rgba(32, 24, 22, .88); color: #F3E7DD; border-color: rgba(255, 255, 255, .15); }
[data-theme="dark"] .pmodal__stamp .icon { color: var(--gold); }
[data-theme="dark"] .about__badge { background: rgba(31, 23, 21, .94); color: var(--ink); }
[data-theme="dark"] .about__badge-mark { background: #342125; color: var(--brand); }
[data-theme="dark"] .about__badge-text small { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card { min-height: 156px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand > p { max-width: 52ch; }
}

@media (max-width: 1080px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: 620px; }
  .hero__visual { max-width: 420px; }
  .hero__stats { max-width: 520px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__copy { max-width: 640px; }
  .about__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tips-grid { grid-template-columns: 1fr; }
  .tip-card h3 { max-width: none; }
  .contact-card { grid-template-columns: 1fr; align-items: start; }
  .contact-list { max-width: 480px; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head__sub { max-width: 56ch; padding-bottom: 0; }
  .section-head--center { align-items: center; }
  .pmodal { grid-template-columns: 1fr; min-height: 0; }
  .pmodal__media { min-height: 0; }
  .pmodal__media .product-art { min-height: 0; aspect-ratio: 4 / 3.4; }
  .pmodal__media .product-art__svg { width: 54%; margin-block-end: 2%; }
  .pmodal__media:has(.product-art--photo) .pmodal__stamp {
    inset-inline-start: auto;
    inset-inline-end: auto;
    left: 12px;
    right: auto;
  }
  .pmodal__info { padding: 26px clamp(20px, 5vw, 32px) 30px; }
  .product-modal { width: min(680px, calc(100vw - 24px)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  html { scroll-padding-top: 84px; }
  .topbar .topbar__secondary { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { min-height: 68px; gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: .92rem; }
  .header__cta { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .product-name { font-size: .98rem; }
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -18px;
    padding-inline: 18px;
    padding-block-end: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .search-field { max-width: none; flex-basis: 100%; }
  .shop-tools { gap: 8px; }
  .select-wrap { flex: 1 1 auto; }
  .select-wrap select { width: 100%; }
  .contact-card__monogram { font-size: 16rem; }
  .back-top { inset-block-end: 16px; inset-inline-end: 16px; }
  .toast { inset-block-end: 16px; }
}

@media (max-width: 640px) {
  .categories .section-head,
  .shop .section-head { margin-bottom: 26px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { min-height: 142px; padding: 16px 14px; }
  .category-card__icon { width: 40px; height: 40px; border-radius: 12px; }
  .category-card__icon .icon { width: 19px; height: 19px; }
  .category-card__name { font-size: .92rem; }
  .quick-view { display: none; }
  .hero__arch { height: 430px; max-width: 340px; margin-inline: auto; }
  .hero__orbit { display: none; }
  .hero__seal { width: 84px; height: 84px; inset-block-start: 18px; inset-inline-end: 14px; padding: 7px; }
  .hero__seal text { font-size: 8px; letter-spacing: 1.1px; }
  .float-card { padding: 9px 11px; border-radius: 12px; }
  .float-card--auth { inset-inline-start: -8px; inset-block-start: 17%; }
  .float-card--rating { inset-inline-end: -6px; inset-block-end: 13%; }
  .float-card__text strong { font-size: .7rem; }
  .float-card__text small { font-size: .58rem; }
  .float-card__icon { width: 28px; height: 28px; }
  .hero__stats { gap: 14px; }
  .stat + .stat { padding-inline-start: 14px; }
  .stat__num { font-size: 1.5rem; }
  .stat__label { font-size: .65rem; }
  .about__arch { height: 360px; }
  .about__art { inset: 0 12px 16px; }
  .about-product { width: 46%; }
  .about-product:nth-child(2) { inset-inline-start: 23%; width: 54%; }
  .about__botanical { width: 38%; }
  .values-grid { gap: 10px; }
  .value-card { padding: 20px 18px; }
  .value-card h3 { font-size: 1.05rem; }
  .contact-card { border-radius: 26px; }
  .contact-card__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .product-modal { max-height: calc(100dvh - 16px); border-radius: 22px; }
  .fav-drawer { border-start-start-radius: 20px; border-end-start-radius: 20px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 30px); }
  .topbar { font-size: .68rem; }
  .topbar .icon { width: 13px; height: 13px; }
  .header__actions { gap: 0; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn--lang { width: 38px; }
  .icon-btn--fav .count-badge { inset-inline-end: -2px; }
  .brand { gap: 7px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: .82rem; letter-spacing: .22em; }
  .brand__sub { font-size: .44rem; letter-spacing: .27em; margin-top: 5px; }
  .hero h1 { font-size: 2.35rem; }
  .hero__sub { font-size: .9rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: none;
  }
  .stat { min-width: 0; }
  .stat + .stat { border-inline-start: 1px solid var(--line); padding-inline-start: 10px; }
  .stat__num { font-size: 1.3rem; }
  .stat__label { font-size: .58rem; }
  .hero__arch { height: 390px; max-width: 300px; border-radius: 999px 999px 24px 24px; }
  .hero__art { width: 62%; inset-block-end: 18px; }
  .hero__seal { width: 74px; height: 74px; }
  .float-card--auth { inset-block-start: 14%; }
  .float-card--rating { inset-block-end: 10%; }
  .section-head h2 { font-size: 1.85rem; }
  .product-grid { gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-card__body { padding: 12px 12px 13px; }
  .product-brand { font-size: .52rem; }
  .product-name { font-size: .9rem; }
  .product-suitable { font-size: .64rem; min-height: 2.2em; }
  .product-meta { margin-top: 8px; padding-top: 7px; font-size: .62rem; }
  .product-size { font-size: .6rem; }
  .product-card__foot { margin-top: 10px; }
  .price__now { font-size: .82rem; }
  .price__old { font-size: .62rem; }
  .btn-order { width: 34px; height: 34px; }
  .btn-order .icon { width: 15px; height: 15px; }
  .fav-toggle { width: 32px; height: 32px; inset-block-start: 8px; inset-inline-end: 8px; }
  .fav-toggle .icon { width: 15px; height: 15px; }
  .product-badge { font-size: .54rem; padding: 4px 8px; inset-block-start: 8px; inset-inline-start: 8px; }
  .about__arch { height: 330px; border-radius: 999px 999px 24px 24px; }
  .about__badge { inset-block-end: -14px; inset-inline-start: 12px; }
  .drawer__head { padding: 18px 16px 14px; }
  .drawer__body { padding-inline: 16px; }
  .drawer__foot { padding: 14px 16px 16px; }
  .fav-drawer { border-radius: 0; }
  .product-modal { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .pmodal__title { font-size: 1.6rem; }
  .pmodal__actions .btn--primary { flex-basis: 100%; }
  .pmodal__actions .btn--ghost { flex: 1; }
  .dialog-close { top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__social { margin-top: 4px; }
  .contact-list { gap: 12px; }
}

@media (hover: none) {
  .category-card:hover, .product-card:hover, .value-card:hover, .tip-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__inner { animation: none; }
  .hero__seal svg { animation: none; }
}

/* ---------- No-JS fallbacks ---------- */
html:not(.js) .site-header { position: static; }
html:not(.js) .icon-btn--lang,
html:not(.js) #themeToggle,
html:not(.js) #favoritesBtn,
html:not(.js) .menu-btn,
html:not(.js) .back-top {
  display: none;
}
html:not(.js) .category-grid > noscript { display: contents; }

.hero__noscript-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 999px 999px 32px 32px;
}

@media (max-width: 1080px) {
  html:not(.js) .header__inner { grid-template-columns: 1fr auto; }
  html:not(.js) .nav {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding-block: 6px 2px;
  }
}

@media (max-width: 760px) {
  html:not(.js) .header__inner { grid-template-columns: 1fr; justify-items: center; }
  html:not(.js) .brand { justify-self: center; }
  html:not(.js) .header__actions { display: none; }
}
