/* where-to-buy.css — стили страницы /gde-kupit/
   Источник: wireframes/where-to-buy.html <style> блок (v1.1, 2026-06-06)
   Глобальный header/footer стилизован в site-chrome.css — здесь только .wb-* */

/* ───── HERO ───── */
.wb-hero {
  padding: var(--s-9) 0 var(--s-7);
  background: var(--zs-surface);
}
.wb-hero__crumbs {
  font-size: 13px;
  color: var(--zs-text-3);
  margin-bottom: var(--s-5);
  display: flex; gap: var(--s-3); align-items: center;
}
.wb-hero__crumbs a { color: var(--zs-text-2); transition: color var(--d-1) var(--ease); }
.wb-hero__crumbs a:hover { color: var(--zs-accent); }
.wb-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.wb-hero__eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-accent); margin-bottom: var(--s-5);
}
.wb-hero__h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.8vw, 64px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--zs-text);
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  display: inline-block;
  padding-left: var(--s-5);
  text-align: left;
}
.wb-hero__h1::before {
  content: ''; position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px; background: var(--zs-accent);
}
.wb-hero__ctas {
  display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap;
  margin-top: var(--s-7);
}

/* ───── TRUST-LINE под Hero ───── */
.wb-trust {
  background: var(--zs-surface);
  border-top: 1px solid var(--zs-line);
  border-bottom: 1px solid var(--zs-line);
}
.wb-trust__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.wb-trust__cell {
  padding: var(--s-5) var(--s-5);
  display: flex; gap: var(--s-4); align-items: center;
  border-right: 1px solid var(--zs-line);
}
.wb-trust__cell:last-child { border-right: 0; }
.wb-trust__num {
  font-family: var(--f-display);
  font-size: 36px; font-weight: 700;
  color: var(--zs-accent);
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.wb-trust__label {
  font-size: 13px;
  color: var(--zs-text-2);
  line-height: 1.4;
}
.wb-trust__label b { color: var(--zs-text); font-weight: 700; display: block; font-size: 14px; }


/* ───── ОНЛАЙН — маркетплейсы ───── */
.wb-online {
  padding: var(--s-9) 0;
  background: var(--zs-surface-2);
  border-bottom: 1px solid var(--zs-line);
}
.wb-section__head {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-6);
  align-items: end; margin-bottom: var(--s-7);
}
.wb-section__title-wrap { display: flex; flex-direction: column; gap: var(--s-2); }
.wb-section__eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-accent);
}
.wb-section__title {
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--zs-text); margin: 0;
  position: relative; padding-bottom: var(--s-3);
}
.wb-section__title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; background: var(--zs-accent);
}

.wb-mp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4);
  max-width: 980px; margin-inline: auto;
}
.wb-mp {
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-md);
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 44px 1fr 36px;
  gap: var(--s-4);
  align-items: center;
  text-decoration: none; color: inherit;
  transition: all var(--d-2) var(--ease);
}
.wb-mp:hover {
  border-color: var(--zs-text);
  box-shadow: var(--zs-shadow-1);
}
.wb-mp__logo {
  width: 44px; height: 44px;
  border-radius: var(--zs-r-sm);
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 13px; font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.wb-mp__logo--ozon { background: #005BFF; color: #fff; }
.wb-mp__logo--wb { background: #481173; color: #fff; }
.wb-mp__logo--ya { background: #FED42B; color: #000; }
.wb-mp__logo--mm { background: #19BB4F; color: #fff; }

.wb-mp__body { min-width: 0; }
.wb-mp__name {
  font-family: var(--f-body); font-size: 16px; font-weight: 700;
  color: var(--zs-text); margin: 0;
  line-height: 1.2;
}
.wb-mp__sub {
  font-size: 13px; color: var(--zs-text-2); line-height: 1.4;
  margin: 4px 0 0;
}
.wb-mp__arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--zs-line);
  display: grid; place-items: center;
  color: var(--zs-text);
  flex-shrink: 0;
  transition: all var(--d-1) var(--ease);
}
.wb-mp:hover .wb-mp__arrow {
  background: var(--zs-text); color: var(--zs-text-inv); border-color: var(--zs-text);
}
.wb-mp__arrow svg { width: 14px; height: 14px; }


/* ───── ОФЛАЙН ───── */
.wb-offline {
  padding: var(--s-9) 0;
  background: var(--zs-surface);
}

/* ── ПОИСК ПО ГОРОДУ ── */
.wb-finder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-5);
  align-items: stretch;
  margin-bottom: var(--s-7);
}

/* Селектор города */
.wb-finder__pick {
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.wb-finder__label {
  font-size: 11px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-text-3);
}
.wb-finder__select-wrap { position: relative; }
.wb-finder__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-sm);
  padding: 0 56px 0 var(--s-5);
  height: 56px;
  font-family: var(--f-body);
  font-size: 17px; font-weight: 600;
  color: var(--zs-text);
  cursor: pointer;
  transition: border-color var(--d-1) var(--ease);
}
.wb-finder__select:hover { border-color: var(--zs-line-2); }
.wb-finder__select:focus { outline: 2px solid var(--zs-accent); outline-offset: 2px; border-color: var(--zs-accent); }
.wb-finder__select-wrap::after {
  content: '';
  position: absolute;
  right: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-right: 2px solid var(--zs-text);
  border-bottom: 2px solid var(--zs-text);
  rotate: 45deg;
  margin-top: -4px;
  pointer-events: none;
}
.wb-finder__hint {
  font-size: 13px; color: var(--zs-text-2); line-height: 1.5;
}

