/* Massaj.tr — premium marketplace, Yandex-Market style, purple+orange */
:root {
  /* Brand */
  --primary: #6d3ce0;
  --primary-2: #5b2dd1;
  --primary-d: #4c25b5;
  --primary-l: #f3eeff;
  --primary-l2: #e7dcff;
  --accent: #ff7a45;
  --accent-2: #f9651e;
  --accent-l: #fff1eb;

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --bg-2: #f0f0f4;

  /* Text */
  --text: #15151b;
  --text-2: #3a3a44;
  --muted: #82828e;
  --dim: #b0b0bd;

  /* Borders */
  --border: #ececf0;
  --border-2: #d8d8de;

  /* Status */
  --success: #1c9e5c;
  --warning: #f59e0b;
  --danger: #e93b3b;
  --discount: #ff3939;
  --rating: #ffaa00;

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --header-h: 64px;
  --maxw: 1320px;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(20, 20, 30, 0.05);
  --sh-2: 0 2px 8px rgba(20, 20, 30, 0.06), 0 1px 3px rgba(20, 20, 30, 0.05);
  --sh-3: 0 8px 24px rgba(20, 20, 30, 0.10), 0 2px 6px rgba(20, 20, 30, 0.06);
  --sh-4: 0 16px 40px rgba(20, 20, 30, 0.15), 0 4px 12px rgba(20, 20, 30, 0.08);
  --sh-brand: 0 10px 30px rgba(109, 60, 224, 0.25);
  --sh-acc: 0 8px 24px rgba(255, 122, 69, 0.30);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' on, 'cv11' on;
  overflow-x: hidden;
}
body.page-loading { opacity: 0; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--primary-l2); color: var(--primary-d); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -0.02em; }

/* Numbers tabular */
.num, .price, .rating, .stat-num { font-variant-numeric: tabular-nums; }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-icon { display: none; }
.logo-text { display: inline-flex; align-items: baseline; }
.logo-tld { color: var(--accent); font-weight: 700; margin-left: 1px; }
.logo-light { color: var(--text); }
.logo::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 8px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  height: 44px;
  flex: 1 1 auto;
  min-width: 0;
  transition: all 0.15s;
}
.header-search:focus-within {
  background: var(--bg);
  border-color: var(--primary);
}
.hs-svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: color 0.15s;
}
.hs-city {
  display: flex; align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-right: 1px solid var(--border-2);
  height: 22px;
  margin: 0 0 0 6px;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  position: relative;
}
.hs-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  height: 100%;
}
.hs-city-btn .hs-city-chev {
  color: var(--muted);
  transition: transform 0.15s;
}
.hs-city-btn.open .hs-city-chev { transform: rotate(180deg); color: var(--primary); }
.hs-city-label { font-weight: 600; }

/* City picker dropdown */
.city-picker {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  width: 340px;
  max-height: 480px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(20, 20, 30, 0.18), 0 4px 12px rgba(20, 20, 30, 0.08);
  display: none;
  flex-direction: column;
  z-index: 110;
  overflow: hidden;
  animation: cp-in 0.18s ease-out;
}
.city-picker.open { display: flex; }
@keyframes cp-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.city-picker-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: white;
  flex-shrink: 0;
}
.city-picker-search svg { color: var(--muted); flex-shrink: 0; }
.city-picker-search input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.city-picker-search input::placeholder { color: var(--muted); font-weight: 400; }

.city-picker-list {
  overflow-y: auto;
  padding: 6px;
  flex: 1;
}
.cp-item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.1s;
  color: var(--text);
}
.cp-item:hover { background: var(--bg-soft); }
.cp-item.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: white;
}
.cp-item.active .cp-item-sub,
.cp-item.active .cp-item-count { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.18); }
.cp-item-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.cp-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cp-item-all {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 800;
  font-size: 16px;
}
.cp-item-text { min-width: 0; }
.cp-item-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.cp-item-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.cp-item-count {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-soft);
  color: var(--muted);
  padding: 3px 9px;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
}
.cp-empty {
  text-align: center;
  padding: 30px 16px;
  color: var(--muted);
  font-size: 13px;
}
.hs-city:focus-within .hs-svg,
.hs-query:focus-within .hs-svg { color: var(--primary); }
.hs-city select {
  border: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 13.5px;
  appearance: none;
  padding-right: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none' stroke='%2382828e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='m1 1 4 4 4-4'/></svg>");
  background-position: right center;
  background-repeat: no-repeat;
  color: var(--text);
}
.hs-query {
  flex: 1;
  display: flex; align-items: center;
  padding: 0 14px;
  gap: 10px;
  min-width: 0;
}
.hs-query input {
  border: 0;
  background: transparent;
  outline: none;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  font-weight: 400;
  height: 100%;
  color: var(--text);
}
.hs-query input::placeholder { color: var(--dim); }
.hs-submit {
  height: 34px;
  margin: 0 5px 0 0;
  padding: 0 22px;
  background: var(--text);
  color: white;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 8px;
  transition: background 0.15s;
}
.hs-submit:hover { background: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: transparent;
  color: var(--text-2);
  font-size: 16px;
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--bg-soft); }
@media (min-width: 969px) {
  #search-toggle { display: none; }
}

