/* ---- Self-hosted compact typeface (no external requests) ----
   Inter Tight: narrower than the system sans, so more price data fits a line.
   Noto Sans Armenian covers the Armenian script Inter Tight does not.        */
@font-face {
  font-family: 'Inter Tight'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2122, U+2190-21BB, U+25A0-25FF, U+2600-26FF;
}
@font-face {
  font-family: 'Inter Tight'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/inter-tight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Noto Sans Armenian'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(/assets/fonts/noto-armenian-armenian.woff2) format('woff2');
  unicode-range: U+0308, U+0530-058F, U+2010, U+25CC, U+FB13-FB17;
}

:root {
  --bg: #0a0706;
  --bg-2: #130e0b;
  --panel: rgba(26, 19, 15, 0.86);
  --panel-strong: #16100d;
  --line: rgba(238, 224, 203, 0.14);
  --line-strong: rgba(200, 150, 62, 0.52);
  --gold: #d8a94a;
  --gold-2: #e0ab4e;
  --gold-3: #d9a647;
  --text: #f5ece0;
  --muted: rgba(245, 236, 224, 0.74);
  --muted-2: rgba(245, 236, 224, 0.66);
  --black: #0a0706;
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --gold-gradient: linear-gradient(135deg, #8a551a 0%, #ffefbd 16%, #c98d31 36%, #fff2c6 52%, #a8631d 72%, #f5bd65 100%);
  --blue-gradient: linear-gradient(135deg, #f3e7d2 0%, #e7d6b8 45%, #dcc8a4 100%);
  --blue-line: rgba(200, 150, 62, 0.5);
  --beige-ink: #2a1d10;
  --ink-gradient: linear-gradient(135deg, #f3e7d2 0%, #e7d6b8 45%, #dcc8a4 100%);
  --wa-gradient: linear-gradient(135deg, #25d366 0%, #1ebe5b 55%, #128c7e 100%);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* compact type scale: every rem-based size shrinks with it */
  font-size: 15px;
}
@media (max-width: 760px) { html { font-size: 14.5px; } }
@media (max-width: 430px) { html { font-size: 14px; } }

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter Tight', 'Noto Sans Armenian', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.005em;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(166, 124, 45, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(166, 124, 45, 0.1), transparent 26rem),
    radial-gradient(circle at 50% 100%, rgba(166, 124, 45, 0.16), transparent 34rem),
    var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(116deg, transparent 0 11%, rgba(166, 124, 45, 0.06) 11.4%, transparent 12.2% 45%, rgba(166, 124, 45, 0.07) 45.4%, transparent 46.2% 100%),
    linear-gradient(38deg, transparent 0 22%, rgba(166, 124, 45, 0.045) 22.3%, transparent 23.2% 58%, rgba(166, 124, 45, 0.055) 58.3%, transparent 59.2% 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.039), transparent 17rem);
  opacity: .88;
}

body::after {
  z-index: -1;
  opacity: .16;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.088) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(166, 124, 45, 0.35);
  color: #f5ece0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 9999;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  background: #070504;
  border: 1px solid var(--line-strong);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.page-glow {
  position: fixed;
  inset: auto auto -180px -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 178, 79, .16), transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 157, .12), transparent 62%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .25s ease;
}

body.has-cursor .cursor-glow {
  opacity: 1;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 16, 13, 0.66);
  box-shadow: 0 18px 70px rgba(23, 19, 16, 0.147);
  backdrop-filter: blur(22px);
  transition: top .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

body.is-scrolled .site-header {
  top: 8px;
  background: rgba(22, 16, 13, 0.88);
  border-color: rgba(166, 124, 45, 0.34);
  box-shadow: 0 16px 60px rgba(23, 19, 16, 0.218);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 224, 160, .25), 0 0 28px rgba(219, 156, 60, .22);
}

.brand__text {
  display: grid;
  line-height: 1.05;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand__text small {
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--gold-2);
  letter-spacing: .24em;
  font-size: .68rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.039);
  border: 1px solid rgba(238, 224, 203, 0.06325);
}

.main-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  transition: color .2s ease, background .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 220, 145, .08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link {
  color: var(--muted);
  font-size: .9rem;
  padding: 10px 8px;
  transition: color .2s ease;
}

.icon-link:hover {
  color: var(--gold-2);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.044);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-2);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.32);
  overflow: hidden;
  font-weight: 750;
  letter-spacing: .01em;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(105deg, transparent 0 36%, rgba(255, 255, 255, 0.14) 46%, transparent 57% 100%);
  transform: translateX(-120%);
  transition: transform .75s ease;
}

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

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn--small {
  min-height: 44px;
  padding-inline: 17px;
  font-size: .92rem;
}

.btn--gold {
  color: var(--beige-ink);
  background: var(--blue-gradient);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(166, 124, 45, .22), inset 0 1px 0 rgba(255, 255, 255, 0.275);
}

.btn--glass {
  color: var(--text);
  background: rgba(255, 255, 255, 0.061);
  box-shadow: inset 0 1px 0 rgba(23, 19, 16, 0.088);
}

.btn--glass:hover,
.btn--glass:focus-visible {
  border-color: rgba(166, 124, 45, 0.56);
  box-shadow: 0 12px 38px rgba(23, 19, 16, 0.118), inset 0 1px 0 rgba(23, 19, 16, 0.121);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 142px 0 84px;
  overflow: hidden;
}

.hero__marble {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 46%, rgba(216, 155, 60, .16), transparent 28rem),
    linear-gradient(121deg, transparent 0 32%, rgba(255, 231, 178, .06) 32.25%, transparent 33.2% 100%),
    linear-gradient(26deg, transparent 0 54%, rgba(169, 96, 30, .08) 54.25%, transparent 55.2% 100%);
  opacity: .8;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .76rem;
  font-weight: 800;
}

.hero h1,
.section-head h2,
.atelier-card h2,
.about-content h2,
.faq-intro h2,
.contact-info h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 4.1vw, 4.2rem);
  background: linear-gradient(110deg, #d8ab52 0%, #fff0c4 30%, #e0b45e 58%, #c0903a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 20px 70px rgba(226, 163, 69, .12);
}

.hero__lead {
  width: min(650px, 100%);
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  width: min(720px, 100%);
}

.hero__facts div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.039);
  box-shadow: inset 0 1px 0 rgba(23, 19, 16, 0.044);
}

.hero__facts strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-2);
  font-size: 1.15rem;
}

.hero__facts span {
  display: block;
  margin-top: 7px;
  color: var(--muted-2);
  font-size: .9rem;
  line-height: 1.45;
}

.hero__visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 42px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background:
    radial-gradient(circle at 50% 36%, rgba(166, 124, 45, 0.18), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.017));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.088);
  overflow: hidden;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero__visual::before {
  width: 84%;
  height: 84%;
  border: 1px solid rgba(255, 226, 167, .16);
  box-shadow: inset 0 0 80px rgba(255, 199, 98, .07);
}

.hero__visual::after {
  inset: auto -30% -32% -30%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(22, 16, 13, 0.302), transparent 60%);
}

.hero__logo {
  position: absolute;
  top: 36px;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  filter: drop-shadow(0 18px 34px rgba(23, 19, 16, 0.176)) drop-shadow(0 0 24px rgba(219, 154, 54, .18));
  opacity: .98;
}

.hero__jewel {
  position: relative;
  width: min(92%, 560px);
  margin-top: 58px;
  filter: drop-shadow(0 26px 46px rgba(23, 19, 16, 0.244));
  animation: float 5.8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  max-width: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 221, 156, .22);
  filter: drop-shadow(0 0 18px rgba(222, 159, 59, .2));
}

.orbit--one {
  width: min(480px, 86vw);
  height: min(480px, 86vw);
  animation: rotate 28s linear infinite;
}

.orbit--two {
  width: min(360px, 66vw);
  height: min(360px, 66vw);
  border-style: dashed;
  opacity: .62;
  animation: rotate 22s linear infinite reverse;
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: min(250px, calc(100% - 34px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 221, 156, .28);
  border-radius: 20px;
  background: rgba(22, 16, 13, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 48px rgba(23, 19, 16, 0.143), inset 0 1px 0 rgba(23, 19, 16, 0.066);
}

.floating-card span {
  display: block;
  color: var(--muted-2);
  font-size: .82rem;
}

.floating-card strong {
  display: block;
  margin-top: 5px;
  color: var(--gold-2);
  line-height: 1.35;
}

.floating-card--top {
  left: 24px;
  top: 236px;
}

.floating-card--bottom {
  right: 24px;
  bottom: 44px;
}

.sparkles span {
  position: absolute;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffe8af;
  box-shadow: 0 0 20px 6px rgba(255, 210, 130, .42);
  opacity: .65;
  animation: sparkle 3.7s ease-in-out infinite;
}

.sparkles span:nth-child(1) { left: 12%; top: 22%; animation-delay: .2s; }
.sparkles span:nth-child(2) { left: 71%; top: 18%; animation-delay: 1.1s; }
.sparkles span:nth-child(3) { left: 86%; top: 46%; animation-delay: .7s; }
.sparkles span:nth-child(4) { left: 24%; top: 72%; animation-delay: 1.8s; }
.sparkles span:nth-child(5) { left: 57%; top: 78%; animation-delay: .4s; }
.sparkles span:nth-child(6) { left: 42%; top: 16%; animation-delay: 2.2s; }

.signature-strip {
  position: relative;
  z-index: 3;
  margin-top: -48px;
  padding-bottom: 38px;
}

.signature-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.signature-strip article,
.trust-card {
  border: 1px solid var(--line);
  background: rgba(22, 16, 13, 0.72);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: 0 18px 54px rgba(23, 19, 16, 0.109), inset 0 1px 0 rgba(23, 19, 16, 0.055);
  backdrop-filter: blur(18px);
}

.strip-icon,
.trust-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #f5ece0;
  background: var(--gold-gradient);
  box-shadow: 0 0 24px rgba(220, 159, 64, .22);
  font-weight: 900;
}

.signature-strip h2,
.trust-card h3 {
  margin: 18px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
}

.signature-strip p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, .55fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 40px;
}

