:root {
  --bg: #fffafb;
  --bg-soft: #fff0f5;
  --bg-art: #fce1ec;
  --border: #f0cadb;
  --border-strong: #dba1ba;
  --text: #40162b;
  --text-2: #634153;
  --muted: #806073;
  --faint: #a0a09b;
  --accent: #b91d63;
  --warn: #93661a; --warn-bg: #f7f0e1;
  --radius: 14px;
  --shadow-lg: 0 18px 50px rgba(0,0,0,.16);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.label { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font: 500 14px var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s; white-space: nowrap;
}
.btn:hover { background: var(--bg-soft); }
.btn-dark { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-dark:hover { background: #95184f; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 15px; }

/* шапка */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--text-2); font-size: 14.5px; }
.menu a:hover { color: var(--text); }

/* первый экран */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; font-weight: 650; max-width: 14ch; }
.lead { font-size: 17px; color: var(--text-2); max-width: 46ch; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-art { background: var(--bg-art); border-radius: 24px; aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 24px; }
.hero-art svg { width: 92%; height: auto; }

/* каталог */
.catalog { padding-top: 24px; padding-bottom: 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { font-size: 30px; font-weight: 650; }
.filters { position: sticky; top: 64px; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); padding: 12px 0 14px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg); font: 500 14px var(--font); color: var(--text-2); cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--bg-soft); }
.chip[aria-selected=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip small { opacity: .6; margin-left: 4px; font-size: 12.5px; }
.filters-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; border: 1.7px solid var(--faint); border-radius: 50%; transform: translateY(-62%); }
.search::after { content: ""; position: absolute; left: 25px; top: 23px; width: 5px; height: 1.7px; background: var(--faint); transform: rotate(45deg); }
input, select { font: 14px var(--font); color: var(--text); height: 40px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 12px; background: var(--bg); outline: none; }
input:focus, select:focus { border-color: #8a8a86; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.search input { width: 100%; padding-left: 36px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; padding-top: 20px; }
.card { display: flex; flex-direction: column; text-decoration: none; cursor: pointer; border-radius: var(--radius); outline-offset: 4px; }
.card-art { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--bg-art); display: grid; place-items: center; overflow: hidden; }
.card-art svg { width: 78%; height: auto; transition: transform .25s ease; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-art svg, .card:hover .card-art img { transform: scale(1.04); }
.tag { position: absolute; top: 12px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; background: rgba(255,255,255,.92); color: var(--text-2); }
.tag.left { left: 12px; }
.tag.right { right: 12px; font-variant-numeric: tabular-nums; }
.tag.few { background: var(--warn-bg); color: var(--warn); }
.card-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card-brand { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card-name { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.card-params { font-size: 13px; color: var(--muted); }
.card-price { margin-top: 8px; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 16px; color: var(--muted); }
.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 6px; }
.empty button { margin-top: 14px; }

/* очки по рецепту */
.custom { background: var(--bg-soft); padding: 72px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.tags-block { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { height: 32px; padding: 0 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); display: inline-flex; align-items: center; font-size: 13.5px; color: var(--text-2); }

/* подвал */
.footer { padding: 48px 0 56px; border-top: 1px solid var(--border); }
.footer-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-name { font-weight: 600; font-size: 18px; }
.footer p { max-width: 42ch; }
.contacts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; margin: 0; }
.contacts dt { color: var(--muted); }
.contacts dd { margin: 0; }

/* карточка товара */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(20,20,18,.4); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fade .15s ease-out; }
.overlay[hidden] { display: none; }
.dialog { position: relative; background: var(--bg); border-radius: 20px; width: 920px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto; display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: var(--shadow-lg); animation: pop .18s ease-out; }
.dialog .card-art { border-radius: 20px 0 0 20px; aspect-ratio: auto; min-height: 380px; height: 100%; }
.dialog .card-art svg { width: 82%; }
.dlg-body { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.dlg-body h2 { font-size: 26px; line-height: 1.15; font-weight: 650; padding-right: 30px; }
.dlg-price { font-size: 28px; font-weight: 650; font-variant-numeric: tabular-nums; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-2); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4f8a60; }
.stock.few::before { background: #c08a2a; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.dlg-note { font-size: 13px; color: var(--muted); }
.dlg-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg-soft); font-size: 16px; cursor: pointer; z-index: 2; }
.close:hover { background: #e8e8e5; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.99); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .hero-art { display: none; }
  .steps { grid-template-columns: 1fr; }
  .tags-block, .footer-in { grid-template-columns: 1fr; }
  .dialog { grid-template-columns: 1fr; }
  .dialog .card-art { border-radius: 20px 20px 0 0; min-height: 0; aspect-ratio: 4 / 3; }
  .menu { display: none; }
  .phone-btn { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-in { gap: 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .card-name { font-size: 14px; }
  .card-price { font-size: 16px; }
  .overlay { padding: 0; align-items: flex-end; }
  .dialog { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .dlg-body { padding: 22px 18px 24px; }
  .filters-row select { flex: 1; }
  .section-head h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Розовая палитра салона и новая иллюстрация. */
body { background: radial-gradient(ellipse at 95% 8%, #ffe0ef 0, transparent 30%), var(--bg); }
.logo svg { color: var(--accent); }
.hero h1 { max-width: 16ch; }
.hero-art { position: relative; padding: 0; overflow: hidden; border: 1px solid #f4bdd5; box-shadow: 0 24px 65px #cf448823; background: #ffd9ea; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-art { background: linear-gradient(140deg, #fff0f6, #f7d8e7); }
.card { transition: transform .2s; }
.card:focus-visible, .btn:focus-visible, .chip:focus-visible { outline: 3px solid #b91d63; outline-offset: 4px; }
.adria-feature { display: grid; grid-template-columns: 1fr 1.3fr; align-items: center; gap: 36px; padding-top: 20px; padding-bottom: 48px; }
.adria-art { min-width: 0; background: linear-gradient(130deg,#f8c3da,#fff0f7); border-radius: 24px; padding: 22px; }
.adria-art svg { display: block; width: 100%; max-height: 260px; }
.eyebrow { display: block; font-size: 12px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.adria-copy h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.adria-copy p { color: var(--text-2); max-width: 45ch; }
.hero-stats b { color: var(--accent); }
@media (max-width: 900px) {
 .hero-art { display: grid; max-height: 320px; width: 100%; aspect-ratio: 5 / 3; }
 .hero { gap: 24px; }
 .adria-feature { gap: 22px; }
}
@media (max-width: 560px) {
 .adria-feature { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 32px; }
 .adria-art svg { max-height: 190px; }
 .hero-art { max-height: 240px; }
 .phone-btn { font-size: 12px; padding: 0 12px; }
 .logo { font-size: 14px; }
}

.adria-models { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.adria-models > div { flex: 1 1 170px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.adria-models b, .adria-models span { display: block; }
.adria-models b { color: var(--accent); }
.adria-models span { color: var(--muted); font-size: 13px; margin-top: 4px; }

.adria-price { display: block; font-size: 22px; margin-top: 10px; color: var(--accent); }
.delivery { padding-bottom: 40px; }
.delivery-panel { display: flex; align-items: center; gap: 28px; justify-content: space-between; border: 1px solid var(--border); border-radius: 24px; padding: 28px 32px; background: #fff0f6; }
.delivery-panel h2 { font-size: clamp(24px, 3vw, 32px); }
.delivery-panel p { max-width: 58ch; color: var(--text-2); margin-bottom: 0; }
.delivery-services { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.delivery-services > span { padding: 8px 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-weight: 650; }
@media (max-width: 900px) { .delivery-panel { flex-direction: column; align-items: flex-start; padding: 24px; } }

.salon-gallery { padding-top: 16px; padding-bottom: 40px; }
.salon-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.salon-photo-grid figure { margin: 0; min-width: 0; }
.salon-photo-grid a { display: block; border-radius: 20px; overflow: hidden; background: var(--bg-art); }
.salon-photo-grid img { display: block; width: 100%; height: 320px; object-fit: cover; transition: transform .2s; }
.salon-photo-grid a:hover img { transform: scale(1.03); }
.salon-photo-grid figcaption { padding-top: 12px; font-weight: 600; }
.salon-gallery > p { font-size: 13px; }
@media (max-width: 700px) { .salon-photo-grid { grid-template-columns: 1fr; } .salon-photo-grid img { height: 340px; } }

.reviews-section { padding-top: 56px; padding-bottom: 56px; }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.review-card { margin: 0; padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column; }
.review-stars { color: var(--accent); letter-spacing: 3px; }
.review-card blockquote { margin: 18px 0 24px; font-size: 19px; line-height: 1.5; flex: 1; }
.review-card figcaption b, .review-card figcaption span { display: block; }
.review-card figcaption span { margin-top: 4px; font-size: 12px; color: var(--muted); }
.review-note { font-size: 12px; margin-top: 18px; }
@media (max-width: 700px) { .review-grid { grid-template-columns: 1fr; } .reviews-section .section-head { flex-wrap: wrap; } }

.hero-art img { object-position: 45% 60%; }

.hero-art img { object-position: center; }

/* Editorial storefront: молочный фон, пудра, сливовый текст. */
:root { --bg: #fbf9f5; --bg-soft: #f1ebe8; --bg-art: #eee8e4; --text: #372330; --text-2: #62545d; --muted: #7c7077; --accent: #773850; --border: #e5dddc; --border-strong: #cdbdc4; --radius: 6px; }
body { background: var(--bg); }
.wrap { max-width: 1340px; padding-left: 48px; padding-right: 48px; }
.header { background: rgba(251,249,245,.95); }
.header-in { height: 82px; gap: 28px; }
.logo { font-size: 17px; letter-spacing: -.03em; }
.menu { gap: 24px; }
.btn { border-radius: 6px; height: 44px; }
.btn-lg { height: 50px; }
.btn-dark { background: var(--accent); }
.btn-dark:hover { background: #542338; }
.hero { grid-template-columns: .95fr 1.2fr; gap: 48px; padding-top: 42px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(44px,5.4vw,76px); font-weight: 500; letter-spacing: -.055em; max-width: none; line-height: 1.04; }
.hero h1 em { font-family: Georgia,'Times New Roman',serif; font-weight: 400; color: var(--accent); }
.hero .eyebrow { margin-bottom: 28px; }
.eyebrow { letter-spacing: .16em; font-size: 11px; color: var(--accent); }
.lead { font-size: 16px; line-height: 1.7; max-width: 36ch; margin: 24px 0 30px; }
.hero-art { border: 0; border-radius: 8px; box-shadow: none; aspect-ratio: 1.08; background: #f0ddd9; }
.hero-art img { object-fit: cover; }
.hero-stats { gap: 24px; margin-top: 32px; border-top: 1px solid var(--border); padding-top: 22px; }
.hero-stats b { font-size: 20px; color: var(--text); }
.hero-stats span { font-size: 11px; }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(28px,3vw,40px); font-weight: 500; letter-spacing: -.035em; }
.text-link { font-size: 13px; text-underline-offset: 5px; white-space: nowrap; }
.collections { padding-top: 32px; padding-bottom: 80px; }
.collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.collection-card { text-decoration: none; min-width: 0; }
.collection-art { aspect-ratio: 1; background: var(--bg-art); border-radius: 6px; overflow: hidden; }
.collection-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.collection-card:hover img { transform: scale(1.04); }
.collection-caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 18px; }
.collection-caption span { font-size: 10px; letter-spacing: .13em; color: var(--muted); }
.collection-caption h3 { font-weight: 500; font-size: 22px; margin-top: 7px; }
.collection-caption > b { font-weight: 400; font-size: 26px; }
.adria-feature { border-top: 1px solid var(--border); padding-top: 64px; padding-bottom: 64px; gap: 64px; }
.adria-art { background: #eee2e5; border-radius: 6px; padding: 40px; }
.adria-copy h2 { font-weight: 500; letter-spacing: -.035em; }
.adria-models > div { background: transparent; border-radius: 6px; }
.adria-price { color: var(--text); }
.delivery { padding-bottom: 60px; }
.delivery-panel { background: #eee6e4; border: 0; border-radius: 6px; padding: 36px; }
.delivery-panel h2 { font-weight: 500; }
.delivery-services > span { background: transparent; border-color: #cdbac3; }
.salon-gallery { padding-top: 24px; padding-bottom: 64px; }
.salon-photo-grid a { border-radius: 6px; }
.salon-photo-grid figcaption { font-weight: 400; }
.filters { top: 82px; background: rgba(251,249,245,.96); }
.chip { background: transparent; border-radius: 6px; }
.card-art { background: #f0eeea; border-radius: 6px; }
.card-name { font-weight: 500; }
.custom { padding: 64px 0; background: #eee8e4; }
.step { border-radius: 6px; background: transparent; padding: 24px; }
.step-n { background: transparent; color: var(--accent); border: 1px solid #b79da9; }
.review-card { border-radius: 6px; background: transparent; }
.review-card blockquote { font-family: Georgia,'Times New Roman',serif; font-size: 23px; }
.footer { background: #372330; color: #faf4f5; }
.footer .muted, .footer dt { color: #d6c6ce; }
@media (max-width: 1100px) { .wrap { padding-left: 28px; padding-right: 28px; } .hero { gap: 28px; } .menu { gap: 15px; } .header-in { gap: 16px; } }
@media (max-width: 900px) {
 .header-in { height: 68px; } .hero { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
 .hero-art { max-height: none; aspect-ratio: 5/4; } .hero .eyebrow { margin-bottom: 20px; }
 .hero h1 { font-size: clamp(44px,9vw,68px); } .lead { max-width: 48ch; } .filters { top: 68px; }
 .collection-grid { gap: 16px; } .collection-caption h3 { font-size: 18px; }
 .adria-feature { gap: 28px; } .collections { padding-bottom: 48px; }
}
@media (max-width: 560px) {
 .wrap { padding-left: 20px; padding-right: 20px; } .header-in { gap: 10px; }
 .logo { font-size: 13px; gap: 6px; } .logo svg { width: 23px; } .phone-btn { font-size: 11px; padding: 0 10px; }
 .hero-actions { gap: 10px; } .hero-actions .btn { padding: 0 16px; font-size: 13px; }
 .collection-grid { grid-template-columns: 1fr; gap: 28px; } .collection-art { aspect-ratio: 4/3; }
 .collections .section-head { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
 .collection-caption h3 { font-size: 23px; } .hero-stats { gap: 18px; }
 .hero-stats b { font-size: 18px; } .hero-stats span { font-size: 10px; }
 .adria-feature { padding-top: 36px; padding-bottom: 36px; } .adria-art { padding: 26px; }
 .delivery-panel { padding: 24px; } .section-head { flex-wrap: wrap; } .search { min-width: 0; flex-basis: 100%; }
 .salon-gallery { padding-bottom: 36px; } .card-art { aspect-ratio: 1; }
}

/* Временная витрина без фотографий — до добавления новинок. */
.hero { grid-template-columns: minmax(0,1fr); padding-top: 60px; padding-bottom: 48px; }
.hero > div { max-width: 900px; }
.hero .lead { max-width: 49ch; }
.hero-stats { max-width: 580px; }
.collection-card { border: 1px solid var(--border); border-radius: 6px; padding: 24px; background: #f4eeeb; }
.collection-card:hover { background: #eee2e7; }
.collection-caption { padding-top: 0; }
@media (max-width: 560px) { .hero { padding-top: 36px; padding-bottom: 24px; } .collection-grid { gap: 12px; } .collection-card { padding: 20px; } }

.catalog-soon { border: 1px solid var(--border); border-radius: 6px; background: #f2ece9; padding: 48px 24px; }
.catalog-soon b { font-size: 26px; font-weight: 500; }
.catalog-soon p { line-height: 1.7; }
.filters[hidden] { display: none; }

.adria-models .adria-pack { display:block; width:100%; height:150px; object-fit:contain; margin-bottom:12px; background:#fff; border-radius:10px; }