.burger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.3s;
}
.burger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Category strip — pill style */
.cat-strip {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}
.cat-strip .container {
  position: relative;
}
.cat-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-strip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 100px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
  line-height: 1.4;
}
.cat-strip-link:hover {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--border-2);
}
.cat-strip-link:active { transform: scale(0.97); }
.cat-strip-link:focus-visible {
  outline: none;
  border-color: var(--primary);
  background: var(--primary-l);
  color: var(--primary);
}
.cat-strip-link.active {
  background: var(--text);
  color: white;
  font-weight: 600;
  border-color: var(--text);
}
.cat-strip-link.active:hover {
  background: var(--primary);
  border-color: var(--primary);
}

/* ============ SEARCH AUTOCOMPLETE ============ */
.header-search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
}
.header-search-wrap .header-search { flex: 1 1 auto; }
.hs-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-3);
  max-height: 480px;
  overflow-y: auto;
  display: none;
  z-index: 95;
  padding: 6px;
}
.hs-dropdown.open { display: block; }
.hs-dd-section { padding: 6px 0; }
.hs-dd-section + .hs-dd-section { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 8px; }
.hs-dd-section h5 {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px 6px;
}
.hs-dd-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.hs-dd-item:hover { background: var(--bg-soft); }
.hs-dd-item img {
  width: 40px; height: 40px;
  object-fit: cover;
  border-radius: 8px;
}
.hs-dd-thumb-empty {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 18px;
}
.hs-dd-text { min-width: 0; }
.hs-dd-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-dd-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1px;
}
.hs-dd-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hs-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 8px; }
.btn-lg { padding: 13px 24px; font-size: 15px; }

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: var(--sh-acc); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: var(--primary); color: white; }
.btn-secondary:hover { background: var(--primary-2); }
.btn-outline { background: var(--bg); color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { background: var(--bg-soft); border-color: var(--text); }
.btn-outline-light { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-block { width: 100%; }

/* ============ BANNER CAROUSEL ============ */
.banner-section { padding: 20px 0 0; }
.banner-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  align-items: stretch;
}
.banner-carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-soft);
  height: 340px;
}

/* Side cards */
.banner-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.side-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 22px 24px;
  color: white;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}
.side-card:hover { transform: translateY(-2px); }
.side-card-1 {
  background:
    linear-gradient(135deg, rgba(20,20,30,0.82) 0%, rgba(44,44,64,0.55) 100%),
    url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=900&q=80');
  background-size: cover;
  background-position: center;
}
.side-card-2 {
  background:
    linear-gradient(135deg, rgba(255,122,69,0.88) 0%, rgba(240,99,30,0.6) 100%),
    url('https://images.unsplash.com/photo-1524231757912-21f4fe3a7200?auto=format&fit=crop&w=900&q=80');
  background-size: cover;
  background-position: center;
}
.side-card-text { position: relative; z-index: 1; }
.side-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.22);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 100px;
  margin-bottom: 10px;
  backdrop-filter: blur(8px);
}
.side-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.side-link {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
  transition: opacity 0.15s;
}
.side-card:hover .side-link { opacity: 1; }
.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.banner-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 56px;
  color: white;
  text-decoration: none;
}
.banner-bg-1 {
  background-image: linear-gradient(110deg, rgba(76,37,181,0.94) 0%, rgba(109,60,224,0.85) 55%, rgba(109,60,224,0.3) 100%), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.banner-bg-2 {
  background-image: linear-gradient(110deg, rgba(240,99,30,0.94) 0%, rgba(255,122,69,0.85) 55%, rgba(255,122,69,0.3) 100%), url('https://images.unsplash.com/photo-1583416750470-965b2707b355?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.banner-bg-3 {
  background-image: linear-gradient(110deg, rgba(20,20,30,0.93) 0%, rgba(44,44,64,0.85) 55%, rgba(44,44,64,0.3) 100%), url('https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}
.banner-content {
  max-width: 540px;
}
.banner-tag {
  display: inline-block;
  padding: 5px 13px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.banner-content h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.banner-content p {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 22px;
  max-width: 460px;
  line-height: 1.5;
}
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: transform 0.15s;
}
.banner-btn:hover { transform: translateY(-2px); }
.banner-btn::after { content: '→'; }

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: all 0.15s;
  box-shadow: var(--sh-2);
}
.banner-nav:hover { background: white; transform: translateY(-50%) scale(1.05); }
.banner-nav-prev { left: 16px; }
.banner-nav-next { right: 16px; }
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.2s;
  cursor: pointer;
}
.banner-dot.active {
  background: white;
  width: 24px;
  border-radius: 100px;
}

/* ============ QUICK FILTER CHIPS ============ */
.quick-filters {
  padding: 16px 0 8px;
}
.qf-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.qf-row::-webkit-scrollbar { display: none; }
.qf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
}
.qf-chip:hover {
  background: var(--bg-soft);
  border-color: var(--text-2);
}
.qf-chip.qf-special {
  background: var(--primary-l);
  color: var(--primary);
  border-color: transparent;
}
.qf-chip.qf-special:hover {
  background: var(--primary-l2);
}
.qf-discount {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.qf-emoji { font-size: 14px; }

/* ============ HORIZONTAL CAROUSEL OF SALONS ============ */
.carousel-wrap {
  position: relative;
  margin: 0 -4px;
}
.salons-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 250px;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px;
  scroll-padding-left: 4px;
}
.salons-row::-webkit-scrollbar { display: none; }
.salons-row > .salon-card {
  scroll-snap-align: start;
  min-width: 0;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: all 0.15s;
  box-shadow: var(--sh-2);
  cursor: pointer;
}
.carousel-nav:hover { background: var(--text); color: white; }
.carousel-prev { left: -14px; }
.carousel-next { right: -14px; }
.carousel-nav.hidden { opacity: 0; pointer-events: none; }

/* legacy unused styles kept for safety */
.promo-row { padding: 0; }
.promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
}
.promo-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  transition: transform 0.2s;
}
.promo-card:hover { transform: translateY(-3px); }
.promo-card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.promo-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.15), rgba(0,0,0,0.5));
}
.promo-card-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.promo-1 { background: linear-gradient(135deg, var(--primary), var(--primary-d)); }
.promo-2 { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.promo-3 { background: linear-gradient(135deg, #1a1a26, #2c2c40); }

.promo-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  align-self: flex-start;
  backdrop-filter: blur(8px);
}
.promo-card h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: auto;
  margin-bottom: 10px;
}
.promo-1 h3 { font-size: 32px; }
.promo-card p {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.4;
}
.promo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: white;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  align-self: flex-start;
  transition: background 0.15s;
}
.promo-btn:hover { background: var(--bg-soft); }
.promo-graphic {
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 140px;
  opacity: 0.15;
  line-height: 1;
}

