/* ==========================================================================
   ELEGANCE · posuda_astana_lux — Bespoke Porcelain & Champagne Design System
   Palette: Midnight Prussian Glaze (#111926) · Champagne Gold (#C9A25B) ·
            Bone China (#FAF7F1) · Studio White (#FFFFFF) · Deep Ink (#151A23)
   Native OS Cursor Preserved · Mobile-First (320-430px) · Silk Motion
   ========================================================================== */

:root {
  --midnight: #101824;
  --midnight-elev: #172233;
  --midnight-soft: #1E2C42;
  --bone: #FAF7F1;
  --alabaster: #F2ECE1;
  --studio: #FFFFFF;

  --ink: #141922;
  --ink-muted: #555D6B;
  --ink-soft: #7B8391;

  --pearl: #F8F4EC;
  --pearl-muted: rgba(248, 244, 236, 0.74);

  --gold: #C8A055;
  --gold-bright: #E5C687;
  --gold-deep: #9B742E;
  --gold-tint: rgba(200, 160, 85, 0.14);

  --kaspi: #D93829;
  --wa: #1FA855;

  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-silk: cubic-bezier(0.32, 0.72, 0, 1);

  --radius-outer: 26px;
  --radius-inner: 20px;
  --container: 1260px;
}

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

[hidden] {
  display: none !important;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  background-color: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
}

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

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

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

@media (min-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 56px));
  }
}

/* Scroll Reading Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 95;
  pointer-events: none;
}

/* ==========================================================================
   1. INTRO CURTAIN (Porcelain & Gold Opening Reveal)
   ========================================================================== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: radial-gradient(circle at 50% 42%, #1B283C 0%, #0E1520 75%);
  display: grid;
  place-items: center;
  transition: opacity 0.65s var(--ease-out), visibility 0.65s var(--ease-out);
  pointer-events: none;
}

.intro-curtain.is-done {
  opacity: 0;
  visibility: hidden;
}

.intro-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(0) scale(1);
  animation: introLift 0.78s var(--ease-out) both;
}

.intro-emblem__plate {
  filter: drop-shadow(0 10px 28px rgba(213, 179, 114, 0.22));
}

.intro-emblem__title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  letter-spacing: 0.22em;
  color: var(--pearl);
  font-weight: 500;
}

.intro-emblem__sub {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

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

/* ==========================================================================
   2. FLOATING ISLAND HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 80;
  padding-inline: 12px;
  pointer-events: none;
}

.header-island {
  pointer-events: auto;
  max-width: 1220px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px 8px 12px;
  border-radius: 999px;
  background: rgba(16, 24, 36, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(229, 198, 135, 0.2);
  box-shadow: 0 14px 36px rgba(9, 14, 22, 0.24);
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.is-light .header-island {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(20, 25, 34, 0.09);
  box-shadow: 0 12px 32px rgba(20, 25, 34, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand__seal {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  color: var(--pearl);
  transition: color 0.3s var(--ease-out);
}

.brand__tag {
  font-size: 0.68rem;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  transition: color 0.3s var(--ease-out);
}

@media (max-width: 374px) {
  .brand__tag {
    display: none;
  }
}

.site-header.is-light .brand__name {
  color: var(--ink);
}

.site-header.is-light .brand__tag {
  color: var(--gold-deep);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

@media (min-width: 1040px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(248, 244, 236, 0.85);
  padding: 6px 2px;
  position: relative;
  transition: color 0.25s var(--ease-out);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease-out);
}

.desktop-nav a:hover {
  color: #FFFFFF;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header.is-light .desktop-nav a {
  color: var(--ink-muted);
}

.site-header.is-light .desktop-nav a:hover {
  color: var(--ink);
}

.site-header.is-light .desktop-nav a::after {
  background: var(--gold-deep);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-light .lang-pill {
  background: rgba(20, 25, 34, 0.05);
  border-color: rgba(20, 25, 34, 0.08);
}

.lang-btn {
  min-width: 32px;
  height: 28px;
  padding-inline: 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(248, 244, 236, 0.74);
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-spring);
}

.site-header.is-light .lang-btn {
  color: var(--ink-muted);
}

.lang-btn.is-active {
  background: var(--gold);
  color: #101824;
}

.site-header.is-light .lang-btn.is-active {
  background: var(--midnight);
  color: var(--pearl);
}

.tray-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(213, 179, 114, 0.16);
  border: 1px solid rgba(229, 198, 135, 0.35);
  color: var(--pearl);
  font-size: 0.82rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s var(--ease-out);
}

.tray-btn:active {
  transform: scale(0.96);
}

.site-header.is-light .tray-btn {
  background: var(--bone);
  border-color: rgba(200, 160, 85, 0.45);
  color: var(--ink);
}

.tray-btn__label {
  display: none;
}

@media (min-width: 560px) {
  .tray-btn__label {
    display: inline;
  }
}

.tray-btn__badge {
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #101824;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  transition: transform 0.3s var(--ease-spring);
}

.tray-btn__badge.is-zero {
  background: rgba(255, 255, 255, 0.18);
  color: var(--pearl);
}

.site-header.is-light .tray-btn__badge.is-zero {
  background: rgba(20, 25, 34, 0.1);
  color: var(--ink-muted);
}

.burger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--pearl);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-spring);
}

.site-header.is-light .burger-btn {
  background: rgba(20, 25, 34, 0.06);
  color: var(--ink);
}

@media (min-width: 1040px) {
  .burger-btn {
    display: none;
  }
}

.burger-lines {
  width: 18px;
  height: 10px;
  position: relative;
  display: block;
}

.burger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s var(--ease-silk), top 0.32s var(--ease-silk);
}

.burger-lines span:first-child {
  top: 1px;
}

.burger-lines span:last-child {
  top: 7px;
}

.burger-btn[aria-expanded="true"] .burger-lines span:first-child {
  top: 4px;
  transform: rotate(45deg);
}

.burger-btn[aria-expanded="true"] .burger-lines span:last-child {
  top: 4px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   3. DOUBLE-BEZEL (DOPPELRAND) & TACTILE BUTTON CRAFT
   ========================================================================== */