.section-head--center {
  max-width: 810px;
  margin-inline: auto;
  text-align: center;
  grid-template-columns: 1fr;
  gap: 0;
}

.section-head h2,
.atelier-card h2,
.about-content h2,
.faq-intro h2,
.contact-info h2 {
  font-size: clamp(1.85rem, 3.3vw, 3.3rem);
  background: linear-gradient(110deg, #d8ab52 0%, #fff0c4 30%, #e0b45e 58%, #c0903a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head p:last-child,
.atelier-card__content > p,
.about-content > p,
.faq-intro p,
.contact-info > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.04rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 386px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.066), rgba(255, 255, 255, 0.022)),
    rgba(22, 16, 13, 0.82);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(23, 19, 16, 0.118), inset 0 1px 0 rgba(23, 19, 16, 0.055);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 32%, rgba(166, 124, 45, 0.18), transparent 22rem);
  opacity: .8;
  transition: opacity .35s ease;
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(22, 16, 13, 0.82) 70%);
}

.collection-card:hover,
.collection-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(166, 124, 45, 0.54);
  box-shadow: 0 26px 80px rgba(23, 19, 16, 0.16), 0 0 0 1px rgba(166, 124, 45, 0.12) inset;
}

.collection-card img {
  position: absolute;
  inset: 16px 16px auto;
  width: calc(100% - 32px);
  height: 245px;
  object-fit: cover;
  border-radius: 28px;
  opacity: .92;
  transform: scale(1.02);
  transition: transform .45s ease, opacity .35s ease;
}

.collection-card:hover img,
.collection-card:focus-visible img {
  transform: scale(1.07);
  opacity: 1;
}

.collection-card__number,
.collection-card h3,
.collection-card p {
  position: relative;
  z-index: 2;
}

.collection-card__number {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  border-radius: 999px;
  color: var(--gold-2);
  font-size: .78rem;
  letter-spacing: .18em;
}

.collection-card h3 {
  margin: 14px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.collection-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.products-section {
  padding-top: 72px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
}

.filter-chip {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.22);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.039);
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.filter-chip.is-active {
  color: var(--beige-ink);
  background: var(--blue-gradient);
  border-color: transparent;
  transform: translateY(-1px);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(22, 16, 13, 0.82);
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(23, 19, 16, 0.105), inset 0 1px 0 rgba(23, 19, 16, 0.055);
  transition: transform .3s ease, opacity .3s ease, border-color .3s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(166, 124, 45, 0.48);
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 1.22 / .92;
  overflow: hidden;
  border-bottom: 1px solid rgba(166, 124, 45, 0.14);
  background: #070504;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.14) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  transition: transform .8s ease;
}

.product-card:hover .product-card__media::after {
  transform: translateX(120%);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-card__tag {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.18);
  color: var(--gold-2);
  background: rgba(166, 124, 45, 0.045);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 18px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.68rem;
}

.product-card p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
}

.product-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(238, 224, 203, 0.0759);
}

.product-card__bottom span {
  color: var(--gold-2);
  font-weight: 800;
}

.order-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--beige-ink);
  background: var(--blue-gradient);
  font-weight: 800;
  font-size: .9rem;
}

.atelier-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: 46px;
  align-items: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 44px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 215, 139, .16), transparent 23rem),
    radial-gradient(circle at 83% 50%, rgba(194, 115, 33, .14), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.088), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.077);
  overflow: hidden;
}

.atelier-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(166, 124, 45, 0.12);
  border-radius: 34px;
  pointer-events: none;
}

.atelier-card__content,
.process-list {
  position: relative;
  z-index: 2;
}

.atelier-card__content > p {
  margin: 22px 0 30px;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(166, 124, 45, 0.18);
  background: rgba(255, 255, 255, 0.092);
}

.process-item > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #f5ece0;
  background: var(--gold-gradient);
  font-weight: 900;
}

.process-item h3 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.process-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual__frame {
  display: grid;
  place-items: center;
  min-height: 560px;
  border-radius: 44px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 215, 139, .18), transparent 18rem),
    rgba(22, 16, 13, 0.82);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.066);
  overflow: hidden;
}

.about-visual__frame img {
  width: min(82%, 430px);
  border-radius: 50%;
  filter: drop-shadow(0 22px 50px rgba(23, 19, 16, 0.244));
}

.about-note {
  position: absolute;
  right: -18px;
  bottom: 34px;
  width: min(330px, calc(100% - 28px));
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(166, 124, 45, 0.25);
  background: rgba(22, 16, 13, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 46px rgba(23, 19, 16, 0.147);
}

.about-note strong,
.about-note span {
  display: block;
}

.about-note strong {
  color: var(--gold-2);
  margin-bottom: 5px;
}

.about-note span {
  color: var(--muted);
  line-height: 1.5;
}

.about-content > p {
  margin: 22px 0 30px;
}

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

.values-grid div {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(166, 124, 45, 0.18);
  background: rgba(255, 255, 255, 0.039);
}

.values-grid span {
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: .15em;
  font-size: .78rem;
}

.values-grid h3 {
  margin: 12px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.values-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(270px, .55fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(22, 16, 13, 0.74);
  overflow: hidden;
}

summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 58px 22px 22px;
  color: var(--text);
  font-weight: 800;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--beige-ink);
  background: var(--blue-gradient);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .62fr);
  gap: 34px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 44px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 215, 139, .14), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.077), rgba(255, 255, 255, 0.022));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.077);
}

.contact-info > p {
  margin: 22px 0 28px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-methods a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(166, 124, 45, 0.18);
  background: rgba(255, 255, 255, 0.092);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.contact-methods a:hover,
.contact-methods a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(166, 124, 45, 0.46);
  background: rgba(166, 124, 45, 0.055);
}

.contact-methods span {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: .86rem;
}

.contact-methods strong {
  color: var(--gold-2);
  line-height: 1.42;
}

.order-form {
  padding: 24px;
  border: 1px solid rgba(166, 124, 45, 0.22);
  border-radius: 30px;
  background: rgba(22, 16, 13, 0.32);
}

.order-form h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.order-form p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.6;
}

.order-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-weight: 760;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid rgba(166, 124, 45, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.061);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.order-form select option {
  color: #f5ece0;
}

.order-form textarea {
  resize: vertical;
  min-height: 116px;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: rgba(166, 124, 45, 0.62);
  box-shadow: 0 0 0 4px rgba(166, 124, 45, 0.1);
  background: rgba(255, 255, 255, 0.083);
}

.order-form .btn {
  width: 100%;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid rgba(166, 124, 45, 0.14);
  background: rgba(22, 16, 13, 0.54);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--muted);
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(238, 224, 203, 0.08855);
  color: var(--muted-2);
  font-size: .9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #f5ece0;
  background: var(--gold-gradient);
  box-shadow: 0 18px 42px rgba(211,151,55,.26), 0 0 0 1px rgba(23, 19, 16, 0.14) inset;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}

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

.reveal--delay,
.reveal--delay-md {
  transition-delay: .14s;
}

.reveal--delay-sm {
  transition-delay: .08s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.01); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes sparkle {
  0%, 100% { transform: scale(.6); opacity: .22; }
  50% { transform: scale(1.25); opacity: .86; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1180px) {
  .site-header {
    border-radius: 32px;
  }

  .main-nav {
    position: fixed;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
    background: rgba(22, 16, 13, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(23, 19, 16, 0.21);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 16px;
  }

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

  .icon-link {
    display: none;
  }

  .hero__inner,
  .atelier-card,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__lead,
  .hero__facts {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head p:last-child {
    max-width: 720px;
  }

  .collections-grid,
  .products-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    min-height: 68px;
    padding: 8px;
  }

  .brand__logo {
    width: 50px;
    height: 50px;
  }

  .brand__text span {
    font-size: .92rem;
  }

  .brand__text small {
    font-size: .6rem;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: 118px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.6vw, 3rem);
    overflow-wrap: anywhere;
  }

  .hero__facts,
  .signature-strip__grid,
  .collections-grid,
  .products-grid,
  .trust-grid,
  .contact-methods,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 560px;
    border-radius: 32px;
  }

  .hero__logo {
    top: 24px;
    width: 138px;
    height: 138px;
  }

  .hero__jewel {
    width: 112%;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: calc(100% - 36px);
    margin-top: -86px;
  }

  .floating-card--top {
    display: none;
  }

  .floating-card--bottom {
    right: auto;
    bottom: auto;
  }

  .section {
    padding: 78px 0;
  }

  .collection-card {
    min-height: 350px;
  }

  .about-visual__frame {
    min-height: 420px;
    border-radius: 32px;
  }

  .about-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -52px auto 0;
  }

  .atelier-card,
  .contact-card {
    border-radius: 32px;
  }

  .footer-grid p,
  .footer-links {
    text-align: left;
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding-inline: 16px;
  }
}

@media (max-width: 430px) {
  .brand__text {
    display: none;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .product-card__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-link {
    width: 100%;
    justify-content: center;
  }
}

/* Production pages and expanded catalog */
.main-nav a[aria-current="page"] {
  color: var(--beige-ink);
  background: var(--blue-gradient);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.page-hero {
  position: relative;
  padding: 150px 0 72px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(166, 124, 45, 0.16), transparent 26rem),
    radial-gradient(circle at 78% 40%, rgba(188, 108, 29, .11), transparent 28rem),
    linear-gradient(118deg, transparent 0 47%, rgba(255, 232, 180, .05) 47.2%, transparent 48%);
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .38fr);
  gap: 40px;
  align-items: center;
}

