/* =====================================================
   ESHONQULOVA YURSUNOY — MAIN STYLESHEET (Mobile-First)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

:root {
  --cream: #f9f7f4;
  --gold: #9a7c4a;
  --gold-light: #c4a96e;
  --gold-dark: #7a5e32;
  --ink: #1a1510;
  --ink-soft: #3d342a;
  --white: #ffffff;
  --gray-100: #f0ece6;
  --gray-200: #e2dbd1;
  --gray-400: #a89880;
  --gray-600: #6b5d4f;
  --success: #3d7a4a;
  --error: #8b2c2c;
  --tg-blue: #229ed9;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --bg: var(--cream);
  --bg-card: var(--white);
  --bg-nav: rgba(249,247,244,0.96);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --shadow: 0 2px 20px rgba(26,21,16,0.08);
  --shadow-lg: 0 8px 48px rgba(26,21,16,0.14);
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1280px;
}

[data-theme="dark"] {
  --bg: #110e0a;
  --bg-card: #1e1912;
  --bg-nav: rgba(17,14,10,0.96);
  --text: #f0ece6;
  --text-soft: #c4b8a8;
  --text-muted: #8a7a6a;
  --border: #2e2820;
  --shadow: 0 2px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
  --gray-100: #1e1912;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: clip;
  width: 100%;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}
input, select, textarea {
  font-family: var(--font-body);
  font-size: 16px;
  max-width: 100%;
}
ul { list-style: none; }

/* ── TYPOGRAPHY ──────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  word-break: break-word;
}
h1 { font-size: clamp(1.9rem, 7vw, 4rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 4vw, 1.8rem); }
p { color: var(--text-soft); }

/* ── COUNTDOWN BAR ───────────────────────────────── */
#countdown-bar {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 9px 40px 9px 16px;
  font-size: 12px;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  position: relative;
  z-index: 200;
  width: 100%;
  overflow: hidden;
}
#countdown-bar span { color: var(--gold-light); font-weight: 600; }
#countdown-inner { display: inline; }
#countdown-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  touch-action: manipulation;
}
#countdown-close:hover { color: var(--cream); }

/* ── NAVIGATION ──────────────────────────────────── */
.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg-nav);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 12px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  overflow: visible;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 3.5vw, 1.15rem);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: none;
  gap: 24px;
  flex-shrink: 1;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow: visible;
}
.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: var(--text-soft);
  transition: color var(--transition), background var(--transition);
  touch-action: manipulation;
  flex-shrink: 0;
}
.nav-btn:hover { color: var(--gold); background: var(--gray-100); }
.nav-btn svg { width: 18px; height: 18px; }
.cart-badge { position: relative; }
.cart-count {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}
.cart-count.hidden { display: none; }
.lang-switcher {
  display: flex;
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 2px;
  flex-shrink: 0;
}
.lang-btn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 6px;
  border-radius: 3px;
  color: var(--text-muted);
  transition: all var(--transition);
  touch-action: manipulation;
}
.lang-btn.active {
  background: var(--gold);
  color: var(--white);
}

@media (min-width: 768px) {
  .nav-inner { padding: 0 24px; height: 68px; }
  .nav-logo { font-size: 1.35rem; }
  .nav-links { display: flex; }
  .nav-actions { gap: 6px; }
  .mobile-menu-btn { display: none !important; }
}

