/*
Theme Name: NNMIX
Theme URI: https://nnmix.ru
Author: NNMIX
Author URI: https://nnmix.ru
Description: Премиальная тема для маркетплейса готовых цифровых решений NNMIX. Построена по фирменному брендбуку (Ink / Gold / Porcelain), полностью совместима с WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nnmix
Tags: e-commerce, woocommerce, custom-logo, custom-menu, premium
*/

/* ============================================================
   NNMIX — Design System (Брендбук v1.0)
   Ink #0B0F1C · Gold #C9A96A · Porcelain #F5F1E8
   Deep Blue #22335C · Graphite #5A6478 · Mist #D9D1C0
   ============================================================ */

:root {
  --ink: #0B0F1C;
  --ink-2: #141B2E;
  --gold: #C9A96A;
  --gold-soft: #E3CD9B;
  --gold-deep: #B08F4E;
  --porcelain: #F5F1E8;
  --porcelain-deep: #ECE6D8;
  --white: #FFFFFF;
  --deep-blue: #22335C;
  --graphite: #5A6478;
  --mist: #D9D1C0;

  --font-display: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(11, 15, 28, 0.08);
  --shadow-lg: 0 24px 70px rgba(11, 15, 28, 0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Fonts (self-hosted, SIL OFL) ---- */
@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/Unbounded-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/Manrope-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/PlayfairDisplay-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Base / Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; line-height: 1.15; color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.01em; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
hr { border: 0; border-top: 1px solid var(--mist); margin: 2rem 0; }
::selection { background: var(--gold); color: var(--ink); }

.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: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   Buttons / Links
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 17px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all var(--transition); text-align: center;
  line-height: 1.2;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(201, 169, 106, 0.35); }
.btn-ink { background: var(--ink); color: var(--porcelain); }
.btn-ink:hover { background: var(--ink-2); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--mist); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; border-color: rgba(245, 241, 232, 0.4); color: var(--porcelain); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--mist);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.site-brand { display: flex; align-items: center; flex-shrink: 0; }
/* !important обязателен: WooCommerce на страницах магазина добавляет правило
   `.woocommerce-page img { height: auto }`, которое по специфичности перебивает
   этот размер — без !important логотип растягивался на всю ширину экрана. */
.site-brand__logo { height: 40px !important; width: auto !important; max-height: 40px; max-width: 220px; }
.site-brand__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.site-brand:hover .site-brand__title { color: var(--gold-deep); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.site-nav a {
  display: inline-block; padding: 9px 14px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink);
}
.site-nav a:hover { background: var(--porcelain-deep); color: var(--ink); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--gold-deep); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cart {
  position: relative; display: inline-flex; align-items: center;
  padding: 10px; border-radius: 12px; color: var(--ink);
}
.header-cart:hover { background: var(--porcelain-deep); }
.header-cart__count {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  padding: 0 5px; transform: translate(4px, -4px);
}

.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--porcelain);
}
.hero__pattern {
  position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(201, 169, 106, 0.16) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 500px at 80% 0%, rgba(201, 169, 106, 0.18), transparent 60%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 104px 0 96px;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.hero__eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 1px; }
.hero__title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 600; color: var(--white); margin-bottom: 20px; line-height: 1.05;
}
.hero__title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  color: var(--gold); 
}
.hero__lead { font-size: 19px; line-height: 1.6; color: rgba(245, 241, 232, 0.82); margin-bottom: 32px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 17px;
  background: rgba(245, 241, 232, 0.06); border: 1px solid rgba(245, 241, 232, 0.12);
  font-size: 13px; font-weight: 600; color: rgba(245, 241, 232, 0.85);
}
.badge svg { color: var(--gold); flex-shrink: 0; }

/* ============================================================
   Section helpers
   ============================================================ */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink); color: var(--porcelain); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.section__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section__subtitle { font-size: 17px; color: var(--graphite); }
.section-dark .section__title { color: var(--white); }
.section-dark .section__subtitle { color: rgba(245, 241, 232, 0.7); }

/* ============================================================
   Category cards
   ============================================================ */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.category-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 32px; background: var(--white); border: 1px solid var(--mist);
  transition: all var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.category-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--porcelain); color: var(--ink); margin-bottom: 22px;
}
.category-card:hover .category-card__icon { background: var(--gold); }
.category-card__title { font-size: 20px; margin-bottom: 10px; }
.category-card__desc { font-size: 15px; color: var(--graphite); margin-bottom: 18px; }
.category-card__link { font-weight: 700; font-size: 14px; color: var(--gold-deep); }