.doppel-shell {
  padding: 6px;
  border-radius: var(--radius-outer);
  background: rgba(20, 25, 34, 0.035);
  border: 1px solid rgba(20, 25, 34, 0.075);
  position: relative;
}

.doppel-shell--dark {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(229, 198, 135, 0.2);
}

.doppel-core {
  border-radius: var(--radius-inner);
  background: var(--studio);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.doppel-shell--dark > .doppel-core {
  background: var(--midnight-elev);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Primary & Secondary Buttons with Shimmer & Orb Glide */
.btn-primary {
  --mx: 50%;
  --my: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 9px 10px 9px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #DEC080 0%, #C39848 100%);
  color: #101824;
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(195, 152, 72, 0.28);
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s var(--ease-out);
}

.btn-primary--full {
  width: 100%;
  justify-content: space-between;
  padding-left: 24px;
}

.btn-primary--compact {
  min-height: 42px;
  padding: 6px 8px 6px 16px;
  font-size: 0.85rem;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.42) 50%, transparent 78%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:active {
  transform: scale(0.97) !important;
}

.btn-orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 24, 36, 0.13);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background-color 0.3s var(--ease-out);
}

.btn-primary:hover .btn-orb {
  transform: translate(2px, -2px) scale(1.05);
  background: rgba(16, 24, 36, 0.2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(229, 198, 135, 0.34);
  background: rgba(255, 255, 255, 0.05);
  color: var(--pearl);
  font-weight: 500;
  font-size: 0.92rem;
  transition: background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), transform 0.25s var(--ease-spring);
}

.btn-secondary:hover {
  background: rgba(229, 198, 135, 0.14);
  border-color: rgba(229, 198, 135, 0.6);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.catalog-section .btn-secondary {
  color: var(--ink);
  border-color: rgba(20, 25, 34, 0.18);
  background: var(--studio);
}

.ext-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.11);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-spring), background-color 0.25s var(--ease-out);
}

.ext-pill--solid {
  background: var(--midnight);
  color: var(--pearl);
  border-color: var(--midnight);
}

.ext-pill__arrow {
  transition: transform 0.28s var(--ease-spring);
}

.ext-pill:hover .ext-pill__arrow {
  transform: translate(2px, -2px);
}

.ext-pill:active {
  transform: scale(0.97);
}

/* ==========================================================================
   4. HERO STAGE (Midnight Prussian Porcelain + Seamless Silk Fade)
   ========================================================================== */
.hero-stage {
  position: relative;
  background: linear-gradient(180deg, #0E1520 0%, #131E2E 74%, #1A273B 92%, var(--bone) 100%);
  color: var(--pearl);
  padding: calc(82px + env(safe-area-inset-top)) 0 76px;
  overflow: hidden;
}

@media (min-width: 960px) {
  .hero-stage {
    padding: 122px 0 108px;
  }
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.34;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

.hero-glow--one {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -90px;
  background: radial-gradient(circle, rgba(213, 179, 114, 0.42), transparent 70%);
}

.hero-glow--two {
  width: 360px;
  height: 360px;
  bottom: 12%;
  left: -100px;
  background: radial-gradient(circle, rgba(93, 55, 84, 0.45), transparent 70%);
  animation-delay: -6s;
}

@keyframes ambientFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(18px, -16px, 0) scale(1.06);
  }
}