.page-hero h1,
.product-detail h1,
.info-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
  letter-spacing: -.05em;
  line-height: .95;
  background: linear-gradient(110deg, #d8ab52 0%, #fff0c4 30%, #e0b45e 58%, #c0903a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.page-hero__stat,
.page-hero__logo {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 35%, rgba(166, 124, 45, 0.18), transparent 15rem),
    rgba(22, 16, 13, 0.74);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.066);
}

.page-hero__stat {
  display: grid;
  align-content: center;
  gap: 8px;
}

.page-hero__stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: .95;
  color: var(--gold-2);
}

.page-hero__stat span {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.page-hero__logo {
  display: grid;
  place-items: center;
}

.page-hero__logo img {
  width: min(260px, 90%);
  border-radius: 50%;
  filter: drop-shadow(0 20px 46px rgba(23, 19, 16, 0.202));
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(190px, .28fr) minmax(180px, .26fr);
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(22, 16, 13, 0.72);
  box-shadow: inset 0 1px 0 rgba(23, 19, 16, 0.055);
}

.search-field,
.select-field {
  display: grid;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 760;
}

.search-field input,
.select-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(166, 124, 45, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.061);
  color: var(--text);
  padding: 0 15px;
  outline: none;
}

.select-field option {
  color: #f5ece0;
}

.search-field input:focus,
.select-field select:focus {
  border-color: rgba(166, 124, 45, 0.62);
  box-shadow: 0 0 0 4px rgba(166, 124, 45, 0.1);
}

.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0 28px;
  color: var(--muted);
}

.catalog-summary span {
  color: var(--gold-2);
  font-weight: 900;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: -8px 0 16px;
}

.product-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.039);
  font-size: .78rem;
}

.product-tags--large {
  margin: 24px 0 26px;
}

.product-tags--large span {
  color: var(--gold-2);
}

.mini-specs {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.mini-specs div {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(238, 224, 203, 0.0759);
}

.mini-specs dt {
  color: var(--muted-2);
}

.mini-specs dd {
  margin: 0;
  color: var(--text);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(22, 16, 13, 0.72);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.full-catalog-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 32px;
}

.quote-section {
  padding-top: 48px;
}

.product-detail {
  padding-top: 150px;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.product-detail__media {
  border: 1px solid var(--line);
  border-radius: 42px;
  overflow: hidden;
  background: rgba(22, 16, 13, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.066);
}

.product-detail__media img {
  width: 100%;
  aspect-ratio: 1.1 / .92;
  object-fit: cover;
}

.product-detail__lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.spec-table {
  display: grid;
  margin: 0;
  border: 1px solid rgba(166, 124, 45, 0.18);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.028);
}

.spec-table div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(238, 224, 203, 0.08855);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table dt {
  color: var(--muted-2);
}

.spec-table dd {
  margin: 0;
  color: var(--text);
  font-weight: 740;
}

.related-card {
  transform: none !important;
}

.split-info,
.care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

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

.info-panel {
  min-height: 100%;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(22, 16, 13, 0.72);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(23, 19, 16, 0.066);
}

.info-panel h2 {
  font-size: clamp(1.75rem, 3.1vw, 3rem);
}

.info-panel ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.info-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.7;
}

.info-panel li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-2);
}

@media (max-width: 1180px) {
  .products-grid--large {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .page-hero__grid,
  .product-detail__grid,
  .split-info {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar .search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .page-hero,
  .product-detail {
    padding-top: 116px;
  }

  .page-hero h1,
  .product-detail h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .page-hero__stat,
  .page-hero__logo {
    min-height: 240px;
    border-radius: 28px;
  }

  .catalog-toolbar,
  .products-grid--large,
  .care-grid {
    grid-template-columns: 1fr;
  }

  .catalog-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-detail__media {
    border-radius: 30px;
  }

  .spec-table div,
  .mini-specs div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.banner-section {
  position: relative;
  z-index: 4;
  padding: 34px 0 52px;
}

.brand-banner {
  margin: 0;
  border: 1px solid rgba(166, 124, 45, 0.34);
  border-radius: 38px;
  overflow: hidden;
  background: rgba(22, 16, 13, 0.72);
  box-shadow: 0 28px 90px rgba(23, 19, 16, 0.193), 0 0 0 1px rgba(23, 19, 16, 0.044) inset;
}

.brand-banner img {
  width: 100%;
  aspect-ratio: 1800 / 820;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 16, 13, 0.94), rgba(22, 16, 13, 0.56) 48%, rgba(22, 16, 13, 0.86)), url("/assets/banner-tovmasyan-jeweler.jpg?v=a179dd3c") center/cover no-repeat;
  opacity: .24;
  pointer-events: none;
}

@media (max-width: 760px) {
  .banner-section {
    padding: 18px 0 38px;
  }
  .brand-banner {
    border-radius: 26px;
  }
  .brand-banner img {
    aspect-ratio: 1 / 1;
  }
}

/* Speed optimizations */
.hero::before {
  background: linear-gradient(90deg, rgba(22, 16, 13, 0.94), rgba(22, 16, 13, 0.56) 48%, rgba(22, 16, 13, 0.86)), url("/assets/banner-tovmasyan-jeweler.webp?v=a179dd3c") center/cover no-repeat;
}

.brand-banner picture {
  display: block;
}

.product-card,
.collection-card {
  content-visibility: auto;
  contain-intrinsic-size: 420px 520px;
}

/* Final logo/banner fit fixes */
.brand__logo,
.hero__logo,
.footer-brand img,
.about-visual__frame img,
.page-hero__logo img {
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.brand-banner {
  background: #080605;
}

.brand-banner picture,
.brand-banner source {
  display: block;
}

.brand-banner img {
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 760px) {
  .brand-banner img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* Keep the hero background clean; the full logo/banner is shown in the banner block, not cropped as a cover background. */
.hero::before {
  background:
    radial-gradient(circle at 58% 34%, rgba(255, 218, 145, .10), transparent 28rem),
    linear-gradient(118deg, transparent 0 42%, rgba(255, 230, 178, .045) 42.3%, transparent 43% 100%) !important;
  opacity: 1 !important;
}

.brand-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
}

/* Authentication, account, favorites */
.auth-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-2);
  font-weight: 800;
  font-size: .9rem;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.auth-header-link:hover,
.auth-header-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(166, 124, 45, 0.48);
  background: rgba(166, 124, 45, 0.075);
}

.auth-header-link__avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #f5ece0;
  overflow: hidden;
  font-weight: 900;
}

.auth-header-link__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 16, 13, 0.302);
  backdrop-filter: blur(14px);
}

.auth-modal__panel {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(166, 124, 45, 0.32);
  background:
    radial-gradient(circle at 22% 12%, rgba(255,215,139,.15), transparent 18rem),
    rgba(22, 16, 13, 0.94);
  box-shadow: 0 34px 100px rgba(23, 19, 16, 0.244), inset 0 1px 0 rgba(23, 19, 16, 0.066);
}

.auth-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(166, 124, 45, 0.24);
  background: rgba(255, 255, 255, 0.055);
  color: var(--gold-2);
  font-size: 1.5rem;
}

.auth-modal__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.auth-modal__brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
}

.auth-modal__brand span,
.auth-modal__brand small {
  display: block;
}

.auth-modal__brand span {
  font-weight: 900;
  letter-spacing: .1em;
}

.auth-modal__brand small {
  margin-top: 4px;
  color: var(--gold-2);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.auth-modal h2,
.account-panel h2,
.account-profile h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  background: linear-gradient(110deg, #d8ab52 0%, #fff0c4 30%, #e0b45e 58%, #c0903a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-modal p,
.account-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.auth-modal__buttons,
.account-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.auth-provider-btn {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background: rgba(255, 255, 255, 0.061);
  color: var(--text);
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.auth-provider-btn span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #f5ece0;
}

.auth-provider-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 124, 45, 0.52);
  background: rgba(166, 124, 45, 0.08);
}

.auth-message {
  min-height: 22px;
  margin: 16px 0 0;
  font-size: .92rem;
}