/* ── MOBILE MENU ─────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,21,16,0.5);
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--bg-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-menu-panel a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu-panel a:hover { color: var(--gold); }
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 12px;
  color: var(--text-muted);
  touch-action: manipulation;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--bg);
  padding: 48px 16px 56px;
  overflow: hidden;
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cream) 0%, #ede8e0 60%, #e6dfd4 100%);
  z-index: 0;
}
[data-theme="dark"] .hero-bg {
  background: linear-gradient(135deg, #110e0a 0%, #1a1410 60%, #1e1811 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(154,124,74,0.07) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(154,124,74,0.05) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.hero-text { width: 100%; max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.hero-title {
  margin-bottom: 16px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 28px;
  color: var(--text-soft);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 3px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero-logo-wrap {
  position: relative;
  width: min(260px, 72vw);
  height: min(260px, 72vw);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(154,124,74,0.2);
  border: 2px solid rgba(154,124,74,0.25);
}
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 860px) {
  .hero { padding: 72px 24px 80px; }
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - 120px);
  }
  .hero-text { flex: 1; }
  .hero-visual { flex-shrink: 0; }
  .hero-logo-wrap { width: 360px; height: 360px; }
  .stat-number { font-size: 2.2rem; }
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(154,124,74,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
[data-theme="dark"] .btn-dark {
  background: var(--cream);
  color: var(--ink);
}
.btn-dark:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 11px; }
.btn-lg { padding: 14px 32px; font-size: 13px; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 56px 16px; width: 100%; }
.section-sm { padding: 36px 16px; }
@media (min-width: 640px) {
  .section { padding: 72px 24px; }
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.section-header { margin-bottom: 36px; }
.section-header.centered { text-align: center; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  color: var(--text);
  margin-bottom: 10px;
  word-break: break-word;
}
.section-desc {
  max-width: 520px;
  font-size: 15px;
  color: var(--text-soft);
}
.section-header.centered .section-desc { margin: 0 auto; }
.divider {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 14px 0;
  opacity: 0.7;
}
.divider.centered { margin: 14px auto; }

/* ── PRODUCT GRID ─────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}
@media (min-width: 600px) {
  .products-grid { gap: 16px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ── PRODUCT CARD ─────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  width: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  width: 100%;
}
.product-img,
.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.product-img-hover { opacity: 0; }
.product-img-wrap:hover .product-img { opacity: 0; }
.product-img-wrap:hover .product-img-hover { opacity: 1; }
.product-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}
.product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  z-index: 2;
}
.product-badge.hit { background: var(--ink); }
.product-badge.sale { background: var(--error); }
.product-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}
.product-action-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  touch-action: manipulation;
}
.product-action-btn:hover,
.product-action-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.product-action-btn svg { width: 14px; height: 14px; }
.product-views {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(26,21,16,0.7);
  color: var(--cream);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}
.product-views svg { width: 11px; height: 11px; flex-shrink: 0; }
.product-info {
  padding: 10px 10px 12px;
}
@media (min-width: 640px) {
  .product-info { padding: 14px 14px 16px; }
}
.product-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
}
.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
  word-break: break-word;
}
@media (min-width: 480px) {
  .product-name { font-size: 1.1rem; }
}
.product-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.product-price .currency {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 2px;
}

/* ── FILTERS ──────────────────────────────────────── */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
.filter-search-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}
.filter-search-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.filter-search {
  width: 100%;
  padding: 10px 10px 10px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--transition);
}
.filter-search:focus { outline: none; border-color: var(--gold); }
.filter-select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: border-color var(--transition);
  width: 100%;
}
.filter-select:focus { outline: none; border-color: var(--gold); }
@media (min-width: 480px) {
  .filter-search-wrap { flex: 1; min-width: 160px; }
  .filter-select { width: auto; }
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}
.filter-pill {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  touch-action: manipulation;
  white-space: nowrap;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.price-range-wrap {
  width: 100%;
  padding: 10px 0 4px;
}
.price-range-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.price-range-label span { color: var(--gold); font-weight: 600; }
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 1px 4px rgba(154,124,74,0.4);
}

/* ── PRODUCT MODAL ────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(26,21,16,0.7);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 16px;
  }
}
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 900px;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .modal { border-radius: var(--radius-lg); max-height: 92vh; }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 10;
  transition: all var(--transition);
  touch-action: manipulation;
}
.modal-close:hover { background: var(--gold); color: var(--white); }
.modal-close svg { width: 15px; height: 15px; }
.modal-inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .modal-inner { grid-template-columns: 1fr 1fr; }
}
.modal-gallery {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
@media (min-width: 600px) {
  .modal-gallery {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    aspect-ratio: auto;
    min-height: 420px;
  }
}
.modal-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.modal-gallery-img.active { opacity: 1; }
.modal-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.modal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all var(--transition);
  touch-action: manipulation;
}
.modal-dot.active {
  background: var(--white);
  width: 16px;
  border-radius: 3px;
}
.modal-info { padding: 20px 16px 24px; }
@media (min-width: 600px) {
  .modal-info { padding: 28px 24px; }
}
.modal-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.modal-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.modal-desc {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
  color: var(--text-soft);
}
.size-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.size-btn {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  touch-action: manipulation;
}
.size-btn:hover,
.size-btn.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(154,124,74,0.06);
}
.modal-actions { display: flex; flex-direction: column; gap: 8px; }

/* ── CART DRAWER ──────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 100vw);
  height: 100%;
  background: var(--bg-card);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(26,21,16,0.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 699;
  background: rgba(26,21,16,0.5);
  display: none;
}
.cart-overlay.open { display: block; }
.cart-header {
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cart-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}
.cart-close {
  width: 34px;
  height: 34px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  touch-action: manipulation;
}
.cart-close:hover { background: var(--gold); color: var(--white); }
.cart-close svg { width: 15px; height: 15px; }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}
.cart-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.cart-empty svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  opacity: 0.3;
}
.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--gray-100);
  flex-shrink: 0;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  transition: all var(--transition);
  touch-action: manipulation;
}
.qty-btn:hover { background: var(--gold); color: var(--white); }
.qty-num {
  font-size: 13px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
  color: var(--text);
}
.cart-item-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  align-self: flex-start;
  white-space: nowrap;
  flex-shrink: 0;
}
.cart-remove {
  align-self: flex-start;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
  touch-action: manipulation;
  flex-shrink: 0;
}
.cart-remove:hover { color: var(--error); }
.cart-remove svg { width: 13px; height: 13px; }
.cart-footer {
  padding: 14px 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.cart-total-row.main {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

/* ── ORDER MODAL (above cart drawer z:700) ────────── */
.order-form { padding: 28px 20px; }
@media (min-width: 480px) {
  .order-form { padding: 32px 28px; }
}
.order-form h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 6px;
}
.order-form p { font-size: 13px; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}
.form-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  transition: border-color var(--transition);
}
.form-input:focus { outline: none; border-color: var(--gold); }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 52px;
  height: 52px;
  background: rgba(61,122,74,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--success);
}
.form-success-icon svg { width: 26px; height: 26px; }