.hero-grid > *,
.catalog-grid > *,
.sets-grid > *,
.videos-grid > *,
.constructor-inner > *,
.showroom-layout > * {
  min-width: 0;
}

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

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 48px;
  }
}

.hero-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 16px;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(229, 198, 135, 0.24);
  font-size: 0.78rem;
  color: var(--pearl);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35D07F;
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.2);
  flex-shrink: 0;
}

.status-dot.is-closed {
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(229, 198, 135, 0.18);
}

.demo-whisper {
  font-size: 0.72rem;
  color: rgba(248, 244, 236, 0.52);
  letter-spacing: 0.02em;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 6.2vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-wrap: balance;
  hyphens: none;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: clamp(0.96rem, 2.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--pearl-muted);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

@media (min-width: 540px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .hero-proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-pill {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(16, 24, 36, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proof-pill__num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.proof-pill__text {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(248, 244, 236, 0.8);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-media-frame {
  aspect-ratio: 4 / 3.2;
  position: relative;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.9s var(--ease-out);
}

.hero-showcase-card:hover .hero-main-img {
  transform: scale(1.04);
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 32, 0.05) 35%, rgba(14, 21, 32, 0.86) 100%);
  pointer-events: none;
}

.hero-floating-card {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 24, 36, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 198, 135, 0.26);
}

.hero-floating-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.hero-floating-card__badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.hero-floating-card__kaspi {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(217, 56, 41, 0.22);
  border: 1px solid rgba(217, 56, 41, 0.45);
  color: #FFD7D3;
}

.hero-floating-card__title {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.hero-floating-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-floating-card__price {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--gold-bright);
}

.hero-quick-jump {
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.25s var(--ease-out);
}

.hero-quick-jump:hover {
  background: rgba(229, 198, 135, 0.28);
}

.hero-mini-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .hero-mini-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-mini-card {
  text-align: left;
  width: 100%;
  background: rgba(16, 24, 36, 0.78);
  border-color: rgba(229, 198, 135, 0.22);
  transition: transform 0.28s var(--ease-spring);
}

.hero-mini-card:hover {
  transform: translateY(-2px);
}

.hero-mini-card__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #162131 !important;
}

.hero-mini-card__inner img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: #FFFFFF;
  flex-shrink: 0;
}

.hero-mini-card__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-mini-card__copy strong {
  font-size: 0.88rem;
  color: #FFFFFF;
}

.hero-mini-card__copy span {
  font-size: 0.75rem;
  color: rgba(248, 244, 236, 0.74);
}

/* ==========================================================================
   5. INSTAGRAM HIGHLIGHTS BAR (@posuda_astana_lux)
   ========================================================================== */
.highlights-section {
  padding: 20px 0 42px;
  background: linear-gradient(180deg, var(--bone) 0%, #F7F2E8 100%);
}

.highlights-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.highlights-heading {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

.highlights-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.highlights-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.highlights-track::-webkit-scrollbar {
  display: none;
}

.hl-circle {
  flex: 0 0 auto;
  width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  scroll-snap-align: start;
  transition: transform 0.28s var(--ease-spring);
}

.hl-circle:hover {
  transform: translateY(-3px);
}

.hl-circle:active {
  transform: scale(0.95);
}

.hl-circle__ring {
  width: 74px;
  height: 74px;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 140deg, #DEC080, #9B742E, #E5C88F, #172233, #DEC080);
  display: grid;
  place-items: center;
}

.hl-circle__img-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2.5px solid var(--bone);
  overflow: hidden;
  background: var(--studio);
}

.hl-circle__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hl-circle__title {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   6. CATALOG SECTION (30 Verified Products on Studio White Podiums)
   ========================================================================== */
.catalog-section {
  padding: 54px 0 76px;
  background: linear-gradient(180deg, #F7F2E8 0%, var(--bone) 35%, #F4EEE2 100%);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
  hyphens: none;
}

.section-desc {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 62ch;
}

.kaspi-verified-card {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border-radius: 18px;
  background: var(--studio);
  border: 1px solid rgba(217, 56, 41, 0.22);
  box-shadow: 0 8px 24px rgba(20, 25, 34, 0.04);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s var(--ease-out);
}

.kaspi-verified-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 56, 41, 0.48);
}

.kaspi-verified-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--kaspi);
  box-shadow: 0 0 0 4px rgba(217, 56, 41, 0.15);
  flex-shrink: 0;
}