/* ============================================================
   Product grid / WooCommerce
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.product-card__media { position: relative; aspect-ratio: 16/10; background: var(--ink); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px; border-radius: 14px; background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.product-card__badge--hit { left: auto; right: 16px; }
.product-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; }
.product-card__title { font-size: 18px; margin-bottom: 8px; }
.product-card__title a { color: var(--ink); }
.product-card__title a:hover { color: var(--gold-deep); }
.product-card__excerpt { font-size: 14px; color: var(--graphite); margin-bottom: 16px; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-body); font-weight: 800; font-size: 20px; color: var(--ink); }
.price del { color: var(--graphite); font-weight: 600; font-size: 15px; margin-right: 6px; text-decoration: line-through; }
.price ins { text-decoration: none; }
.woocommerce .products-grid .button,
.add-to-cart-btn { background: var(--ink); color: var(--porcelain); border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; transition: all var(--transition); }
.add-to-cart-btn:hover { background: var(--gold); color: var(--ink); }

.woocommerce { font-family: var(--font-body); }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit { background: var(--gold); color: var(--ink); border-radius: 13px; font-weight: 700; border: none; padding: 12px 22px; }
.woocommerce .button:hover { background: var(--gold-soft); color: var(--ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--gold); color: var(--ink); }
.woocommerce a.button.alt:hover { background: var(--gold-soft); color: var(--ink); }
.woocommerce a.added_to_cart { padding: 12px 0 0; display: inline-block; color: var(--gold-deep); font-weight: 700; }

.woocommerce-breadcrumb { font-size: 13px; color: var(--graphite); margin-bottom: 20px; }
.woocommerce-breadcrumb a { color: var(--graphite); }
.woocommerce-breadcrumb a:hover { color: var(--gold-deep); }

/* Single product */
.single-product__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.woocommerce div.product div.images img { border-radius: var(--radius-lg); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 32px; font-weight: 800; }
.woocommerce div.product .product_title { font-size: 34px; margin-bottom: 12px; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--graphite); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--porcelain); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }

/* Хлебные крошки — внутри контейнера, с нормальными отступами */
.woocommerce-breadcrumb {
  display: block; padding: 0; margin: 0 0 18px; font-size: 13px; color: var(--graphite);
}
.woocommerce-breadcrumb a { color: var(--graphite); }
.woocommerce-breadcrumb a:hover { color: var(--gold-deep); }

/* Уведомления WooCommerce — не «прилипают» к краю */
.woocommerce-notices-wrapper { margin: 0 0 20px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: var(--radius); border-left-width: 4px; padding-left: 18px;
}

/* Shop / archive filters */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; list-style: none; padding: 0; margin: 0 0 40px; clear: both; }
/* WooCommerce layout.css добавляет clearfix-псевдоэлементы — внутри grid они становятся
   «фантомными» ячейками и ломают сетку. Убираем их. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product {
  position: relative; width: auto; max-width: none; float: none; clear: none;
  background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-lg);
  padding: 0; overflow: hidden; margin: 0; text-align: left; transition: all var(--transition);
}
.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after { content: none !important; display: none !important; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { position: relative; display: block; }
/* Превью 16:10 — фиксированное соотношение убирает «скачки» при загрузке */
.woocommerce ul.products li.product a img {
  width: 100% !important; height: auto !important;
  aspect-ratio: 16 / 10; object-fit: cover; display: block; margin: 0 !important;
  background: var(--ink);
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.woocommerce ul.products li.product a img { border-radius: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 20px; font-size: 18px; }
.woocommerce ul.products li.product .price { padding: 0 20px; }
.woocommerce ul.products li.product .button { margin: 0 20px 20px; }
.woocommerce ul.products li.product .onsale { background: var(--gold); color: var(--ink); border-radius: 12px; top: 12px; left: 12px; right: auto; }

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  border: 1px solid var(--mist); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: var(--font-body); background: var(--white); color: var(--ink);
}
.woocommerce table.shop_table { border-collapse: collapse; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--mist); padding: 14px; }
.woocommerce div.woocommerce-message { border-top-color: var(--gold); }
.woocommerce div.woocommerce-message::before { color: var(--gold); }

/* ============================================================
   News
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--mist); border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition); color: var(--ink);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.news-card__media { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__date { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); margin-bottom: 10px; }
.news-card__title { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.news-card__excerpt { font-size: 14px; color: var(--graphite); margin-bottom: 16px; }
.news-card__link { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--gold-deep); }

/* ============================================================
   Benefits
   ============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 10px 4px; }
.benefit__title { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.benefit__title svg { color: var(--gold-deep); }
.benefit__text { font-size: 15px; color: var(--graphite); }

/* ============================================================
   Steps
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius-lg); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--ink);
  font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.step__title { font-size: 17px; margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--graphite); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { text-align: center; padding: 88px 0; }
.cta-band .cta-band__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.cta-band .cta-band__text { color: rgba(245, 241, 232, 0.8); margin-bottom: 28px; }
.cta-band__accent { font-family: var(--font-accent); font-style: italic; color: var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(245, 241, 232, 0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-col h4 { color: var(--white); font-size: 15px; font-family: var(--font-body); font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(245, 241, 232, 0.7); font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-brand img,
.footer-brand .footer-logo { height: 36px !important; width: auto !important; max-height: 36px; max-width: 200px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.1); padding: 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { font-size: 13px; }

/* ============================================================
   Blog / single
   ============================================================ */
.entry-content { max-width: 720px; margin: 0 auto; }
.entry-content h2 { font-size: 28px; margin-top: 2.4em; }
.entry-content h3 { font-size: 22px; margin-top: 2em; }
.post-thumbnail img { border-radius: var(--radius-lg); }
.page-title { font-size: clamp(28px, 4vw, 44px); }

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid, .woocommerce ul.products, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-product__wrap { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px; background: none; border: 1px solid var(--mist);
    cursor: pointer; color: var(--ink);
  }
  .site-nav {
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--porcelain); border-bottom: 1px solid var(--mist);
    padding: 12px 24px 20px; display: none; flex-direction: column; align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { display: block; padding: 12px 14px; }
  .hero__inner { padding: 72px 0; }
  .products-grid, .woocommerce ul.products, .category-grid,
  .benefits-grid, .steps, .news-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
}