.auth-message[data-tone="warning"] { color: #ffd98a; }
.auth-message[data-tone="error"] { color: #ff9f9f; }
.auth-message[data-tone="success"] { color: #a8ffce; }

.auth-modal__account {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.auth-toast {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 4000;
  max-width: min(360px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background: rgba(22, 16, 13, 0.94);
  color: var(--text);
  box-shadow: 0 20px 60px rgba(23, 19, 16, 0.189);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

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

.favorite-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(166, 124, 45, 0.34);
  background: rgba(22, 16, 13, 0.78);
  color: var(--gold-2);
  font-size: 1.28rem;
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(23, 19, 16, 0.134);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.favorite-btn:hover,
.favorite-btn.is-active {
  transform: translateY(-2px) scale(1.03);
  background: var(--blue-gradient);
  color: var(--beige-ink);
}

.product-card {
  position: relative;
}

.product-card__favorite {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 5;
}

.favorite-detail-btn {
  gap: 8px;
}

.account-section-page {
  padding-top: 40px;
}

.account-panel,
.account-dashboard,
.account-profile,
.account-section,
.account-item,
.account-stats div {
  border: 1px solid var(--line);
  background: rgba(22, 16, 13, 0.74);
  box-shadow: 0 18px 60px rgba(23, 19, 16, 0.118), inset 0 1px 0 rgba(23, 19, 16, 0.055);
}

.account-panel,
.account-dashboard {
  border-radius: 38px;
  padding: clamp(24px, 4vw, 46px);
}

.account-panel code {
  color: var(--gold-2);
}

.account-profile {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 22px;
  align-items: center;
  border-radius: 28px;
  padding: 22px;
  margin-bottom: 18px;
}

.account-profile img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(166, 124, 45, 0.28);
}

.account-profile p {
  margin: 8px 0 0;
  color: var(--muted);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.account-stats div {
  border-radius: 22px;
  padding: 20px;
}

.account-stats strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-2);
  font-size: 2rem;
}

.account-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.account-section {
  border-radius: 28px;
  padding: 20px;
}

.account-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.account-section h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.account-section__head a,
.account-item a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.account-items {
  display: grid;
  gap: 12px;
}

.account-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  border-radius: 20px;
  padding: 12px;
}

.account-item--order {
  grid-template-columns: 1fr auto;
}

.account-item img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.account-item h4 {
  margin: 0 0 5px;
  color: var(--text);
}

.account-item p,
.account-item small,
.empty-account-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.order-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: #f5ece0;
  background: var(--gold-gradient);
  font-weight: 900;
  font-size: .8rem;
}

.empty-account-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 18px;
  border: 1px dashed rgba(166, 124, 45, 0.24);
  padding: 18px;
}

@media (max-width: 1080px) {
  .account-columns,
  .account-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .auth-header-link {
    min-width: 44px;
    padding: 0 8px;
  }
  .auth-header-link [data-auth-link-text] {
    display: none;
  }
  .account-profile {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .account-item {
    grid-template-columns: 72px 1fr;
  }
  .account-item .favorite-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* ===== Official Google Sign-In button (Google Identity branding) ===== */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #070504;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 20px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: 'Roboto', 'Inter', Arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: 100%;
  max-width: 400px;
  min-width: min(100%, 240px);
}
.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}
.gsi-material-button .gsi-material-button-icon svg { display: block; width: 100%; height: 100%; }
.gsi-material-button .gsi-material-button-content-wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.gsi-material-button .gsi-material-button-contents {
  flex-grow: 1;
  font-family: 'Roboto', 'Inter', Arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
  color: #ffffff;
}
.gsi-material-button .gsi-material-button-state {
  transition: opacity .218s;
  bottom: 0; left: 0; opacity: 0; position: absolute; right: 0; top: 0;
}
.gsi-material-button:disabled { cursor: default; background-color: #ffffff61; border-color: #ffffff1f; }
.gsi-material-button:disabled .gsi-material-button-contents { opacity: 38%; }
.gsi-material-button:disabled .gsi-material-button-icon { opacity: 38%; }
.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state { background-color: #080605; opacity: 12%; }
.gsi-material-button:not(:disabled):hover { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.48), 0 1px 3px 1px rgba(0, 0, 0, 0.24); }
.gsi-material-button:not(:disabled):hover .gsi-material-button-state { background-color: #080605; opacity: 8%; }
.auth-modal__buttons .gsi-material-button { margin: 0 auto; }
.account-panel .gsi-material-button { margin-right: 10px; }

/* ===================== Auth v2: gate, header profile, language ===================== */

/* --- responsive official Google button --- */
.gsi-material-button {
  width: 100%;
  max-width: 320px;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  font-size: clamp(13px, 1.1vw + 10px, 15px);
}
.gsi-material-button .gsi-material-button-contents {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 420px) {
  .gsi-material-button { height: 46px; max-width: 100%; }
}
/* official Google light button keeps its dark label on white */
.gsi-material-button,
.gsi-material-button .gsi-material-button-contents,
.gsi-material-button .gsi-material-button-content-wrapper { color: #f5ece0; }

/* --- header auth slot + language switch --- */
.header-actions { gap: 10px; }
.auth-slot { display: flex; align-items: center; }
.auth-signin-btn { white-space: nowrap; }

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.35);
  background: rgba(22, 16, 13, 0.55);
  backdrop-filter: blur(6px);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: rgba(244, 236, 224, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
  line-height: 1;
}
.lang-switch button:hover { color: #f5ece0; }
.lang-switch button.is-active {
  background: var(--blue-gradient);
  color: var(--beige-ink);
}

/* --- user chip + dropdown --- */
.user-menu { position: relative; }
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.38);
  background: rgba(22, 16, 13, 0.72);
  color: #f5ece0;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  max-width: 190px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.user-chip:hover { border-color: rgba(166, 124, 45, 0.8); box-shadow: 0 6px 20px rgba(23, 19, 16, 0.147); }
.user-chip__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #a87c2d, #8a6a2d);
  color: #f5ece0;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.user-chip__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-chip__avatar--lg { width: 44px; height: 44px; font-size: 17px; }
.user-chip__name {
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.user-chip__caret {
  width: 7px; height: 7px;
  border-right: 2px solid rgba(166, 124, 45, 0.85);
  border-bottom: 2px solid rgba(166, 124, 45, 0.85);
  transform: rotate(45deg) translateY(-2px);
  flex: none;
  transition: transform .2s;
}
.user-menu.is-open .user-chip__caret { transform: rotate(225deg) translateY(-2px); }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 248px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background: linear-gradient(180deg, rgba(22, 16, 13, 0.98), rgba(22, 16, 13, 0.98));
  box-shadow: 0 24px 60px rgba(23, 19, 16, 0.231);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 70;
}
.user-menu.is-open .user-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid rgba(166, 124, 45, 0.18);
  margin-bottom: 6px;
}
.user-dropdown__head strong {
  display: block;
  font-size: 14px;
  color: #f5ece0;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown__head small {
  display: block;
  font-size: 12px;
  color: rgba(244, 236, 224, 0.75);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-dropdown a,
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(244, 236, 224, 0.88);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.user-dropdown a:hover,
.user-dropdown button:hover { background: rgba(166, 124, 45, 0.14); color: var(--gold); }
.user-dropdown button[data-auth-logout] { color: rgba(240, 150, 140, .9); }

/* --- full-screen auth gate --- */
body.auth-locked { overflow: hidden; }
body.auth-locked .site-header,
body.auth-locked main,
body.auth-locked .site-footer { filter: blur(7px) saturate(.7); pointer-events: none; user-select: none; }

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
}
.auth-gate.is-open { display: flex; }
.auth-gate__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 520px at 20% 10%, rgba(166, 124, 45, 0.16), transparent 60%),
    radial-gradient(800px 460px at 85% 85%, rgba(166, 124, 45, 0.1), transparent 60%),
    rgba(22, 16, 13, 0.93);
  backdrop-filter: blur(10px);
}
.auth-gate__panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: clamp(26px, 5vw, 40px) clamp(20px, 4.5vw, 36px) clamp(22px, 4vw, 32px);
  border-radius: 24px;
  border: 1px solid rgba(166, 124, 45, 0.3);
  background: linear-gradient(180deg, rgba(22, 16, 13, 0.97), rgba(22, 16, 13, 0.99));
  box-shadow: 0 40px 120px rgba(23, 19, 16, 0.294), inset 0 1px 0 rgba(23, 19, 16, 0.055);
  text-align: center;
  animation: gateIn .45s cubic-bezier(.2, .8, .3, 1);
}
@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.auth-gate__brand img {
  width: clamp(78px, 18vw, 104px);
  height: auto;
  border-radius: 50%;
  border: 1px solid rgba(166, 124, 45, 0.35);
  box-shadow: 0 14px 40px rgba(23, 19, 16, 0.231);
}
.auth-gate__eyebrow {
  margin: 16px 0 6px;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(166, 124, 45, 0.85);
}
.auth-gate__panel h2 {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.4vw, 27px);
  line-height: 1.22;
  color: #ffffff;
}
.auth-gate__text {
  margin: 0 auto 22px;
  max-width: 36ch;
  font-size: clamp(13.5px, 1.6vw, 15px);
  line-height: 1.65;
  color: rgba(244, 236, 224, 0.72);
}
.auth-gate__action { display: flex; justify-content: center; }
.auth-gate__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(244, 236, 224, 0.34);
}
.auth-gate__langs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 124, 45, 0.16);
}
.auth-gate__langs button {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.3);
  background: transparent;
  color: rgba(244, 236, 224, 0.7);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.auth-gate__langs button:hover { border-color: rgba(166, 124, 45, 0.7); color: var(--gold); }