.kaspi-verified-card strong {
  display: block;
  font-size: 0.84rem;
  color: var(--ink);
}

.kaspi-verified-card small {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.1);
  color: var(--ink-muted);
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.26s var(--ease-out), color 0.26s var(--ease-out), border-color 0.26s var(--ease-out), transform 0.25s var(--ease-spring);
}

.filter-pill:hover {
  border-color: rgba(200, 160, 85, 0.55);
  color: var(--ink);
  transform: translateY(-1px);
}

.filter-pill:active {
  transform: scale(0.96);
}

.filter-pill.is-active {
  background: var(--midnight);
  border-color: var(--midnight);
  color: var(--pearl);
  box-shadow: 0 8px 20px rgba(16, 24, 36, 0.16);
}

.filter-pill__count {
  font-size: 0.73rem;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(20, 25, 34, 0.07);
  color: inherit;
}

.filter-pill.is-active .filter-pill__count {
  background: rgba(229, 198, 135, 0.22);
  color: var(--gold-bright);
}

.catalog-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .catalog-controls {
    grid-template-columns: 1fr 290px;
  }
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 16px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.11);
  color: var(--ink-muted);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.search-box:focus-within {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(200, 160, 85, 0.16);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1rem; /* Prevents iOS zoom on focus */
  color: var(--ink);
  outline: none;
}

.search-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(20, 25, 34, 0.08);
  font-size: 0.78rem;
  display: inline-grid;
  place-items: center;
}

/* Custom Accessible Listbox / Combobox */
.custom-select {
  position: relative;
}

.custom-select__trigger {
  width: 100%;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.9rem;
  text-align: left;
  transition: border-color 0.25s var(--ease-out);
}

.custom-select__prefix {
  color: var(--ink-soft);
  font-size: 0.82rem;
  white-space: nowrap;
}

.custom-select__value {
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__chev {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform 0.28s var(--ease-out);
}

.custom-select__trigger[aria-expanded="true"] .custom-select__chev {
  transform: rotate(180deg);
}

.custom-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 18px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.12);
  box-shadow: 0 18px 42px rgba(16, 24, 36, 0.16);
  z-index: 45;
}

.custom-select__opt {
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s var(--ease-out);
}

.custom-select__opt:hover,
.custom-select__opt:focus {
  background: var(--bone);
  outline: none;
}

.custom-select__opt.is-selected {
  background: var(--midnight);
  color: var(--pearl);
  font-weight: 600;
}

.custom-select__opt.is-selected::after {
  content: '✓';
  color: var(--gold-bright);
  font-weight: 700;
}

/* Dark form variant of custom-select */
.custom-select--form .custom-select__trigger {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--pearl);
}

.custom-select--form .custom-select__value {
  color: var(--pearl);
  white-space: normal;
  line-height: 1.3;
}

.custom-select--form .custom-select__chev {
  color: var(--gold-bright);
}

.custom-select--form .custom-select__menu {
  background: #182436;
  border-color: rgba(229, 198, 135, 0.28);
}

.custom-select--form .custom-select__opt {
  color: var(--pearl);
}

.custom-select--form .custom-select__opt:hover {
  background: rgba(255, 255, 255, 0.08);
}

.custom-select--form .custom-select__opt.is-selected {
  background: rgba(200, 160, 85, 0.24);
  color: #FFFFFF;
}