/* ── ABANDONED CART TOAST ─────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 800;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.4s;
  max-width: calc(100vw - 32px);
  width: max-content;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast button {
  background: var(--gold);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  touch-action: manipulation;
  flex-shrink: 0;
}

/* ── BA SLIDER ────────────────────────────────────── */
.ba-section { background: var(--gray-100); }
[data-theme="dark"] .ba-section { background: #141008; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
@media (min-width: 600px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
.ba-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  width: 100%;
}
.ba-side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-side-after { clip-path: inset(0 50% 0 0); }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}
.ba-handle svg { width: 16px; height: 16px; color: var(--ink); }
.ba-label {
  position: absolute;
  bottom: 10px;
  background: rgba(26,21,16,0.8);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 4;
}
.ba-label-before { left: 10px; }
.ba-label-after { right: 10px; }

/* ── DRESS CONSTRUCTOR ────────────────────────────── */
.constructor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
}
@media (min-width: 760px) {
  .constructor-grid { grid-template-columns: 1fr 1fr; }
}
.constructor-options { display: flex; flex-direction: column; gap: 18px; }
.option-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.option-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.option-pill {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-soft);
  transition: all var(--transition);
  touch-action: manipulation;
}
.option-pill:hover,
.option-pill.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  touch-action: manipulation;
}
.color-swatch.selected,
.color-swatch:hover {
  border-color: var(--gold);
  transform: scale(1.15);
}
.constructor-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.dress-preview-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/4;
}
.dress-svg { width: 160px; height: 220px; }

/* ── SIZE CALCULATOR ──────────────────────────────── */
.size-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.size-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-top: 18px;
  display: none;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.size-result.show { display: block; }
.size-result-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 6px;
}
.size-result-desc { font-size: 13px; color: var(--text-soft); }
.size-reco {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-heading);
}

/* ── REVIEWS ──────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
  width: 100%;
}
@media (min-width: 600px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review-stars svg {
  width: 13px;
  height: 13px;
  fill: var(--gold);
  color: var(--gold);
  flex-shrink: 0;
}
.review-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}
.review-author {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}
.review-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
.star-picker { display: flex; gap: 5px; margin-bottom: 14px; }
.star-pick-btn {
  color: var(--border);
  transition: color var(--transition);
  touch-action: manipulation;
}
.star-pick-btn svg { width: 22px; height: 22px; }
.star-pick-btn.active { color: var(--gold); }
.star-pick-btn.active svg { fill: var(--gold); }

/* ── BOOKING ──────────────────────────────────────── */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 7px;
  margin-top: 10px;
  width: 100%;
}
.time-slot {
  padding: 9px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  text-align: center;
  color: var(--text-soft);
  transition: all var(--transition);
  touch-action: manipulation;
}
.time-slot:hover:not(.unavailable) {
  border-color: var(--gold);
  color: var(--gold);
}
.time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.time-slot.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.purpose-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
  width: 100%;
}
.purpose-btn {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-soft);
  transition: all var(--transition);
  touch-action: manipulation;
}
.purpose-btn:hover,
.purpose-btn.selected {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(154,124,74,0.06);
}

/* ── SUBSCRIBE BAR ────────────────────────────────── */
.subscribe-bar {
  background: var(--ink);
  padding: 24px 16px;
  width: 100%;
}
[data-theme="dark"] .subscribe-bar { background: #0c0a07; }
.subscribe-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.subscribe-text { flex: 1; min-width: 200px; }
.subscribe-text h3 {
  font-family: var(--font-heading);
  color: var(--cream);
  font-size: 1.3rem;
  margin-bottom: 3px;
}
.subscribe-text p { font-size: 12px; color: var(--gray-400); }
.subscribe-form-inline {
  display: flex;
  gap: 7px;
  flex: 1;
  min-width: 220px;
  max-width: 400px;
  width: 100%;
}
.subscribe-input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: 14px;
}
.subscribe-input::placeholder { color: var(--gray-400); }
.subscribe-input:focus { outline: none; border-color: var(--gold); }

/* ── FLOAT BUTTONS ────────────────────────────────── */
.float-btns {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.float-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-btn-label {
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition);
  pointer-events: none;
}
.float-btn-wrap:hover .float-btn-label {
  opacity: 1;
  transform: translateX(0);
}
.float-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all var(--transition);
  touch-action: manipulation;
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.35); }
.float-btn-tg { background: var(--tg-blue); }
.float-btn-call { background: var(--ink); }
.float-btn svg { width: 20px; height: 20px; }