/* ============ HERO ============ */
.hero {
  display: none;
  padding: 32px 0 12px;
  background: var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.hero-content {
  background: linear-gradient(135deg, #faf6ff 0%, #fff5ef 100%);
  border-radius: var(--r-xl);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--primary-l2), transparent 70%);
  top: -100px; right: -100px;
  filter: blur(40px);
}
.hero-content > * { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 18px;
  box-shadow: var(--sh-1);
  width: fit-content;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--primary); }
.hero-desc {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.hero-art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art-badge {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: white;
  padding: 14px 18px;
  border-radius: var(--r);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--sh-3);
}
.hero-art-badge-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}
.hero-art-badge h4 { font-size: 14px; font-weight: 700; color: var(--text); }
.hero-art-badge p { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ============ TRUST ROW ============ */
.trust {
  display: none;
  padding: 28px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: white;
  color: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--sh-1);
}
.trust-text h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.trust-text p { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ============ SECTIONS ============ */
.section { padding: 36px 0; }
.section-soft { background: var(--bg-soft); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  gap: 16px;
}
.section-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section-desc {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.section-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
  transition: color 0.15s;
}
.section-link:hover { color: var(--primary-2); }
.section-link::after { content: '→'; transition: transform 0.15s; }
.section-link:hover::after { transform: translateX(2px); }

/* ============ CITIES GRID ============ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.city-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.city-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(109, 60, 224, 0.18), 0 4px 12px rgba(20, 20, 30, 0.08);
  transform: translateY(-4px);
}
.city-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.city-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}
.city-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(109, 60, 224, 0.15) 75%, rgba(20, 20, 30, 0.75) 100%);
  transition: opacity 0.3s;
}
.city-card:hover .city-card-img img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}
.city-card-name-overlay {
  position: absolute;
  bottom: 12px; left: 14px;
  color: white;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.city-card-body {
  padding: 12px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.city-card-body p { color: var(--muted); font-size: 12px; font-weight: 500; }
.city-card-count {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  background: var(--primary-l);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ============ CATEGORIES ============ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.cat-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.cat-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(255, 122, 69, 0.2), 0 4px 12px rgba(20, 20, 30, 0.08);
  transform: translateY(-4px);
}
.cat-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.cat-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}
.cat-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(255, 122, 69, 0.2) 65%, rgba(20, 20, 30, 0.78) 100%);
}
.cat-card:hover .cat-card-img img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}
.cat-card-icon { display: none; }
.cat-card-body { padding: 12px 14px 14px; }
.cat-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.cat-card-body p { color: var(--muted); font-size: 12px; min-height: 16px; font-weight: 500; }
.cat-card-count {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  background: var(--accent-l);
  padding: 4px 10px;
  border-radius: 100px;
}
/* Cat overlay name (same as city) */
.cat-card-img .city-card-name-overlay {
  bottom: 12px; left: 14px;
  font-size: 19px;
  font-weight: 800;
}

/* ============ SALON CARDS — vibrant product style ============ */
.salons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.salon-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-align: left;
}
.salon-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(109, 60, 224, 0.15), 0 4px 12px rgba(20, 20, 30, 0.08);
  transform: translateY(-4px);
}
.salon-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--bg-soft);
}
.salon-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,20,30,0.15) 100%);
  pointer-events: none;
}
.salon-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}
.salon-card:hover .salon-card-img img {
  transform: scale(1.08);
  filter: brightness(1.05) saturate(1.1);
}