/* Product Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.prod-card {
  --mx: 50%;
  --my: 50%;
  display: flex;
  flex-direction: column;
  transition: transform 0.32s var(--ease-out);
  animation: cardCascade 0.42s var(--ease-out) both;
}

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

@media (hover: hover) and (pointer: fine) {
  .prod-card:hover {
    transform: translateY(-4px);
  }

  .prod-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-outer);
    background: radial-gradient(320px circle at var(--mx) var(--my), rgba(200, 160, 85, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    pointer-events: none;
  }

  .prod-card:hover::before {
    opacity: 1;
  }
}

.prod-card__core {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
}

.prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: #FFFFFF;
  overflow: hidden;
  margin-bottom: 12px;
  cursor: pointer;
  border: 1px solid rgba(20, 25, 34, 0.05);
}

.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.55s var(--ease-out);
}

.prod-card:hover .prod-card__media img {
  transform: scale(1.04);
}

.prod-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.prod-card__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bone);
  border: 1px solid rgba(200, 160, 85, 0.3);
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-more-wrap {
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.prod-card__zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 25, 34, 0.1);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(20, 25, 34, 0.08);
}

.prod-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-inline: 2px;
}

.prod-card__brand {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 3px;
}

.prod-card__title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--ink);
  cursor: pointer;
}

.prod-card__spec {
  margin: 0 0 12px;
  font-size: 0.8rem;
  line-height: 1.42;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-card__pricing {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 25, 34, 0.07);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
}

.prod-card__price {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.prod-card__kaspi {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(217, 56, 41, 0.09);
  color: #B4281B;
  white-space: nowrap;
}

.prod-card__actions {
  display: flex;
  gap: 8px;
}

.add-order-btn {
  width: 100%;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 13px;
  background: var(--midnight);
  color: var(--pearl);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-spring), color 0.25s var(--ease-out);
}

.add-order-btn:hover {
  background: #1C2A40;
}

.add-order-btn:active {
  transform: scale(0.97);
}

.add-order-btn.is-added {
  background: rgba(31, 168, 85, 0.13);
  color: #13753B;
  border: 1px solid rgba(31, 168, 85, 0.35);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  border: 1px solid rgba(20, 25, 34, 0.14);
  background: var(--bone);
  height: 44px;
  flex-shrink: 0;
}

.qty-stepper button {
  width: 34px;
  height: 100%;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.qty-stepper span {
  min-width: 22px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.catalog-empty {
  padding: 38px 20px;
  text-align: center;
  border-radius: 22px;
  background: var(--studio);
  border: 1px solid rgba(20, 25, 34, 0.08);
}

.catalog-empty p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

/* ==========================================================================
   7. CURATED BUNDLES / READY SETS (Праздничный стол & Қыз жасауы)
   ========================================================================== */
.sets-section {
  padding: 36px 0 76px;
  background: linear-gradient(180deg, #F4EEE2 0%, var(--bone) 100%);
}

.sets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .sets-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.set-card__inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.set-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.set-card__badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.set-card__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  color: var(--ink);
}

.set-card__thumbs {
  display: flex;
  align-items: center;
}

.set-card__thumbs img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #FFFFFF;
  border: 2px solid var(--studio);
  box-shadow: 0 4px 10px rgba(20, 25, 34, 0.1);
}

.set-card__thumbs img + img {
  margin-left: -12px;
}

.set-card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.set-card__items {
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  border-radius: 14px;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--ink);
}

.set-card__items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.set-card__items li span:last-child {
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-muted);
}

.set-card__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.set-card__total strong {
  display: block;
  font-size: 1.18rem;
  color: var(--ink);
}

.set-card__total small {
  font-size: 0.76rem;
  color: #B4281B;
  font-weight: 600;
}

.load-set-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--pearl);
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s var(--ease-out);
}

.load-set-btn:hover {
  background: #1E2D45;
}

.load-set-btn:active {
  transform: scale(0.97);
}

.load-set-btn.is-loaded {
  background: var(--wa);
  color: #FFFFFF;
}

/* ==========================================================================
   8. CLICK-TO-PLAY VIDEO REVIEWS (Zero Overlapping Badges Over Video!)
   ========================================================================== */
.videos-section {
  padding: 28px 0 84px;
  background: linear-gradient(180deg, var(--bone) 0%, #EFE8DA 100%);
}

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

@media (min-width: 360px) {
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .video-meta {
    padding: 11px 12px 13px;
  }

  .video-meta__title {
    font-size: 0.88rem;
  }

  .video-meta__sub {
    font-size: 0.74rem;
  }
}

@media (min-width: 768px) {
  .videos-grid {
    gap: 16px;
  }

  .video-meta {
    padding: 14px 15px 16px;
  }

  .video-meta__title {
    font-size: 0.98rem;
  }

  .video-meta__sub {
    font-size: 0.8rem;
  }
}

@media (min-width: 1040px) {
  .videos-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

.video-card__core {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-stage {
  position: relative;
  aspect-ratio: 9 / 14;
  background: #0F1621;
  overflow: hidden;
}

.video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(14, 21, 32, 0.22);
  transition: opacity 0.28s var(--ease-out), background-color 0.28s var(--ease-out);
}

.video-stage.is-playing .video-play-cover {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(16, 24, 36, 0.84);
  border: 1.5px solid rgba(229, 198, 135, 0.7);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s var(--ease-spring);
}

.video-play-cover:hover .video-play-btn {
  transform: scale(1.08);
}

/* Caption sits strictly BELOW the video frame so video & controls are NEVER covered */
.video-meta {
  padding: 14px 15px 16px;
  background: var(--studio);
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.video-meta__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.video-meta__sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ==========================================================================
   9. WHATSAPP ORDER CONSTRUCTOR STAGE
   ========================================================================== */
.constructor-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, #EFE8DA 0%, #141E2E 14%, #0F1723 86%, var(--bone) 100%);
}

.constructor-inner {
  padding: 22px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 640px) {
  .constructor-inner {
    padding: 34px 32px;
  }
}

@media (min-width: 980px) {
  .constructor-inner {
    grid-template-columns: 1.04fr 0.96fr;
    gap: 42px;
    padding: 42px;
  }
}

.constructor-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.15;
  text-wrap: balance;
}

.constructor-sub {
  margin: 0 0 22px;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--pearl-muted);
}

