/* design-v68 — типографика и живой образец шва.
   Подключается последним, поверх site-v50 / review-v65 / design-v67. */

/* ---------- Типографика ---------- */
body {
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis-weight: none;
}

h1, h2, h3, h4,
.section-heading h2,
.page-hero h1, .match-hero h1, .buy-hero h1,
.pro-hero h1, .article-hero h1, .color-hero h1 {
  font-family: Bitter, Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.005em;
}

h1 { line-height: 1.07; }
h2 { line-height: 1.12; }

/* Коды оттенков — ровная ширина цифр, чтобы столбцы не «плясали» */
.palette-grid button b,
.sealteks-code,
.color-hero .color-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Убираем разрядку у надзаголовков: ALL CAPS + tracking читается как шаблон */
.eyebrow {
  letter-spacing: 0.04em;
}

/* ---------- Живой образец шва ---------- */
.seam-demo {
  margin: 0 0 38px;
  border: 1px solid var(--line, #ded8cd);
  border-radius:3px;
  background: #fff;
  overflow: hidden;
}

.seam-demo__stage {
  display: flex;
  align-items: stretch;
  height: 300px;
  background: #cfcbc4;
  --tile-a: #dcd9d3;
  --tile-b: #d6d2cb;
  --tile-gap: #cfcbc4;
}

.seam-demo__tiles {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: var(--tile-gap);
}

.seam-demo__tiles i {
  display: block;
  background: var(--tile-a);
  transition: background-color .18s ease;
}

.seam-demo__tiles i:nth-child(3),
.seam-demo__tiles i:nth-child(4) {
  background: var(--tile-b);
}

.seam-demo__tiles--right i:nth-child(1),
.seam-demo__tiles--right i:nth-child(2) {
  background: var(--tile-b);
}

.seam-demo__tiles--right i:nth-child(3),
.seam-demo__tiles--right i:nth-child(4) {
  background: var(--tile-a);
}

/* Выбор плитки */
.seam-demo__tilebar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--line, #ded8cd);
  background: #fbfaf7;
}

.seam-demo__tilebar > span {
  font-size: 14px;
  color: #46585a;
  margin-right: 4px;
}

.seam-demo__tile-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  min-height: 40px;
  border: 1px solid #cdc7bc;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: #2b3b3c;
  cursor: pointer;
}

.seam-demo__tile-option:hover {
  border-color: var(--teal, #006c70);
}

.seam-demo__tile-option[aria-pressed="true"] {
  border-color: var(--deep, #0b5256);
  box-shadow: inset 0 0 0 1px var(--deep, #0b5256);
  font-weight: 600;
}

.seam-demo__tile-option i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .12);
  flex: 0 0 auto;
}

/* Плитка клиента: фото подставляется в ячейки */
.seam-demo__stage--photo .seam-demo__tiles i {
  background-image: var(--tile-photo);
  background-size: cover;
  background-position: center;
}

.seam-demo__upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  min-height: 40px;
  border: 1px dashed var(--teal, #006c70);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal, #006c70);
  cursor: pointer;
}

.seam-demo__upload:hover {
  background: #f0f7f6;
}

.seam-demo__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.seam-demo__upload-reset {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  color: #6a7a7b;
  text-decoration: underline;
  cursor: pointer;
  min-height: 40px;
  padding: 0 4px;
}

.seam-demo__upload-note {
  flex-basis: 100%;
  font-size: 12px;
  color: #7c8a8b;
  margin: 0;
}

.seam-demo__seam {
  flex: 0 0 auto;
  width: 22px;
  background: #f1f1e3;
  transition: background-color .18s ease;
}

@media (prefers-reduced-motion: reduce) {
  .seam-demo__seam { transition: none; }
}

.seam-demo__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--line, #ded8cd);
}

.seam-demo__id {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.seam-demo__chip {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid #cdc7bc;
  border-radius:3px;
  background: #f1f1e3;
}

.seam-demo__name {
  font-size: 17px;
  font-weight: 600;
  color: var(--deep, #0b5256);
  line-height: 1.3;
}

.seam-demo__hint {
  font-size: 13px;
  color: #6a7a7b;
  margin-top: 2px;
}

.seam-demo__width {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #46585a;
}

.seam-demo__width input {
  width: 150px;
  min-height: 24px;
  accent-color: var(--teal, #006c70);
}

@media (max-width: 760px) {
  .seam-demo__stage { height: 200px; }
  .seam-demo__width { width: 100%; }
  .seam-demo__width input { flex: 1 1 auto; width: auto; }
}

/* ---------- Где купить: список магазинов ---------- */
.stores-group {
  margin: 0 0 38px;
}

.stores-group__name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 23px;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line, #ded8cd);
  color: var(--deep, #0b5256);
}

.stores-group__count {
  font-family: "Golos Text", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #7c8a8b;
}

.stores-group__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.store-card {
  border: 1px solid var(--line, #ded8cd);
  border-radius:3px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-card__metro {
  margin: 0;
  font-size: 13px;
  color: #7c8a8b;
}

.store-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.store-card h3 a {
  color: var(--deep, #0b5256);
  text-decoration: none;
}

.store-card h3 a:hover {
  text-decoration: underline;
}

.store-card__address {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #46585a;
}

.store-card__phones {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.store-card__phones a {
  font-size: 15px;
  font-weight: 600;
  color: var(--teal, #006c70);
  text-decoration: none;
  min-height: 24px;
}

.store-card__more {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal, #006c70);
  text-decoration: none;
}

.store-card__more:hover {
  text-decoration: underline;
}

.stores-empty {
  margin: 0;
  padding: 26px;
  border: 1px dashed var(--line, #ded8cd);
  border-radius:3px;
  text-align: center;
  color: #46585a;
}

#city-suggestions button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  min-height: 40px;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

#city-suggestions button:hover {
  background: #f0f7f6;
}

/* ---------- Карточка «сохранить и переслать» в статьях ---------- */
.st-share-card {
  margin: 34px 0;
  padding: 26px 28px;
  border: 1px solid var(--line, #ded8cd);
  border-left: 4px solid var(--copper, #916136);
  border-radius:3px;
  background: #fff;
}

.st-share-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
}

.st-share-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.st-share-card li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.5;
}

.st-share-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper, #916136);
}

.st-share-card > p {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line, #ded8cd);
  font-size: 15px;
  color: #6a7a7b;
}