.salon-card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 6px;
  align-items: flex-start;
  z-index: 2;
}
.salon-card-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 7px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(255, 122, 69, 0.45);
}
.salon-card-discount {
  background: linear-gradient(135deg, #ff3939, #d62828);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 7px;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 10px rgba(255, 57, 57, 0.45);
}
.salon-card-city {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(20, 20, 30, 0.55);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 7px;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.salon-card-fav {
  position: absolute;
  bottom: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: var(--muted);
  z-index: 2;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.salon-card-fav:hover { color: var(--accent); transform: scale(1.15); }
.salon-card-fav.is-fav {
  background: var(--accent);
  color: white;
}

.salon-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.salon-card-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.salon-card-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.salon-card-price small { font-size: 14px; font-weight: 700; color: var(--text); }
.salon-card-from { font-size: 11px; color: var(--muted); }
.salon-card-oldprice {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.salon-card-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 6px 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  min-height: 36px;
  transition: color 0.15s;
}
.salon-card:hover .salon-card-name { color: var(--primary); }
.salon-card-rating-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}
.salon-card-stars {
  display: inline-flex; align-items: center; gap: 3px;
  color: #5c3d00;
  font-weight: 800;
  font-size: 12px;
  background: linear-gradient(135deg, #fff5d6, #ffe9a3);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: -0.01em;
}
.salon-card-stars:not(.no-star)::before {
  content: '★';
  color: #ff9500;
  font-size: 13px;
}
.salon-card-stars.no-star { background: var(--bg-soft); color: var(--muted); padding: 3px 8px; }
.salon-card-reviews { color: var(--muted); }
.salon-card-addr {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.salon-card-foot {
  margin-top: auto;
  display: flex; gap: 6px;
}
.salon-card-btn {
  flex: 1;
  padding: 10px 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 9px;
  text-align: center;
  transition: all 0.2s;
  border: 0;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.25);
}
.salon-card-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(255, 122, 69, 0.4);
  transform: translateY(-1px);
}
.salon-card-services { display: none; }

/* ============ HOW IT WORKS ============ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.how-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: all 0.2s;
}
.how-card:hover {
  border-color: transparent;
  box-shadow: var(--sh-3);
}
.how-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-l);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.how-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.how-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ============ CTA ============ */
.cta-section { padding: 24px 0 56px; }
.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: white;
  border-radius: var(--r-xl);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content > .hero-tag {
  background: rgba(255,255,255,0.15);
  color: white;
  margin-bottom: 14px;
}
.cta-content > .hero-tag::before { background: white; }
.cta-content h3 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-content p { font-size: 15px; margin-bottom: 18px; opacity: 0.9; line-height: 1.5; max-width: 560px; }
.cta-decor { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.cta-icon { font-size: 120px; line-height: 1; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.2)); }

.partner-form {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-3);
  width: 100%;
  max-width: 360px;
  justify-self: end;
}
.partner-form-row { margin-bottom: 10px; }
.partner-form input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: all 0.15s;
  color: var(--text);
}
.partner-form input:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.partner-form input::placeholder { color: var(--muted); }
.partner-form .btn { margin-top: 4px; }
.partner-form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--muted);
  font-size: 13px;
}

/* Newsletter banner */
.footer-newsletter {
  padding: 32px 0 24px;
}
.fn-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  border-radius: var(--r-lg);
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.fn-card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.fn-content { position: relative; z-index: 1; }
.fn-content h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.fn-content p {
  font-size: 14px;
  opacity: 0.92;
  margin: 0;
  max-width: 420px;
  line-height: 1.45;
}
.fn-form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  background: white;
  border-radius: 100px;
  padding: 5px;
}
.fn-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0 18px;
  font-size: 14px;
  color: var(--text);
  min-width: 0;
}
.fn-form input::placeholder { color: var(--muted); }
.fn-form button {
  padding: 12px 22px;
  background: var(--accent);
  color: white;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s;
  white-space: nowrap;
}
.fn-form button:hover { background: var(--accent-2); }

/* Main columns */
.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding: 20px 0 44px;
}
.footer-brand p {
  margin: 14px 0 18px;
  line-height: 1.6;
  max-width: 320px;
  color: var(--muted);
  font-size: 13px;
}
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.footer-col a, .footer-col > span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  transition: color 0.15s;
  font-size: 13px;
}
.footer-col a:hover { color: var(--primary); }

.footer-contact-line {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.footer-contact-line svg { flex-shrink: 0; color: var(--primary); opacity: 0.85; }

/* Socials */
.socials { display: flex; gap: 8px; margin-top: 4px; }
.socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0;
  color: var(--text-2);
  transition: all 0.15s;
}
.socials a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Payment methods */
.payment-methods {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.pm-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-right: 4px;
}
.pm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-2);
  min-width: 38px;
}
.pm-visa { color: #1a1f71; }
.pm-mc { color: #eb001b; }
.pm-troy { color: #2c5ea0; }
.pm-cash { color: var(--success); }

/* Bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  font-size: 12px;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 18px;
}
.footer-legal a {
  color: var(--muted);
  font-size: 12px;
  margin: 0 !important;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--primary); }

/* ============ CITY / CATALOG PAGE ============ */
.city-hero {
  background: var(--bg);
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--border);
}
.breadcrumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--muted); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--dim); }
.city-hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.city-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.city-sub { color: var(--muted); font-size: 14px; max-width: 640px; }
.city-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.city-stat { display: flex; flex-direction: column; gap: 2px; }
.city-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1;
}
.city-stat span {
  font-size: 11px;
  color: var(--muted);
}