/* ── EXIT POPUP ───────────────────────────────────── */
.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(26,21,16,0.7);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.exit-popup.show { display: flex; }
.exit-popup-inner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.exit-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  touch-action: manipulation;
}
.exit-popup-close:hover { background: var(--gold); color: var(--white); }
.exit-popup-icon {
  width: 56px;
  height: 56px;
  background: rgba(154,124,74,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
}
.exit-popup-icon svg { width: 26px; height: 26px; }
.exit-popup h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.exit-popup p { font-size: 13px; margin-bottom: 20px; }

/* ── FAQ ──────────────────────────────────────────── */
.faq-list { max-width: 640px; margin: 0 auto; width: 100%; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  touch-action: manipulation;
}
.faq-question:hover,
.faq-item.open .faq-question { color: var(--gold); }
.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-answer-inner {
  padding-bottom: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ── FEATURES GRID ────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}
@media (min-width: 480px) {
  .features-grid { gap: 16px; }
}
@media (min-width: 900px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
@media (min-width: 640px) {
  .feature-card { padding: 24px 20px; }
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(154,124,74,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 5px;
}
.feature-desc { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 16px 24px;
  width: 100%;
}
[data-theme="dark"] .footer { background: #0c0a07; }
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--cream);
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .footer-brand-name { grid-column: auto; }
}
.footer-brand-name span { color: var(--gold); }
.footer-brand-desc {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 16px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 12px;
  color: var(--gray-400);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--gray-600);
}

/* ── ABOUT PAGE ───────────────────────────────────── */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}
@media (min-width: 768px) {
  .about-story-grid { grid-template-columns: 1fr 1fr; }
}
.about-img-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
}
.about-img-frame svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-quote-box {
  position: absolute;
  bottom: 20px;
  left: -10px;
  background: var(--gold);
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  max-width: 200px;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
  .about-quote-box { left: -20px; max-width: 220px; }
}
.about-quote-box p {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--white);
}
.about-quote-box span { font-size: 10px; color: rgba(255,255,255,0.7); margin-top: 5px; display: block; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
}
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-100);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.team-avatar svg { width: 38px; height: 38px; color: var(--gray-400); }
.team-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 3px;
}
.team-role { font-size: 11px; color: var(--gold); font-weight: 600; }

/* ── CONTACT PAGE ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.4fr; }
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  height: fit-content;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(154,124,74,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.contact-info-icon svg { width: 16px; height: 16px; }
.contact-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-info-value { font-size: 13px; color: var(--text); font-weight: 500; }
.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
  width: 100%;
}
.map-placeholder:hover { border-color: var(--gold); }

/* ── WISHLIST PAGE ────────────────────────────────── */
.wishlist-empty {
  text-align: center;
  padding: 60px 16px;
  width: 100%;
}
.wishlist-empty svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  color: var(--gray-400);
  opacity: 0.4;
}
.wishlist-empty h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 7px;
}

/* ── TOAST STACK ──────────────────────────────────── */
.toast-stack {
  position: fixed;
  bottom: 84px;
  right: 16px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.3s;
  max-width: min(260px, calc(100vw - 32px));
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.success { border-left: 3px solid var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── LOADING SPINNER ──────────────────────────────── */
.loading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  width: 100%;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PAGE HERO ────────────────────────────────────── */
.page-hero {
  background: var(--gray-100);
  padding: 48px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  width: 100%;
}
[data-theme="dark"] .page-hero { background: #141008; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; }

/* ── SKELETONS ────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton-img { aspect-ratio: 3/4; }
.skeleton-text { height: 13px; margin: 12px 12px 5px; }
.skeleton-text-sm { height: 10px; margin: 0 12px 12px; width: 60%; }

/* ── RELATED PRODUCTS ─────────────────────────────── */
.related-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin: 20px 0 12px;
  color: var(--text);
  padding: 0 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0 16px 20px;
  width: 100%;
}
.related-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: opacity var(--transition);
}
.related-card:hover { opacity: 0.8; }
.related-card-img { aspect-ratio: 3/4; width: 100%; object-fit: cover; }
.related-card-name {
  font-size: 10px;
  padding: 5px;
  color: var(--text-soft);
  font-family: var(--font-heading);
}

/* ── UTILS ────────────────────────────────────────── */
.hidden { display: none !important; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── SCROLLBAR ────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── ABOUT IMG FRAME LOGO FIX ─────────────────────── */
.about-img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
}

/* ── FOOTER BRAND SPAN GRID FIX ─────────────────────  */
@media (max-width: 899px) {
  .footer-brand-name { grid-column: 1 / -1; }
  .footer-brand-desc { max-width: 100%; }
}

/* ── MOBILE MENU BTN — always visible SVG fallback ── */
.mobile-menu-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
}
.mobile-menu-btn:empty::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none !important; }
}

/* ── NAV: ensure nav-actions never wraps or overflows ── */
.nav-actions {
  flex-shrink: 0;
  flex-wrap: nowrap;
  overflow: visible;
}
.nav-inner {
  flex-wrap: nowrap;
}

/* ── PRICE RANGE: ensure thumb is touchable on mobile ── */
input[type="range"] {
  touch-action: pan-x;
  height: 20px;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  margin-top: -8px;
}

/* ── ORDER MODAL — above everything including cart ── */
.order-modal {
  z-index: 900 !important;
}

/* ── NAV DESKTOP OVERRIDES ───────────────────────── */
@media (min-width: 768px) {
  .nav-inner {
    padding: 0 24px;
    height: 68px;
    gap: 12px;
  }
  .nav-logo {
    font-size: 1.35rem;
    flex-shrink: 0;
  }
  .nav-btn {
    width: 38px;
    height: 38px;
  }
  .lang-btn {
    font-size: 11px;
    padding: 4px 8px;
  }
}