.selected-summary-box {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(229, 198, 135, 0.22);
  margin-bottom: 16px;
}

.selected-summary-box__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.selected-summary-box__title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.text-link-gold {
  font-size: 0.8rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.selected-summary-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
}

.summary-empty {
  font-size: 0.85rem;
  color: rgba(248, 244, 236, 0.62);
  padding: 8px 0;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(16, 24, 36, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row__info {
  min-width: 0;
  flex: 1;
}

.summary-row__info strong {
  display: block;
  font-size: 0.84rem;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-row__info small {
  font-size: 0.75rem;
  color: var(--gold-bright);
}

.summary-row__controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-row__controls button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-weight: 600;
}

.summary-row__controls span {
  min-width: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #FFFFFF;
  font-weight: 600;
}

.selected-summary-totals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.totals-label {
  font-size: 0.82rem;
  color: var(--pearl-muted);
  margin-right: 6px;
}

.totals-price {
  font-size: 1.2rem;
  color: var(--gold-bright);
}

.totals-kaspi {
  font-size: 0.78rem;
  color: #FFD3CE;
  font-weight: 600;
}

.wa-preview-card {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(11, 17, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.wa-preview-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(248, 244, 236, 0.7);
  margin-bottom: 8px;
}

.wa-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa);
}

.wa-preview-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.48;
  color: rgba(248, 244, 236, 0.9);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Form Fields */
.constructor-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 244, 236, 0.88);
}

.field-input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 1rem; /* No iOS zoom */
  transition: border-color 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.field-input::placeholder {
  color: rgba(248, 244, 236, 0.42);
}

.field-input:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.09);
}

.field-textarea {
  resize: vertical;
  min-height: 84px;
}

.form-footnote {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(248, 244, 236, 0.56);
  text-align: center;
}

/* ==========================================================================
   10. BOUTIQUE SHOWROOM & ASTANA ADDRESS
   ========================================================================== */
.showroom-section {
  padding: 44px 0 72px;
  background: var(--bone);
}

.showroom-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}

@media (min-width: 960px) {
  .showroom-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
  }
}

.address-card {
  margin-top: 22px;
}

.address-card__inner {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.address-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(20, 25, 34, 0.07);
}

.address-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 4px;
}

.address-row__label {
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.address-row__val {
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.45;
}

.address-phone {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--midnight);
}

.address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.showroom-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showroom-photo {
  margin: 0;
}

.showroom-photo__inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prod-card__media img,
.set-card__thumbs img {
  height: 100%;
}

.showroom-photo--main .showroom-photo__inner img {
  aspect-ratio: 16 / 11;
}

.showroom-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.showroom-subgrid .showroom-photo__inner img {
  aspect-ratio: 4 / 4.6;
}

.showroom-photo figcaption {
  padding: 10px 13px;
  font-size: 0.76rem;
  color: var(--ink-muted);
  background: var(--studio);
}

/* ==========================================================================
   11. FOOTER (Designed Close, Zero White Void)
   ========================================================================== */
.site-footer {
  background: var(--midnight);
  color: var(--pearl);
  padding: 46px 0 calc(86px + env(safe-area-inset-bottom));
}

.sticky-order-pill.is-in-constructor {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.sticky-order-pill {
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  line-height: 1;
  margin-bottom: 8px;
}

.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: var(--pearl-muted);
  max-width: 46ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pearl);
  padding: 6px 0;
  transition: color 0.25s var(--ease-out);
}

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

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 0.78rem;
  color: rgba(248, 244, 236, 0.56);
}

/* ==========================================================================
   12. PREMIUM BOTTOM-SHEET MOBILE MENU (ersultan-website-standard §34)
   ========================================================================== */
.sheet-backdrop,
.tray-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 24, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.32s var(--ease-out);
}

.sheet-backdrop.is-open,
.tray-backdrop.is-open,
.modal-backdrop.is-open {
  opacity: 1;
}

.mobile-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92dvh;
  z-index: 100;
  background: #121B29;
  color: var(--pearl);
  border-radius: 28px 28px 0 0;
  border-top: 1px solid rgba(229, 198, 135, 0.28);
  padding: 10px 16px calc(18px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  transform: translateY(104%);
  transition: transform 0.42s var(--ease-silk);
}

