/*
Theme Name: MeltisPanel Manual
Author: MeltisPanel
Description: Ручная тема MeltisPanel без визуальных конструкторов.
Version: 0.2.5
Text Domain: meltispanel
*/

:root {
  --ink: #111;
  --muted: #6f6f6f;
  --line: #dedbd6;
  --paper: #fff;
  --warm: #f4f1ed;
  --radius: 18px;
  --container: 1220px;
  --header: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-title {
  margin: 0 0 38px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
  padding: 0 25px; border: 1px solid var(--ink); border-radius: 999px;
  color: #fff; background: var(--ink); cursor: pointer; transition: .25s ease;
}
.button:hover, .button:focus-visible { color: var(--ink); background: #fff; transform: translateY(-2px); }
.button--light { color: var(--ink); background: #fff; border-color: #fff; }
.button--light:hover { color: #fff; background: transparent; }

.site-header {
  position: sticky; z-index: 100; top: 0; height: var(--header); background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(17,17,17,.08); backdrop-filter: blur(16px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { width: 180px; margin-right: auto; }
.brand img { width: 100%; height: auto; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.social-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; }
.social-link img { width: 38px; height: 38px; }
.callback-link {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px; border: 1px solid #222; border-radius: 10px;
  color: #111; background: #fff; font-size: 14px; line-height: 1; text-align: center; cursor: pointer;
}
.menu-toggle { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 1.5px; margin: 6px auto; background: #111; transition: .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7.5px) rotate(-45deg); }
.drawer-backdrop {
  position: fixed; z-index: 180; inset: 0; background: rgba(0,0,0,.78);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.site-menu {
  position: fixed; z-index: 190; top: 0; right: 0; width: min(380px, 100%); height: 100dvh;
  padding: 42px 34px; color: #111; background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .32s ease;
}
.site-menu.is-open { transform: translateX(0); }
.site-menu nav { display: flex; flex-direction: column; gap: 0; margin-top: 0; }
.site-menu a { padding: 14px 0; border: 0; font-size: 18px; line-height: 1.2; }
.site-menu a:first-child { border-bottom: 1px solid #111; }
.drawer-close {
  position: absolute; top: 12px; right: 24px; width: 34px; height: 34px;
  padding: 0; border: 0; color: #111; background: transparent; font-size: 27px; line-height: 1; cursor: pointer;
}

.callback-modal {
  position: fixed; z-index: 210; inset: 0; display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.callback-modal.is-open { opacity: 1; visibility: visible; }
.callback-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.callback-modal__panel {
  position: relative; z-index: 1; width: min(640px, 100%); padding: 12px 10px 10px;
  color: #111; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.25);
}
.callback-modal__panel h2 { margin: 0 42px 14px; font-size: 24px; text-align: center; }
.callback-modal__close {
  position: absolute; top: 9px; right: 12px; width: 32px; height: 32px;
  padding: 0; border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer;
}
.callback-modal form { display: grid; }
.callback-modal label { margin: 0; color: #222; font-size: 13px; }
.callback-modal input { height: 40px; margin-bottom: 8px; padding: 8px 14px; border: 1px solid #cfcfcf; outline: none; }
.callback-modal input:focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.callback-modal form button { height: 40px; border: 0; color: #fff; background: #000; cursor: pointer; }
.callback-modal__success { margin: 26px 20px 30px; text-align: center; }

.hero { position: relative; overflow: hidden; }
.hero-track { position: relative; min-height: min(720px, calc(100vh - var(--header))); }
.hero-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity .7s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-panel { position: relative; min-height: min(720px, calc(100vh - var(--header))); background-position: center; background-size: cover; }
.hero-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(0,0,0,.08)); }
.hero-panel--texture::after { background: rgba(255,255,255,.1); }
.hero-copy {
  position: absolute; z-index: 2; top: 50%; right: 9%; bottom: auto; left: max(88px, 9%);
  max-width: 490px; color: #fff; transform: translateY(-50%);
}
.hero-copy h1 { margin: 0; font-size: clamp(36px, 4vw, 64px); line-height: 1.05; letter-spacing: -.04em; }
.hero-product { position: absolute; z-index: 2; inset: 50% 8% auto; transform: translateY(-50%); text-align: center; }
.hero-product h2 { margin: 0 0 28px; font-size: clamp(34px, 4.5vw, 68px); line-height: .95; text-transform: uppercase; }
.hero-controls { position: absolute; z-index: 4; inset: 50% 22px auto; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
.slider-arrow { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(0,0,0,.25); font-size: 28px; cursor: pointer; pointer-events: auto; }
.hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 18px; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; }
.hero-dot.is-active { width: 28px; border-radius: 10px; background: #fff; }

.panel-structure { background: #fff; }
.panel-structure img { width: 100%; max-height: 820px; object-fit: contain; }

.stories { overflow: hidden; }
.story-stage { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 620px; background: #f7f6f4; border-radius: var(--radius); overflow: hidden; }
.story-slide[hidden] { display: none !important; }
.story-slide:not([hidden]) { display: contents; }
.story-image { height: 620px; object-fit: cover; width: 100%; }
.story-copy { padding: clamp(32px, 6vw, 78px); }
.story-copy h3 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 54px); line-height: 1; letter-spacing: -.04em; }
.story-copy p { color: var(--muted); font-size: 18px; }
.story-nav { display: flex; gap: 10px; margin-top: 30px; }
.story-nav button { width: 46px; height: 46px; border: 1px solid #111; border-radius: 50%; background: transparent; cursor: pointer; }

.specs { padding-top: 20px; }
.specs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.specs-image img { max-height: 820px; margin-inline: auto; object-fit: contain; }
.spec-list { margin: 0; padding: 0; list-style: none; counter-reset: spec; }
.spec-list li { position: relative; padding: 22px 0 22px 72px; border-bottom: 1px solid var(--line); counter-increment: spec; }
.spec-list li::before { content: counter(spec); position: absolute; left: 0; top: 12px; color: #c9c5bf; font-size: 54px; line-height: 1; }
.spec-list strong { display: block; margin-bottom: 4px; font-size: 22px; }
.spec-list span { color: var(--muted); }

.collections { background: #f5f3f0; }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.collection-card { position: relative; min-height: 510px; overflow: hidden; background: #ddd; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.collection-card::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.collection-card span { position: absolute; z-index: 2; left: 24px; bottom: 20px; color: #fff; font-size: 24px; font-weight: 700; }
.collection-card:hover img { transform: scale(1.035); }

.panels-collections { padding: 10px 0 38px; background: #fff; }
.panels-collections .container { width: min(1170px, calc(100% - 48px)); }
.panels-collections .section-title {
  margin: 0 0 62px; font-size: clamp(32px, 3.1vw, 42px); line-height: 1.05;
  letter-spacing: -.025em; text-align: center;
}
.panels-collections .collection-grid { gap: 24px 20px; }
.panels-collections .collection-card { height: 700px; min-height: 0; }
.panels-collections .collection-card span {
  left: 0; bottom: 18px; padding: 4px 18px; background: rgba(0,0,0,.58); font-size: 20px;
}
.panels-page .accessories { padding: 46px 0 60px; }
.panels-page .accessories .container { width: min(1170px, calc(100% - 48px)); }
.panels-page .accessories-card { min-height: 250px; }
.panels-page .contacts { min-height: 476px; }
.panels-page .contacts-inner { padding: 54px 0; }
.panels-page ~ .site-footer { display: none; }

/* Product category archive */
.catalog-category { background: #fff; }
.catalog-category__content {
  width: min(1170px, calc(100% - 48px));
  margin-inline: auto;
  padding: 91px 0 80px;
}
.catalog-category__title { margin: 0 0 40px; font-size: 34px; font-weight: 700; line-height: 1.32; }
.catalog-category__description { margin: 0 0 28px; font-size: 16px; line-height: 1.65; }
.catalog-category__description > :first-child { margin-top: 0; }
.catalog-category__description > :last-child { margin-bottom: 0; }
.catalog-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.catalog-product { display: block; min-width: 0; color: #000; text-align: center; }
.catalog-product__image { display: block; width: 100%; aspect-ratio: 1876 / 1120; overflow: hidden; background: #f3f3f3; }
.catalog-product__image img { width: 100%; height: 100%; object-fit: cover; }
.catalog-product__title { display: block; margin-top: 10px; font-size: 20px; font-weight: 400; line-height: 20px; }
.catalog-product:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
.catalog-product:hover .catalog-product__title { text-decoration: underline; text-underline-offset: 4px; }
.catalog-pagination { min-height: 26px; margin-top: 20px; font-size: 16px; line-height: 26px; text-align: center; }
.catalog-pagination .page-numbers { margin: 0 7px; }
.catalog-pagination .current { font-weight: 700; }
.catalog-category .contacts { min-height: 476px; }
.catalog-category .contacts-inner { padding: 80px 0; }
.catalog-category .contacts h2 { margin: 0 0 66px; font-size: 38px; line-height: 1.3; letter-spacing: 0; }
.catalog-category .contacts p { margin: 0; font-size: 16px; line-height: 1.65; }
.catalog-category .contacts p + p { margin-top: 28px; }
.catalog-category ~ .site-footer { display: none; }

/* Single product */
.product-page { background: #fff; }
.product-page__content { width: min(1170px, calc(100% - 48px)); margin-inline: auto; padding: 61px 0 50px; }
.product-page__title { margin: 0 0 21px; font-size: 30px; font-weight: 700; line-height: 39px; }
.product-page__breadcrumbs { min-height: 25px; margin-bottom: 14px; color: #777; font-size: 15px; line-height: 25px; }
.product-page__breadcrumbs a { color: #777; }
.product-page__breadcrumbs a:hover { color: #111; }
.product-page__grid { display: grid; grid-template-columns: 682px minmax(0, 448px); gap: 40px; align-items: start; }
.product-gallery__main { position: relative; height: 406px; overflow: hidden; background: #f3f3f3; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery__thumb { width: 72px; height: 48px; padding: 0; overflow: hidden; border: 1px solid #d4d4d4; background: #fff; cursor: pointer; }
.product-gallery__thumb.is-active { border-color: #111; box-shadow: 0 0 0 1px #111; }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-summary__sku { margin: 0 0 10px; font-size: 16px; line-height: 16px; }
.product-summary__description { min-height: 53px; margin: 0 0 10px; color: #7a7a7a; font-size: 16px; line-height: 1.65; }
.product-summary__description > :first-child { margin-top: 0; }
.product-summary__description > :last-child { margin-bottom: 0; }
.product-purchase form.cart { margin: 0; }
.product-purchase table.variations,
.product-purchase table.variations tbody,
.product-purchase table.variations tr,
.product-purchase table.variations th,
.product-purchase table.variations td { display: block; width: 100%; border: 0; padding: 0; }
.product-purchase table.variations { margin: 0; padding-top: 7px; }
.product-purchase table.variations tr { margin: 0 0 14px; }
.product-purchase table.variations th.label { margin: 0 0 17px; padding-left: 2px; color: #111827; font-size: 14px; font-weight: 700; line-height: 20px; text-align: left; }
.product-purchase .has-swatches table.variations select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.product-purchase .product-option-list { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 4px; }
.product-purchase .product-option { min-height: 30px; padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 2px; color: #111827; background: #fff; font-size: 14px; line-height: 20px; cursor: pointer; }
.product-purchase .product-option-list[data-attribute*="razmer"] .product-option { padding-inline: 13px; }
.product-purchase .product-option:hover { border-color: #111; }
.product-purchase .product-option.is-selected { border-color: #111; color: #fff; background: #111; }
.product-purchase .product-option:disabled { opacity: .3; cursor: not-allowed; }
.product-purchase .reset_variations { display: inline-block; margin-top: 13px; color: #777; font-size: 13px; line-height: 17px; text-decoration: underline; text-underline-offset: 3px; }
.product-purchase .single_variation_wrap { margin-top: 9px; padding-bottom: 16px; }
.product-purchase .single_variation { min-height: 40px; }
.product-purchase .woocommerce-variation-price { min-height: 40px; font-size: 22px; line-height: 40px; }
.product-purchase .woocommerce-variation-price .price { color: #111; }
.product-purchase .woocommerce-variation-availability { display: none; }
.product-purchase .variations_button { display: flex; align-items: center; min-height: 35px; }
.product-purchase .quantity { float: none !important; margin: 0 !important; }
.product-purchase .quantity .qty { width: 58px; height: 35px; padding: 5px 8px; border: 1px solid #cfcfcf; text-align: center; }
.product-purchase .single_add_to_cart_button { display: none !important; }
.product-price-per-sqm { margin-top: 8px; color: #555; font-size: 15px; }
.product-price-per-sqm[hidden] { display: none; }
.product-price-note { margin: 0; font-size: 16px; line-height: 16px; }
.product-actions { display: flex; gap: 20px; margin-top: 20px; }
.product-action { min-height: 41px; padding: 12px 24px; border: 1px solid #000; border-radius: 3px; font-size: 15px; line-height: 15px; cursor: pointer; }
.product-action--primary { color: #fff; background: #000; }
.product-action--primary:hover { color: #000; background: #fff; }
.product-action--secondary { color: #000; background: #fff; }
.product-action--secondary:hover { color: #fff; background: #000; }
.product-page .contacts { min-height: 476px; }
.product-page .contacts-inner { padding: 80px 0; }
.product-page .contacts h2 { margin: 0 0 66px; font-size: 38px; line-height: 1.3; letter-spacing: 0; }
.product-page .contacts p { margin: 0; font-size: 16px; line-height: 1.65; }
.product-page .contacts p + p { margin-top: 28px; }
.product-page ~ .site-footer { display: none; }

.accessories { padding: 76px 0; }
.accessories-card { min-height: 280px; display: grid; place-items: center; padding: 40px; color: #fff; background-position: center; background-size: cover; text-align: center; }
.accessories-card h2 { margin: 0 0 24px; font-size: clamp(34px, 5vw, 62px); font-weight: 500; }

.advantages { color: #fff; background-position: center; background-size: cover; }
.advantages-inner { padding: 86px 0; background: linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.5)); }
.advantages .section-title { text-align: center; }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.advantage-card { min-height: 270px; padding: 28px; background: rgba(10,10,10,.66); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.advantage-card h3 { margin: 0 0 16px; font-size: 20px; text-transform: uppercase; }
.advantage-card p { margin: 0; color: rgba(255,255,255,.86); }

.question-form { max-width: 900px; margin-inline: auto; }
.question-form .section-title { margin-bottom: 12px; text-align: center; }
.question-form > p { margin: 0 0 34px; color: var(--muted); text-align: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 13px; }
.field input, .field textarea { width: 100%; border: 1px solid #cfcfcf; border-radius: 0; padding: 14px 16px; background: #fff; outline: none; }
.field input:focus, .field textarea:focus { border-color: #111; box-shadow: 0 0 0 1px #111; }
.field textarea { min-height: 150px; resize: vertical; }
.form-submit { grid-column: 1 / -1; width: 100%; border-radius: 0; }
.form-notice { margin-bottom: 20px; padding: 14px 18px; background: #eaf5ea; border-left: 3px solid #3c8c45; }

.contacts { min-height: 500px; display: flex; align-items: center; color: #fff; background-position: center; background-size: cover; }
.contacts-inner { width: 100%; align-self: stretch; display: flex; align-items: center; padding: 80px 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.1)); }
.contacts-card { max-width: 600px; }
.contacts h2 { margin: 0 0 38px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.04em; }
.contacts p { font-size: 18px; }
.contacts-socials { display: flex; gap: 10px; margin-top: 28px; }
.site-footer { padding: 28px 0; color: #ddd; background: #0b0b0b; font-size: 13px; }
.site-footer .container { display: flex; justify-content: space-between; gap: 20px; }
.to-top { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; color: #fff; background: #111; cursor: pointer; opacity: 0; transform: translateY(10px); transition: .25s; }
.to-top.is-visible { opacity: 1; transform: translateY(0); }

/* Editorial pages */
.editorial-page { overflow: hidden; }
.editorial-hero { padding: 86px 0 42px; background: #fff; }
.editorial-kicker { margin: 0 0 10px; color: #777; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.editorial-title { max-width: 980px; margin: 0; font-size: clamp(38px, 5.2vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; text-transform: uppercase; }
.editorial-lead { max-width: 880px; margin: 28px 0 0; color: #444; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.editorial-section { padding: 34px 0 92px; }
.editorial-section--warm { padding: 84px 0; background: var(--warm); }
.editorial-section-title { margin: 0 0 34px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.035em; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #d8d4cf; border: 1px solid #d8d4cf; }
.benefit-card { min-height: 220px; padding: 34px; background: #fff; }
.benefit-number { display: block; margin-bottom: 42px; color: #898989; font-size: 13px; letter-spacing: .12em; }
.benefit-card h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.benefit-card p { margin: 0; color: #5f5f5f; }
.editorial-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; color: #fff; background: #111; }
.editorial-cta h2 { max-width: 640px; margin: 0; font-size: clamp(28px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; }
.editorial-cta .button { flex: 0 0 auto; }

.join-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.join-gallery figure { margin: 0; overflow: hidden; background: #ece9e5; }
.join-gallery img { width: 100%; height: auto; transition: transform .45s ease; }
.join-gallery figure:hover img { transform: scale(1.025); }

.blog-page { padding-bottom: 90px; }
.blog-intro { padding: 86px 0 58px; }
.blog-intro h1 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: .95; letter-spacing: -.055em; }
.blog-intro p { margin: 24px 0 0; color: #555; font-size: 20px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { border: 1px solid #ddd9d4; background: #fff; }
.post-card__image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eee; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card__image img { transform: scale(1.035); }
.post-card__body { padding: 26px; }
.post-card time { display: block; margin-bottom: 12px; color: #777; font-size: 13px; }
.post-card h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.22; }
.post-card p { margin: 0; color: #666; }

.article-page { padding: 76px 0 96px; }
.article-shell { width: min(100% - 40px, 900px); margin-inline: auto; }
.article-back { display: inline-flex; margin-bottom: 34px; color: #666; font-size: 14px; }
.article-back:hover { color: #000; }
.article-page h1 { margin: 0; font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; letter-spacing: -.045em; }
.article-meta { margin: 22px 0 38px; color: #777; font-size: 14px; }
.article-cover { width: 100%; margin-bottom: 44px; aspect-ratio: 16 / 10; object-fit: cover; }
.article-content { color: #2f2f2f; font-size: 19px; line-height: 1.75; }
.article-content h2 { margin: 54px 0 18px; color: #111; font-size: 34px; line-height: 1.18; letter-spacing: -.025em; }
.article-content p, .article-content ul { margin: 0 0 24px; }
.article-content li + li { margin-top: 12px; }

.page-empty { padding: 90px 0; }

@media (max-width: 900px) {
  :root { --header: 76px; }
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 68px 0; }
  .brand { width: 145px; }
  .callback-link { display: none; }
  .social-link { width: 36px; height: 36px; }
  .site-menu nav { grid-template-columns: 1fr 1fr; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-panel { min-height: calc(100vh - var(--header)); grid-area: 1 / 1; }
  .hero-panel--texture { display: none; }
  .hero-copy { inset: 50% 24px auto; transform: translateY(-50%); }
  .hero-copy h1 { font-size: clamp(38px, 9vw, 68px); }
  .hero-copy::after { content: attr(data-product); display: block; margin-top: 18px; font-size: 17px; font-weight: 700; text-transform: uppercase; }
  .hero-controls { top: auto; right: 16px; bottom: 18px; left: 16px; transform: none; }
  .slider-arrow { width: 44px; height: 44px; background: rgba(0,0,0,.42); font-size: 24px; }
  .story-stage, .specs-grid { grid-template-columns: 1fr; }
  .story-image { height: 450px; }
  .specs-image img { max-height: 600px; }
  .collection-card { min-height: 420px; }
  .panels-collections .collection-card { height: 560px; }
  .catalog-category__content { width: min(100% - 32px, 1170px); padding-top: 68px; }
  .catalog-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-page__content { width: min(100% - 32px, 1170px); padding-top: 54px; }
  .product-page__grid { grid-template-columns: 1fr; gap: 30px; }
  .product-gallery__main { height: auto; aspect-ratio: 1876 / 1120; }
  .advantage-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .header-actions .social-link { display: none; }
  .site-menu nav, .collection-grid, .advantage-grid, .form-grid { grid-template-columns: 1fr; }
  .site-menu { padding: 42px 24px 24px; }
  .site-menu a { padding: 13px 0; }
  .callback-modal { padding: 14px; }
  .callback-modal__panel { padding: 16px 12px 12px; }
  .hero-track, .hero-panel { min-height: 680px; }
  .hero-controls { inset-inline: 10px; }
  .slider-arrow { width: 42px; height: 42px; }
  .panel-structure { padding-block: 42px; }
  .story-image { height: 330px; }
  .story-copy { padding: 28px; }
  .story-copy p { font-size: 16px; }
  .collection-card { min-height: 430px; }
  .panels-collections { padding-top: 26px; }
  .panels-collections .container, .panels-page .accessories .container { width: min(100% - 28px, 1170px); }
  .panels-collections .section-title { margin-bottom: 34px; font-size: 30px; }
  .panels-collections .collection-card { height: 500px; }
  .catalog-category__content { width: min(100% - 28px, 1170px); padding: 48px 0 60px; }
  .catalog-category__title { margin-bottom: 24px; font-size: 30px; }
  .catalog-category__description { margin-bottom: 24px; }
  .catalog-products { grid-template-columns: 1fr; gap: 28px; }
  .catalog-category .contacts-inner { padding: 56px 0; }
  .catalog-category .contacts h2 { margin-bottom: 38px; font-size: 34px; }
  .product-page__content { width: min(100% - 28px, 1170px); padding: 42px 0; }
  .product-page__title { margin-bottom: 16px; font-size: 28px; line-height: 1.25; }
  .product-actions { flex-direction: column; gap: 10px; }
  .product-action { width: 100%; }
  .product-page .contacts-inner { padding: 56px 0; }
  .product-page .contacts h2 { margin-bottom: 38px; font-size: 34px; }
  .editorial-hero, .blog-intro { padding-top: 58px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .join-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .advantage-card { min-height: auto; }
  .field--full, .form-submit { grid-column: auto; }
  .site-footer .container { flex-direction: column; }
  .editorial-title { font-size: 36px; }
  .editorial-lead { font-size: 17px; }
  .editorial-section { padding-bottom: 64px; }
  .benefit-card { min-height: 0; padding: 26px; }
  .benefit-number { margin-bottom: 24px; }
  .editorial-cta { align-items: flex-start; flex-direction: column; padding: 28px; }
  .join-gallery, .post-grid { grid-template-columns: 1fr; }
  .article-shell { width: min(100% - 28px, 900px); }
  .article-content { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