/* ── HIDE WISHLIST ICON ON VERY SMALL SCREENS ──── */
@media (max-width: 380px) {
  .nav-wishlist-btn { display: none !important; }
}

/* ── NAV STICKY — guaranteed fix for Android/iOS ──── */
/* Use fixed positioning as ultimate fallback */
.nav {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
}

/* Push page content below the fixed nav */
body {
  padding-top: 0;
}

/* Spacer after countdown bar + nav */
.nav + * {
  scroll-margin-top: 56px;
}

/* Account for fixed nav height on all pages */
.page-hero,
.hero {
  padding-top: calc(56px + 48px) !important;
}
@media (min-width: 768px) {
  .page-hero,
  .hero { padding-top: calc(68px + 60px) !important; }
}

/* Countdown bar is also fixed above nav */
#countdown-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
}

/* When countdown bar is hidden, nav moves up */
#countdown-bar[style*="display: none"] ~ .nav,
#countdown-bar[style*="display:none"] ~ .nav {
  top: 0;
}

/* Nav sits below countdown bar */
.nav {
  top: 38px; /* countdown bar height */
}

/* Body top padding to account for countdown(38) + nav(56) */
body::before {
  content: '';
  display: block;
  height: 94px; /* 38 countdown + 56 nav */
  pointer-events: none;
}

@media (min-width: 768px) {
  .nav { top: 38px; }
  body::before { height: 106px; /* 38 + 68 */ }
}

/* ── DYNAMIC NAV OFFSET via CSS vars (set by JS) ─── */
:root {
  --bar-h: 38px;
  --nav-h: 56px;
}
#countdown-bar { top: 0; }
.nav { top: var(--bar-h, 38px) !important; }
body::before { height: calc(var(--bar-h, 38px) + var(--nav-h, 56px)) !important; }

.hero, .page-hero {
  padding-top: 48px !important;
}
@media (min-width: 768px) {
  .hero, .page-hero { padding-top: 60px !important; }
}

/* ── BA SLIDER WITH REAL IMAGES ──────────────────── */
.ba-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.ba-side-before {
  z-index: 1;
}
.ba-side-after {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  z-index: 3;
}
.ba-handle {
  z-index: 4;
}
.ba-label {
  z-index: 3;
}

/* ── DRESS CONSTRUCTOR — beautiful SVG ───────────── */
.dress-svg {
  width: 200px;
  height: 320px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
  display: block;
}
.dress-preview-wrap {
  background: linear-gradient(160deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.dress-preview-wrap::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.04), transparent);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  pointer-events: none;
}
/* Dress params display */
.dress-params {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.dress-param-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── BA SLIDER HANDLE — more visible & intuitive ─── */
.ba-handle {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid rgba(154,124,74,0.3);
}
.ba-handle:active {
  transform: translate(-50%, -50%) scale(1.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.ba-handle svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  pointer-events: none;
}
/* Hint text above handle on first load */
.ba-slider-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
/* Make labels bigger & clearer */
.ba-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  border-radius: 3px;
}

/* ── BA SLIDER — края свободны для скролла ────────── */
.ba-slider-wrap {
  /* Разрешаем вертикальный скролл по умолчанию */
  touch-action: pan-y;
  cursor: default;
}
/* Только handle блокирует скролл и тянется */
.ba-handle {
  touch-action: none;
  cursor: ew-resize;
  /* Увеличиваем кликабельную зону */
  width: 52px;
  height: 52px;
}
.ba-divider {
  /* Чуть шире для удобства попадания */
  width: 3px;
}

/* ── DRESS PHOTO CONSTRUCTOR ─────────────────────── */
.dress-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.dress-photo-frame img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}
.dress-color-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: var(--radius-lg);
  mix-blend-mode: hue;
  opacity: 0;
  transition: background 0.3s, opacity 0.3s;
}
.dress-preview-wrap {
  min-height: 400px;
  padding: 16px;
}

/* ── HERO BG PHOTO ───────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  pointer-events: none;
}

/* ── GALLERY GRID ────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
}
@media (min-width: 480px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.gallery-item {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--gray-100);
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,21,16,0);
  transition: background 0.3s;
  border-radius: var(--radius-lg);
}
.gallery-item:hover::after { background: rgba(26,21,16,0.12); }

/* ── GALLERY LIGHTBOX ────────────────────────────── */
.gallery-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 950;
  background: rgba(10,8,5,0.95);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img {
  max-width: calc(100vw - 100px);
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  transition: opacity 0.15s;
}
.gallery-lb-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; z-index: 10;
  touch-action: manipulation;
}
.gallery-lb-close:hover { background: rgba(255,255,255,0.2); }
.gallery-lb-prev, .gallery-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; z-index: 10;
  touch-action: manipulation;
}
.gallery-lb-prev:hover, .gallery-lb-next:hover { background: rgba(255,255,255,0.2); }
.gallery-lb-prev { left: 12px; }
.gallery-lb-next { right: 12px; }
.gallery-lb-counter {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  background: rgba(0,0,0,0.4);
  padding: 4px 12px; border-radius: 12px;
}