/* Two-col layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px 0 56px;
}
.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 8px);
  align-self: start;
}
.filter-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 14px;
  margin-bottom: 10px;
}
.filter-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
  text-align: left;
  width: 100%;
  border: 0;
  background: transparent;
}
.filter-item:hover { background: var(--bg-soft); color: var(--text); }
.filter-item.active {
  background: var(--primary-l);
  color: var(--primary);
  font-weight: 600;
}
.filter-item .count {
  font-size: 12px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.filter-item.active .count { color: var(--primary); }

.filter-range {
  display: flex;
  gap: 6px;
}
.filter-range input {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px;
  outline: none;
  font-variant-numeric: tabular-nums;
}
.filter-range input:focus { border-color: var(--primary); }

.filter-search-box { position: relative; }
.filter-search-box input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  outline: none;
}
.filter-search-box input:focus { background: var(--bg); border-color: var(--primary); }
.filter-search-box::before {
  content: '';
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2382828e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.filter-stars { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-star-btn {
  padding: 6px 10px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  transition: all 0.15s;
}
.filter-star-btn:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); }
.filter-star-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.filter-reset {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.filter-reset:hover { color: var(--primary-2); }

.catalog-content { min-width: 0; }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.catalog-meta { color: var(--muted); font-size: 13px; }
.catalog-sort { display: flex; align-items: center; gap: 6px; }
.catalog-sort label { font-size: 13px; color: var(--muted); }
.catalog-sort select {
  padding: 8px 28px 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'><path fill='%2382828e' d='M4 5 0 0h8z'/></svg>");
  background-position: right 12px center;
  background-repeat: no-repeat;
}
.catalog-sort select:focus { border-color: var(--primary); }

.filter-mobile-toggle {
  display: none;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  align-items: center;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.empty-state p { color: var(--muted); font-size: 13px; }

/* ============ SALON PAGE ============ */
.salon-hero {
  position: relative;
  padding: 32px 0 36px;
  color: white;
  overflow: hidden;
}
.salon-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--text);
  z-index: 0;
}
.salon-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,30,0.4) 0%, rgba(20,20,30,0.9) 100%);
}
.salon-hero > .container { position: relative; z-index: 1; }
.salon-hero-inner { color: white; }
.breadcrumbs-light a, .breadcrumbs-light span { color: rgba(255,255,255,0.75); }
.breadcrumbs-light a:hover { color: white; }
.salon-hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: flex-end;
  margin-top: 16px;
}
.salon-hero-text { min-width: 0; }
.salon-hero .salon-page-title { color: white; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.salon-hero .salon-meta-row { color: rgba(255,255,255,0.85); }
.salon-hero .salon-rating-pill {
  background: rgba(255,255,255,0.18);
  color: white;
  backdrop-filter: blur(8px);
}
.salon-hero .salon-rating-pill.has-rating::before { color: var(--rating); }
.salon-hero .salon-rating-pill .reviews { color: rgba(255,255,255,0.75); }
.salon-hero .viewing-now {
  background: rgba(46, 154, 95, 0.25);
  color: #b3ecca;
  backdrop-filter: blur(8px);
}
.salon-hero .vn-dot { background: #6dd391; }
.salon-meta-sep { color: rgba(255,255,255,0.5); }

/* Backwards-compat */
.salon-page-head {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.salon-head-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.salon-page-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 6px 0 8px;
}
.salon-meta-row {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.salon-rating-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--primary-l);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.salon-rating-pill.has-rating::before { content: '★'; color: var(--rating); }
.salon-rating-pill .reviews { color: var(--primary-2); font-weight: 500; }
.salon-rating-pill:not(.has-rating) {
  background: var(--bg-soft);
  color: var(--muted);
}
.salon-badge-top {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.2px;
}
.salon-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.salon-gallery { padding: 18px 0; background: var(--bg); }
.salon-gallery .gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}
.salon-gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  cursor: zoom-in;
  background: var(--bg-soft);
  display: block;
}
.salon-gallery .gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.salon-gallery .gallery-item:hover img { transform: scale(1.05); }
.salon-gallery .gi-1 { grid-column: span 1; grid-row: span 2; }
.salon-gallery .gi-2, .gi-3, .gi-4, .gi-5 { grid-column: span 1; grid-row: span 1; }

.salon-main { padding: 24px 0 64px; }
.salon-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}
.salon-main-content > article {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 14px;
}
.salon-main-content .section-title {
  font-size: 20px;
  margin-bottom: 14px;
}
.salon-about p { color: var(--text-2); font-size: 14px; line-height: 1.65; }