.auth-gate__langs button.is-active {
  background: var(--blue-gradient);
  border-color: transparent;
  color: var(--beige-ink);
  font-weight: 600;
}
.auth-gate.is-checking .auth-gate__action { opacity: .45; pointer-events: none; }
.auth-gate .auth-message { margin: 14px 0 0; font-size: 13px; min-height: 18px; }
.auth-gate .auth-message[data-tone="error"] { color: #b4402c; }
.auth-gate .auth-message[data-tone="warning"] { color: #e8c877; }
.auth-gate .auth-message[data-tone="info"] { color: rgba(244, 236, 224, 0.75); }

/* --- language dialog after login --- */
.lang-dialog {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lang-dialog.is-open { display: flex; }
.lang-dialog__backdrop { position: absolute; inset: 0; background: rgba(22, 16, 13, 0.82); backdrop-filter: blur(8px); }
.lang-dialog__panel {
  position: relative;
  width: min(430px, 100%);
  padding: clamp(26px, 5vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(166, 124, 45, 0.3);
  background: linear-gradient(180deg, rgba(22, 16, 13, 0.98), rgba(22, 16, 13, 0.99));
  box-shadow: 0 36px 100px rgba(23, 19, 16, 0.273);
  text-align: center;
  animation: gateIn .4s cubic-bezier(.2, .8, .3, 1);
}
.lang-dialog__mark { color: var(--gold); font-size: 20px; letter-spacing: .3em; }
.lang-dialog__panel h3 { margin: 10px 0 4px; font-size: clamp(18px, 2.6vw, 22px); color: #ffffff; }
.lang-dialog__panel > p { margin: 0 0 22px; font-size: 14px; color: rgba(244, 236, 224, 0.8); }
.lang-dialog__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 420px) { .lang-dialog__options { grid-template-columns: 1fr; } }
.lang-dialog__options button {
  display: grid;
  gap: 4px;
  padding: 16px 10px;
  border-radius: 16px;
  border: 1px solid rgba(166, 124, 45, 0.28);
  background: rgba(255, 255, 255, 0.033);
  color: #f5ece0;
  font: inherit;
  cursor: pointer;
  transition: transform .18s, border-color .18s, background .18s;
}
.lang-dialog__options button:hover {
  transform: translateY(-2px);
  border-color: rgba(166, 124, 45, 0.75);
  background: rgba(166, 124, 45, 0.1);
}
.lang-dialog__options strong { font-size: 17px; }
.lang-dialog__options small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 236, 224, 0.7); }
@media (max-width: 380px) {
  .lang-dialog__options { grid-template-columns: 1fr; }
}

/* ===================== Desktop / mobile polish ===================== */
@media (min-width: 1081px) {
  .site-header { gap: 20px; }
  .main-nav { gap: clamp(14px, 1.6vw, 28px); }
  .header-actions .icon-link { white-space: nowrap; }
}
@media (max-width: 1180px) {
  .user-chip__name { max-width: 74px; }
}
@media (max-width: 1080px) {
  .lang-switch button { padding: 5px 8px; font-size: 10px; }
  .user-chip { max-width: 150px; padding-right: 10px; }
}
@media (max-width: 760px) {
  .header-actions { gap: 8px; }
  .header-actions .icon-link { display: none; }
  .user-chip__name { display: none; }
  .user-chip { padding: 4px; gap: 0; }
  .user-chip__caret { display: none; }
  .user-dropdown { right: -4px; min-width: min(78vw, 270px); }
  .auth-signin-btn { padding: 8px 14px; font-size: 13px; }
  .auth-gate__panel { border-radius: 20px; }
}
@media (max-width: 430px) {
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 5px 7px; }
  .auth-gate { padding: 14px 12px; }
  .auth-gate__panel { padding: 24px 18px 20px; }
}

/* ===== Auth v3: no-flash loading states, skeletons ===== */
body.auth-pending main,
body.auth-pending .site-footer { opacity: .35; transition: opacity .25s; pointer-events: none; }
body.auth-pending .site-header { opacity: .6; }

.account-panel--loading { text-align: center; padding: clamp(28px, 6vw, 52px); }
.account-loading-text { color: rgba(244, 236, 224, 0.75); font-size: 14px; margin-top: 18px; }
.account-skeleton { display: grid; justify-items: center; gap: 14px; }
.sk {
  display: block;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 25%, rgba(166, 124, 45, 0.14) 37%, rgba(255, 255, 255, 0.055) 63%);
  background-size: 400% 100%;
  animation: skshine 1.3s ease-in-out infinite;
  border-radius: 10px;
}
.sk--avatar { width: 72px; height: 72px; border-radius: 50%; }
.sk--line { width: 220px; height: 14px; }
.sk--wide { width: 300px; max-width: 80%; height: 20px; }
.sk--row { width: 100%; height: 76px; border-radius: 14px; }
.account-items--pending { display: grid; gap: 12px; }
@keyframes skshine { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ============ v4 fixes: logo alignment, mobile taps, favorites feedback ============ */

/* --- logo: the emblem is a perfect centered circle, so fill the circle exactly --- */
.brand__logo,
.footer-brand img,
.auth-gate__brand img,
.auth-modal__brand img,
.account-avatar {
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: 1 / 1;
  display: block;
}

/* large decorative logos keep their frame and are never cropped */
.hero__logo,
.page-hero__logo img,
.about-visual__frame img {
  object-fit: contain !important;
  object-position: center center !important;
}
.brand__logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  overflow: hidden;
}
.auth-gate__brand {
  display: flex;
  justify-content: center;
}
.auth-gate__brand img {
  width: clamp(84px, 20vw, 108px);
  height: clamp(84px, 20vw, 108px);
  border-radius: 50%;
  margin: 0 auto;
}
.auth-modal__brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
@media (max-width: 760px) {
  .brand__logo { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (max-width: 430px) {
  .brand__logo { width: 42px; height: 42px; flex-basis: 42px; }
}

/* --- touch devices: no hover states (they cause the "first tap does nothing" bug) --- */
@media (hover: none) {
  .product-card:hover { transform: none; }
  .product-card:hover .product-card__media img { transform: none; }
  .product-card:hover .product-card__media::after { transform: translateX(-120%); }
  .favorite-btn:hover { transform: none; background: rgba(22, 16, 13, 0.78); color: var(--gold-2); }
  .favorite-btn.is-active:hover { background: var(--blue-gradient); color: var(--beige-ink); }
  .user-chip:hover { box-shadow: none; }
  .gsi-material-button:not(:disabled):hover { box-shadow: none; }
}

/* --- make the whole card media reliably tappable --- */
.product-card__media { display: block; -webkit-tap-highlight-color: transparent; }
.product-card__media::after { pointer-events: none; }
.product-card__media img { pointer-events: none; }
.product-card h3 a { display: inline-block; padding: 2px 0; }
.product-card__favorite { touch-action: manipulation; }
.cursor-glow { pointer-events: none !important; }

/* --- favourite star: clear visual state + pulse --- */
.favorite-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.favorite-btn.is-active {
  background: var(--blue-gradient);
  color: var(--beige-ink);
  border-color: rgba(166, 124, 45, 0.6);
  box-shadow: 0 10px 22px rgba(166, 124, 45, .26);
}
.favorite-btn.is-pulsing { animation: favPulse .42s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes favPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .favorite-btn.is-pulsing { animation: none; } }

/* --- toast: small notification at the top, visible on every screen --- */
.auth-toast {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -16px);
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: min(92vw, 420px);
  padding: 11px 18px 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 45, 0.34);
  background: rgba(22, 16, 13, 0.96);
  box-shadow: 0 18px 44px rgba(23, 19, 16, 0.231);
  backdrop-filter: blur(8px);
  font-size: 14px;
  z-index: 5000;
}
.auth-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.auth-toast__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #f5ece0;
  font-size: 13px;
  font-weight: 900;
  flex: none;
}
.auth-toast[data-tone="error"] .auth-toast__icon { background: linear-gradient(135deg, #e86a5c, #b4402c); color: #fff; }
.auth-toast[data-tone="warning"] .auth-toast__icon { background: linear-gradient(135deg, #e8b14f, #f3d68a); }
.auth-toast[data-tone="info"] .auth-toast__icon { background: rgba(166, 124, 45, 0.22); color: var(--gold-2); }
.auth-toast__text { line-height: 1.35; }
@media (max-width: 430px) {
  .auth-toast { font-size: 13px; padding: 10px 14px 10px 11px; }
}

/* ======================= LIVE GOLD & SILVER RATES =======================
   A slim price strip under the header: always open, candlestick chart on
   demand. Sized to inform without competing with the hero.                 */
.rate-section { padding: 96px 0 0; }
@media (max-width: 720px) { .rate-section { padding-top: 86px; } }

.rate-board {
  --rb-blue: linear-gradient(135deg, #f3e7d2 0%, #e7d6b8 45%, #dcc8a4 100%);
  --rb-blue-line: rgba(166, 124, 45, 0.42);
  --rb-ink: #f6eee2;
  --rb-muted: rgba(246, 238, 226, 0.68);
  --rb-line: rgba(238, 224, 203, 0.16);
  --rb-up: #41d47f;
  --rb-down: #ff7c63;
  position: relative;
  border-radius: var(--radius-md);
  padding: clamp(10px, 1.2vw, 14px) clamp(12px, 1.6vw, 18px);
  overflow: hidden;
  color: var(--rb-ink);
  background: linear-gradient(180deg, #070504 0%, #070504 100%);
  box-shadow: 0 10px 28px rgba(23, 19, 16, 0.07), 0 0 0 1px rgba(166, 124, 45, 0.22);
}
.rate-board::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--gold-gradient);
}
.rate-board__bar {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: space-between;
}
.rate-board__title { flex: 0 1 auto; }
.rate-board__eyebrow {
  margin: 0 0 1px; font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.rate-board__bar h2 {
  margin: 0; font-size: clamp(0.88rem, 1.2vw, 1rem); color: var(--rb-ink);
  font-family: inherit; letter-spacing: -0.01em; white-space: nowrap;
}
.rate-board__tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rate-clock {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--rb-line); background: #070504;
  font-size: 0.76rem; font-variant-numeric: tabular-nums; color: var(--rb-ink);
}
.rate-clock__dot {
  width: 6px; height: 6px; border-radius: 50%; background: #1faa52;
  box-shadow: 0 0 8px rgba(31, 170, 82, 0.5); animation: ratePulse 1.8s infinite;
}
@keyframes ratePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.rate-switch {
  display: inline-flex; border: 1px solid var(--rb-line);
  border-radius: 999px; overflow: hidden; background: #070504;
}
.rate-switch button {
  min-width: 42px; padding: 4px 10px; border: 0; cursor: pointer;
  background: transparent; color: var(--rb-muted); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.04em; transition: background 0.25s ease, color 0.25s ease;
}
.rate-switch button:hover { color: #f5ece0; }
.rate-switch button.is-active {
  background: var(--rb-blue); color: var(--beige-ink); text-shadow: none;
}
/* arrow that expands the whole board */
.rate-expand {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 6px 4px 13px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rb-blue-line); background: #070504; color: var(--rb-ink);
  font: inherit; font-size: 0.76rem; font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.rate-expand:hover { background: rgba(23, 19, 16, 0.05); border-color: rgba(238, 224, 203, 0.5175); }
.rate-expand__arrow {
  display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: var(--rb-blue); color: var(--beige-ink);
  border: 1px solid rgba(166, 124, 45, 0.35);
  transition: transform 0.38s cubic-bezier(.4, 0, .2, 1);
}
.rate-board.is-open .rate-expand__arrow { transform: rotate(180deg); }
.rate-board.is-open .rate-expand { border-color: rgba(238, 224, 203, 0.5175); }

/* smooth open / close of the detailed part */
.rate-board__panel {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows 0.42s cubic-bezier(.4, 0, .2, 1), opacity 0.3s ease;
}
.rate-board__panel > .rate-board__panel-inner { overflow: hidden; min-height: 0; }
.rate-board.is-open .rate-board__panel { grid-template-rows: 1fr; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rate-board__panel { transition: none; } }

/* ---- always-visible price strip ---- */
.rate-highlight {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px;
  flex: 1 1 auto; justify-content: center;
}
.rate-highlight__card { display: flex; align-items: baseline; gap: 8px; }
.rate-highlight__label {
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rb-muted);
}
.rate-highlight__value {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem); font-weight: 700;
  font-variant-numeric: tabular-nums; color: var(--rb-ink);
}
.rate-highlight__delta { font-size: 0.8rem; font-weight: 600; }
.rate-highlight__delta.is-up, .rate-chart__legend .is-up { color: var(--rb-up); }
.rate-highlight__delta.is-down, .rate-chart__legend .is-down { color: var(--rb-down); }
.rate-highlight__delta.is-flat { color: var(--rb-muted); }
.rate-highlight__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.rate-highlight__live::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #1faa52; animation: ratePulse 1.8s infinite;
}

/* ---- candlestick chart ---- */
.rate-chart {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rb-line);
}
.rate-board__panel-inner { padding-bottom: 2px; }
@keyframes rateChartIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rate-chart__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px;
}
.rate-chart__head h3 { margin: 0; font-size: 0.84rem; font-weight: 600; color: var(--rb-muted); }
.rate-chart__range { display: inline-flex; gap: 6px; }
.rate-chart__range button {
  padding: 4px 11px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rb-line); background: #070504; color: var(--rb-muted); font-size: 0.74rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.rate-chart__range button:hover { border-color: var(--rb-blue-line); color: #f5ece0; }