/* ── PRICE CALCULATOR ────────────────────────────── */
.price-calc-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  width: 100%;
}
@media (min-width: 768px) {
  .price-calc-wrap { grid-template-columns: 1.4fr 1fr; }
}
.price-calc-options { display: flex; flex-direction: column; gap: 20px; }
.pc-group { }
.pc-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.pc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-pill {
  padding: 9px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px; font-weight: 500;
  color: var(--text-soft);
  transition: all var(--transition);
  touch-action: manipulation;
  background: var(--bg-card);
}
.pc-pill:hover, .pc-pill.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.price-calc-result { }
.pc-result-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: sticky; top: 100px;
}
.pc-result-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.pc-result-price {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 700;
  color: var(--gold); margin-bottom: 6px;
  line-height: 1.1;
}
.pc-result-note {
  font-size: 11px; color: var(--text-muted);
  margin-bottom: 16px; font-style: italic;
}
.pc-breakdown { border-top: 1px solid var(--border); padding-top: 14px; }
.pc-break-item {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.pc-break-item:last-child { border-bottom: none; }

/* ── PROCESS SECTION ─────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
@media (min-width: 480px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.process-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.process-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}
.process-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.process-card:hover .process-img-wrap img {
  transform: scale(1.05);
}
.process-num {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(154,124,74,0.4);
}
.process-info {
  padding: 16px;
}
.process-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.process-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   ANIMATIONS — 5 Premium Effects
   ══════════════════════════════════════════════════ */

/* 1. SHINY TEXT — золотой блик по заголовку */
.shiny-text {
  display: inline !important;
  position: relative;
  color: var(--gold);
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold) 25%,
    #f5e6c8 45%,
    #fffaf0 50%,
    #f5e6c8 55%,
    var(--gold) 75%,
    var(--gold-dark) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shinyMove 4s linear infinite;
  /* Critical: prevent layout breaking */
  white-space: normal;
  word-break: normal;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  unicode-bidi: normal !important;
}
@keyframes shinyMove {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* 2. COUNT UP — уже через JS */

/* 3. BLUR IN — block element animation only */
@keyframes blurIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0px);
  }
}
/* NEVER apply blur-in to headings directly — breaks text layout */
h1, h2, h3 {
  display: block;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

/* 4. FADE UP при скролле */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* 5. SILK AURORA фон */
.aurora-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora-bg::before,
.aurora-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: auroraFloat 12s ease-in-out infinite alternate;
}
.aurora-bg::before {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation-duration: 14s;
}
.aurora-bg::after {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #c4a96e 0%, transparent 70%);
  bottom: -10%;
  left: -5%;
  animation-duration: 10s;
  animation-direction: alternate-reverse;
}
[data-theme="dark"] .aurora-bg::before { opacity: 0.18; }
[data-theme="dark"] .aurora-bg::after { opacity: 0.14; }

@keyframes auroraFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(3%, 5%) scale(1.05); }
  66% { transform: translate(-2%, 3%) scale(0.97); }
  100% { transform: translate(4%, -3%) scale(1.03); }
}

/* Silk shimmer on hero logo */
.hero-logo-wrap {
  animation: silkFloat 6s ease-in-out infinite;
}
@keyframes silkFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Button press effect */
.btn {
  transform-origin: center;
}
.btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.1s !important;
}

/* Nav logo shiny on hover */
.nav-logo:hover .nav-logo-gold {
  background: linear-gradient(90deg, var(--gold) 0%, #f5e6c8 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shinyMove 1.5s linear infinite;
}

/* ── MOBILE MENU — smooth animations ────────────── */
.mobile-menu {
  display: flex !important;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,21,16,0);
  transition: background 0.35s ease;
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background 0.35s ease,
              backdrop-filter 0.35s ease,
              -webkit-backdrop-filter 0.35s ease;
}
.mobile-menu.open .mobile-menu-overlay {
  background: rgba(26,21,16,0.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

/* ── PRODUCT CARDS FADE — stagger delay ─────────── */
.products-grid .product-card:nth-child(1) { transition-delay: 0.05s; }
.products-grid .product-card:nth-child(2) { transition-delay: 0.10s; }
.products-grid .product-card:nth-child(3) { transition-delay: 0.15s; }
.products-grid .product-card:nth-child(4) { transition-delay: 0.20s; }
.products-grid .product-card:nth-child(5) { transition-delay: 0.25s; }
.products-grid .product-card:nth-child(6) { transition-delay: 0.30s; }
.products-grid .product-card:nth-child(7) { transition-delay: 0.35s; }
.products-grid .product-card:nth-child(8) { transition-delay: 0.40s; }
.products-grid .product-card:nth-child(9) { transition-delay: 0.45s; }
.products-grid .product-card:nth-child(n+10) { transition-delay: 0.50s; }

/* ── PAGE TRANSITIONS ────────────────────────────── */
main, .hero, .page-hero, .section {
  animation: pageFadeIn 0.5s ease forwards;
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── WISHLIST PAGE FADE ───────────────────────────── */
.wishlist-grid .product-card { }


/* ── CRITICAL HERO FIX ───────────────────────────── */
.hero-title,
.hero-title em,
.hero-title span {
  display: block !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  unicode-bidi: normal !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  letter-spacing: normal !important;
}
.hero-title em {
  display: block !important;
  font-style: italic !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

/* ── HERO FINAL FIX ──────────────────────────────── */
/* Fix all hero text elements - no broken animations */
.hero-eyebrow,
.hero-title,
.hero-desc,
.hero-actions,
.hero-stats {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  display: block;
  width: 100%;
}

/* Hero title proper display */
.hero-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}

/* Shiny em — inline, horizontal, no layout break */
.hero-title em,
.hero-title em.shiny-text {
  display: inline !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  font-style: italic;
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold) 30%,
    #f0d898 50%,
    var(--gold) 70%,
    var(--gold-dark) 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shinyMove 4s linear infinite !important;
}

/* Logo size — smaller on desktop */
@media (min-width: 860px) {
  .hero-logo-wrap {
    width: 280px !important;
    height: 280px !important;
  }
}
@media (min-width: 1100px) {
  .hero-logo-wrap {
    width: 320px !important;
    height: 320px !important;
  }
}

/* Hero desc — normal text flow */
.hero-desc {
  max-width: 480px;
  line-height: 1.8;
  white-space: normal;
  word-break: normal;
}

/* ══════════════════════════════════════════════════
   HERO — COMPLETE REWRITE (overrides all previous)
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--bg);
  width: 100%;
  overflow: hidden;
}

/* Mobile: compact, content first */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

/* Desktop: side by side */
@media (min-width: 860px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 106px);
    padding: 60px 40px;
    gap: 60px;
  }
}