.services-list { display: flex; flex-direction: column; gap: 10px; }
.service-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
}
.service-row:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary-l) 0%, var(--accent-l) 100%);
  box-shadow: 0 6px 20px rgba(109, 60, 224, 0.12);
  transform: translateX(2px);
}
.service-row-body { min-width: 0; }
.service-row-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(109, 60, 224, 0.25);
}
.service-row-head {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.service-row-head h4 {
  font-size: 15px;
  font-weight: 700;
}
.service-row-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-l2);
  padding: 2px 7px;
  border-radius: 4px;
}
.service-row p { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.service-row-meta {
  display: flex; gap: 12px;
  font-size: 12px;
  color: var(--muted);
}
.service-row-price {
  color: var(--text) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  font-variant-numeric: tabular-nums;
}
.service-row-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.3);
}
.service-row-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 16px rgba(255, 122, 69, 0.45);
  transform: translateY(-1px);
}

.reviews-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap; gap: 8px;
}
.reviews-head .section-title { margin: 0; }
.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.review-card {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 16px;
}
.review-stars {
  color: var(--rating);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.review-text {
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 12px;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.review-name { font-weight: 700; font-size: 13px; }

/* Sticky booking sidebar */
.salon-side {
  position: sticky;
  top: calc(var(--header-h) + 8px);
}
.salon-book {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh-2);
}
.salon-book h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.book-sub { color: var(--muted); font-size: 12px; margin-bottom: 16px; }

/* ============ FORMS ============ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-2);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: all 0.15s;
  color: var(--text);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.form-group textarea { resize: vertical; }
.form-note {
  font-size: 11px; color: var(--muted);
  margin-top: 10px; text-align: center;
}

/* ============ MAP ============ */
.contact-map {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 300px; }
.map-open {
  position: absolute;
  bottom: 12px; right: 12px;
  background: var(--bg);
  color: var(--primary);
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: var(--sh-2);
  transition: all 0.15s;
}
.map-open:hover { background: var(--primary); color: white; }

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal.active { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 28px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--sh-4);
}
.modal-content h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 18px;
  line-height: 1;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--bg-2); }

.rating-input {
  display: flex; gap: 3px;
  font-size: 28px;
  color: var(--border-2);
  cursor: pointer;
}
.rating-input span { transition: color 0.1s, transform 0.1s; }
.rating-input span:hover { transform: scale(1.1); }
.rating-input span.active { color: var(--rating); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  border-radius: var(--r-sm);
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 20px;
}

/* ============ STORIES ROW ============ */
.stories {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 18px 0 16px;
  position: relative;
}
.stories .container { position: relative; }
.stories-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 8px 4px;
}
.stories-scroll::-webkit-scrollbar { display: none; }
.story {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  width: 76px;
  text-align: center;
}
.story-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  transition: box-shadow 0.2s;
  box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 1.5px var(--border-2);
}
.story:hover .story-avatar {
  box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 2px var(--primary);
}
.story:hover .story-name {
  color: var(--primary);
}
.story-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-icon { display: none; }
.story-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.25;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.stories-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
  z-index: 2;
  box-shadow: var(--sh-2);
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.stories-nav.hidden { display: none; }
.stories-nav-prev { left: -10px; }
.stories-nav-next { right: -10px; }
.stories-nav:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ============ REVIEWS CAROUSEL (homepage testimonials) ============ */
.reviews-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 4px;
}
.reviews-row::-webkit-scrollbar { display: none; }
.review-tile {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  scroll-snap-align: start;
  min-width: 0;
  transition: all 0.2s;
  position: relative;
}
.review-tile:hover {
  border-color: transparent;
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.review-tile::before {
  content: '"';
  position: absolute;
  top: 6px; right: 18px;
  font-size: 64px;
  line-height: 1;
  color: var(--primary-l);
  font-family: Georgia, serif;
  font-weight: 700;
}
.review-tile-stars {
  color: var(--rating);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.review-tile-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.review-tile-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.review-tile-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-d));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.review-tile-meta { min-width: 0; }