.mobile-sheet.is-open {
  transform: translateY(0);
}

.mobile-sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 2px;
  flex-shrink: 0;
}

.mobile-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.circle-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--pearl);
  font-size: 1rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), background-color 0.25s var(--ease-out);
}

.circle-close--light {
  background: rgba(20, 25, 34, 0.07);
  color: var(--ink);
}

.circle-close:active {
  transform: scale(0.92);
}

.mobile-sheet__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sheet-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-spring);
}

.sheet-nav-card:active {
  transform: scale(0.98);
  background: rgba(229, 198, 135, 0.14);
}

.sheet-nav-card__num {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
  min-width: 24px;
}

.sheet-nav-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sheet-nav-card__body strong {
  font-size: 0.92rem;
  color: #FFFFFF;
}

.sheet-nav-card__body small {
  font-size: 0.75rem;
  color: rgba(248, 244, 236, 0.66);
}

.sheet-nav-card__arrow {
  color: var(--gold-bright);
  font-weight: 600;
}

.mobile-sheet__hub {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 198, 135, 0.18);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sheet-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.hours-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  color: var(--pearl-muted);
}

.sheet-hub-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

@media (min-width: 380px) {
  .sheet-hub-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.sheet-call-btn {
  min-height: 46px;
  padding-inline: 12px;
  font-size: 0.83rem;
}

/* ==========================================================================
   13. SLIDE-OVER ORDER TRAY & PRODUCT MODAL & STORY VIEWER
   ========================================================================== */
.order-tray {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  z-index: 102;
  background: var(--studio);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.4s var(--ease-silk);
  box-shadow: -18px 0 48px rgba(10, 15, 24, 0.2);
}

.order-tray.is-open {
  transform: translateX(0);
}

.order-tray__head {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(20, 25, 34, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-tray__title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.order-tray__sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.order-tray__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tray-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--bone);
  border: 1px solid rgba(20, 25, 34, 0.07);
}

.tray-item img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  background: #FFFFFF;
  flex-shrink: 0;
}

.tray-item__info {
  flex: 1;
  min-width: 0;
}

.tray-item__info strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.3;
  margin-bottom: 3px;
}

.tray-item__info span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
}

.order-tray__foot {
  padding: 16px 20px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(20, 25, 34, 0.08);
  background: var(--bone);
}

.tray-delivery-note {
  font-size: 0.76rem;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(31, 168, 85, 0.1);
  color: #136F38;
  font-weight: 600;
  margin-bottom: 12px;
}

.tray-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1rem;
  margin-bottom: 4px;
}

.tray-totals-row strong {
  font-size: 1.3rem;
}

.tray-kaspi-row {
  font-size: 0.8rem;
  color: #B4281B;
  font-weight: 600;
  margin-bottom: 14px;
}

.tray-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tray-clear-btn {
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 6px;
  text-align: center;
}

/* Product Quick-View Modal */
.modal-backdrop {
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 105;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.product-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  border-radius: 26px;
  background: var(--studio);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(10, 15, 24, 0.35);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.product-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 680px) {
  .product-modal__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 26px;
  }
}

.modal-img-box {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(20, 25, 34, 0.08);
  display: grid;
  place-items: center;
  padding: 12px;
}

.modal-img-box img {
  max-height: 100%;
  object-fit: contain;
}

.modal-details h3 {
  margin: 4px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.22;
}

.modal-details p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

.modal-price-box {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bone);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.modal-price-box strong {
  font-size: 1.35rem;
}

.modal-price-box span {
  font-size: 0.82rem;
  color: #B4281B;
  font-weight: 600;
}

/* Story Viewer */
.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
  padding: 12px;
}

.story-viewer[hidden] {
  display: none !important;
}

.story-viewer__card {
  width: min(420px, 100%);
  height: min(760px, 92dvh);
  border-radius: 26px;
  background: #101824;
  border: 1px solid rgba(229, 198, 135, 0.26);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.story-progress-bars {
  display: flex;
  gap: 5px;
  padding: 12px 14px 6px;
}

.story-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.story-bar.is-active {
  background: var(--gold-bright);
}

.story-bar.is-done {
  background: rgba(229, 198, 135, 0.65);
}

.story-viewer__top {
  padding: 6px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
}

.story-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.story-author strong {
  display: block;
  font-size: 0.88rem;
}

.story-author span {
  font-size: 0.74rem;
  color: var(--gold-bright);
}

.story-viewer__stage {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #0B1018;
  display: grid;
  place-items: center;
}

.story-viewer__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.story-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 24, 36, 0.72);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
}