/* Hero text side */
.hero-text {
  flex: 1;
  min-width: 0;
  max-width: 580px;
}

/* Eyebrow */
.hero-eyebrow {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Title */
.hero-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  color: var(--text) !important;
  margin-bottom: 20px !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

.hero-title-line1 {
  display: block;
  color: var(--text);
  white-space: normal;
}

.hero-title-em {
  display: block !important;
  font-style: italic !important;
  font-size: 1em !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  white-space: normal !important;
  word-break: normal !important;
  line-height: 1.2 !important;
  margin-top: 4px;
}

/* Shiny on em — safe */
.hero-title-em.shiny-text {
  background: linear-gradient(
    90deg,
    var(--gold-dark) 0%,
    var(--gold) 30%,
    #f0d898 50%,
    var(--gold) 70%,
    var(--gold-dark) 100%
  ) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: shinyMove 4s linear infinite !important;
  display: block !important;
  writing-mode: horizontal-tb !important;
}

/* Desc */
.hero-desc {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: var(--text-soft) !important;
  max-width: 480px !important;
  margin-bottom: 28px !important;
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  white-space: normal !important;
  word-break: normal !important;
}

/* Actions */
.hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-bottom: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Stats */
.hero-stats {
  display: flex !important;
  gap: 28px !important;
  margin-top: 32px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--border) !important;
  flex-wrap: wrap !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.stat-number {
  font-family: var(--font-heading) !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  line-height: 1 !important;
  display: block !important;
}
.stat-label {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--text-muted) !important;
  margin-top: 4px !important;
  display: block !important;
}

/* Logo visual side */
.hero-visual {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.hero-logo-wrap {
  width: min(240px, 65vw) !important;
  height: min(240px, 65vw) !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-shadow: 0 8px 40px rgba(154,124,74,0.2) !important;
  border: 2px solid rgba(154,124,74,0.2) !important;
  animation: silkFloat 6s ease-in-out infinite !important;
  flex-shrink: 0 !important;
}
@media (min-width: 860px) {
  .hero-logo-wrap {
    width: 300px !important;
    height: 300px !important;
  }
}
.hero-logo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ══════════════════════════════════════════════════
   HERO V3 — No logo, full width text
   ══════════════════════════════════════════════════ */

/* Nav logo with image */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.nav-logo-img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(154,124,74,0.3) !important;
}

/* Hero — centered on mobile, two col on desktop */
.hero-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 40px !important;
  padding: 56px 20px 60px !important;
  max-width: var(--max-w) !important;
  margin: 0 auto !important;
  min-height: auto !important;
}
@media (min-width: 860px) {
  .hero-content {
    grid-template-columns: 1.2fr 1fr !important;
    align-items: center !important;
    min-height: calc(100vh - 106px) !important;
    padding: 80px 40px !important;
    gap: 80px !important;
  }
}

/* Hero text */
.hero-text {
  max-width: 100% !important;
}

/* Title — large, no wrapping issues */
.hero-title {
  font-size: clamp(2.6rem, 6vw, 5rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 24px !important;
}
.hero-title-line1 {
  display: block !important;
  color: var(--text) !important;
}
.hero-title-em {
  display: block !important;
  font-style: italic !important;
}

/* Desc — wider */
.hero-desc {
  font-size: 16px !important;
  max-width: 520px !important;
  margin-bottom: 32px !important;
}

/* Decorative right column */
.hero-deco {
  display: none;
}
@media (min-width: 860px) {
  .hero-deco {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding-left: 40px !important;
    border-left: 1px solid var(--border) !important;
  }
}
.hero-deco-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 8px;
}
.hero-deco-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-deco-item {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: color var(--transition), padding var(--transition);
}
.hero-deco-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}
.hero-deco-item:hover {
  color: var(--gold);
  padding-left: 8px;
}
.hero-deco-item:hover::before {
  opacity: 1;
}