.rate-chart__range button.is-active {
  background: var(--rb-blue); border-color: rgba(166, 124, 45, 0.35); color: var(--beige-ink); font-weight: 600;
}
.rate-chart__canvas {
  position: relative; height: clamp(150px, 17vw, 200px);
  border: 1px solid var(--rb-line); border-radius: var(--radius-sm);
  background: #070504; overflow: hidden;
}
.rate-chart__canvas svg { width: 100%; height: 100%; display: block; }
.rate-chart__grid { stroke: rgba(238, 224, 203, 0.12); stroke-width: 1; }
.rate-line.is-up { color: var(--rb-up); }
.rate-line.is-down { color: var(--rb-down); }
.rate-line__path {
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke;
}
.rate-line__area { fill: currentColor; fill-opacity: 0.12; stroke: none; }
.rate-chart__dot { fill: currentColor; stroke: #070504; stroke-width: 2; vector-effect: non-scaling-stroke; }
.rate-chart__max, .rate-chart__min {
  position: absolute; right: 10px; font-size: 0.7rem;
  font-variant-numeric: tabular-nums; color: var(--rb-muted);
  background: rgba(22, 16, 13, 0.85); padding: 1px 6px; border-radius: 6px;
}
.rate-chart__max { top: 6px; }
.rate-chart__min { bottom: 24px; }
.rate-chart__from, .rate-chart__to {
  position: absolute; bottom: 5px; font-size: 0.64rem; color: var(--rb-muted);
  background: rgba(22, 16, 13, 0.85); padding: 0 4px; border-radius: 5px;
}
.rate-chart__from { left: 8px; }
.rate-chart__to { right: 8px; }
.rate-chart__empty {
  margin: 0; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--rb-muted); font-size: 0.84rem;
}
.rate-chart__legend { margin: 7px 0 0; font-size: 0.76rem; color: var(--rb-muted); }

/* ---- table ---- */
.rate-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 10px; }
.rate-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.rate-table thead th {
  text-align: right; padding: 0 12px 8px; font-size: 0.64rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rb-muted); font-weight: 600; white-space: nowrap;
}
.rate-table thead th:first-child, .rate-table thead th:nth-child(2) { text-align: left; }
.rate-table tbody tr { border-top: 1px solid var(--rb-line); }
.rate-table tbody tr.is-featured { background: rgba(166, 124, 45, 0.06); }
.rate-table td, .rate-table tbody th {
  padding: 6px 10px; text-align: right; font-variant-numeric: tabular-nums;
  font-size: 0.9rem; color: var(--rb-ink); white-space: nowrap;
}
.rate-table tbody th { text-align: left; font-weight: 600; }
.rate-purity { display: block; font-size: 0.92rem; color: var(--gold-3); font-weight: 700; }
.rate-metal { display: block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rb-muted); }
.rate-karat { text-align: left !important; color: var(--rb-muted); font-size: 0.82rem; }
.rate-sell { font-weight: 700; border-radius: 6px; }
.rate-sell.is-flash-up { animation: rateFlashUp 1.4s ease-out; }
.rate-sell.is-flash-down { animation: rateFlashDown 1.4s ease-out; }
@keyframes rateFlashUp {
  0% { background: rgba(21, 127, 60, 0.22); color: #157f3c; }
  100% { background: transparent; color: var(--rb-ink); }
}
@keyframes rateFlashDown {
  0% { background: rgba(180, 64, 44, 0.2); color: #b4402c; }
  100% { background: transparent; color: var(--rb-ink); }
}
.rate-change { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.rate-change small { font-size: 0.66rem; opacity: 0.85; }
.rate-change.is-up { color: var(--rb-up); }
.rate-change.is-down { color: var(--rb-down); }
.rate-change.is-flat { color: var(--rb-muted); }
.rate-skeleton td { text-align: center; color: var(--rb-muted); padding: 20px 12px; }

/* ---- footer ---- */
.rate-board__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px;
  margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--rb-line);
}
.rate-board__meta {
  display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0;
  color: var(--rb-muted); font-size: 0.74rem;
}
.rate-board__stamp strong { color: var(--rb-ink); font-weight: 600; }
.rate-board__legal { margin: 0; flex: 1 1 280px; color: var(--rb-muted); font-size: 0.7rem; line-height: 1.45; }
.rate-board__status:empty { display: none; }
.rate-board__status { margin: 10px 0 0; color: var(--rb-down); font-size: 0.8rem; text-align: center; }
@media (max-width: 980px) {
  .rate-board__bar { gap: 8px 12px; }
  .rate-highlight { order: 3; width: 100%; justify-content: flex-start; }
}
@media (max-width: 720px) {
  .rate-board__bar { align-items: center; }
  .rate-board__tools { margin-left: auto; gap: 6px; }
  .rate-board__bar h2 { font-size: 0.92rem; white-space: normal; }
  .rate-clock { display: none; }
  .rate-expand__text { display: none; }
  .rate-expand { padding: 3px; }
  .rate-table { min-width: 420px; }
  .rate-chart__range button { padding: 3px 9px; font-size: 0.7rem; }
}
@media (max-width: 430px) {
  .rate-board__eyebrow { display: none; }
  .rate-highlight { gap: 4px 14px; }
  .rate-highlight__live { display: none; }
}

/* Armenian labels are longer than the Russian ones — keep the header on one line */
html[lang="hy"] .site-header { gap: 10px; padding-right: 10px; }
html[lang="hy"] .site-nav { gap: 2px; }
html[lang="hy"] .site-nav a { font-size: 0.88rem; padding-left: 11px; padding-right: 11px; }
html[lang="hy"] .header-actions { gap: 8px; }
html[lang="hy"] .header-actions .btn { padding-left: 16px; padding-right: 16px; font-size: 0.86rem; }

/* ---- Official WhatsApp mark ---- */
a[data-whatsapp].btn,
button[data-whatsapp].btn,
a[data-whatsapp].btn--gold,
a[data-whatsapp].order-link {
  background: var(--wa-gradient) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28);
}
a[data-whatsapp].btn:hover,
button[data-whatsapp].btn:hover,
a[data-whatsapp].btn:focus-visible {
  background: linear-gradient(135deg, #2ae472 0%, #22c963 55%, #159c8d 100%) !important;
  color: #ffffff !important;
}
.contact-methods a[data-whatsapp] .wa-icon { color: #128c7e; vertical-align: -2px; margin-right: 6px; }
.wa-icon { width: 1.05em; height: 1.05em; flex: 0 0 auto; fill: currentColor; }
.btn .wa-icon { margin-right: 2px; }
a[data-whatsapp].btn { display: inline-flex; align-items: center; gap: 7px; justify-content: center; }
.floating-whatsapp {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe5b 55%, #128c7e 100%);
  color: #fff; border: 0; box-shadow: 0 10px 26px rgba(18, 140, 126, 0.34);
}
.floating-whatsapp:hover { background: linear-gradient(135deg, #2ae472 0%, #22c963 55%, #159c8d 100%); color: #fff; }
.floating-whatsapp .wa-icon { width: 1.3em; height: 1.3em; }
.floating-whatsapp__label { font-weight: 700; letter-spacing: 0.01em; }
@media (max-width: 560px) {
  .floating-whatsapp__label { display: none; }
  .floating-whatsapp { padding: 14px; border-radius: 50%; }
  .floating-whatsapp .wa-icon { width: 1.5em; height: 1.5em; }
}

/* =======================================================================
   Home page — editorial hero, showcase row and assurance strip (white)
   ======================================================================= */
.hero-lux {
  position: relative;
  padding: 36px 0 18px;
  background: #070504;
}
.hero-lux::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(166, 124, 45, 0.09), transparent 24rem),
    radial-gradient(circle at 92% 8%, rgba(166, 124, 45, 0.07), transparent 20rem);
  pointer-events: none;
}
.hero-lux__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-lux__content h1 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #f5ece0;
}
.hero-lux__content h1 span {
  display: block;
  font-style: italic;
  background: linear-gradient(110deg, #e2b864 0%, #fff0c4 48%, #cf9c3f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lux__lead {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}
.hero-lux__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.hero-lux__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 10px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(166, 124, 45, 0.2);
}
.hero-lux__stats dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  color: var(--gold-2);
  letter-spacing: -0.02em;
}
.hero-lux__stats dd {
  margin: 2px 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-lux__visual { position: relative; }
.hero-lux__photo {
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(23, 19, 16, 0.18);
}
.hero-lux__photo picture { display: block; }
.hero-lux__photo img { display: block; width: 100%; height: clamp(300px, 34vw, 460px); object-fit: cover; }
.hero-lux__card {
  position: absolute;
  right: clamp(-6px, 1vw, 18px);
  bottom: -22px;
  width: min(260px, 72%);
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(22, 16, 13, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(166, 124, 45, 0.26);
  box-shadow: 0 18px 44px rgba(23, 19, 16, 0.16);
}
.hero-lux__card-eyebrow {
  margin: 0; font-size: 0.56rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
}
.hero-lux__card h2 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem; color: #f5ece0; letter-spacing: -0.02em;
}
.hero-lux__card-meta { margin: 4px 0 0; font-size: 0.74rem; color: var(--muted); }
.hero-lux__card-price { margin: 8px 0 0; font-weight: 700; font-size: 0.86rem; color: #f5ece0; }
.hero-lux__card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; font-size: 0.78rem; font-weight: 700; color: var(--gold-2);
}
.hero-lux__card-link::after { content: "→"; transition: transform .2s ease; }
.hero-lux__card-link:hover::after { transform: translateX(3px); }

/* ---- showcase row ---- */
.showcase { padding: 54px 0 10px; background: #070504; }
.showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.4fr) minmax(0, 0.86fr);
  gap: 18px;
}
.showcase-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 230px;
  padding: 20px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #070504 0%, #080605 100%);
  border: 1px solid rgba(166, 124, 45, 0.22);
  box-shadow: 0 14px 34px rgba(23, 19, 16, 0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.showcase-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(23, 19, 16, 0.12); }
.showcase-card__tag {
  margin: 0; font-size: 0.58rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.showcase-card__tag--accent {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-gradient); color: var(--beige-ink); font-weight: 700;
}
.showcase-card h2 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  letter-spacing: -0.03em; color: #f5ece0;
}
.showcase-card p { margin: 7px 0 0; color: var(--muted); font-size: 0.86rem; max-width: 34ch; }
.showcase-card__price { margin-top: 10px !important; font-weight: 700; color: #f5ece0; }
.showcase-card__link {
  margin-top: auto; padding-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700; color: var(--gold-2);
}
.showcase-card__link::after { content: "→"; transition: transform .2s ease; }
.showcase-card__link:hover::after { transform: translateX(3px); }
.showcase-card--sm picture {
  position: absolute; right: -16px; bottom: -16px;
  width: 136px; height: 136px;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 19, 16, 0.16);
}
.showcase-card--sm img { display: block; width: 100%; height: 100%; object-fit: cover; }
.showcase-card--sm p, .showcase-card--sm h2 { max-width: calc(100% - 120px); }
.showcase-card--lg {
  flex-direction: row; align-items: stretch; gap: 18px;
  padding: 0; min-height: 260px;
  background: linear-gradient(140deg, #070504 0%, #080705 100%);
}
.showcase-card--lg .showcase-card__body {
  display: flex; flex-direction: column;
  flex: 1 1 46%; padding: 22px;
}
.showcase-card--lg picture { flex: 1 1 54%; width: 54%; display: block; }
.showcase-card--lg img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }

/* ---- assurance strip ---- */
.assurance { padding: 34px 0 6px; background: #070504; }
.assurance__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 18px clamp(14px, 2vw, 24px);
  border-radius: 20px;
  border: 1px solid rgba(166, 124, 45, 0.2);
  background: linear-gradient(120deg, #070504, #080605);
}
.assurance__item { display: flex; align-items: center; gap: 11px; }
.assurance__item + .assurance__item { border-left: 1px solid rgba(166, 124, 45, 0.16); padding-left: 14px; }
.assurance__icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 12px; color: var(--gold-2);
  background: #070504; border: 1px solid rgba(166, 124, 45, 0.26);
}
.assurance__item strong { display: block; font-size: 0.82rem; color: #f5ece0; }
.assurance__item span { display: block; font-size: 0.7rem; color: var(--muted); }

@media (max-width: 1080px) {
  .hero-lux__grid { grid-template-columns: 1fr; }
  .hero-lux__card { position: static; width: auto; margin-top: 14px; }
  .showcase__grid { grid-template-columns: 1fr 1fr; }
  .showcase-card--lg { grid-column: 1 / -1; }
  .assurance__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .assurance__item:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 720px) {
  .hero-lux { padding-top: 24px; }
  .hero-lux__stats { grid-template-columns: 1fr 1fr; }
  .showcase { padding-top: 38px; }
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase-card--lg { flex-direction: column; }
  .showcase-card--lg picture { width: 100%; }
  .showcase-card--lg img { width: 100%; height: 210px; }
  .assurance__grid { grid-template-columns: 1fr 1fr; }
  .assurance__item { border-left: 0 !important; padding-left: 0 !important; }
}
@media (max-width: 430px) {
  .assurance__grid { grid-template-columns: 1fr; }
  .hero-lux__photo img { height: 260px; }
}

/* reference details: arrow on the primary hero action, tighter hero rhythm */
.hero-lux__actions .btn--gold::after { content: "→"; margin-left: 8px; transition: transform .2s ease; }
.hero-lux__actions .btn--gold:hover::after { transform: translateX(3px); }
.hero-lux__content .eyebrow { color: var(--gold-3); }
.hero-lux__photo { position: relative; }
.hero-lux__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: 26px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

/* home polish: tighter showcase cards, equal hero buttons on phones */
.showcase-card__tag { white-space: nowrap; }
.showcase-card--sm picture { width: 118px; height: 118px; right: -12px; bottom: -12px; }
.showcase-card--sm h2, .showcase-card--sm p { max-width: calc(100% - 96px); }
.showcase-card--sm .showcase-card__link { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .hero-lux__actions { gap: 8px; }
  .hero-lux__actions .btn { flex: 1 1 100%; justify-content: center; }
  .showcase-card--sm picture { position: static; width: 100%; height: 170px; margin-top: 14px; border-radius: 16px; }
  .showcase-card--sm h2, .showcase-card--sm p { max-width: 100%; }
  .showcase-card--sm .showcase-card__link { padding-top: 12px; }
}
/* keep the hero product card clear of the floating WhatsApp button */
@media (max-width: 1400px) {
  .hero-lux__card { right: auto; left: clamp(-6px, 1vw, 18px); }
}

/* =================== ROUND 15: a more refined, modern rate board ===================
   Pure visual layer on top of the existing markup — no structural changes.          */
.rate-section { padding-top: clamp(86px, 9vw, 104px); }

.rate-board {
  border-radius: 26px;
  padding: clamp(14px, 1.5vw, 20px) clamp(14px, 1.8vw, 24px) clamp(12px, 1.4vw, 18px);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(166, 124, 45, 0.09) 0%, rgba(166, 124, 45, 0) 46%),
    radial-gradient(120% 140% at 100% 0%, rgba(166, 124, 45, 0.07) 0%, rgba(166, 124, 45, 0) 52%),
    linear-gradient(180deg, #070504 0%, #070504 100%);
  box-shadow:
    0 24px 60px -28px rgba(23, 19, 16, 0.3),
    0 2px 10px rgba(23, 19, 16, 0.05),
    0 0 0 1px rgba(166, 124, 45, 0.18);
}
.rate-board::before {
  height: 3px;
  background: linear-gradient(90deg, rgba(166,124,45,0) 0%, #c9a24a 18%, #f3dfae 38%, #a67c2d 58%, #f3dfae 78%, rgba(166,124,45,0) 100%);
  background-size: 220% 100%;
  animation: rateShimmer 7s linear infinite;
}
@keyframes rateShimmer { from { background-position: 0% 0; } to { background-position: 220% 0; } }
@media (prefers-reduced-motion: reduce) { .rate-board::before { animation: none; } }

.rate-board__bar { gap: 10px 18px; }
.rate-board__eyebrow { font-size: 0.58rem; letter-spacing: 0.24em; }
.rate-board__bar h2 { font-family: var(--font-display, inherit); font-size: clamp(1rem, 1.35vw, 1.18rem); }

/* headline prices become elegant tiles */
.rate-highlight { gap: 10px; justify-content: center; }
.rate-highlight__card {
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #070504 0%, #070605 100%);
  border: 1px solid rgba(166, 124, 45, 0.2);
  box-shadow: 0 6px 16px -10px rgba(23, 19, 16, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rate-highlight__card:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(23, 19, 16, 0.45); }
.rate-highlight__label { font-size: 0.58rem; letter-spacing: 0.18em; color: var(--gold-3); }
.rate-highlight__value { font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.02em; }
.rate-highlight__delta {
  padding: 2px 8px; border-radius: 999px; font-size: 0.72rem;
  background: rgba(23, 19, 16, 0.05);
}
.rate-highlight__delta.is-up { background: rgba(21, 127, 60, 0.1); }
.rate-highlight__delta.is-down { background: rgba(180, 64, 44, 0.1); }

/* tools */
.rate-clock, .rate-switch, .rate-expand {
  border-radius: 999px;
  box-shadow: 0 4px 12px -8px rgba(23, 19, 16, 0.5);
}
.rate-switch button.is-active { box-shadow: inset 0 0 0 1px rgba(166, 124, 45, 0.35); }
.rate-expand { padding: 5px 7px 5px 15px; }
.rate-expand__arrow { width: 26px; height: 26px; }

/* ---- table: airy rows, rounded, gold accent on the featured ones ---- */
.rate-table-wrap { margin-top: 14px; }
.rate-table { border-collapse: separate; border-spacing: 0 6px; }
.rate-table thead th { padding: 0 14px 4px; font-size: 0.6rem; letter-spacing: 0.18em; }
.rate-table tbody tr {
  border-top: 0;
  background: #070504;
  box-shadow: 0 0 0 1px rgba(23, 19, 16, 0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.rate-table tbody tr:hover {
  box-shadow: 0 10px 22px -16px rgba(23, 19, 16, 0.55), 0 0 0 1px rgba(166, 124, 45, 0.3);
  transform: translateY(-1px);
}
.rate-table tbody tr.is-featured {
  background: linear-gradient(90deg, rgba(166, 124, 45, 0.11) 0%, rgba(166, 124, 45, 0.03) 42%, #070504 100%);
  box-shadow: 0 0 0 1px rgba(166, 124, 45, 0.26);
}
.rate-table td, .rate-table tbody th { padding: 10px 14px; font-size: 0.92rem; border: 0; }
.rate-table tbody th { border-radius: 14px 0 0 14px; }
.rate-table tbody tr > *:last-child { border-radius: 0 14px 14px 0; }
.rate-purity { font-size: 1rem; letter-spacing: -0.01em; }
.rate-karat { font-size: 0.8rem; letter-spacing: 0.06em; }
.rate-sell { font-size: 0.98rem; }
.rate-change { padding: 2px 9px; border-radius: 999px; background: rgba(23, 19, 16, 0.04); }
.rate-change.is-up { background: rgba(21, 127, 60, 0.1); }
.rate-change.is-down { background: rgba(180, 64, 44, 0.1); }

/* ---- chart ---- */
.rate-chart__canvas {
  border-radius: 18px;
  border-color: rgba(166, 124, 45, 0.18);
  background: linear-gradient(180deg, #070504 0%, #070605 100%);
  box-shadow: inset 0 1px 0 #fff;
}
.rate-chart__head h3 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---- foot ---- */
.rate-board__foot { margin-top: 14px; padding-top: 10px; }

@media (max-width: 720px) {
  .rate-board { border-radius: 20px; }
  .rate-highlight { width: 100%; }
  .rate-highlight__card { flex: 1 1 140px; justify-content: space-between; padding: 6px 11px; }
  .rate-table td, .rate-table tbody th { padding: 8px 10px; }
}

/* =================== ROUND 15: home page polish =================== */
.hero-lux__photo img { transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.hero-lux__photo:hover img { transform: scale(1.035); }
.hero-lux__card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hero-lux__card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(23, 19, 16, 0.5); }
.hero-lux__stats { position: relative; }
.showcase-card { transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; }
.showcase-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(23, 19, 16, 0.55); }
.showcase-card picture img { transition: transform 0.9s cubic-bezier(.2,.7,.2,1); }
.showcase-card:hover picture img { transform: scale(1.05); }
.assurance__item { transition: transform 0.25s ease; }
.assurance__item:hover { transform: translateY(-2px); }
.assurance__icon { transition: background 0.25s ease, border-color 0.25s ease; }
.assurance__item:hover .assurance__icon { background: rgba(166, 124, 45, 0.12); border-color: rgba(166, 124, 45, 0.45); }

/* Japanese candlesticks */
.rate-candle.is-up { color: var(--rb-up); }
.rate-candle.is-down { color: var(--rb-down); }
.rate-candle__wick { stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0.75; }
.rate-candle__body { fill: currentColor; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rate-candle.is-down .rate-candle__body { fill: currentColor; }
.rate-candle.is-up .rate-candle__body { fill-opacity: 0.9; }
.rate-candle { transition: opacity 0.2s ease; }
.rate-chart__canvas:hover .rate-candle { opacity: 0.55; }
.rate-chart__canvas .rate-candle:hover { opacity: 1; }

.product-card__media > a { display: block; width: 100%; height: 100%; }

/* Переключатель валюты цен */
.price-switch-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.price-switch-row--center { justify-content: center; margin: 2px 0 18px; }
.price-switch-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.price-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}
.price-switch button {
  padding: 6px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.price-switch button:hover { color: var(--text); }
.price-switch button.is-active {
  background: var(--blue-gradient);
  color: var(--beige-ink);
}
.product-card__bottom span[data-price-amd],
.hero-lux__card-price span,
.showcase-card__price span { white-space: nowrap; }

/* Реферальная программа */
.referral-card { margin-top: 18px; }
.referral-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold-gradient); color: var(--beige-ink);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
}
.referral-text { margin: 0 0 14px; color: var(--muted); font-size: 0.94rem; }
.referral-code {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04); margin-bottom: 10px;
}
.referral-code__label {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
.referral-code strong {
  font-size: 1.24rem; letter-spacing: 0.14em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.referral-link { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.referral-link input {
  flex: 1 1 240px; min-width: 0;
  padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03); color: var(--text); font: inherit; font-size: 0.86rem;
}
.referral-status { margin: 12px 0 0; font-size: 0.88rem; color: var(--muted-2); }
.referral-status.is-on { color: var(--gold); font-weight: 600; }
.btn.is-copied { color: var(--gold); border-color: var(--gold-2); }
.referral-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 18px);
  z-index: 70; max-width: min(92vw, 420px);
  padding: 13px 20px; border-radius: 999px;
  background: var(--gold-gradient); color: var(--beige-ink);
  font-size: 0.9rem; font-weight: 600; text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.referral-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) {
  .referral-code { gap: 8px; }
  .referral-code strong { font-size: 1.1rem; }
}

.btn--wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa-gradient); color: #fff !important; border-color: transparent;
  box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28);
}
.btn--wa:hover { background: linear-gradient(135deg, #2ae472 0%, #22c963 55%, #159c8d 100%); color: #fff !important; }
.btn--wa .wa-icon { width: 1.1em; height: 1.1em; fill: currentColor; }
.referral-card .account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.referral-card .account-actions .btn--wa { flex: 0 0 auto; width: auto; padding-left: 22px; padding-right: 22px; }

/* Гостевой вход */
.auth-gate__guest { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.btn--guest { width: 100%; max-width: 320px; }
.auth-gate__guest-note { margin: 0; font-size: 0.82rem; color: var(--muted-2); text-align: center; }
.auth-gate__close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.auth-gate__close:hover { color: var(--gold); border-color: var(--gold-2); }
.auth-gate__panel { position: relative; }

/* Армянские подписи длиннее — прячем меню в бургер раньше, чтобы ничего не вылезало */
@media (max-width: 1440px) {
  html[lang="hy"] .main-nav {
    position: fixed;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 24px;
    background: rgba(22, 16, 13, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(23, 19, 16, 0.21);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
  }
  html[lang="hy"] .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  html[lang="hy"] .main-nav a { padding: 14px 16px; }
  html[lang="hy"] .menu-toggle { display: inline-flex; }
  html[lang="hy"] .icon-link { display: none; }
}

/* Страховка: содержимое шапки не выходит за её скругленную рамку,
   но выпадающее меню при этом не обрезается */
.site-header { overflow: visible; }
.site-header > * { min-width: 0; }
/* Закрытое выпадающее меню не должно перехватывать клики — только там,
   где оно действительно выпадающее (мобильная/узкая раскладка) */
@media (max-width: 1180px) {
  .site-header .main-nav:not(.is-open) { pointer-events: none; }
}
@media (max-width: 1440px) {
  html[lang="hy"] .site-header .main-nav:not(.is-open) { pointer-events: none; }
}
.header-actions { flex-wrap: nowrap; }
.menu-toggle { flex: 0 0 auto; }

/* Табло курсов: свернуто наполовину, стрелка раскрывает полностью */
.rate-board .rate-table-wrap {
  position: relative;
  max-height: 212px;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.22,.61,.36,1);
}
.rate-board .rate-table-wrap::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 86px;
  background: linear-gradient(180deg, rgba(7, 5, 4, 0) 0%, rgba(7, 5, 4, .82) 62%, rgba(7, 5, 4, .98) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
}
.rate-board.is-open .rate-table-wrap { max-height: 760px; overflow: auto; }
.rate-board.is-open .rate-table-wrap::after { opacity: 0; }
.rate-expand__arrow { transition: transform .35s ease; }
.rate-board.is-open .rate-expand__arrow { transform: rotate(180deg); }
.rate-board:not(.is-open) .rate-board__foot { margin-top: 2px; }
@media (max-width: 720px) {
  .rate-board .rate-table-wrap { max-height: 196px; }
  .rate-board.is-open .rate-table-wrap { max-height: 900px; }
}

/* Выпадающее меню: непрозрачный фон и поверх остального содержимого */
.main-nav.is-open,
html[lang="hy"] .main-nav.is-open {
  z-index: 120;
  background: #130d0a;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  backdrop-filter: blur(6px);
}
.site-header { z-index: 100; }

/* Кнопка «Войти» должна быть видна и на телефоне (гость может зарегистрироваться позже) */
@media (max-width: 760px) {
  .header-actions .btn.auth-signin-btn { display: inline-flex; padding: 8px 13px; font-size: 12px; }
}
@media (max-width: 430px) {
  .header-actions .btn.auth-signin-btn { padding: 7px 11px; font-size: 11px; }
}