.review-tile-name {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.review-tile-salon {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ WHATSAPP FAB ============ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
  .wa-fab { bottom: 84px; right: 16px; width: 50px; height: 50px; }
  .wa-fab svg { width: 24px; height: 24px; }
}

/* ============ SKELETON LOADERS ============ */
.skeleton, .skel {
  background: linear-gradient(90deg, var(--bg-soft) 0%, var(--bg-2) 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-sm);
  color: transparent;
}
@keyframes skel-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.salon-card.is-skeleton .salon-card-img { background: var(--bg-soft); animation: skel-shimmer 1.4s ease-in-out infinite; }
.salon-card.is-skeleton .salon-card-img > * { display: none; }
.salon-card.is-skeleton .salon-card-name,
.salon-card.is-skeleton .salon-card-price,
.salon-card.is-skeleton .salon-card-addr,
.salon-card.is-skeleton .salon-card-rating-row,
.salon-card.is-skeleton .salon-card-btn {
  background: var(--bg-soft);
  color: transparent !important;
  border-radius: 6px;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
.salon-card.is-skeleton .salon-card-name { height: 16px; margin-bottom: 8px; }
.salon-card.is-skeleton .salon-card-price { height: 22px; width: 80px; }
.salon-card.is-skeleton .salon-card-addr { height: 12px; width: 60%; }

.city-card.is-skeleton .city-card-img,
.cat-card.is-skeleton .cat-card-img {
  background: var(--bg-soft);
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
.skel-line {
  height: 12px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.skel-line-short { width: 50%; }

/* ============ MOBILE MENU ============ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}
.mobile-menu.open { display: block; }
body.mm-open { overflow: hidden; }

.mobile-menu-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  animation: fadeIn 0.2s;
}
.mobile-menu-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 380px;
  background: white;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sh-4);
}
.mobile-menu-head {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.mobile-menu-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 16px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-close:hover { background: var(--bg-2); }

.mobile-menu-search {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mm-search-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mm-search-field {
  display: flex; align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.15s;
}
.mm-search-field:focus-within {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.mm-search-field .mm-icon { font-size: 14px; color: var(--muted); }
.mm-search-field input, .mm-search-field select {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  appearance: none;
}
.mm-search-field input::placeholder { color: var(--dim); }
.mm-search-field select {
  cursor: pointer;
  padding-right: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'><path fill='%2382828e' d='M4 5 0 0h8z'/></svg>");
  background-position: right center;
  background-repeat: no-repeat;
}
.mm-search-btn {
  padding: 12px;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mm-search-btn:hover { background: var(--accent-2); }

.mobile-menu-nav {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mm-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.15s;
}
.mm-nav-link:hover { background: var(--bg-soft); color: var(--primary); }

.mobile-menu-section {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-section h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px;
  margin: 0 -8px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s;
}
.mm-item:hover { background: var(--bg-soft); }
.mm-item-img {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
  flex-shrink: 0;
}
.mm-item-img img { width: 100%; height: 100%; object-fit: cover; }
.mm-item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--primary-l);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.mm-item-text { flex: 1; min-width: 0; }
.mm-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.mm-item-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}
.mm-item-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.mobile-menu-foot {
  margin-top: auto;
  padding: 14px 18px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mm-foot-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
}
.mm-foot-link:hover { background: var(--primary); color: white; }
.mm-foot-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-l);
  color: var(--primary);
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.mm-foot-link:hover .mm-foot-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}
.mm-foot-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-l);
  padding: 2px 10px;
  border-radius: 100px;
  display: none;
}
.mm-foot-count.show { display: inline-block; }

/* ============ FAVORITES ============ */
.fav-btn { position: relative; }
.fav-btn > span:first-child { font-size: 18px; color: var(--accent); }
.fav-counter {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg);
}
.fav-counter.show { display: inline-flex; }

/* Heart-button states */
.salon-card-fav.is-fav {
  color: var(--accent) !important;
  background: white !important;
}
.salon-fav-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.15s;
  backdrop-filter: blur(8px);
}
.salon-fav-btn:hover { background: rgba(255,255,255,0.22); }
.salon-fav-btn.is-fav { color: white; background: var(--accent); border-color: transparent; }

/* Fav panel (slide-in from right) */
.fav-panel {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
}
.fav-panel.active { display: block; }
.fav-panel-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s;
}
.fav-panel-content {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--sh-4);
}
@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fav-panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.fav-panel-head h3 {
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; gap: 8px;
}
.fav-panel-head .fav-counter {
  position: static;
  display: inline-flex;
  background: var(--primary-l);
  color: var(--primary);
  border: 0;
  font-size: 11px;
  padding: 2px 8px;
  min-width: auto;
  height: auto;
}
.fav-panel-head .fav-counter:not(.show) { display: none; }
.fav-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}
.fav-panel-empty {
  text-align: center;
  padding: 60px 20px;
}
.fav-panel-empty .empty-icon {
  font-size: 56px;
  color: var(--dim);
  margin-bottom: 12px;
}
.fav-panel-empty h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.fav-panel-empty p { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 280px; margin: 0 auto; }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.15s;
  position: relative;
}
.fav-item:hover { border-color: var(--primary); }
.fav-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-soft);
}
.fav-item-img img { width: 100%; height: 100%; object-fit: cover; }
.fav-item-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.fav-item-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
}
.fav-item-star { color: var(--text); font-weight: 700; }
.fav-item-star::before { content: '★'; color: var(--rating); margin-right: 2px; }
.fav-item-price { font-size: 13px; font-weight: 700; color: var(--text); margin-top: 4px; }
.fav-item-remove {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.fav-item-remove:hover { background: var(--accent); color: white; }

/* ============ ACTIVITY FEED ============ */
#activity-feed {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 110;
  pointer-events: none;
}
@media (max-width: 768px) {
  #activity-feed { bottom: 86px; left: 12px; right: 12px; }
  .activity-toast { max-width: none; }
}
.activity-toast {
  display: flex; align-items: center; gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 36px 10px 10px;
  max-width: 320px;
  box-shadow: var(--sh-3);
  pointer-events: auto;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}