/* Stats - horizontal */
.hero-stats {
  display: flex !important;
  gap: 32px !important;
  flex-wrap: wrap !important;
}
.stat-item { text-align: left; }

/* Hero animations handled by JS — no CSS blank space */


/* ══════════════════════════════════════════════════
   FINAL FIXES
   ══════════════════════════════════════════════════ */

/* Nav logo — remove photo, use minimal text only */
.nav-logo-img { display: none !important; }

.nav-logo {
  font-family: var(--font-heading) !important;
  font-size: clamp(0.95rem, 3vw, 1.2rem) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 180px !important;
}
@media (min-width: 480px) {
  .nav-logo { max-width: 220px !important; }
}
@media (min-width: 768px) {
  .nav-logo { max-width: none !important; font-size: 1.3rem !important; }
}

/* Mobile hero deco — show on mobile too */
.hero-deco {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding-left: 0 !important;
  border-left: none !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 20px !important;
  margin-top: 4px !important;
}
.hero-deco-line { display: none !important; }
.hero-deco-box {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.hero-deco-item {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  padding: 6px 12px !important;
  border: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  border-radius: 20px !important;
  background: var(--bg-card) !important;
}
.hero-deco-item::before { display: none !important; }
.hero-deco-item:hover {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  padding-left: 12px !important;
}

@media (min-width: 860px) {
  .hero-deco {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    padding-left: 40px !important;
    border-left: 1px solid var(--border) !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero-deco-line { display: block !important; }
  .hero-deco-box {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .hero-deco-item {
    font-size: 1.1rem !important;
    font-family: var(--font-heading) !important;
    padding: 14px 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
}

/* Shiny text — guaranteed gold italic, no layout break */
.hero-title-em,
.hero-title-em.shiny-text {
  display: block !important;
  font-style: italic !important;
  color: var(--gold) !important;
  -webkit-text-fill-color: transparent !important;
  background: linear-gradient(
    90deg,
    #7a5e32 0%,
    #9a7c4a 25%,
    #f0d898 45%,
    #fff8e8 50%,
    #f0d898 55%,
    #9a7c4a 75%,
    #7a5e32 100%
  ) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  animation: shinyMove 3.5s linear infinite !important;
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
}

/* Nav monogram SVG */
.nav-monogram {
  flex-shrink: 0 !important;
  border-radius: 6px;
  display: block;
}


/* ══════════════════════════════════════════════════
   SHINY TEXT — DEFINITIVE FIX
   ══════════════════════════════════════════════════ */
.hero-title-em {
  display: block !important;
  font-style: italic !important;
  font-size: inherit !important;
  line-height: 1.15 !important;
  writing-mode: horizontal-tb !important;
  white-space: normal !important;
  /* Shiny gradient */
  background: linear-gradient(
    90deg,
    #7a5e32 0%,
    #b89050 15%,
    #f5e6b0 35%,
    #fffaf0 50%,
    #f5e6b0 65%,
    #b89050 85%,
    #7a5e32 100%
  ) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  animation: shinyGold 2.5s linear infinite !important;
  will-change: background-position !important;
}
@keyframes shinyGold {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* NAV — remove monogram, full name visible */
.nav-monogram { display: none !important; }
.nav-logo {
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  max-width: none !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
  letter-spacing: 0 !important;
}
.nav-logo span { color: var(--gold); }

/* Nav actions — tighter on mobile */
.nav-actions { gap: 2px !important; }
.lang-btn { padding: 3px 5px !important; font-size: 10px !important; }
.nav-btn { width: 32px !important; height: 32px !important; }
@media (max-width: 400px) {
  .nav-logo { font-size: 0.9rem !important; }
}

/* ══════════════════════════════════════════════════
   SHINY — FINAL APPROACH via position overlay
   Works regardless of parent opacity/transform
   ══════════════════════════════════════════════════ */

/* Reset em */
.hero-title-em {
  display: block !important;
  font-style: italic !important;
  -webkit-text-fill-color: initial !important;
  color: var(--gold) !important;
  background: none !important;
  animation: none !important;
  position: relative !important;
}

/* The actual text in gold */
.shiny-wrap {
  display: inline !important;
  font-style: italic !important;
  color: var(--gold) !important;
  position: relative !important;
  -webkit-text-fill-color: initial !important;
}

/* Shiny overlay using ::after with gradient mask */
.shiny-wrap::after {
  content: attr(data-text);
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 20%,
    rgba(255, 248, 220, 0.9) 45%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 248, 220, 0.9) 55%,
    transparent 80%,
    transparent 100%
  ) !important;
  background-size: 300% 100% !important;
  animation: shinePass 3s ease-in-out infinite !important;
  mix-blend-mode: overlay !important;
  pointer-events: none !important;
  border-radius: 2px !important;
}

@keyframes shinePass {
  0%   { background-position: 200% center; opacity: 0; }
  10%  { opacity: 1; }
  50%  { background-position: -50% center; opacity: 1; }
  70%  { opacity: 0; }
  100% { background-position: -200% center; opacity: 0; }
}
