:root {
  --text: #1c2420;
  --muted: #5e675f;
  --line: #e4dfd6;
  --bg: #f4f6f6;
  --white: #fffcf8;
  --green: #1c3d34;
  --green-dark: #132922;
  --soft: #e7efe9;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.45;
}
h1, h2, .logo-text strong {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 500;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2 { letter-spacing: 0; }
h1 { margin: 0; font-size: 34px; }
h2 { margin: 0 0 14px; font-size: 22px; }

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

.topline { background: #1c3d34; color: #e7efe9; font-size: 13px; }
.topline-row { display: flex; gap: 18px; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topline-links { display: flex; gap: 14px; margin-left: auto; }
.topline-links a { color: #e7efe9; text-decoration: none; }
.topline-links a:hover { text-decoration: underline; }
.city-form label { display: flex; gap: 8px; align-items: center; }
.city-form select {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  padding: 2px 6px;
}
.city-form option { color: #1d1f1e; }

.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: flex; gap: 10px; align-items: center; text-decoration: none; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 16px; }
.logo-text small { color: var(--muted); font-size: 12px; }
.search { flex: 1; display: flex; min-width: 0; }
.search input { min-width: 0; }
.search input {
  flex: 1;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 10px 12px;
  background: #fff;
}
.search button, .btn {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  display: inline-block;
}
.search button { border-radius: 0 6px 6px 0; }
.btn:hover, .search button:hover { background: var(--green-dark); }
.tools { display: flex; gap: 2px; }
.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 68px;
  padding: 4px 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.1;
}
.tool svg { width: 22px; height: 22px; }
.tool:hover { color: var(--green); }
.btn-wa {
  background: #1e8e4e;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.btn-wa:hover { background: #166b3b; }
.topline a { color: #e7f3ec; text-decoration: none; }
.topline a:hover { text-decoration: underline; }

.menu { background: var(--white); border-bottom: 1px solid var(--line); }
.menu-row { display: flex; gap: 2px; overflow-x: auto; }
.menu a {
  text-decoration: none;
  padding: 12px 10px;
  color: var(--muted);
  white-space: nowrap;
}
.menu a[aria-current="page"], .menu a:hover { color: var(--green); }

.flash {
  background: var(--soft);
  border: 1px solid #cfe6d8;
  padding: 10px 12px;
  border-radius: 6px;
  margin-top: 16px;
}
main { padding: 12px 0 40px; }
.crumbs { color: var(--muted); font-size: 14px; margin: 8px 0 14px; }
.crumbs a { color: var(--green); }
.search-note { margin-top: 0; }

.salon {
  margin-top: 28px;
  background: #f7f8f8;
  border: 1px solid #e6dfd4;
  overflow: hidden;
}
.salon-main { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 280px; }
.salon-photo { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.salon-copy { padding: 28px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.salon-copy h2 { margin: 0; font-size: 32px; line-height: 1.15; }
.salon-copy p { margin: 0; color: var(--muted); }
.kicker { margin: 0; color: var(--green); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.perks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  background: #fff;
}
.perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  border-right: 1px solid var(--line);
}
.perks li:last-child { border-right: 0; }
.perks svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--green); }
.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px; background: #f7f8f8; }
.dept {
  display: block;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 650;
}
.dept.is-on, .dept:hover { border-color: var(--green); color: var(--green-dark); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.info-grid article { background: var(--white); border: 1px solid #e6dfd4; padding: 16px 18px; }
.info-grid p { margin: 0; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 14px;
}
.chip.is-on, .chip:hover { border-color: var(--green); background: var(--soft); color: var(--green-dark); }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.section-head h2 { margin: 0; font-size: 22px; }
.section-head span { color: var(--muted); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.pcard {
  background: var(--white);
  border: 1px solid #e6dfd4;
  border-top: 4px solid var(--accent, var(--green));
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(70, 48, 24, 0.05);
}
.pcard.is-current { border-color: var(--green); }
.pcard-photo {
  position: relative;
  background: #fff;
  height: 168px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green);
  color: #fff;
  border-radius: 99px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}
.pcard-photo img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.buy-form { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.pcard h2 { margin: 0; font-size: 22px; }
.for { margin: 0; color: var(--green); font-size: 13px; }
.meta { margin: 0; color: var(--muted); font-size: 14px; }
.fine { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.pcard .buy { flex-direction: column; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 10px; }
.pcard .price { font-size: 20px; }
.pcard .btn { width: 100%; text-align: center; }
.pcard .qty input { width: 100%; }
.specs { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.field-name { margin: 18px 0 8px; font-weight: 700; }
.doses { display: flex; flex-wrap: wrap; gap: 8px; }
.dose { position: relative; }
.dose input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.dose span {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
}
.dose.is-on span, .dose input:checked + span {
  border-color: var(--green);
  background: var(--soft);
  color: var(--green-dark);
  font-weight: 700;
}
.buy {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price { font-size: 28px; font-weight: 750; }
.price-note { color: var(--muted); font-size: 13px; }
.qty { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.qty input, .qty-form input, .order-form input, .order-form textarea, .order-form select {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff;
  width: 72px;
}
.price-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.price-table th, .price-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-table th { color: var(--muted); font-weight: 600; }
.price-table tr.is-on td { color: var(--green-dark); font-weight: 700; }

.steps { margin-top: 28px; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  background: var(--white);
  border: 1px solid #e6dfd4;
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(70, 48, 24, 0.05);
}
.steps li img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; }
.steps span { color: var(--muted); }

.footer { background: #1c3d34; color: #e7efe9; padding: 28px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.footer a, .footer p { color: #d5e6dc; display: block; text-decoration: none; margin: 6px 0; }
.legal { margin-top: 18px; font-size: 12px; color: #b7cfc2; }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  h1 { font-size: 28px; }
  .salon-main, .steps ol, .footer-grid, .info-grid, .depts { grid-template-columns: minmax(0, 1fr); }
  .salon-copy { padding: 22px 18px 26px; }
  .salon-copy h2 { font-size: 28px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks li { border-bottom: 1px solid var(--line); }
  .topline-links { margin-left: 0; width: 100%; }
  .tools { margin-left: auto; }
  .menu a { padding: 10px 8px; }
  .header-row { flex-wrap: wrap; padding: 12px 0; }
  .search { order: 3; flex: 1 1 100%; }
  .buy { flex-wrap: wrap; }
  .catalog-grid { grid-template-columns: 1fr; }
}