.activity-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.activity-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.activity-avatar img { width: 100%; height: 100%; object-fit: cover; }
.activity-body { min-width: 0; }
.activity-body p {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.35;
  margin-bottom: 2px;
}
.activity-body strong { color: var(--text); font-weight: 700; }
.activity-salon { color: var(--primary); font-weight: 600; }
.activity-meta {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.activity-close {
  position: absolute;
  top: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.activity-close:hover { background: var(--bg-soft); color: var(--text); }

/* ============ VIEWING NOW ============ */
.viewing-now {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--success);
  background: rgba(28, 158, 92, 0.08);
  padding: 4px 9px;
  border-radius: 100px;
}
.vn-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  margin-right: 2px;
  animation: vn-pulse 2s ease-in-out infinite;
}
.vn-num { font-weight: 700; }
@keyframes vn-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============ RECENTLY VIEWED ============ */
.section-recent { padding: 30px 0; background: var(--bg); border-top: 1px solid var(--border); }
.recent-strip-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.recent-strip-inner::-webkit-scrollbar { display: none; }
.recent-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all 0.15s;
}
.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: transparent;
}
.recent-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.recent-card-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-card-body { padding: 10px 12px 12px; }
.recent-card-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recent-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}
.recent-card-star { color: var(--text); font-weight: 700; }
.recent-card-star::before { content: ''; }
.recent-card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ============ STICKY CTA (mobile bottom bar) ============ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--sh-3);
  transform: translateY(100%);
  transition: transform 0.3s;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-info {
  display: flex; align-items: baseline; gap: 4px;
}
.sticky-cta-from { font-size: 11px; color: var(--muted); }
.sticky-cta-price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sticky-cta-price small { font-size: 14px; }
.sticky-cta-btn { padding: 12px 24px; }
@media (min-width: 769px) {
  .sticky-cta { display: none !important; }
}
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
  }
  /* leave space at bottom for content */
  body.salon-page-active { padding-bottom: 72px; }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--text);
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--sh-4);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.2s;
  z-index: 300;
  pointer-events: none;
  max-width: 340px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

[data-aos] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
}
[data-aos].aos-active { opacity: 1; transform: translateY(0); }

.empty { color: var(--muted); text-align: center; padding: 32px; font-size: 13px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .promo-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .salon-main-grid { grid-template-columns: 1fr 320px; }
  .catalog-layout { grid-template-columns: 220px 1fr; gap: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 968px) {
  .header-search { display: none; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 2px; }
  #search-toggle { display: none; }
  .admin-icon { display: none; }
  .burger { display: flex; }
  .banner-layout { grid-template-columns: 1fr; }
  .banner-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .side-card { padding: 18px 20px; min-height: 130px; }
  .side-card h3 { font-size: 18px; }
  .banner-carousel { height: 260px; }
  .banner-slide { padding: 0 24px; }
  .banner-content h2 { font-size: 26px; }
  .banner-content p { font-size: 13px; margin-bottom: 16px; }
  .banner-nav-prev { left: 8px; }
  .banner-nav-next { right: 8px; }
  .salons-row { grid-auto-columns: 200px; gap: 10px; }
  .carousel-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 16px; }
  .hero-content { padding: 28px 24px; }
  .hero-art { aspect-ratio: 16/10; }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo-3 { display: none; }
  .catalog-layout { grid-template-columns: 1fr; gap: 12px; }
  .catalog-sidebar {
    position: static;
    display: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 12px;
  }
  .catalog-sidebar.open { display: block; }
  .filter-mobile-toggle { display: inline-flex; }
  .salon-main-grid { grid-template-columns: 1fr; }
  .salon-side { position: static; }
  .salon-gallery .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
  }
  .salon-gallery .gi-1 { grid-column: span 2; grid-row: span 1; }
  .salon-gallery .gi-2, .gi-3, .gi-4, .gi-5 { grid-column: span 1; }
  .salon-head-inner { grid-template-columns: 1fr; }
  .salon-hero-row { grid-template-columns: 1fr; align-items: stretch; }
  .salon-head-actions { flex-wrap: wrap; }
  .salon-meta-sep { display: none; }
  .cta-card { grid-template-columns: 1fr; padding: 32px 28px; }
  .cta-icon { font-size: 70px; }
  .partner-form { max-width: none; justify-self: stretch; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fn-card { grid-template-columns: 1fr; padding: 22px 24px; }
  .fn-content h3 { font-size: 19px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 14px; }
  .section { padding: 28px 0; }
  .form-row { grid-template-columns: 1fr; }
  .city-hero-row { grid-template-columns: 1fr; }
  .city-stats { gap: 16px; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row-btn { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 22px; padding-bottom: 28px; }
  .fn-form { flex-direction: column; padding: 12px; border-radius: 14px; }
  .fn-form input { padding: 12px 14px; }
  .fn-form button { padding: 12px; border-radius: 10px; }
  .footer-bottom .container { flex-direction: column; }
  .footer-legal { justify-content: center; }
  .toast { left: 14px; right: 14px; bottom: 14px; max-width: none; }
  .salons-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .salon-card-img { aspect-ratio: 4/3; }
  .salon-card-price { font-size: 17px; }
  .promo-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
