/*
Theme Name: LYNA PLUS
Description: Тема магазина LYNA PLUS. Повторяет оформление прежнего сайта на Тильде:
  шрифт Inter, чёрный на белом, логотип по центру, фильтры слева, карточки 3 в ряд
  в пропорции 3:4, подписи заглавными вразрядку.
Version: 1.1
*/

/* Kreadon — фирменный шрифт бренда, тот же, что стоит в настройках прежнего сайта.
   Лицензия SIL Open Font License, файл лицензии лежит рядом в папке fonts. */
/* На прежнем сайте в слот Light загружен Kreadon Medium — видно по именам файлов,
   которые отдаёт их сервер: Kreadon-M для веса 300 и Kreadon-R для 400. Поэтому их
   «лёгкий» текст выглядит плотнее нашего. Повторяем эту подмену. */
@font-face {
  font-family: 'Kreadon';
  src: url('fonts/Kreadon-Medium.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kreadon';
  src: url('fonts/Kreadon-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kreadon';
  src: url('fonts/Kreadon-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lyna-left: 310px;   /* отступ до колонки фильтров, как на прежнем сайте */
  /* Значения сняты измерением с прежнего сайта, а не подобраны на глаз:
     основной текст витрины — #615454, чёрный там почти не используется. */
  --lyna-text: #615454;
  --lyna-muted: #615454;
  --lyna-grey: #8c8c8c;
  --lyna-line: #e6e6e6;
  /* Kreadon — фирменный шрифт бренда, тот же, что выбран в настройках Тильды.
     Пока файлы шрифта не загружены, подставляется Inter: рисунок близкий. */
  --lyna-font: 'Kreadon', 'Inter', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--lyna-text);
  font-family: var(--lyna-font);
  font-size: 16px;
  font-weight: 400;          /* Light выглядел бледнее оригинала — берём Regular */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------------- шапка */
.lyna-header {
  /* Шапка остаётся на виду при прокрутке — как на прежнем сайте: имя бренда всегда
     перед глазами, и до корзины не нужно возвращаться наверх. */
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 40px;
  min-height: 96px;
}
.lyna-logo img,
.lyna-logo__img,
.lyna-logo .custom-logo {
  width: auto;
  width: 230px;              /* логотип на прежнем сайте небольшой и по центру */
  height: auto;
}
.lyna-cart {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lyna-burger {
  position: relative;
  width: 26px;
  cursor: pointer;
  display: block;
}
.lyna-burger span { display: block; height: 1px; background: #000; margin: 6px 0; }
.lyna-nav { display: none; padding: 0 40px 20px; }
.lyna-burger-toggle:checked ~ .lyna-nav { display: block; }
.lyna-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 26px; }
.lyna-nav a { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------------------------------------------------------------- витрина */
.lyna-main { padding-bottom: 60px; }
.lyna-title {
  /* Замер прежнего сайта: Kreadon 20px/24.6, вес 300, цвет 97-84-84, заглавными.
     Середина — середина содержимого (310..1545), а не середина окна. */
  text-align: center;
  text-transform: uppercase;
  font-size: 20px;
  line-height: 24.6px;
  font-weight: 300;
  color: var(--lyna-text);
  margin: 34px 0 20px;
  padding: 0 55px 0 var(--lyna-left);
}
.lyna-catalog {
  /* На прежнем сайте при ширине окна 1600 витрина занимает 969 пикселей и стоит
     справа от фильтров — повторяем эти пропорции. */
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 55px;                        /* столько между фильтрами и витриной у них */
  padding: 0 50px 0 var(--lyna-left);
}
.lyna-filter { margin-bottom: 34px; }
/* Замеры фильтров с прежнего сайта: заголовок 14px/300 цвета 97-84-84 заглавными,
   пункты 13px/400 чёрным, «Показать все» 14px/300 с пунктирным подчёркиванием. */
.lyna-filter__head {
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 14px;
  line-height: 21.7px;
  font-weight: 300;
  color: var(--lyna-text);
  margin-bottom: 10.3px;
}
.lyna-filter ul { list-style: none; margin: 0; padding: 0; }
.lyna-filter li { margin-bottom: 10px; font-size: 14px; font-weight: 300; line-height: 21.7px; color: var(--lyna-text); }
.lyna-filter label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.lyna-filter input {
  width: 20px; height: 20px; margin: 0;
  appearance: none; border: 1px solid #c9c9c9; background: #fff; cursor: pointer;
  position: relative; flex: 0 0 20px;
}
.lyna-filter input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px; border: solid #000;
  border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.lyna-filter__more { display: none; }
.lyna-filter.is-open .lyna-filter__more { display: block; }
.lyna-filter__toggle {
  background: none; border: 0; padding: 0; margin-top: 4px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 300; color: #000;
  border-bottom: 1px dashed #b0b0b0;
}

.lyna-toolbar {
  display: flex; justify-content: flex-end; align-items: center; gap: 20px;
  margin: 0 0 19.3px;
  padding: 0 55px 0 var(--lyna-left);   /* правый край поля сортировки — край витрины */
}
/* Сортировка у них — обычный список в той же серой рамке, что и поиск. */
.woocommerce-ordering { margin: 0; }
.lyna-search { position: relative; display: block; }
.lyna-search input {
  /* Замер прежнего сайта, боковая панель: 215x30, рамка 1px 20-процентная,
     текст 12px и начинается на 30-м пикселе — там же, где кончается лупа. */
  width: 215px; height: 30px; margin: 0;
  border: 1px solid rgba(0, 0, 0, .2); border-radius: 0;
  padding: 0 25px 0 30px;
  font-family: inherit; font-size: 12px; font-weight: 400; line-height: 15.96px;
  color: #000; background: none; outline: none; box-sizing: border-box;
}
.lyna-search input::placeholder { color: #757575; }
.lyna-search button {
  position: absolute; left: 8px; top: 0; height: 30px;
  display: flex; align-items: center;
  border: 0; background: none; padding: 0;
  cursor: pointer; color: rgba(0, 0, 0, .45);
}
/* Над каталогом поиск у них другой: серая подложка, скруглённый угол,
   шрифт крупнее и светлее, лупа справа. */
.lyna-toolbar .lyna-search input {
  width: 220px; height: 27.2px;
  background: #f8f8f8; border: 1px solid #ddd; border-radius: 3px;
  padding: 0 30px 0 10px;
  font-size: 14px; font-weight: 300; line-height: 25.2px;
}
.lyna-toolbar .lyna-search input::placeholder { color: #aaa; }
.lyna-toolbar .lyna-search button { left: auto; right: 8px; height: 27.2px; line-height: 27.2px; }
/* У вукомерса на форме сортировки свой нижний отступ в 1em. Из-за него форма
   выше поля поиска, и при выравнивании по центру список встаёт на восемь пикселей
   выше — со стороны это выглядит как криво поставленные блоки. */
.lyna-toolbar .woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
  width: 200px; height: 27.7px;
  border: 1px solid #ddd; border-radius: 3px;
  padding: 2px 18px 2px 10px;
  font-family: inherit; font-size: 14px; font-weight: 300; color: #000;
  background: #f8f8f8; cursor: pointer;
}
.woocommerce-result-count { display: none; }

.woocommerce ul.products, ul.products {
  display: grid;
  grid-template-columns: repeat(var(--lyna-cols, 3), minmax(0, 1fr));
  gap: 98px 0;               /* шаг ряда 651px, колонки вплотную — как у них */
  width: 100%;
  float: none;
  justify-items: stretch;    /* иначе карточка сжимается по содержимому до 96 пикселей */
  align-items: start;
}
/* WooCommerce добавляет к списку товаров служебные псевдоэлементы для старой
   раскладки с обтеканием. В сетке они становятся ячейками — первый товар уезжает
   во вторую колонку, а на его месте зияет пустота. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after {
  display: none;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}
/* Ширину карточки WooCommerce задаёт в процентах от колонки — в сетке это даёт
   96 пикселей вместо 313. Перебиваем более весомым правилом, а не !important. */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
ul.products li.product {
  /* WooCommerce задаёт карточкам ширину 30.75% и обтекание — в сетке это ломает ряд.
     Перебиваем принудительно: правила плагина живут в его файле и меняются с версиями. */
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  padding: 0 5px;            /* поля внутри карточки: фото 313 в колонке 323 */
  text-align: left;          /* подписи прижаты влево, а не по центру */
}
body.woocommerce ul.products li.product img,
.woocommerce ul.products li.product img,
ul.products li.product img {
  width: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 0 20.7px;
}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product h2 {
  font-size: 14px;
  font-weight: 300;
  line-height: 18.9px;
  letter-spacing: normal;
  text-transform: uppercase;
  margin: 0 0 12.1px;
  padding: 0;
  color: var(--lyna-text);
}
.woocommerce ul.products li.product .price, ul.products li.product .price {
  font-size: 14px; line-height: 18.9px; font-weight: 300;
  color: var(--lyna-text); display: block; margin-bottom: 20.1px;
}
ul.products li.product .price del { color: var(--lyna-grey); margin-right: 6px; }
.woocommerce ul.products li.product .button, ul.products li.product .button { display: none; }
.lyna-buy {
  /* На прежнем сайте это кнопка с белой рамкой: снаружи не видна, но
     сдвигает надпись на 30px и делает строку высотой 45px. */
  display: inline-flex;
  align-items: center;
  padding: 11.7px 30px;
  border: 1px solid #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 19.6px;
  text-transform: uppercase;
  color: #000;
}
.lyna-buy:hover { opacity: .6; }
.woocommerce-pagination ul { display: flex; gap: 14px; justify-content: center; list-style: none; padding: 0; }

/* ---------------------------------------------------------------- товар */
/* Раскладка снята с прежнего сайта: слева галерея 560px, справа колонка 560px,
   вся типографика — 14px, Light, цвет 97-84-84. */
.single-product .lyna-main { max-width: 1600px; margin: 0 auto; padding: 0 40px 60px; }
.single-product div.product {
  /* Раскладка тянется вместе с окном, как у них: на широком экране и галерея,
     и колонка становятся больше, а не остаются в фиксированных 560 пикселях. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  max-width: 1500px;
  margin: 30px auto 60px;
}
.woocommerce div.product .product_title, .single-product .product_title {
  font-size: 14px; font-weight: 300; line-height: 18.9px;
  text-transform: uppercase; color: var(--lyna-text);
  margin: 0 0 6px; letter-spacing: normal;
}
.lyna-article { font-size: 14px; font-weight: 300; color: var(--lyna-grey); margin: 0 0 26px; }
.woocommerce div.product .summary .price,
.woocommerce div.product p.price,
.single-product .summary .price {
  font-size: 14px !important; font-weight: 300;
  color: var(--lyna-text) !important; margin: 0 0 26px;
}
.single-product .variations { border: 0; margin: 0 0 22px; width: 100%; }
.single-product .variations th,
.single-product .variations td { display: block; padding: 0; text-align: left; border: 0; }
.woocommerce div.product .variations label,
.single-product .variations label {
  font-size: 14px; font-weight: 300 !important; color: var(--lyna-text);
  margin: 0 0 6px; display: block;
}
/* На прежнем сайте нет ни счётчика штук, ни ссылки «очистить», ни строки об остатке —
   покупатель видит только цвет, размер и кнопку. */
.woocommerce div.product form.cart .quantity,
.single-product .quantity { display: none !important; }
.woocommerce div.product .reset_variations { display: none !important; }
.woocommerce div.product .stock { display: none !important; }
.woocommerce div.product .variations select, .single-product .variations select {
  /* WooCommerce ставит спискам min-width: 75%, и он перебивает любую ширину. */
  width: 260px !important; max-width: 260px; min-width: 0 !important;
  padding: 11px 12px;
  border: 1px solid var(--lyna-line); border-radius: 0; background: #fff;
  font-family: inherit; font-size: 14px; font-weight: 300; color: var(--lyna-text);
  margin-bottom: 16px;
}
.single-product .woocommerce-variation-add-to-cart,
.single-product form.cart { margin: 0 0 26px; }
.woocommerce div.product button.button,
.woocommerce div.product .single_add_to_cart_button,
.single-product button.button {
  background: #fff !important; color: #000 !important;
  border: 1px solid #000 !important; border-radius: 0;
  padding: 14px 28px !important; min-width: 213px;
  font-family: inherit; font-size: 14px; font-weight: 300;
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.woocommerce div.product button.button:hover, .single-product button.button:hover { background: #000; color: #fff; }
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-Tabs-panel,
.single-product .summary p {
  font-size: 14px; font-weight: 300; line-height: 21px; color: var(--lyna-text);
}
.lyna-descr { margin-top: 26px; }
.lyna-descr p {
  font-size: 14px; font-weight: 300; line-height: 21px;
  color: var(--lyna-text); margin: 0 0 16px;
}
.lyna-descr strong { font-weight: 400; }
.single-product .woocommerce-tabs { display: none; }
.woocommerce div.product .woocommerce-variation-price { margin-bottom: 18px; }
.woocommerce div.product .woocommerce-variation-price .price { font-size: 14px !important; }

/* Галерея: миниатюры узкой колонкой слева от большого снимка. */
.woocommerce div.product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery {
  /* WooCommerce отдаёт галерее и колонке по 48% — в сетке это ужимает их вдвое. */
  width: 100% !important;
  float: none !important;
  display: flex;
  gap: 12px;
}
.woocommerce div.product .summary,
.single-product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product .woocommerce-product-gallery .flex-viewport { order: 2; flex: 1; min-width: 0; }
.single-product .woocommerce-product-gallery__wrapper { margin: 0; }
.single-product .flex-control-thumbs {
  order: 1; display: flex; flex-direction: column; gap: 8px;
  width: 76px; margin: 0; padding: 0; list-style: none; flex: 0 0 76px;
}
/* WooCommerce раскладывает миниатюры в четыре колонки с обтеканием — в узком
   столбце это давало картинки по 20 пикселей. */
.woocommerce div.product .flex-control-thumbs li,
.single-product .flex-control-thumbs li {
  width: 100% !important; float: none !important; margin: 0 !important;
}
.single-product .flex-control-thumbs img { width: 100%; height: auto; cursor: pointer; opacity: .75; }
.single-product .flex-control-thumbs img.flex-active,
.single-product .flex-control-thumbs img:hover { opacity: 1; }

/* «Смотрите также» — четыре карточки в ряд, как на прежнем сайте. */
.related > h2, .up-sells > h2 {
  font-size: 14px; font-weight: 300; text-transform: uppercase;
  letter-spacing: .06em; color: var(--lyna-text); margin: 40px 0 24px;
}
.related, .up-sells { grid-column: 1 / -1; }
.related ul.products, .up-sells ul.products { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- подвал */
/* Подвал собран по прежнему сайту: пять колонок, мелкий светлый текст. */
/* Замеры подвала прежнего сайта при ширине 1440: колонки на 160, 459, 638, 817
   и 996 пикселях, текст 16px средней насыщенности, шаг строки 35, мелкий шрифт
   правовых ссылок — 14px светлого начертания, значок телеграма 33×33 справа. */
.lyna-footer {
  border-top: 1px solid var(--lyna-line);
  padding: 46px 50px 60px 160px;
  font-size: 16px; line-height: 35px; font-weight: 500;
  color: #615454;
}
.lyna-footer__cols {
  display: grid;
  /* шаг колонок с их страницы: 160 → 459 → 638 → 817 → 996 → значок на 1205 */
  grid-template-columns: 299px 179px 179px 179px 209px 33px auto;
  gap: 0;
}
/* Правовые ссылки у них переносятся раньше края колонки — остаётся воздух
   до следующего столбца, иначе строка упирается в «Онлайн-магазин». */
.lyna-footer__col { min-width: 0; padding-right: 20px; }
.lyna-footer__col:first-child { max-width: 265px; }
.lyna-footer__social { padding-right: 0; }
.lyna-footer__head { margin-bottom: 0; }
.lyna-footer__rights,
.lyna-footer__col:first-child a {
  font-size: 14px; line-height: 22px; font-weight: 300;
}
.lyna-footer__rights { text-transform: uppercase; margin-bottom: 6px; }
.lyna-footer__gap { margin-top: 12px; }
.lyna-footer ul { list-style: none; margin: 0; padding: 0; }
.lyna-footer li { margin-bottom: 0; }
.lyna-footer a { color: inherit; text-decoration: none; }
/* Ссылки на страницы подчёркнуты, телефоны — нет: так на прежнем сайте. */
.lyna-footer a:not([href^="tel"]):not([aria-label]) { border-bottom: 1px solid currentColor; }
.lyna-footer a:hover { opacity: .6; }
.lyna-footer__social { display: flex; align-items: flex-start; justify-content: flex-start; }
.lyna-footer__social a { border: 0; line-height: 0; }
@media (max-width: 1400px) {
  .lyna-footer { padding-left: 50px; }
  .lyna-footer__cols { grid-template-columns: 260px repeat(4, minmax(0, 1fr)) 60px; }
}
@media (max-width: 1100px) {
  .lyna-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .lyna-footer { padding: 30px 20px 40px; font-size: 15px; line-height: 30px; }
}

@media (max-width: 1599px) {
  :root { --lyna-left: 105px; }   /* у них левый отступ меньше, колонка та же */
}
@media (max-width: 1100px) {
  .lyna-catalog { grid-template-columns: 200px 1fr; gap: 28px; padding: 0 20px; }
  .lyna-title, .lyna-toolbar { padding: 0 20px; }
  .woocommerce ul.products, ul.products { gap: 34px 20px; }
}
@media (max-width: 780px) {
  .lyna-header { padding: 20px; min-height: 76px; }
  .lyna-burger, .lyna-cart { left: 20px; right: 20px; }
  .lyna-catalog { grid-template-columns: 1fr; }
  .lyna-filters { display: none; }
  .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .single-product div.product { grid-template-columns: 1fr; gap: 24px; }
}


/* ---------------------------------------------------------------- выдвижная панель */
/* На прежнем сайте меню живёт слева и выезжает при наведении. Делаем без скриптов:
   зона у края страницы ловит курсор, панель выезжает и прячется, когда мышь ушла. */
.lyna-menu {
  position: fixed;      /* обёртка вокруг трёх полосок: наведение на них открывает панель */
  left: 0;
  top: 0;
  z-index: 60;
  padding: 34px 26px 20px 40px;
}
.lyna-panel {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  padding: 20px 20px;
  background: #fff;
  border-right: 1px solid var(--lyna-line);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .35s ease;
}
.lyna-menu:hover .lyna-panel,
.lyna-burger-toggle:checked ~ .lyna-panel { transform: translateX(0); }

.lyna-panel .lyna-search { margin-bottom: 26px; width: 215px; }
.lyna-panel .lyna-search input { width: 100%; }
.lyna-panel__menu { list-style: none; margin: 0; padding: 0; }
.lyna-panel__menu > li { margin-bottom: 18px; }
/* Подразделы у них идут теснее верхних пунктов: шаг 30px против 38.8px. */
.lyna-panel__menu .sub-menu li { margin-bottom: 13.75px; }
/* Замеры панели на прежнем сайте: пункт 16px/300, межстрочный 20.8, без разрядки;
   вложенный — 13px/400 и темнее. */
.lyna-panel__menu > li > a {
  font-size: 16px;
  font-weight: 300;
  line-height: 20.8px;
  letter-spacing: normal;
  text-transform: uppercase;
  color: var(--lyna-text);
  display: block;
  opacity: .8;
}
/* Подразделы скрыты, пока не нажали на родительский пункт — как на прежнем сайте. */
.lyna-panel__menu .sub-menu {
  list-style: none; margin: 0; padding: 0 0 0 15px;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
/* Раскрытый «Каталог» — восемнадцать пунктов: запас по высоте, чтобы список
   не обрезался, а панель прокручивалась целиком. */
.lyna-panel__menu li.is-open > .sub-menu { max-height: 1200px; margin: 12px 0 0; }
.lyna-panel__menu li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.lyna-panel__menu li.menu-item-has-children.is-open > a::after { transform: rotate(-135deg) translateY(-2px); }
.lyna-panel__menu .sub-menu a {
  display: block;          /* иначе строка занимает высоту по шрифту родителя и шаг плывёт */
  font-size: 13px;
  font-weight: 400;
  line-height: 16.25px;
  color: #000;
  opacity: .8;
  text-transform: none;
  letter-spacing: normal;
}
.lyna-panel__menu .lyna-menu-sep { border-top: 1px solid var(--lyna-line); padding-top: 20px; margin-top: 22px; }

/* ---------------------------------------------------------------- образцы цвета */
.lyna-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.lyna-swatch {
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--lyna-line); background: #f7f7f7 center/cover no-repeat;
  cursor: pointer; position: relative;
}
.lyna-swatch.is-active { border-color: #000; }
.lyna-swatch__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;  /* подпись для доступности */
  clip: rect(0 0 0 0); white-space: nowrap;
}
.lyna-swatches__select select { width: 260px !important; }

/* ---------------------------------------------------------------- показать ещё */
.lyna-more-wrap { text-align: center; margin: 20px 0 60px; }
.lyna-more {
  background: none; border: 1px solid #000; border-radius: 0;
  padding: 13px 34px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 300;
  text-transform: uppercase; letter-spacing: .06em; color: #000;
}
.lyna-more:hover { background: #000; color: #fff; }
.lyna-more[disabled] { opacity: .5; cursor: default; }
.woocommerce-pagination { display: none; }

/* На прежнем сайте у карточек нет кружка «Распродажа»: скидка видна по
   зачёркнутой старой цене рядом с новой. Убираем значок WooCommerce. */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale { display: none !important; }

/* Раздел, который открыт сейчас, на прежнем сайте бледнее соседей. */
.lyna-panel__menu .current-menu-item > a,
.lyna-panel__menu .current-menu-parent > a { color: #333; opacity: .7; }


/* ---------------------------------------------------------------- страницы */
/* Замеры прежнего сайта: текст Kreadon 20px, межстрочный 31, чёрный, колонка
   около 1150 пикселей. Заголовки разделов — 20px заглавными. */
.lyna-content {
  max-width: 1150px;
  margin: 0 auto 80px;
  padding: 0 20px;
  font-size: 20px;
  line-height: 31px;
  font-weight: 300;
  color: #000;
}
.lyna-content p { margin: 0 0 20px; }
.lyna-content h2 {
  font-size: 20px; line-height: 31px; font-weight: 400;
  text-transform: uppercase; color: #000; margin: 54px 0 18px;
}
.lyna-content h3 {
  font-size: 20px; line-height: 31px; font-weight: 400;
  color: #000; margin: 32px 0 10px;
}
.lyna-content a { color: #000; text-decoration: underline; }
.lyna-content img { max-width: 100%; height: auto; display: block; }
.lyna-figure { margin: 34px 0; }
/* Несколько снимков подряд у них идут сеткой, а не столбиком. */
.lyna-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 15px; margin: 34px 0;
}
.lyna-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 780px) {
  .lyna-content { font-size: 17px; line-height: 26px; }
  .lyna-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* ------------------------------------------------- клуб привилегий и сервис */
/* Раскладка повторяет прежний сайт: крупная картинка с заголовком справа,
   четыре колонки правил, три карточки уровней. */
.lyna-club { max-width: 1500px; margin: 0 auto 90px; padding: 0 50px; }
.lyna-club__hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px; align-items: start; margin-bottom: 90px;
}
.lyna-club__pic img { width: 100%; height: auto; display: block; }
.lyna-club__intro h2 {
  font-size: 34px; line-height: 42px; font-weight: 300;
  text-transform: uppercase; color: var(--lyna-text); margin: 0 0 260px;
}
.lyna-club__intro p { font-size: 20px; line-height: 31px; font-weight: 300; color: #000; }
.lyna-club__head {
  font-size: 20px; line-height: 31px; font-weight: 400; text-transform: uppercase;
  color: #000; margin: 0 0 30px;
}
.lyna-club__rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 90px; }
.lyna-club__rule h3 {
  font-size: 20px; line-height: 28px; font-weight: 400; color: #000;
  margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--lyna-line);
}
.lyna-club__rule p { font-size: 14px; line-height: 21px; font-weight: 300; color: #000; margin: 0 0 12px; }
.lyna-club__levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.lyna-club__level {
  border: 1px solid var(--lyna-line); border-radius: 4px; padding: 40px 30px;
  text-align: center;
}
.lyna-club__level h3 { font-size: 20px; font-weight: 400; color: #000; margin: 0 0 18px; }
.lyna-club__percent { font-size: 16px; font-weight: 400; }
.lyna-club__level p { font-size: 14px; line-height: 21px; font-weight: 300; color: #000; margin: 0 0 14px; }
.lyna-club__note { font-size: 13px; line-height: 20px; color: var(--lyna-grey); margin: 24px 0 90px; }
.lyna-club__join { text-align: center; }
.lyna-club__join h2 { font-size: 20px; font-weight: 400; text-transform: uppercase; margin-bottom: 24px; }
.lyna-club__btn {
  display: inline-block; padding: 14px 44px; border: 1px solid #000;
  font-size: 14px; text-transform: uppercase; color: #000; text-decoration: none;
}
.lyna-club__btn:hover { background: #000; color: #fff; }
.lyna-club__join p { margin: 24px 0 14px; font-size: 14px; }
.lyna-club__qr img { width: 180px; height: auto; margin: 0 auto; }

/* Услуги: фото и текст рядом, стороны чередуются. */
.lyna-services { max-width: 1500px; margin: 0 auto 90px; padding: 0 50px; }
.lyna-service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px; align-items: center; margin-bottom: 70px;
}
.lyna-service--right .lyna-service__img { order: 2; }
.lyna-service__img img { width: 100%; height: auto; display: block; }
.lyna-service__text h2 {
  font-size: 24px; line-height: 32px; font-weight: 300; text-transform: uppercase;
  color: var(--lyna-text); margin: 0 0 18px;
}
.lyna-service__text p { font-size: 16px; line-height: 26px; font-weight: 300; color: #000; margin: 0 0 14px; }

@media (max-width: 1100px) {
  .lyna-club__rules { grid-template-columns: repeat(2, 1fr); }
  .lyna-club__intro h2 { margin-bottom: 40px; font-size: 26px; line-height: 34px; }
}
@media (max-width: 780px) {
  .lyna-club, .lyna-services { padding: 0 20px; }
  .lyna-club__hero, .lyna-service { grid-template-columns: 1fr; gap: 24px; }
  .lyna-club__rules, .lyna-club__levels { grid-template-columns: 1fr; gap: 24px; }
  .lyna-service--right .lyna-service__img { order: 0; }
}


/* ------------------------------------------------- окно подписки и формы */
.lyna-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .45);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lyna-modal[hidden] { display: none; }
.lyna-modal__box { position: relative; width: 100%; max-width: 470px; background: #fff; }
.lyna-modal__close {
  position: absolute; right: 10px; top: 8px; z-index: 2;
  border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #111;
}
.lyna-modal__img { width: 100%; height: 300px; object-fit: cover; display: block; }
.lyna-modal__body { padding: 30px 34px 34px; }
.lyna-modal__body h2 {
  font-size: 26px; line-height: 32px; font-weight: 300; color: #000; margin: 0 0 14px;
}
.lyna-modal__body p { font-size: 14px; line-height: 21px; font-weight: 300; color: var(--lyna-text); }
.lyna-modal__form { display: flex; gap: 10px; margin: 20px 0 14px; }
.lyna-modal__form input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 14px;
  border: 1px solid var(--lyna-line); background: #f6f4f2;
  font-family: inherit; font-size: 14px; color: #000;
}
.lyna-modal__form button {
  height: 44px; padding: 0 22px; border: 1px solid #000; background: #fff;
  font-family: inherit; font-size: 14px; color: #000; cursor: pointer;
}
.lyna-modal__form button:hover { background: #000; color: #fff; }
.lyna-modal__note { font-size: 12px; line-height: 18px; color: var(--lyna-grey); }
.lyna-modal__note a { color: var(--lyna-grey); }

.lyna-return { max-width: 560px; margin: 20px 0 0; }
.lyna-return label { display: block; font-size: 14px; color: var(--lyna-text); }
.lyna-return input, .lyna-return textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--lyna-line);
  font-family: inherit; font-size: 15px; color: #000; background: #fff;
}
.lyna-return button {
  padding: 12px 34px; border: 1px solid #000; background: #fff;
  font-family: inherit; font-size: 14px; text-transform: uppercase; cursor: pointer;
}
.lyna-return button:hover { background: #000; color: #fff; }
.lyna-sent {
  max-width: 1150px; margin: 20px auto; padding: 14px 18px;
  border: 1px solid var(--lyna-line); background: #f6f4f2; font-size: 15px;
}

/* -------------------------------------------------- стилисты и ателье */
/* Замеры прежнего сайта при ширине окна 1440: колонка страницы 1160, фотография
   стилиста 660×660 с превью 60×60 под ней, текст справа в 460, кнопка 254×45
   цвета #615454. Ателье: герой 653×1000, карточки 560 в рамке 2px, заголовок
   раздела 36px/700, плашка «обращаем внимание» на линии. */
.page-stylistlyna .lyna-content,
.page-atelier .lyna-content { max-width: 1200px; padding: 0 20px; }
/* Заголовок страницы у них не выводится: раздел начинается с текста блока. */
.page-stylistlyna .lyna-title,
.page-atelier .lyna-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.lyna-stylists__intro { max-width: 960px; margin: 0 auto 74px; text-align: center; }
.lyna-stylists__eyebrow {
  font-size: 20px; line-height: 31px; font-weight: 300; color: #615454; margin: 0 0 12px;
}
.lyna-stylists__intro p {
  font-size: 18px; line-height: 27.9px; font-weight: 300; color: #615454; margin: 0 0 10px;
}

.lyna-stylist {
  display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 460px);
  gap: 40px; align-items: start; margin: 0 0 254px;
}
.lyna-content .lyna-stylist__photo {
  width: 100%; height: 660px; object-fit: contain; object-position: center; display: block;
}
.lyna-stylist__thumbs { display: flex; justify-content: center; gap: 5px; margin-top: 4px; }
.lyna-stylist__thumbs img {
  width: 60px; height: 60px; object-fit: cover; display: block;
  cursor: pointer; opacity: .82; transition: opacity .2s ease;
}
.lyna-stylist__thumbs img:hover { opacity: 1; }
.lyna-content .lyna-stylist__photo { transition: opacity .12s ease; }
.lyna-stylist__text h2 {
  font-size: 24px; line-height: 32.4px; font-weight: 700; color: #615454;
  text-transform: none; margin: 0 0 21px;
}
.lyna-stylist__text p {
  font-size: 16px; line-height: 24.8px; font-weight: 300; color: #615454; margin: 0 0 18px;
}
.lyna-stylist__btn {
  display: inline-block; margin-top: 2px; padding: 12.7px 20px; background: #615454;
  color: #fff; font-size: 14px; font-weight: 600; line-height: 19.6px;
  text-decoration: none; text-align: center; width: 254px; box-sizing: border-box;
}
.lyna-stylist__btn:hover { background: #4e4343; }

.lyna-atelier__hero {
  display: grid; grid-template-columns: 653px minmax(0, 1fr); gap: 68px; margin: 0 0 90px;
  width: min(1390px, calc(100vw - 50px));
  margin-left: calc((100% - min(1390px, calc(100vw - 50px))) / 2);
}
.lyna-content .lyna-atelier__hero-media img { width: 100%; height: 1000px; object-fit: cover; }
.lyna-atelier__hero-text h2 {
  font-size: 40px; line-height: 53px; font-weight: 300; color: #4e4343;
  text-transform: none; margin: 214px 0 0;
}
.lyna-atelier__hero-text p {
  font-size: 20px; line-height: 31px; font-weight: 300; color: #575757;
  max-width: 526px; margin: 454px 0 0;
}

.lyna-atelier__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 0 0 195px;
}
.lyna-card { border: 2px solid #000; padding: 35px 25px 40px; text-align: center; }
.lyna-card__icon { width: 100px; height: 100px; margin: 0 auto 34px; display: block; }
.lyna-card h3 {
  font-size: 24px; line-height: 32.4px; font-weight: 700; color: #615454; margin: 0 0 25px;
}
.lyna-card p {
  font-size: 16px; line-height: 25px; font-weight: 300; color: #615454;
  text-align: left; margin: 0 0 25px;
}
.lyna-card p:last-child { margin-bottom: 0; }

.lyna-atelier__models { max-width: 960px; margin: 0 auto 151px; }
.lyna-atelier__models h3 {
  font-size: 36px; line-height: 44.28px; font-weight: 700; color: #615454;
  text-align: center; margin: 0 0 29px;
}
.lyna-atelier__models p,
.lyna-atelier__models li {
  font-size: 20px; line-height: 31px; font-weight: 300; color: #615454; margin: 0 0 6px;
}
.lyna-atelier__models ul { margin: 6px 0 12px; padding-left: 24px; }

.lyna-atelier__steps {
  display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 560px);
  justify-content: space-between; gap: 40px; padding-left: 100px; margin: 0 0 181px;
}
.lyna-atelier__steps h3 {
  font-size: 20px; line-height: 31px; font-weight: 300; color: #615454; margin: 0 0 12px;
  text-transform: none;
}
.lyna-atelier__steps li {
  font-size: 20px; line-height: 31px; font-weight: 300; color: #615454;
}
.lyna-atelier__steps ol { margin: 0; padding-left: 26px; }
.lyna-content .lyna-atelier__steps-media img { width: 100%; height: 590px; object-fit: cover; }

.lyna-atelier__notice { margin: 0 0 143px; }
.lyna-atelier__label {
  position: relative; text-align: center; margin: 0 0 30px;
}
.lyna-atelier__label::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: #615454;
}
.lyna-atelier__label span {
  position: relative; display: inline-block; padding: 10px 43px; background: #615454;
  color: #fff; font-size: 16px; font-weight: 700; line-height: 20px;
  min-width: 299px; box-sizing: border-box;
}
.lyna-atelier__notice ol { margin: 0 0 34px; padding-left: 24px; }
.lyna-atelier__notice p,
.lyna-atelier__notice li {
  font-size: 22px; line-height: 29.7px; font-weight: 300; color: #615454;
  text-align: left; margin: 0 0 30px;
}
.lyna-atelier__notice li { margin-bottom: 0; }
/* плашка — это тоже абзац внутри блока, поэтому её выравнивание задаём отдельно,
   иначе она уезжает влево вместе с текстом */
.lyna-atelier__notice .lyna-atelier__label { text-align: center; margin-bottom: 30px; }
/* снизу блок закрыт такой же тонкой линией, как сверху */
.lyna-atelier__notice::after {
  content: ""; display: block; height: 1px; background: #615454; margin-top: 8px;
}
.lyna-atelier__credit { font-size: 16px; line-height: 22px; color: #615454; margin: 0 0 40px; }

@media (max-width: 1180px) {
  .lyna-stylist { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 90px; }
  .lyna-stylist__photo { height: auto; max-height: 660px; }
  .lyna-atelier__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lyna-atelier__hero-media img { height: auto; }
  .lyna-atelier__hero-text h2 { margin-top: 0; font-size: 32px; line-height: 42px; }
  .lyna-atelier__hero-text p { margin-top: 20px; }
  .lyna-atelier__steps { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .lyna-atelier__steps-media img { height: auto; }
}
@media (max-width: 780px) {
  .lyna-atelier__cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lyna-atelier__models h3 { font-size: 26px; line-height: 34px; }
  .lyna-atelier__notice p, .lyna-atelier__notice li { font-size: 18px; line-height: 26px; }
}


/* Подпись раздела: замеры прежнего сайта — 16px/300, межстрочный 24.8,
   цвет #615454, по центру, колонка 760, отступ от заголовка 38. */
.lyna-subtitle {
  max-width: 760px; margin: 38px auto 0; text-align: center;
  font-size: 16px; line-height: 24.8px; font-weight: 300; color: #615454;
}
/* Между абзацами подписи у них пустая строка, а не слитный текст. */
.lyna-subtitle p { margin: 0 0 24px; }
.lyna-subtitle p:last-child { margin-bottom: 0; }
@media (max-width: 780px) {
  .lyna-subtitle { margin-top: 20px; padding: 0 20px; }
}