/* Панель с деталями магазина */
.wb-finder__result {
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-md);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  min-height: 240px;
}
.wb-finder__empty {
  margin: auto;
  text-align: center;
  max-width: 280px;
}
.wb-finder__empty svg { width: 40px; height: 40px; color: var(--zs-line-2); margin-bottom: var(--s-3); }
.wb-finder__empty-title {
  font-family: var(--f-display); font-size: 18px; font-weight: 600;
  color: var(--zs-text); margin: 0 0 var(--s-2);
}
.wb-finder__empty-text {
  font-size: 13px; color: var(--zs-text-2); line-height: 1.5;
}

.wb-finder__detail { display: none; }
.wb-finder__detail.is-active { display: block; }
.wb-finder__city {
  font-size: 13px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-accent);
  margin-bottom: var(--s-2);
}
.wb-finder__name {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.5vw, 28px); font-weight: 600;
  color: var(--zs-text); margin: 0 0 var(--s-3);
  line-height: 1.2; letter-spacing: -0.01em;
}
.wb-finder__pts {
  display: inline-block;
  font-size: 11px; color: var(--zs-text-3);
  background: var(--zs-surface-2);
  padding: 4px 10px;
  border-radius: var(--zs-r-sm);
  margin-bottom: var(--s-4);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.wb-finder__rows {
  display: flex; flex-direction: column; gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.wb-finder__row {
  display: flex; gap: var(--s-3); align-items: start;
  font-size: 14px; color: var(--zs-text-2); line-height: 1.5;
}
.wb-finder__row svg {
  width: 18px; height: 18px; flex-shrink: 0;
  color: var(--zs-accent); margin-top: 2px;
}
.wb-finder__row b { color: var(--zs-text); font-weight: 600; display: block; }
.wb-finder__buttons {
  display: flex; gap: var(--s-2); flex-wrap: wrap;
  margin-top: auto;
}


/* ───── ФИРМЕННЫЙ БУТИК В МОСКВЕ ───── */
.wb-store {
  padding: var(--s-9) 0;
  background: var(--zs-surface-2);
  border-top: 1px solid var(--zs-line);
}
.wb-store__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  margin-top: var(--s-6);
}
.wb-store__photo {
  position: relative;
  border-radius: var(--zs-r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2C2A28, #1A1816);
  display: grid; place-items: center;
}
.wb-store__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.wb-store__photo-placeholder {
  text-align: center; color: rgba(255,255,255,0.45);
  font-size: 13px; padding: var(--s-6);
}
.wb-store__photo-placeholder svg { width: 48px; height: 48px; margin-bottom: var(--s-3); display: inline-block; }
.wb-store__copy {
  display: flex; flex-direction: column;
}
.wb-store__badge {
  font-size: 13px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-accent);
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.wb-store__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--zs-accent);
}
.wb-store__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em;
  color: var(--zs-text); margin: 0 0 var(--s-4);
}
.wb-store__lead {
  font-size: 15px; color: var(--zs-text-2); line-height: 1.6;
  margin: 0 0 var(--s-6); max-width: 480px;
}
.wb-store__row {
  display: flex; gap: var(--s-4); align-items: start;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--zs-line);
}
.wb-store__row:last-of-type { border-bottom: 1px solid var(--zs-line); }
.wb-store__row svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--zs-accent); margin-top: 2px;
}
.wb-store__row-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: var(--f-track-wide); text-transform: uppercase;
  color: var(--zs-text-3);
  margin-bottom: 4px;
}
.wb-store__row-value {
  font-size: 15px; color: var(--zs-text); line-height: 1.5;
}
.wb-store__row-value a {
  color: var(--zs-text); text-decoration: none;
  border-bottom: 1px solid var(--zs-line-2);
  transition: border-color var(--d-1) var(--ease);
}
.wb-store__row-value a:hover { border-bottom-color: var(--zs-accent); }
.wb-store__row-value b { font-weight: 700; }
.wb-store__buttons {
  display: flex; gap: var(--s-3); flex-wrap: wrap;
  margin-top: var(--s-6);
}