.story-nav--prev {
  left: 10px;
}

.story-nav--next {
  right: 10px;
}

.story-viewer__bottom {
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: #121B28;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-caption {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--pearl);
  line-height: 1.45;
}

.story-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-orig-link {
  font-size: 0.78rem;
  color: var(--gold-bright);
  white-space: nowrap;
}

/* ==========================================================================
   14. STICKY ORDER PILL & PERSISTENT MORPHING CONTACT FAB
   ========================================================================== */
.sticky-order-pill {
  position: fixed;
  left: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 84;
  max-width: calc(100vw - 92px);
}

.sticky-order-pill__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--pearl);
  border: 1px solid rgba(229, 198, 135, 0.42);
  box-shadow: 0 14px 32px rgba(10, 15, 24, 0.32);
  transition: transform 0.28s var(--ease-spring);
}

.sticky-order-pill__btn:active {
  transform: scale(0.96);
}

.sticky-order-pill__count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #101824;
  font-weight: 700;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sticky-order-pill__info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.18;
  min-width: 0;
}

.sticky-order-pill__info strong {
  font-size: 0.88rem;
  color: #FFFFFF;
}

.sticky-order-pill__info small {
  font-size: 0.7rem;
  color: var(--gold-bright);
}

.sticky-order-pill__cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
  display: none;
}

@media (min-width: 410px) {
  .sticky-order-pill__cta {
    display: inline;
  }
}

/* Contact FAB */
.contact-fab {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-fab__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(16, 24, 36, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 198, 135, 0.3);
  box-shadow: 0 20px 46px rgba(8, 12, 20, 0.42);
  width: min(268px, calc(100vw - 28px));
  transform-origin: bottom right;
  animation: fabPop 0.28s var(--ease-spring) both;
}

@keyframes fabPop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 14px;
  color: var(--pearl);
  transition: background-color 0.22s var(--ease-out), transform 0.22s var(--ease-spring);
}

.fab-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-2px);
}

.fab-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fab-item--wa .fab-item__icon {
  background: rgba(31, 168, 85, 0.2);
  color: #4BE387;
}

.fab-item--ig .fab-item__icon {
  background: rgba(225, 48, 108, 0.2);
  color: #FF85B2;
}

.fab-item--kaspi .fab-item__icon {
  background: rgba(217, 56, 41, 0.22);
  color: #FF8B80;
}

.fab-item--call .fab-item__icon {
  background: rgba(213, 179, 114, 0.2);
  color: var(--gold-bright);
}

.fab-item--gis .fab-item__icon {
  background: rgba(74, 163, 255, 0.2);
  color: #82C0FF;
}

.fab-item__text {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.fab-item__text strong {
  font-size: 0.86rem;
  color: #FFFFFF;
}

.fab-item__text small {
  font-size: 0.72rem;
  color: rgba(248, 244, 236, 0.68);
}

.contact-fab__trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25B862 0%, #178E47 100%);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 12px 28px rgba(23, 142, 71, 0.38);
  transition: transform 0.28s var(--ease-spring), background 0.28s var(--ease-out);
}

.contact-fab__trigger:hover {
  transform: scale(1.05);
}

.contact-fab__trigger:active {
  transform: scale(0.95);
}

.contact-fab__trigger[aria-expanded="true"] {
  background: var(--midnight);
  border: 1px solid rgba(229, 198, 135, 0.45);
  box-shadow: 0 12px 28px rgba(10, 15, 24, 0.35);
}

.fab-ico-close {
  display: none;
}

.contact-fab__trigger[aria-expanded="true"] .fab-ico-open {
  display: none;
}

.contact-fab__trigger[aria-expanded="true"] .fab-ico-close {
  display: block;
}

.contact-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 184, 98, 0.5);
  animation: fabPulse 2.6s ease-out infinite;
  pointer-events: none;
}

.contact-fab__trigger[aria-expanded="true"] .contact-fab__pulse {
  display: none;
}

@keyframes fabPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.26);
    opacity: 0;
  }
}

/* Toast */
.toast-pop {
  position: fixed;
  top: calc(74px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 115;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--midnight);
  color: var(--pearl);
  border: 1px solid rgba(229, 198, 135, 0.4);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(10, 15, 24, 0.28);
  white-space: nowrap;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Scroll Reveal Helper (Safe fallback: visible if JS doesn't run) */
.js-ready .reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

/* Tiered Reduced Motion (ersultan-website-standard §33: calm loops ONLY, keep UI silk!) */
@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .contact-fab__pulse {
    animation: none !important;
  }

  .js-ready .reveal-up {
    transform: translateY(6px);
  }
}
