/*
Theme Name: SKATTO Storefront Child
Theme URI: https://scattoglass.online/
Description: Дочерняя тема SKATTO для Storefront. Пиксельное соответствие утверждённому макету (экран «Главная»): палитра и графика сняты с макета, Manrope self-hosted. Без page-builder.
Author: SKATTO platform team
Template: storefront
Version: 0.3.0
Requires PHP: 8.1
Text Domain: skatto-storefront
*/

/* ============================================================
   Токены — цвета сняты с утверждённого макета
   ============================================================ */
:root {
  --sk-blue-900: #00407a;
  --sk-blue-700: #0053cb;
  --sk-blue-600: #0154cd;
  --sk-blue-500: #018be9;
  --sk-icon: #0b77e4;
  --sk-process: #004a86;
  --sk-process-2: #1b6cb4;
  --sk-ink: #000000;
  --sk-text: #0f2743;
  --sk-muted: #6b7b90;
  --sk-line: #dfeaf7;
  --sk-line-soft: #e6eff9;
  --sk-sky-1: #f7fafd;
  --sk-sky-2: #eaf3fe;
  --sk-radius: 8px;
  --sk-radius-lg: 14px;
  --sk-container: 1416px;
  --sk-font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sk-shadow-card: 0 18px 44px rgba(13, 42, 84, 0.12);
  --sk-shadow-btn: 0 8px 18px rgba(0, 83, 203, 0.25);
}

/* ============================================================
   База
   ============================================================ */
html { scroll-behavior: smooth; }

