/* Витрина WETOP Beauty, вариант C «Мята WETOP» в дизайн-системе WETOP (владелец 05.11.2026: «С, но под систем
   дизайн»). Значения токенов светлой темы взяты из apps/site/src/app/tokens.css (тот же бирюзовый #08736d, стекло,
   Manrope/IBM Plex Sans, радиусы 12/16/24). Тёмной темы у витрины нет: светлая по решению владельца. */
:root {
  --bg: #e6eef8;
  --bg-deep: #d6e5f4;
  --surface-solid: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-blur: 22px;
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --border: rgba(151, 180, 212, 0.34);
  --border-input: rgba(120, 155, 196, 0.42);
  --text: #101827;
  --text-2: #4c5a6f;
  --muted: #53627a;
  --primary: #08736d;
  --primary-hover: #06554f;
  --primary-soft: #e6fbf8;
  --on-primary: #ffffff;
  --danger: #b42336;
  --shadow-card: 0 1px 2px rgba(26, 55, 96, 0.05), 0 18px 40px -20px rgba(26, 55, 96, 0.28);
  --shadow-glow: 0 18px 44px -18px rgba(17, 139, 127, 0.55);
  --radius-control: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --font-head: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(120% 60% at 50% 0%, #f4f8fd 0%, var(--bg) 60%, var(--bg-deep) 100%);
  color: var(--text);
  font: 16px/1.5 var(--font);
}
h1, h2, h3 { font-family: var(--font-head); text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--primary); }
.nw { white-space: nowrap; }
.wrap { max-width: 480px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; margin-top: 12px; }

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-inset), var(--shadow-card);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: 0.01em; }
.logo span { color: var(--primary); }
.pill { font-size: 14px; font-weight: 600; color: var(--text-2); padding: 6px 14px; border-radius: 999px; background: var(--glass-bg-strong); border: 1px solid var(--border); }

.hero { padding: 24px 20px; }
.kicker { color: var(--primary); font-weight: 600; font-size: 14px; }
h1 { font-size: 30px; line-height: 1.18; font-weight: 800; margin: 8px 0 10px; letter-spacing: -0.01em; }
h1 em { font-style: normal; color: var(--primary); }
.lead { color: var(--text-2); }
h2 { font-size: 24px; font-weight: 800; margin-bottom: 4px; }
h3 { font-size: 16px; font-weight: 700; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); margin: 20px 0 10px; }
.sub { margin-bottom: 14px; }
.block { padding-top: 32px; }

.chips, .tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { margin-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: var(--glass-bg-strong); border: 1px solid var(--border); color: var(--text);
  font: inherit; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.salon-card {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px; margin: 18px 0 12px; border-radius: var(--radius); background: var(--primary-soft);
}
.badge { flex: none; background: var(--surface-solid); color: var(--primary); font-weight: 700; font-size: 14px; border-radius: 999px; padding: 6px 12px; white-space: nowrap; }

.btn, .btn2 {
  display: flex; align-items: center; justify-content: center; width: 100%; cursor: pointer;
  border-radius: var(--radius); font: inherit; font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.btn { min-height: 56px; margin-top: 8px; border: 0; background: var(--primary); color: var(--on-primary); font-size: 17px; box-shadow: var(--shadow-glow); }
.btn:hover { background: var(--primary-hover); }
.btn:disabled { opacity: 0.45; cursor: default; box-shadow: none; }
.btn2 { min-height: 52px; margin-top: 10px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); font-size: 16px; }

.list { padding: 0 16px; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: 0; }
.svc h3 { font-family: var(--font); font-weight: 600; }
.svc__side { display: flex; align-items: center; gap: 12px; }
.plus {
  flex: none; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  border: 1.5px solid var(--primary); background: transparent; color: var(--primary); font-size: 22px; font-weight: 700; line-height: 1;
}

.sum { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.day {
  min-height: 62px; border-radius: 14px; cursor: pointer; display: grid; place-items: center; align-content: center; padding: 0;
  background: var(--glass-bg-strong); border: 1px solid var(--border); color: var(--muted); font: inherit; font-size: 12px; font-weight: 600;
  white-space: nowrap; overflow: hidden;
}
.day b { font-family: var(--font-head); font-size: 18px; color: var(--text); }
.day[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.day[aria-pressed="true"] b { color: var(--on-primary); }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot {
  min-height: 46px; border-radius: var(--radius-control); cursor: pointer;
  background: var(--glass-bg-strong); border: 1px solid var(--border); color: var(--text); font: inherit; font-weight: 600;
}
.slot[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }

.field {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; margin-bottom: 10px;
  border-radius: 14px; background: var(--surface-solid); border: 1px solid var(--border-input);
}
.field span { font-weight: 600; min-width: 64px; }
.field input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; color: var(--text); font: inherit; }
.field input::placeholder { color: var(--muted); }
.field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field input:focus { outline: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 12px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.error { color: var(--danger); font-weight: 600; margin: 4px 0 6px; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { padding: 16px; border-radius: var(--radius); }
.card p { color: var(--muted); font-size: 14px; margin-top: 4px; }
details { border-bottom: 1px solid var(--border); }
details:last-child { border-bottom: 0; }
summary { min-height: 52px; display: flex; align-items: center; cursor: pointer; font-weight: 600; }
details p { color: var(--text-2); padding-bottom: 14px; }

.thanks { text-align: center; padding: 28px 20px; margin-top: 16px; }
.thanks p { margin-bottom: 6px; }
.tick { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 34px; font-weight: 800; box-shadow: var(--shadow-glow); }
.big { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--primary); }

.foot { padding-top: 40px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
.foot p + p { margin-top: 8px; }
.foot a { margin-right: 16px; }

/* узкие телефоны: 7 дней недели по 44 px и больше, без прокрутки вбок */
@media (max-width: 400px) {
  .wrap { padding: 0 12px; }
  .day { font-size: 11px; }
}
@media (min-width: 961px) {
  .wrap { max-width: 560px; }
  h1 { font-size: 40px; }
}