/* ───── ПРОВЕРКА ПРОДАВЦА ───── */
.wb-check {
  padding: var(--s-9) 0;
  background: var(--zs-surface-2);
  border-top: 1px solid var(--zs-line);
}
.wb-check__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8);
  align-items: center;
}
.wb-check__title {
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.01em;
  color: var(--zs-text); margin: 0 0 var(--s-5);
  position: relative; padding-bottom: var(--s-3);
}
.wb-check__title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 3px; background: var(--zs-accent);
}
.wb-check__lede {
  font-size: 16px; color: var(--zs-text-2); line-height: 1.55;
  max-width: 460px;
}
.wb-check__form {
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-md);
  padding: var(--s-6);
}
.wb-check__input-row {
  display: flex; gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.wb-check__input {
  flex: 1;
  background: var(--zs-surface);
  border: 1px solid var(--zs-line);
  border-radius: var(--zs-r-sm);
  padding: 0 var(--s-4);
  height: 48px;
  font-family: var(--f-body); font-size: 14px;
  color: var(--zs-text);
  transition: border var(--d-1) var(--ease);
}
.wb-check__input:focus { outline: none; border-color: var(--zs-accent); }
.wb-check__input::placeholder { color: var(--zs-text-3); }
.wb-check__btn {
  background: var(--zs-accent);
  color: var(--zs-text-inv);
  border: 0;
  height: 48px;
  padding: 0 var(--s-5);
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  letter-spacing: var(--f-track); text-transform: uppercase;
  border-radius: var(--zs-r-sm);
  cursor: pointer;
  transition: background var(--d-1) var(--ease);
}
.wb-check__btn:hover { background: var(--zs-accent-hov); }
.wb-check__hint {
  font-size: 13px; color: var(--zs-text-2);
  margin-bottom: var(--s-4);
}
.wb-check__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.wb-check__list li {
  font-size: 14px; color: var(--zs-text-2); line-height: 1.4;
  display: flex; gap: var(--s-3); align-items: start;
}
.wb-check__list li::before {
  content: ''; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A6FDB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


/* ───── Адаптив ───── */
@media (max-width: 1280px) {
  .wb-mp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wb-mp-grid { grid-template-columns: 1fr; }
  .wb-check__row { grid-template-columns: 1fr; }
  .wb-section__head { grid-template-columns: 1fr; }
  .wb-trust__row { grid-template-columns: 1fr; }
  .wb-trust__cell { border-right: 0; border-bottom: 1px solid var(--zs-line); padding: var(--s-4) var(--s-3); }
  .wb-trust__cell:last-child { border-bottom: 0; }
  .wb-trust__num { font-size: 28px; }

  /* Hero на мобиле */
  .wb-hero { padding: var(--s-7) 0 var(--s-6); }
  .wb-hero__h1 { font-size: 32px; letter-spacing: -0.02em; }
  .wb-hero__ctas { flex-direction: column; align-items: stretch; margin-top: var(--s-6); }
  .wb-hero__ctas .zs-btn { width: 100%; }

  /* Бутик на мобиле — в одну колонку */
  .wb-store__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .wb-store__photo { aspect-ratio: 16/10; }
  .wb-store__buttons { flex-direction: column; align-items: stretch; }
  .wb-store__buttons .zs-btn { width: 100%; }

  /* Поиск по городу — селектор сверху, детали снизу */
  .wb-finder { grid-template-columns: 1fr; gap: var(--s-3); }
  .wb-finder__pick { padding: var(--s-5); }
  .wb-finder__result { padding: var(--s-5); min-height: 0; }
  .wb-finder__buttons { flex-direction: column; align-items: stretch; }
  .wb-finder__buttons .zs-btn { width: 100%; }
  .wb-finder__name { font-size: 22px; }

  /* Проверка продавца — в стек */
  .wb-check__form { padding: var(--s-5); }
  .wb-check__input-row { flex-direction: column; }
  .wb-check__input { width: 100%; font-size: 16px; }
  .wb-check__btn { width: 100%; }
}