*,
*::before,
*::after { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

img, svg, video, iframe { max-width: 100%; }

body,
body.custom-background {
  font-family: var(--sk-font);
  color: var(--sk-text);
  background: #fff;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sk-font);
  color: var(--sk-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 { font-size: clamp(34px, 3.4vw, 52px); }
h2 { font-size: clamp(26px, 2.3vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); }

a { color: var(--sk-blue-700); }
a:hover { color: var(--sk-blue-600); }

:focus-visible {
  outline: 3px solid rgba(1, 84, 205, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Storefront clearfix pseudo-elements become grid/flex items — remove them. */
.site-header .col-full::before,
.site-header .col-full::after,
.sk-home .col-full::before,
.sk-home .col-full::after {
  content: none;
  display: none;
}

/* Kill the Storefront gap between the header and the content. */
#masthead,
.site-header { margin-bottom: 0 !important; }
#content,
.site-content { margin-top: 0 !important; padding-top: 0 !important; }

/* ============================================================
   Шапка — логотип + слоган, меню, поиск/избранное/кабинет, корзина
   ============================================================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
  height: 80px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  max-width: var(--sk-container);
  margin: 0 auto;
}

.site-header > .col-full,
.site-header > .storefront-primary-navigation,
.site-header .storefront-primary-navigation > .col-full { display: contents; }

.site-header .site-search { display: none; }

.site-branding { margin: 0; flex: 0 0 auto; order: 1; }
.site-branding .custom-logo,
.site-branding .custom-logo-link img { max-height: 48px; width: auto; margin: 0; }
.site-branding .site-title { font-size: 22px; margin: 0; }
.site-branding .site-description { display: none; }

.sk-brand-text {
  order: 2;
  flex: 0 0 auto;
  font-size: 11px;
  line-height: 1.25;
  color: var(--sk-text);
  border-left: 1px solid var(--sk-line);
  padding-left: 12px;
}
.sk-brand-text__main { display: block; font-weight: 700; font-size: 11px; }
.sk-brand-text__sub { display: block; color: var(--sk-muted); }

.site-header .main-navigation {
  order: 3;
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  padding: 0;
}

.site-header .primary-navigation,
.site-header .primary-navigation ul.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .primary-navigation ul.menu > li { margin: 0; }

.site-header .primary-navigation ul.menu > li > a {
  font-size: 15px;
  font-weight: 500;
  color: #0d2137;
  text-decoration: none;
  padding: 8px 0;
  white-space: nowrap;
}

.site-header .primary-navigation ul.menu > li > a:hover,
.site-header .primary-navigation ul.menu > li.current-menu-item > a { color: var(--sk-blue-700); }

/* Icons row: search / wishlist / account */
.sk-header-tools { order: 4; display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

.sk-search { display: flex; align-items: center; gap: 0; border: 1px solid transparent; border-radius: 20px; padding: 2px 4px; transition: border-color .15s, background .15s; }
.sk-search:focus-within { border-color: var(--sk-line); background: #f7fbff; }
.sk-search input[type="search"] {
  width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  transition: width .18s ease, padding .18s ease;
  color: var(--sk-text);
}
.sk-search:focus-within input[type="search"] { width: 150px; padding: 4px 6px; }

.sk-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #0d2137;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.sk-icon-btn:hover { color: var(--sk-blue-700); }
.sk-icon-btn svg { stroke-width: 1.8; }

.site-header-cart { order: 5; flex: 0 0 auto; }

.site-header .site-branding,
.site-header .site-header-cart {
  width: auto !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}
.site-header .site-branding img { max-width: none; }

.site-header-cart .cart-contents {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sk-blue-700);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  height: 38px;
  padding: 0 20px !important;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.site-header-cart .cart-contents:hover { background: var(--sk-blue-600); }
.site-header-cart .site-header-cart--label { margin: 0; }

/* ============================================================
   Кнопки
   ============================================================ */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--sk-radius);
  font-family: var(--sk-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sk-btn--primary {
  background: linear-gradient(92deg, var(--sk-blue-700) 0%, #0a63e0 100%);
  color: #fff;
  box-shadow: var(--sk-shadow-btn);
}
.sk-btn--primary:hover { color: #fff; transform: translateY(-1px); }

.sk-btn--ghost { background: #fff; color: var(--sk-text); border-color: #e3eefb; }
.sk-btn--ghost:hover { color: var(--sk-text); border-color: #cfe2f7; }

.sk-btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  height: 42px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
}
.sk-btn--outline:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

.sk-btn__play { display: inline-flex; color: var(--sk-blue-700); }
.sk-btn__play svg { stroke-width: 1.8; }

/* ============================================================
   HERO — геометрия по макету (1536: header 80, hero 376)
   ============================================================ */
.sk-home { margin: 0; }

.skatto-front .site-content,
.skatto-front .site-content > .col-full { max-width: none; padding: 0; }
.skatto-front .site-main { padding-top: 0; margin-bottom: 0; }

.sk-hero {
  position: relative;
  overflow: hidden;
  height: 376px;
  background:
    radial-gradient(900px 420px at 72% 0%, #dfeefe 0%, rgba(223, 238, 254, 0) 60%),
    linear-gradient(180deg, var(--sk-sky-1) 0%, var(--sk-sky-2) 52%, #f9fcff 100%);
}

.sk-hero__inner {
  position: relative;
  max-width: var(--sk-container);
  margin: 0 auto;
  height: 100%;
}

.sk-hero__text {
  position: absolute;
  left: 0;
  top: 50px;
  width: 620px;
  z-index: 3;
}

.sk-hero__title { margin: 0; }

.sk-hero__line1,
.sk-hero__line2 {
  display: block;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.04;
}
.sk-hero__line1 { color: var(--sk-ink); }
.sk-hero__line2 { color: var(--sk-blue-700); margin-top: 2px; }

.sk-hero__lead {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--sk-text);
  font-weight: 400;
}

.sk-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.sk-hero__visual {
  position: absolute;
  /* right edge and bottom stay at the mockup position (right 1060); the
     composition starts after the CTA so the white pill does not cut the jar
     (mockup overlap ~10px) */
  left: 461px;
  bottom: 0;
  width: 539px;
  height: 376px;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
}

.sk-hero__visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(6, 40, 84, 0.10));
}

/* Панель подбора (правая колонка макета) */
.sk-picker {
  position: absolute;
  right: 0;
  top: 22px;
  z-index: 4;
  width: 412px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sk-shadow-card);
  padding: 18px 18px 18px;
}

.sk-picker__head { display: flex; align-items: center; gap: 10px; }

.sk-picker__badge {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #2b9bf5 0%, #0066dd 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sk-picker__title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }

.sk-picker__sub { margin: 7px 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--sk-muted); }

.sk-field {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--sk-line);
  border-radius: 10px;
  padding: 7px 11px;
  min-height: 48px;
  margin-bottom: 9px;
  background: #fff;
  cursor: pointer;
}

.sk-field__icon { flex: 0 0 auto; display: inline-flex; color: var(--sk-icon); }
.sk-field__icon svg { stroke-width: 1.7; }

.sk-field__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }

.sk-field__label { font-size: 11px; font-weight: 500; color: var(--sk-muted); line-height: 1.2; }

.sk-field__control {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  font-family: var(--sk-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-text);
  line-height: 1.35;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}
.sk-field__input::placeholder { color: #9aa9bb; font-weight: 400; }
.sk-field__caret { flex: 0 0 auto; display: inline-flex; color: #8ba0b8; }

.sk-picker__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sk-picker__row .sk-field { margin-bottom: 9px; }

.sk-picker__submit {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(92deg, #2b9bf5 0%, var(--sk-blue-500) 55%, #017fe0 100%);
  color: #fff;
  font-family: var(--sk-font);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(1, 139, 233, 0.3);
  padding: 10px 12px;
  line-height: 1.25;
}
.sk-picker__submit:hover { filter: brightness(1.04); }
.sk-picker__submit svg { flex: 0 0 auto; stroke-width: 1.8; }

/* ============================================================
   Полоса преимуществ (90px)
   ============================================================ */
.sk-benefits {
  background: linear-gradient(180deg, #e8f2fe 0%, #f6fafe 100%);
  border-top: 1px solid #e2eefb;
  border-bottom: 1px solid #e2eefb;
}

.sk-benefits__inner {
  max-width: var(--sk-container);
  margin: 0 auto;
  height: 90px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.sk-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-left: 1px solid #cfe0f2;
  min-width: 0;
  height: 100%;
}
.sk-benefit:first-child { border-left: 0; }

.sk-benefit__icon { flex: 0 0 auto; display: inline-flex; color: var(--sk-icon); }
.sk-benefit__icon svg { stroke-width: 1.9; width: 40px; height: 40px; }

.sk-benefit__text { display: flex; flex-direction: column; min-width: 0; }
.sk-benefit__text strong { font-size: 14px; font-weight: 700; color: #0d2137; line-height: 1.3; }
.sk-benefit__text span { font-size: 13px; color: #0d2137; line-height: 1.3; font-weight: 400; }

/* ============================================================
   Ассортимент (секция 248px, карточки 150px)
   ============================================================ */
.sk-assortment { padding: 26px 0 22px; }

.sk-assortment__inner { max-width: var(--sk-container); margin: 0 auto; }

.sk-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.sk-section-head h2 { margin: 0; font-size: 34px; letter-spacing: -0.02em; }

.sk-section-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sk-blue-700);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 6px;
}
.sk-section-link:hover { text-decoration: underline; }

.sk-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sk-cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 148px;
  background: linear-gradient(160deg, #f7faff 0%, #e9f2fe 100%);
  border: 1px solid #e3eefb;
  border-radius: var(--sk-radius-lg);
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sk-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 42, 80, 0.10);
  border-color: #cfe2f7;
  color: inherit;
}

.sk-cat-card__img {
  flex: 0 0 auto;
  width: 128px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  background: #eef5fc;
}

.sk-cat-card__body { display: flex; flex-direction: column; gap: 1px; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.sk-cat-card__title { font-size: 16px; font-weight: 800; color: var(--sk-ink); line-height: 1.22; }
.sk-cat-card__sub { font-size: 13px; font-weight: 500; color: #33475e; line-height: 1.3; }
.sk-cat-card__note { font-size: 12px; color: #8394a8; line-height: 1.32; margin-top: 4px; }

.sk-cat-card__badge {
  align-self: flex-start;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 500;
  color: #7b8ea6;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 1px 6px;
  line-height: 1.5;
}

.sk-cat-card__arrow {
  flex: 0 0 auto;
  align-self: flex-end;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--sk-blue-700);
  box-shadow: 0 2px 8px rgba(16, 42, 80, 0.08);
}
.sk-cat-card__arrow svg { stroke-width: 2; }

/* ============================================================
   Процесс (240px, шаги 56px)
   ============================================================ */
.sk-process {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: linear-gradient(100deg, var(--sk-process) 0%, #0b5c9c 55%, var(--sk-process-2) 100%);
  color: #fff;
}

.sk-process__bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  pointer-events: none;
}
.sk-process__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  filter: saturate(0.9) brightness(0.95);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 42%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000 42%);
  opacity: 0.9;
}

.sk-process__inner {
  position: relative;
  z-index: 1;
  max-width: var(--sk-container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 26px;
}

.sk-process__text { flex: 0 0 440px; min-width: 0; }
.sk-process__text h2 { margin: 0; color: #fff; font-size: 34px; letter-spacing: -0.02em; }
.sk-process__text p { margin: 10px 0 20px; font-size: 14px; line-height: 1.5; color: #cfe2f7; font-weight: 400; }

.sk-steps {
  flex: 0 0 560px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.sk-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.sk-step__circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--sk-icon);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.sk-step__circle svg { stroke-width: 1.7; width: 26px; height: 26px; }

.sk-step__label { display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; color: #fff; font-weight: 500; }
.sk-step__label span { display: block; }
.sk-step__label span:last-child { color: #dbe9f8; }

.sk-step__sep {
  position: absolute;
  top: 22px;
  right: -8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1;
}

/* ============================================================
   WooCommerce: каталог/карточка/формы
   ============================================================ */
.woocommerce-page .content-area,
.single-product .content-area,
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area { width: 100% !important; float: none !important; }
.woocommerce-page .widget-area,
.single-product .widget-area { display: none !important; }

.woocommerce div.product .product_title { font-size: clamp(26px, 2.4vw, 34px); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--sk-blue-600); font-weight: 800; font-size: 26px; }

.woocommerce div.product form.cart .button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #payment #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-account .woocommerce-Button.button {
  background: var(--sk-blue-600) !important;
  border-color: var(--sk-blue-600) !important;
  color: #fff !important;
  border-radius: var(--sk-radius) !important;
  font-weight: 600;
  padding: 12px 24px;
}
.woocommerce div.product form.cart .button:hover,
.woocommerce a.button.alt:hover,
.woocommerce #payment #place_order:hover { background: #0a63e0 !important; }

.woocommerce ul.products li.product,
.wc-block-grid__product {
  background: #fff;
  border: 1px solid var(--sk-line-soft);
  border-radius: var(--sk-radius-lg);
  padding: 14px !important;
  box-shadow: 0 2px 10px rgba(16, 42, 80, 0.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 16px; font-weight: 700; color: var(--sk-ink); }
.woocommerce ul.products li.product .price { color: var(--sk-blue-600); font-weight: 800; font-size: 18px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], textarea, select {
  font-family: var(--sk-font);
  border: 1px solid var(--sk-line);
  border-radius: var(--sk-radius);
  padding: 10px 12px;
  background: #fff;
  color: var(--sk-text);
  font-size: 14px;
}
input:focus, textarea:focus, select:focus { border-color: var(--sk-blue-600); outline: 2px solid rgba(1, 84, 205, 0.14); }

.woocommerce table.shop_table { border: 1px solid var(--sk-line-soft); border-radius: 10px; overflow: hidden; }
.woocommerce table.shop_table th { background: #f4f9ff; color: var(--sk-ink); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: 10px; border-top: 3px solid var(--sk-blue-600); background: #f4f9ff; color: var(--sk-text); }

.button, button, input[type="submit"] { font-family: var(--sk-font); border-radius: var(--sk-radius); font-weight: 600; }
.button, input[type="submit"] { background: var(--sk-blue-600); border-color: var(--sk-blue-600); color: #fff; }
.button:hover, input[type="submit"]:hover { background: #0a63e0; border-color: #0a63e0; color: #fff; }

/* ============================================================
   Подвал
   ============================================================ */
.site-footer { background: #f5f9ff; border-top: 1px solid var(--sk-line-soft); color: var(--sk-text); }
.site-footer h2, .site-footer h3 { color: var(--sk-ink); }
.site-footer a { color: var(--sk-text); }
.site-footer a:hover { color: var(--sk-blue-700); }

.sk-legal {
  max-width: var(--sk-container);
  margin: 20px auto 0;
  padding: 18px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--sk-muted);
  border-top: 1px solid var(--sk-line-soft);
}
.sk-legal strong { color: var(--sk-ink); }
.sk-legal__copy { display: block; margin-top: 4px; }
.site-info { display: none; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1464px) {
  .site-header,
  .sk-hero__inner,
  .sk-benefits__inner,
  .sk-assortment__inner,
  .sk-process__inner,
  .sk-legal { padding-left: 24px; padding-right: 24px; }
  .site-header { padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 1180px) {
  .sk-hero { height: auto; }
  .sk-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 26px; padding-bottom: 26px; height: auto; }
  .sk-hero__text { position: static; width: auto; }
  .sk-hero__line1, .sk-hero__line2 { font-size: 42px; }
  .sk-hero__visual { position: static; width: 100%; height: auto; }
  .sk-hero__visual img { max-width: 420px; margin: 0 auto; }
  .sk-picker { position: static; width: 100%; grid-column: 1 / -1; max-width: 460px; justify-self: start; }
  .sk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-benefit { padding: 0 10px; gap: 10px; }
  .sk-benefit__icon svg { width: 34px; height: 34px; }
  .sk-benefits__inner { height: auto; padding-top: 14px; padding-bottom: 14px; }
  .sk-process { height: auto; padding: 30px 0; }
  .sk-process__inner { flex-wrap: wrap; height: auto; }
  .sk-process__text { flex: 1 1 100%; }
  .sk-steps { flex: 1 1 100%; }
  .sk-process__bg { display: none; }
}

@media (max-width: 782px) {
  /* the Storefront handheld footer bar is hidden on the landing page: the approved
     design has no floating bar and it overlapped the picker form */
  .skatto-front { padding-bottom: 0 !important; }
  .skatto-front .storefront-handheld-footer-bar { display: none !important; }

  /* single row: logo | tools | compact cart, then the menu row */
  .site-header {
    position: static; height: auto; padding: 10px 16px;
    display: grid; grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand tools cart" "nav nav nav";
    align-items: center; gap: 8px 12px;
  }
  .site-branding { grid-area: brand; margin: 0; }
  .site-branding .custom-logo { max-height: 38px; }
  .sk-brand-text { display: none; }
  .sk-header-tools { grid-area: tools; justify-self: end; margin: 0; gap: 10px; }
  .sk-search input[type="search"] { width: 0; }
  .sk-search:focus-within input[type="search"] { width: 110px; }
  .site-header-cart { grid-area: cart; justify-self: end; }
  .site-header-cart .cart-contents {
    font-size: 12px; height: 36px; padding: 0 14px !important; gap: 6px;
  }
  .site-header-cart .cart-contents .woocommerce-Price-amount { display: none; }
  .site-header .main-navigation { grid-area: nav; flex: 1 1 100%; width: 100%; min-width: 0; }
  .site-header .primary-navigation,
  .site-header .primary-navigation ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 18px;
    width: 100%;
  }
  .site-header .primary-navigation ul.menu > li > a { font-size: 14px; }

  .sk-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 8px 16px 24px; }
  .sk-hero__visual { order: -1; }
  .sk-hero__visual img { max-width: 360px; }
  .sk-hero__text { padding: 0; }
  .sk-hero__line1, .sk-hero__line2 { font-size: clamp(30px, 8.6vw, 38px); }
  .sk-hero__lead { font-size: 16px; }
  .sk-hero__actions { margin-top: 20px; gap: 10px; }
  .sk-btn { height: 44px; font-size: 14px; }
  .sk-picker { max-width: none; width: 100%; padding: 16px 14px 18px; }
  .sk-field__label { font-size: 10.5px; }
  .sk-field__control { font-size: 13px; }
  .sk-picker__row { gap: 8px; }
  .sk-picker__submit { font-size: 12.5px; min-height: 42px; }

  .sk-benefits__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 8px 16px 12px; }
  .sk-benefit { border-left: 0; padding: 8px 0; gap: 10px; }
  .sk-benefit__text strong { font-size: 13px; }
  .sk-benefit__text span { font-size: 12px; }
  .sk-benefit__icon svg { width: 30px; height: 30px; }

  .sk-assortment { padding: 24px 0; }
  .sk-assortment__inner { padding: 0 16px; }
  .sk-section-head h2 { font-size: 26px; }
  .sk-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sk-cat-card { min-height: 124px; }
  .sk-cat-card__img { width: 104px; height: 108px; }

  .sk-process { padding: 22px 0 24px; }
  .sk-process__inner { padding: 0 16px; gap: 14px; }
  .sk-process__text h2 { font-size: 24px; }
  .sk-process__text p { margin: 6px 0 12px; font-size: 13px; }
  .sk-steps {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px; flex: 1 1 100%; width: 100%;
  }
  .sk-step { flex: 1 1 auto; gap: 6px; }
  .sk-step__circle { width: 44px; height: 44px; }
  .sk-step__circle svg { width: 22px; height: 22px; }
  .sk-step__label { font-size: 11px; }
  .sk-step__sep { display: none; }
}

@media (max-width: 480px) {
  .sk-benefits__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-hero__actions .sk-btn { width: 100%; }
}

@media print {
  .site-header, .site-footer, .sk-hero__actions { display: none !important; }
  .sk-hero { background: none; height: auto; }
  .sk-hero__inner { display: block; height: auto; }
  .sk-hero__text, .sk-hero__visual, .sk-picker { position: static; width: auto; }
}

/* ============================================================
   Страница товара — утверждённый экран «путь от каталога к заказу»
   ============================================================ */
.sk-page { padding: 22px 0 44px; }
.sk-page__inner { max-width: var(--sk-container); margin: 0 auto; padding: 0 24px; }

.sk-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sk-muted);
  margin-bottom: 14px;
}
.sk-crumbs a { color: var(--sk-muted); text-decoration: none; }
.sk-crumbs a:hover { color: var(--sk-blue-700); }
.sk-crumbs__current { color: var(--sk-text); font-weight: 500; }

.sk-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--sk-line-soft);
  border-radius: 12px;
  padding: 8px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(16, 42, 80, 0.05);
}
.sk-org-badge__icon { display: inline-flex; color: var(--sk-icon); }
.sk-org-badge__text { display: flex; flex-direction: column; line-height: 1.25; }
.sk-org-badge__text strong { font-size: 13.5px; }
.sk-org-badge__text span { font-size: 11.5px; color: var(--sk-muted); }
.sk-org-badge__ok { display: inline-flex; color: #1aa35b; }

/* layout */
.sk-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 26px; align-items: start; }
.sk-prod__media { display: flex; gap: 12px; min-width: 0; }
.sk-prod__thumbs { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.sk-prod__thumb {
  width: 58px; height: 62px; padding: 0; border: 1px solid var(--sk-line-soft);
  border-radius: 10px; background: #fff; overflow: hidden; cursor: pointer;
  display: grid; place-items: center;
}
.sk-prod__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sk-prod__thumb.is-active { border-color: var(--sk-blue-600); box-shadow: 0 0 0 1px var(--sk-blue-600) inset; }
.sk-prod__thumb--badge { font-size: 11px; font-weight: 700; color: var(--sk-blue-700); cursor: default; }
.sk-prod__thumb--badge svg { stroke-width: 1.8; }
.sk-prod__main {
  flex: 1 1 auto; margin: 0; border-radius: 14px; overflow: hidden;
  background: #f3f7fc; min-height: 380px; display: grid; place-items: center;
}
.sk-prod__img { width: 100%; height: auto; display: block; object-fit: contain; }

.sk-prod__info { min-width: 0; }
.sk-prod__head { display: flex; align-items: flex-start; gap: 14px; }
.sk-prod__title { margin: 0 0 6px; font-size: clamp(24px, 2.3vw, 32px); }
.sk-prod__sub { margin: 0; color: var(--sk-muted); font-size: 14.5px; }
.sk-prod__wish {
  margin-left: auto; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--sk-line-soft); background: #fff; color: #0d2137;
  display: grid; place-items: center; cursor: pointer;
}
.sk-prod__wish:hover { color: var(--sk-blue-700); border-color: #cfe2f7; }

/* tabs */
.sk-prod__tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--sk-line-soft); margin: 18px 0 0; }
.sk-prod__tab {
  display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent;
  padding: 0 0 10px; font-family: var(--sk-font); font-size: 14px; font-weight: 600;
  color: var(--sk-muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.sk-prod__tab svg { stroke-width: 1.8; }
.sk-prod__tab:hover { color: var(--sk-text); }
.sk-prod__tab.is-active { color: var(--sk-blue-700); border-bottom-color: var(--sk-blue-600); }

.sk-prod__panels { padding-top: 14px; }
.sk-prod__panel { display: none; }
.sk-prod__panel.is-active { display: block; }
.sk-prod__specs-wrap { display: flex; gap: 20px; align-items: flex-start; }
.sk-specs { margin: 0; border-collapse: collapse; flex: 1 1 auto; min-width: 0; }
.sk-specs th, .sk-specs td { padding: 8px 0; font-size: 13.5px; border-bottom: 1px dashed #e6eff9; text-align: left; }
.sk-specs th { font-weight: 500; color: var(--sk-muted); width: 46%; }
.sk-specs td { color: var(--sk-text); font-weight: 600; }
.sk-prod__drawing { flex: 0 0 140px; display: grid; place-items: center; opacity: 0.9; }
.sk-prod__hint { font-size: 12px; color: var(--sk-muted); margin: 10px 0 0; }
.sk-prod__placeholder { font-size: 14px; color: var(--sk-muted); margin: 0 0 14px; max-width: 46em; }

/* guest lock */
.sk-lock {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center;
  background: linear-gradient(135deg, #f2f8ff 0%, #e9f2fe 100%);
  border: 1px solid #dbe9f8; border-radius: 16px; padding: 20px 22px; margin-top: 22px;
}
.sk-lock__icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--sk-blue-700); display: grid; place-items: center; }
.sk-lock__title { margin: 0 0 4px; font-size: 19px; }
.sk-lock__text { margin: 0; font-size: 13.5px; color: var(--sk-muted); }
.sk-lock__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.sk-lock__actions .sk-btn { flex: 1 1 240px; }

/* buyer offer */
.sk-offer { margin-top: 22px; border: 1px solid #dbe9f8; border-radius: 16px; overflow: hidden; background: #fff; }
.sk-offer__head {
  display: flex; align-items: center; gap: 10px; padding: 11px 18px;
  background: linear-gradient(92deg, #0b5cd5 0%, #1a7fe0 100%); color: #fff;
}
.sk-offer__star { display: inline-flex; color: #fff; }
.sk-offer__title { margin: 0; font-size: 14.5px; font-weight: 700; color: #fff; }
.sk-offer__chip { margin-left: auto; background: #38c172; border-radius: 999px; padding: 3px 12px; font-size: 11.5px; font-weight: 700; }
.sk-offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 14px 8px; background: linear-gradient(180deg, #f7fbff 0%, #eef6fe 100%); }
.sk-offer__cell { padding: 4px 16px; border-left: 1px solid #dbe9f8; display: flex; flex-direction: column; gap: 2px; }
.sk-offer__cell:first-child { border-left: 0; }
.sk-offer__label { font-size: 11px; color: var(--sk-muted); }
.sk-offer__value { font-size: 15px; font-weight: 700; }
.sk-offer__value--price { font-size: 19px; color: var(--sk-blue-700); }
.sk-offer__value--price small { font-size: 11.5px; font-weight: 500; color: var(--sk-muted); margin-left: 2px; }
.sk-offer__note { font-size: 11.5px; color: var(--sk-muted); }

.sk-offer__controls {
  display: grid; grid-template-columns: 150px 1fr 1.1fr 1.1fr; gap: 12px;
  padding: 14px 18px; border-top: 1px solid var(--sk-line-soft); align-items: start;
}
.sk-qty__label { display: block; font-size: 11px; color: var(--sk-muted); margin-bottom: 5px; }
.sk-qty__box { display: flex; align-items: center; border: 1px solid var(--sk-line); border-radius: 8px; overflow: hidden; height: 40px; }
.sk-qty__btn { width: 36px; height: 100%; border: 0; background: #f5f9ff; color: var(--sk-text); font-size: 17px; cursor: pointer; }
.sk-qty__btn:hover { background: #e9f2fe; }
.sk-qty__input {
  flex: 1 1 auto; width: 100%; min-width: 0; border: 0; text-align: center; font-size: 14px; font-weight: 600;
  font-family: var(--sk-font); padding: 0; height: 100%; -moz-appearance: textfield; appearance: textfield;
}
.sk-qty__input::-webkit-outer-spin-button, .sk-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sk-city__select { width: 100%; height: 40px; border-radius: 8px; }
.sk-delivery strong, .sk-total__value { display: block; font-size: 14px; font-weight: 600; }
.sk-delivery__note { font-size: 11.5px; color: var(--sk-muted); }
.sk-total__value { font-size: 18px; font-weight: 800; color: var(--sk-blue-700); }

.sk-offer__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 18px 18px; }
.sk-add { margin: 0; }
.sk-add__btn { height: 44px; }
.sk-offer__actions .sk-btn { height: 44px; font-size: 13.5px; }

/* registration steps */
.sk-reg-steps { margin-top: 26px; background: linear-gradient(135deg, #f4f9ff 0%, #eaf3fe 100%); border: 1px solid #dbe9f8; border-radius: 16px; padding: 18px 22px; }
.sk-reg-steps__head h2 { margin: 0 0 14px; font-size: 21px; }
.sk-reg-steps__list { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sk-reg-step { position: relative; display: flex; align-items: flex-start; gap: 10px; flex: 1 1 0; min-width: 0; }
.sk-reg-step__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--sk-blue-700); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(16,42,80,.06); }
.sk-reg-step__body { display: flex; flex-direction: column; min-width: 0; }
.sk-reg-step__body strong { font-size: 13px; line-height: 1.3; }
.sk-reg-step__body span { font-size: 11.5px; color: var(--sk-muted); line-height: 1.35; }
.sk-reg-step__arrow { position: absolute; right: -8px; top: 12px; color: var(--sk-blue-700); font-size: 15px; }

/* roles */
.sk-roles { margin-top: 22px; }
.sk-roles__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 20px; }
.sk-roles__title svg { stroke-width: 1.8; color: var(--sk-icon); }
.sk-roles__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sk-role { background: #fff; border: 1px solid var(--sk-line-soft); border-radius: 12px; padding: 12px 14px; }
.sk-role__head { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: #eef5fd; margin-bottom: 8px; }
.sk-role__head strong { font-size: 12.5px; line-height: 1.25; }
.sk-role__icon { display: inline-flex; color: var(--sk-icon); }
.sk-role--org .sk-role__head { background: #e6f7ee; }
.sk-role--org .sk-role__icon { color: #1aa35b; }
.sk-role--admin .sk-role__head { background: #f0eaff; }
.sk-role--admin .sk-role__icon { color: #7b4dd8; }
.sk-role__list { margin: 0; padding: 0; list-style: none; }
.sk-role__list li { font-size: 11.5px; line-height: 1.4; padding-left: 16px; position: relative; margin-bottom: 4px; color: #33475e; }
.sk-role__list li.is-yes::before { content: "✓"; position: absolute; left: 0; color: #1aa35b; font-weight: 700; }
.sk-role__list li.is-no::before { content: "✕"; position: absolute; left: 0; color: #d64545; font-weight: 700; }
.sk-role__list li.is-no { color: #8a97a8; }

@media (max-width: 1080px) {
  .sk-prod { grid-template-columns: 1fr; }
  .sk-prod__media { max-width: 560px; }
  .sk-offer__controls { grid-template-columns: 1fr 1fr; }
  .sk-roles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sk-reg-steps__list { flex-wrap: wrap; }
  .sk-reg-step { flex: 1 1 45%; }
  .sk-reg-step__arrow { display: none; }
}

@media (max-width: 782px) {
  .sk-page { padding: 14px 0 32px; }
  .sk-page__inner { padding: 0 16px; }
  .sk-prod__media { flex-direction: column-reverse; max-width: none; }
  .sk-prod__thumbs { flex-direction: row; flex-wrap: wrap; }
  .sk-prod__thumb { width: 52px; height: 56px; }
  .sk-prod__main { min-height: 260px; }
  .sk-prod__tabs { gap: 14px; overflow-x: auto; }
  .sk-prod__tab { font-size: 13px; white-space: nowrap; }
  .sk-lock { grid-template-columns: 1fr; padding: 16px; }
  .sk-lock__icon { width: 42px; height: 42px; }
  .sk-offer__grid { grid-template-columns: 1fr; padding: 10px 6px; }
  .sk-offer__cell { border-left: 0; border-top: 1px solid #dbe9f8; padding: 8px 14px; }
  .sk-offer__cell:first-child { border-top: 0; }
  .sk-offer__controls { grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .sk-offer__actions { padding: 0 14px 14px; }
  .sk-offer__actions .sk-btn, .sk-add, .sk-add__btn { width: 100%; }
  .sk-roles__grid { grid-template-columns: 1fr; }
  .sk-reg-steps { padding: 14px 16px; }
  .sk-reg-step { flex: 1 1 100%; }
}

/* storefront breadcrumb: single grey line, mockup style */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--sk-muted);
  margin: 0 0 14px !important;
  padding: 0;
}
.woocommerce-breadcrumb a { color: var(--sk-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--sk-blue-700); }
.woocommerce-breadcrumb .breadcrumb-separator { margin: 0 6px; color: #b9c9db; }

/* product page: full-bleed inside the Storefront wrapper */
.single-product .site-content,
.single-product .site-content > .col-full { max-width: none; padding: 0; }
.single-product .site-main { padding-top: 0; margin-bottom: 0; }

/* tighter offer controls so nothing wraps on 1536 */
.sk-offer__controls { grid-template-columns: 128px 160px minmax(0, 1.25fr) 150px; }
.sk-total__value { white-space: nowrap; }
.sk-delivery strong { font-size: 12.5px; line-height: 1.3; }
.sk-delivery__note { font-size: 11px; }
.sk-prod__wish svg { width: 24px; height: 24px; }

@media (max-width: 1180px) {
  .sk-offer__controls { grid-template-columns: 1fr 1fr; }
}
