/*
Theme Name: Seed & Bloom
Theme URI: https://example.com
Description: WooCommerce тема для магазину рослинних сетів Seed & Bloom
Author: Seed & Bloom
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seed-bloom
WC requires at least: 7.0
WC tested up to: 8.5
*/

/* ==============================
   CSS VARIABLES
   ============================== */

:root {
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-soft: #f7f5f2;
  --bg-soft-alt: #f3f4f6;
  --border-subtle: #e5e7eb;
  --accent: #5f8f59;
  --accent-soft: rgba(95,143,89,0.08);
  --accent-warm: #c69a5b;
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-soft: #6b7280;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 24px 80px rgba(15,23,42,0.06);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
}.essaria-cart-actions button {
    background: #111111 !important;
    color: #ffffff !important;
}

/* ==============================
   RESET & BASE
   ============================== */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body { min-height: 100vh; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; height: auto; }

/* ==============================
   PAGE WRAPPER
   (огортає весь контент включно з top-bar)
   ============================== */

.page {
  width: 100%;
}

.top-bar,
.catalog-hero,
.filter-shell,
.sb-guide-page {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Не-checkout сторінки */
:not(.woocommerce-checkout):not(.single-product) .sb-page-wrap,
:not(.woocommerce-checkout):not(.single-product) .sb-wc-page,
:not(.woocommerce-checkout):not(.single-product) .woocommerce {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Single product — woocommerce на повну ширину */
.single-product .woocommerce {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Checkout — все на повну ширину */
.woocommerce-checkout .sb-page-wrap,
.woocommerce-checkout .sb-wc-page,
.woocommerce-checkout .sb-page-content,
.woocommerce-checkout .sb-page,
.woocommerce-checkout .woocommerce,
.woocommerce-checkout form.woocommerce-checkout {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==============================
   TOP BAR
   (точна копія з оригінального HTML)
   ============================== */

.top-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin-bottom: 28px;
}

/* Рядок 1: ліво — навігація, центр — лого, право — контакти */
.top-bar-logo-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

/* Лого по центру */
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* Рядок 2: прихований на десктопі, використовується тільки структурно */
.top-nav {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Лого */
.site-logo {
  height: 64px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  flex-shrink: 0;
}

.brand-text-main {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #4b5563;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  font-size: 14px;
  color: #6b7280;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
  letter-spacing: .01em;
}

.nav-link:hover { color: var(--text-main); }

.nav-link--phone {
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--text-soft);
}

.nav-insta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  transition: color .15s, border-color .15s;
}

.nav-insta:hover {
  color: var(--text-main);
  border-color: #9ca3af;
}

.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.9);
  font-size: 13px;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s;
}

.pill:hover { border-color: #9ca3af; }

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* ==============================
   CATALOG HERO
   ============================== */

.catalog-hero {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229,231,235,0.9);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1.1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 6px;
}

.hero-title {
  font-size: clamp(24px, 3.1vw, 30px);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 6px;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 520px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.hero-tag {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 11px;
  color: #4b5563;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-left: 1px solid var(--border-subtle);
  padding-left: 18px;
}

.meta-block { display: flex; flex-direction: column; gap: 2px; }

.meta-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
}

.meta-value { color: var(--text-muted); }
.hero-hint { font-size: 11px; color: var(--text-soft); margin-top: 2px; }

/* ==============================
   FILTER BAR
   ============================== */

.filter-shell {
  margin: 18px 0;
  border-radius: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  white-space: nowrap;
}

.filter-reset {
  font-size: 11px;
  color: #9ca3af;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
}

.filter-reset:hover { color: var(--text-main); }

.filter-rows { display: flex; flex-direction: column; gap: 6px; }

.filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  padding: 6px 8px;
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(229,231,235,0.9);
}

.filter-group[data-filter-group="space"]   { flex: 1.2; }
.filter-group[data-filter-group="season"]  { flex: 1; min-width: 0; }
.filter-group[data-filter-group="palette"] { flex: 1; min-width: 0; }

.filter-title { font-size: 11px; color: var(--text-soft); white-space: nowrap; }

.filter-pill {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-size: 11px;
  color: #4b5563;
  padding: 4px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
  white-space: nowrap;
}

.filter-pill span.dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #d1d5db;
}

.filter-pill.active {
  border-color: var(--accent);
  background: #edf5ec;
  color: #1f2937;
  box-shadow: 0 8px 22px rgba(79,124,74,0.18);
}

.filter-pill.active span.dot { background: var(--accent); }

/* ==============================
   CATALOG SECTION HEADER
   ============================== */

.catalog-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.catalog-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.catalog-note { font-size: 11px; color: var(--text-soft); }

/* ==============================
   CATALOG GRID
   ============================== */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

/* ==============================
   SET CARD
   ============================== */

.set-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(229,231,235,0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.set-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(209,213,219,1);
}

.set-image-wrap {
  position: relative;
  background: #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.set-image-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.set-tag-top {
  position: absolute;
  left: 12px; top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(229,231,235,0.9);
  font-size: 10px;
  color: #4b5563;
}

.set-tag-season {
  position: absolute;
  right: 12px; top: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.64);
  color: #f9fafb;
  font-size: 10px;
}

.set-body {
  padding: 12px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.set-title-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.set-title { font-size: 14px; font-weight: 600; margin: 0; }

.set-pill-mini {
  font-size: 10px;
  color: var(--accent-warm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.set-desc { font-size: 12px; color: var(--text-muted); margin: 0; }

.set-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 4px;
}

.set-meta-tags { display: flex; flex-wrap: wrap; gap: 4px; }

.set-meta-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid var(--border-subtle);
  font-size: 10px;
  color: #4b5563;
}

.set-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.set-price { font-size: 14px; font-weight: 600; color: #111827; }
/* WooCommerce виводить ціну у <span class="woocommerce-Price-amount"> */
.set-price .woocommerce-Price-amount { font-size: 14px; font-weight: 600; color: #111827; }
.set-price-note { font-size: 10px; color: var(--text-soft); }

.set-footer {
  padding: 9px 13px 11px;
  border-top: 1px solid #edf0f4;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
}

.set-footer-left { display: flex; flex-direction: column; gap: 2px; }
.set-footer-main { color: #4b5563; }
.set-footer-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.badge-mini {
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 10px;
  color: #6b7280;
}

.set-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: none;
  padding: 7px 12px;
  font-size: 11px;
  background: #111827;
  color: #f9fafb;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15,23,42,0.28);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  text-decoration: none;
}

.set-footer-cta:hover {
  background: #020617;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.35);
  color: #f9fafb;
}

.set-footer-cta .icon { font-size: 13px; }

/* ==============================
   MOBILE STICKY FILTER
   ============================== */

.mobile-filter-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 8px 14px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--border-subtle);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 30;
  backdrop-filter: blur(10px);
}

.mobile-filter-cta-info { font-size: 11px; color: var(--text-soft); }

.mobile-filter-cta button {
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #f9fafb;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(15,23,42,0.25);
}

/* ==============================
   FOOTER
   ============================== */

.site-footer {
  background: #f9fafb;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 60px;
}

.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text-main); }

/* ==============================
   WOOCOMMERCE OVERRIDES
   ============================== */

.woocommerce-breadcrumb { display: none; }
.woocommerce-notices-wrapper { margin-bottom: 16px; }

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--accent);
  border-radius: var(--radius-md);
}

/* Пагінація */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  font-size: 12px;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 980px) {
  .catalog-hero {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-meta {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 10px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 860px) {
  .nav-link--phone .nav-link--phone-text { display: none; }
  .nav-link--phone-icon                  { display: inline-flex !important; }
  .nav-insta span                        { display: none; }
  .nav-insta                             { padding: 6px 9px; }
  .top-bar-left .nav-link                { display: none; }
}

@media (max-width: 620px) {
  .top-bar-logo-row {
    grid-template-columns: 1fr auto 1fr;
  }
  .top-bar-left  { display: none; }
  .top-bar-right { gap: 10px; }
  .site-logo     { height: 52px !important; }
  .burger        { display: flex; }
  .nav-link--phone,
  .nav-insta,
  .pill          { display: inline-flex; }
  .catalog-grid      { grid-template-columns: minmax(0,1fr); }
  .mobile-filter-cta { display: flex; }
  .filter-row        { flex-direction: column; align-items: stretch; }
  .filter-group      { justify-content: flex-start; }
}


/* ==============================
   СТОРІНКИ (page.php, single.php)
   ============================== */

.sb-page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.sb-page-hero {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.sb-page-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  margin: 6px 0 10px;
}

.sb-page-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

.sb-page-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
}

.sb-page-content h2 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.sb-page-content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.sb-page-content p  { margin: 0 0 16px; }
.sb-page-content ul,
.sb-page-content ol { padding-left: 24px; margin-bottom: 16px; }
.sb-page-content li { margin-bottom: 6px; }
.sb-page-content img { border-radius: var(--radius-md); margin: 0px 0; }
.sb-page-content a { color: var(--accent); text-decoration: underline; }

/* ==============================
   БЛОГ — КАРТКИ
   ============================== */

.sb-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.sb-blog-card {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}

.sb-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.sb-blog-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.sb-blog-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sb-blog-card-meta { font-size: 11px; color: var(--text-soft); margin: 0; }

.sb-blog-card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.sb-blog-card-title a { color: var(--text-main); }
.sb-blog-card-title a:hover { color: var(--accent); }

.sb-blog-card-excerpt { font-size: 13px; color: var(--text-muted); margin: 0; flex: 1; }

/* Навігація між записами */
.sb-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.sb-post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 48%;
}

.sb-post-nav-next { align-items: flex-end; text-align: right; }

.sb-post-nav-dir { font-size: 11px; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.14em; }
.sb-post-nav-title { font-size: 13px; color: var(--text-main); font-weight: 500; }

/* Мініатюра запису */
.sb-post-thumbnail {
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sb-post-thumbnail img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* ==============================
   СТОРІНКА "ПРО НАС"
   ============================== */

.sb-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 48px;
}

.sb-value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-value-icon { font-size: 24px; }
.sb-value-title { font-size: 14px; font-weight: 600; margin: 0; }
.sb-value-desc  { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ==============================
   СТОРІНКА "КОНТАКТИ"
   ============================== */

.sb-contacts-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.4fr);
  gap: 32px;
  align-items: start;
}

.sb-contacts-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sb-contact-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sb-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.sb-contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft); margin-bottom: 2px; }
.sb-contact-value { font-size: 13px; color: var(--text-main); }
.sb-contact-value a { color: var(--accent); }

.sb-contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.sb-contact-form-title { font-size: 18px; font-weight: 600; margin: 0 0 20px; }

.sb-contact-form { display: flex; flex-direction: column; gap: 14px; }

.sb-form-row { display: flex; flex-direction: column; gap: 5px; }

.sb-form-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-soft); }

.sb-form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-main);
  background: #fafafa;
  outline: none;
  transition: border-color .15s;
}

.sb-form-input:focus { border-color: var(--accent); background: #fff; }

.sb-form-textarea { min-height: 120px; resize: vertical; }

.sb-form-success {
  padding: 16px 20px;
  background: #edf5ec;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  color: #2d6b29;
  font-size: 14px;
}

/* ==============================
   ПАГІНАЦІЯ БЛОГУ
   ============================== */

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-numbers {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  transition: background .15s;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==============================
   АДАПТИВ ДЛЯ НОВИХ БЛОКІВ
   ============================== */

@media (max-width: 860px) {
  .sb-values-grid    { grid-template-columns: repeat(2, 1fr); }
  .sb-contacts-wrap  { grid-template-columns: 1fr; }
  .sb-blog-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .sb-values-grid { grid-template-columns: 1fr; }
}


/* ==============================
   SKU — СТОРІНКА ТОВАРУ
   ============================== */

/* Hero */
.sku-hero-header {
  display: grid;
  grid-template-columns: minmax(0,2.3fr) minmax(0,1.1fr);
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.sku-hero-header .hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.sku-hero-header .hero-title {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 10px;
}

.sku-hero-header .hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
  max-width: 640px;
  line-height: 1.6;
}

.sku-hero-header .hero-meta {
  font-size: 13px;
  color: var(--text-soft);
  border-left: 1px solid var(--border-subtle);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}


.gallery-strip    { margin-bottom: 34px; }

.gallery-desktop {
  display: grid;
  grid-template-columns: minmax(0,2.2fr) minmax(0,1.1fr);
  gap: 14px;
  border-radius: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  align-items: start;
}

.gallery-main {
  border-radius: 18px;
  background: #e5e7eb;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-main img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease-out; }
.gallery-main:hover img { transform:scale(1.03); }

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 400px;
}

.gallery-thumb {
  border-radius: 16px;
  background: #e5e7eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease-out; }
.gallery-thumb:hover img { transform:scale(1.03); }

/* Mobile gallery */
.gallery-mobile { display:none; }

.gallery-mobile-shell {
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  padding: 10px;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar { display:none; }

.gallery-slide {
  flex: 0 0 100%;
  border-radius: 16px;
  background: #e5e7eb;
  min-height: 220px;
  overflow: hidden;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide img { width:100%; height:100%; object-fit:cover; display:block; }

.gallery-dots { display:flex; justify-content:center; gap:6px; margin-top:10px; }

.gallery-dot {
  width:7px; height:7px;
  border-radius:999px;
  border:1px solid var(--text-soft);
  background:transparent;
  padding:0; cursor:pointer;
}
.gallery-dot.active { background:var(--text-soft); }

/* Essence */
.essence-section  { margin-bottom:34px; }
.essence-label-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:12px; }
.essence-label    { font-size:12px; text-transform:uppercase; letter-spacing:.18em; color:var(--text-soft); }
.essence-row      { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }

.essence-card { padding:16px 6px 6px; border-top:1px solid var(--border-subtle); }
.essence-index { font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--text-soft); margin-bottom:6px; }
.essence-title { font-size:15px; font-weight:600; margin-bottom:6px; }
.essence-text  { font-size:13px; color:var(--text-muted); line-height:1.6; margin:0; }

/* Main layout */
.sku-layout-main {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(0,1fr);
  gap: 32px;
  align-items: flex-start;
}

/* Story block */
.story-block  { display:flex; flex-direction:column; gap:20px; }

.story-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 18px;
}

.story-header-row { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:8px; }
.story-title  { font-size:15px; font-weight:600; }
.story-chip   { font-size:12px; color:var(--text-soft); padding:4px 10px; border-radius:999px; border:1px solid var(--border-subtle); background:#f9fafb; }
.story-text   { font-size:13px; color:var(--text-muted); margin-bottom:10px; line-height:1.6; }
.story-columns { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:16px; }
.story-subtitle { font-size:13px; font-weight:500; margin-bottom:4px; }
.story-list   { margin:0; padding-left:18px; font-size:12px; color:var(--text-muted); line-height:1.5; }
.story-list li { margin-bottom:4px; }

.badge-row    { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.badge        { padding:4px 9px; border-radius:999px; border:1px solid var(--border-subtle); background:#f9fafb; color:#4b5563; font-size:12px; }

/* Composition strip */
.composition-strip {
  margin-top: 10px;
  padding: 11px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.composition-bar { display:grid; grid-template-columns:1.1fr 1.2fr 1fr; height:34px; border-radius:999px; overflow:hidden; margin-bottom:6px; }
.comp-segment    { display:flex; align-items:center; justify-content:center; font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:#374151; }
.comp-front      { background:#e5f0e4; }
.comp-middle     { background:#dde4f3; }
.comp-back       { background:#f4e4d0; }

/* Timeline */
.timeline-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.timeline-title  { font-size:14px; font-weight:500; margin-bottom:10px; }
.timeline-strip  { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:6px; }
.timeline-step   { padding:9px 11px; border-radius:var(--radius-md); background:var(--bg-soft-alt,#f3f4f6); border:1px solid var(--border-subtle); font-size:12px; line-height:1.5; }
.timeline-label  { font-size:11px; text-transform:uppercase; letter-spacing:.14em; color:var(--text-soft); margin-bottom:3px; }

/* Purchase panel */
.purchase-shell { position:sticky; top:18px; }

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #fff;
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
}

.product-name-row  { display:flex; justify-content:space-between; gap:8px; align-items:baseline; margin-bottom:4px; }
.product-name      { font-size:17px; font-weight:600; }
.product-tagline   { font-size:11px; text-transform:uppercase; letter-spacing:.16em; color:var(--accent-warm); white-space:nowrap; }
.product-caption   { font-size:13px; color:var(--text-muted); line-height:1.6; }
.product-status-row { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:10px; font-size:12px; }
.status-pills      { display:flex; gap:6px; flex-wrap:wrap; }
.status-pill       { padding:4px 9px; border-radius:999px; border:1px solid rgba(148,163,184,.8); background:#fff; color:#374151; font-size:11px; }
.rating-row        { display:inline-flex; align-items:center; gap:4px; color:#6b7280; font-size:12px; }
.rating-star       { color:#f59e0b; font-size:14px; }
.divider           { height:1px; background:#e5e7eb; margin:12px 0 10px; }

.field-label-row   { display:flex; justify-content:space-between; align-items:baseline; font-size:12px; color:#6b7280; margin-bottom:4px; }
.field-label-row small { font-size:11px; color:var(--text-soft); }

/* Choice cards (варіанти) */
.choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:9px; }

.choice-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  padding: 8px 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
}

.choice-card:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(148,163,184,.16); border-color:rgba(148,163,184,.9); background:#fff; }
.choice-card.active { border-color:var(--accent); background:#fff; box-shadow:0 0 0 1px var(--accent-soft),0 18px 40px rgba(148,163,184,.2); }
.choice-title   { font-weight:500; font-size:13px; }
.choice-caption { font-size:11px; color:var(--text-muted); }
.choice-meta-row { font-size:11px; color:var(--text-soft); display:flex; justify-content:space-between; }

/* Palette pills */
.pill-row    { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px; }
.pill-option { padding:5px 12px; border-radius:999px; border:1px solid var(--border-subtle); background:#f9fafb; font-size:12px; cursor:default; color:#4b5563; }

/* Gift switch */
.gift-row   { display:flex; justify-content:space-between; align-items:center; font-size:12px; color:#4b5563; margin:8px 0 2px; }
.switch     { width:38px; height:20px; border-radius:999px; background:#e5e7eb; position:relative; cursor:pointer; transition:background .18s; }
.switch-knob { position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:999px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,.18); transition:transform .18s; }
.switch.on  { background:#22c55e; }
.switch.on .switch-knob { transform:translateX(18px); }
.note-inline { font-size:11px; color:var(--text-soft); margin-bottom:8px; line-height:1.5; }

/* Price & qty */
.price-row  { display:flex; justify-content:space-between; align-items:flex-end; gap:8px; margin-top:6px; }
.price-main { font-size:23px; font-weight:600; }
.price-meta { font-size:11px; color:#6b7280; }

.qty-row    { display:flex; align-items:center; gap:8px; font-size:12px; margin-top:9px; }
.qty-control { display:inline-flex; align-items:center; border-radius:999px; border:1px solid #d1d5db; background:#f9fafb; overflow:hidden; }
.qty-btn    { width:28px; height:28px; border:none; background:transparent; cursor:pointer; font-size:17px; display:flex; align-items:center; justify-content:center; color:#6b7280; }
.qty-value  { min-width:28px; text-align:center; font-size:13px; color:#111827; }

/* CTA buttons */
.btn-primary {
  margin-top: 12px;
  width: 100%;
  border-radius: 999px;
  border: none;
  background: #111827;
  color: #f9fafb;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15,23,42,.22);
  transition: transform .16s, box-shadow .16s, background .16s;
}
.btn-primary:hover { background:#020617; transform:translateY(-1px); box-shadow:0 24px 60px rgba(15,23,42,.26); }

.btn-secondary {
  margin-top: 6px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 12px;
  color: #4b5563;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background .16s, box-shadow .16s, border-color .16s;
}
.btn-secondary:hover { background:#fff; border-color:rgba(148,163,184,.9); box-shadow:0 14px 30px rgba(148,163,184,.18); }

.legal-note { margin-top:10px; font-size:11px; color:var(--text-soft); line-height:1.5; }

/* Form reset */
.sb-add-to-cart-form { margin:0; }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  left:0; right:0; bottom:0;
  padding: 8px 14px;
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--border-subtle);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 40;
  backdrop-filter: blur(10px);
}
.mobile-cta-info  { display:flex; flex-direction:column; gap:2px; }
.mobile-cta-title { font-size:13px; font-weight:500; }
.mobile-cta-price { font-size:13px; color:var(--text-muted); }
.mobile-cta button {
  border-radius:999px; border:none; background:#111827; color:#f9fafb;
  font-size:12px; font-weight:500; padding:9px 16px;
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  cursor:pointer; box-shadow:0 10px 28px rgba(15,23,42,.25);
}

/* Meta tag у hero */
.meta-tag { margin-top:4px; padding:5px 10px; border-radius:999px; border:1px solid var(--border-subtle); background:#f9fafb; font-size:12px; color:#4b5563; align-self:flex-start; }

/* ==============================
   SKU АДАПТИВ
   ============================== */

@media (max-width: 960px) {
  .sku-layout-main { grid-template-columns:minmax(0,1fr); gap:24px; }
  .purchase-shell  { position:static; margin-top:8px; }
}

@media (max-width: 900px) {
  .sku-hero-header { grid-template-columns:minmax(0,1fr); gap:18px; padding-bottom:18px; }
  .hero-meta { border-left:none; border-top:1px solid var(--border-subtle); padding-left:0; padding-top:12px; margin-top:6px; }
  .gallery-desktop { display:none; }
  .gallery-mobile  { display:block; }
  .page { padding-bottom:80px; }
  .mobile-cta { display:flex; }
}

@media (max-width: 720px) {
  .story-columns  { grid-template-columns:minmax(0,1fr); }
  .timeline-strip { grid-template-columns:minmax(0,1fr); gap:10px; }
  .essence-row    { grid-template-columns:minmax(0,1fr); gap:16px; }
}

@media (max-width: 480px) {
  .choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}


/* ==============================
   ЛАЙТБОКС
   ============================== */

.sb-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.sb-lightbox.open {
  display: flex;
}

.sb-lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
  cursor: pointer;
}

.sb-lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  padding: 20px 60px 16px;
  box-sizing: border-box;
}

.sb-lightbox-img-wrap {
  width: 100%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-lightbox-img-wrap img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  user-select: none;
}

.sb-lightbox-counter {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  letter-spacing: .12em;
}

/* Стрілки */
.sb-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  z-index: 2;
  line-height: 1;
}

.sb-lightbox-arrow:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}

.sb-lightbox-prev { left: 10px; }
.sb-lightbox-next { right: 10px; }

/* Закрити */
.sb-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 2;
}

.sb-lightbox-close:hover {
  background: rgba(255,255,255,.2);
}

/* Мініатюри внизу */
.sb-lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.sb-lightbox-thumbs::-webkit-scrollbar { display: none; }

.sb-lightbox-thumb {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s, opacity .15s;
  opacity: .55;
}

.sb-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sb-lightbox-thumb.active,
.sb-lightbox-thumb:hover {
  border-color: rgba(255,255,255,.7);
  opacity: 1;
}

/* Підказка "⤢ N фото" на головному фото */
.gallery-expand-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  color: #374151;
  cursor: pointer;
  pointer-events: none;
}

/* Overlay "+N фото" на останньому thumb */
.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-radius: 16px;
  cursor: pointer;
}

/* Курсор-pointer на фото що відкривають лайтбокс */
.sb-lightbox-trigger { cursor: pointer; }

/* ==============================
   КНОПКА PDF ІНСТРУКЦІЇ
   ============================== */

.btn-guide {
  margin-top: 8px;
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(95,143,89,.06);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background .16s, box-shadow .16s;
  font-family: var(--font);
}

.btn-guide:hover {
  background: rgba(95,143,89,.12);
  box-shadow: 0 8px 20px rgba(95,143,89,.15);
}

.btn-guide .icon { font-size: 14px; }

/* Мобільний лайтбокс */
@media (max-width: 600px) {
  .sb-lightbox-inner { padding: 50px 10px 16px; }
  .sb-lightbox-arrow { width: 36px; height: 36px; font-size: 20px; }
  .sb-lightbox-prev  { left: 4px; }
  .sb-lightbox-next  { right: 4px; }
  .sb-lightbox-thumb { width: 44px; height: 44px; }
}


/* ==============================
   FOOTER
   ============================== */

.sb-footer {
  background: #111827;
  color: rgba(255,255,255,.75);
  margin-top: 80px;
  width: 100%;
  box-sizing: border-box;
}

.sb-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px 16px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

/* Бренд колонка */
.sb-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-footer-logo { display: inline-block; }

.sb-footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* інвертуємо лого під темний фон */
  filter: brightness(0) invert(1);
  opacity: .9;
}

.sb-footer-slogan {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.sb-footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin: 0;
  max-width: 220px;
}

.sb-footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  margin-top: 4px;
  transition: color .18s;
}

.sb-footer-instagram:hover {
  color: rgba(255,255,255,.9);
}

/* Навігаційні колонки */
.sb-footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sb-footer-col-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.35);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sb-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb-footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color .18s;
}

/* Hover — підкреслення що "виростає" знизу */
.sb-footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,.4);
  transition: width .22s ease;
}

.sb-footer-links a:hover {
  color: rgba(255,255,255,.9);
}

.sb-footer-links a:hover::after {
  width: 100%;
}

/* Bottom bar */
.sb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
}

.sb-footer-bottom-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: rgba(255,255,255,.25);
}

.sb-footer-bottom-right {
  letter-spacing: .04em;
}

/* ==============================
   FOOTER АДАПТИВ
   ============================== */

@media (max-width: 860px) {
  .sb-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 16px 36px;
  }

  .sb-footer-brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
  }

  .sb-footer-desc { max-width: 100%; }
}

@media (max-width: 480px) {
  .sb-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .sb-footer-brand {
    flex-direction: column;
  }

  .sb-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}


/* ==============================
   БУРГЕР + МОБІЛЬНЕ МЕНЮ
   ============================== */

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.burger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-main);
  border-radius: 999px;
  transform-origin: center;
  transition: transform .22s ease, opacity .22s ease;
}

/* Анімація в X */
.burger.open .burger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open .burger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Мобільне меню — overlay на всю висоту */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 200;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: auto;
  margin-top: auto;
}

.mobile-menu-link {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: -.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: block;
  transition: color .15s;
}

.mobile-menu-link:last-child { border-bottom: none; }

.mobile-menu-link:hover { color: var(--accent); }

.mobile-menu-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 32px;
}

.mobile-menu-phone {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
}

.mobile-menu-insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
}

/* Показуємо бургер тільки на мобільному */
@media (max-width: 620px) {
  .burger { display: flex; }
  .mobile-menu { display: flex; }

  /* На мобільному ховаємо текстові посилання з top-nav */
  .nav-link:not(.nav-link--phone) { display: none; }
  .nav-link--phone,
  .nav-insta,
  .pill { display: inline-flex; }
}


/* Кнопка закрити в мобільному меню */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #f9fafb;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.mobile-menu-close:hover { background: #f3f4f6; }

/* Порожній стан каталогу після фільтрації */
.catalog-section { min-height: 320px; }

.catalog-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
}

.filter-reset-inline {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: var(--font);
}

/* =============================================
   WOOCOMMERCE PAGES (кошик, оформлення, акаунт)
   ============================================= */

.sb-wc-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Заголовок сторінки кошика */
.sb-wc-page h1,
.sb-wc-page .entry-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* Таблиця кошика */
.sb-wc-page .woocommerce-cart-form table.shop_table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.sb-wc-page .shop_table th {
  background: var(--bg-soft);
  padding: 14px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.sb-wc-page .shop_table td {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-dark);
}

.sb-wc-page .shop_table tr:last-child td { border-bottom: none; }

/* Зображення товару в кошику */
.sb-wc-page .shop_table .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

/* Кнопка видалення */
.sb-wc-page a.remove {
  color: var(--text-muted) !important;
  font-size: 20px;
  line-height: 1;
}
.sb-wc-page a.remove:hover { color: var(--accent) !important; }

/* Кількість */
.sb-wc-page .quantity input.qty {
  width: 60px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
  font-size: 14px;
}

/* Кнопки */
.sb-wc-page .button,
.sb-wc-page button[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s;
  font-family: var(--font);
}
.sb-wc-page .button:hover { opacity: .85; }

.sb-wc-page .button.wc-backward,
.sb-wc-page a.button.wc-backward {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Підсумок кошика */
.sb-wc-page .cart_totals {
  margin-top: 32px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 420px;
  margin-left: auto;
}

.sb-wc-page .cart_totals h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.sb-wc-page .cart_totals table.shop_table {
  background: transparent;
  border: none;
  border-radius: 0;
}

.sb-wc-page .cart_totals .shop_table th,
.sb-wc-page .cart_totals .shop_table td {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 14px;
}

.sb-wc-page .cart_totals .order-total th,
.sb-wc-page .cart_totals .order-total td {
  font-weight: 600;
  font-size: 16px;
  border-bottom: none;
}

.sb-wc-page .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  text-align: center;
  margin-top: 16px;
  display: block;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

/* Порожній кошик */
.sb-wc-page .cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
  font-size: 15px;
}
.sb-wc-page .return-to-shop .button {
  margin-top: 16px;
}

/* =============================================
   GUIDE PAGE — сторінка гайду
   ============================================= */

.sb-guide-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.sb-guide-hero {
  text-align: center;
  padding: 48px 0 40px;
}

.sb-guide-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.sb-guide-subtitle {
  font-size: 16px;
  color: var(--text-soft);
}

/* Картки з контентом */
.sb-guide-content { display: flex; flex-direction: column; gap: 20px; }

.sb-guide-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sb-guide-card-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-guide-card-body { flex: 1; }
.sb-guide-card-body h2 { font-size: 18px; font-weight: 600; color: var(--text-dark); margin: 0 0 6px; }
.sb-guide-card-body p  { font-size: 14px; color: var(--text-soft); margin: 0 0 16px; line-height: 1.5; }

/* Аудіоплеєр */
.sb-audio-player {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}

/* Прогрес бар */
.sb-player-progress {
  margin-bottom: 6px;
  padding: 8px 0;
  cursor: pointer;
  touch-action: none;
}
.sb-player-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  position: relative;
}
.sb-player-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  pointer-events: none;
}
.sb-player-thumb {
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 0%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform .1s;
}
.sb-player-progress:active .sb-player-thumb { transform: translate(-50%, -50%) scale(1.3); }

.sb-player-times {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* Кнопки керування */
.sb-player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.sb-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.sb-ctrl-btn:active { background: var(--bg-soft); }
.sb-play-btn {
  width: 52px; height: 52px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  padding: 0;
}
.sb-play-btn:active { background: var(--accent); opacity: .85; }

/* Швидкість */
.sb-player-speeds {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 14px;
}
.sb-speeds-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.sb-speeds-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sb-speed {
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-dark);
  font-family: var(--font);
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.sb-speed-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.sb-audio-download {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 4px;
}
.sb-audio-download:hover { color: var(--accent); }

/* PDF кнопки */
.sb-guide-pdf-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.sb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s;
  cursor: pointer;
  border: none;
}
.sb-btn:hover { opacity: .85; }
.sb-btn-primary   { background: var(--accent); color: #fff; }
.sb-btn-secondary { background: transparent; border: 1.5px solid var(--border); color: var(--text-dark); }

/* Код доступу */
.sb-code-display {
  font-family: monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-dark);
  background: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  display: inline-block;
  border: 2px dashed var(--border);
}

/* Форма вводу коду */
.sb-guide-form-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}

.sb-guide-form-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  text-align: center;
}

.sb-guide-form-icon { font-size: 40px; margin-bottom: 20px; }

.sb-guide-error {
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.sb-guide-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
  text-align: left;
}

.sb-guide-form input[type=text] {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 18px;
  font-family: monospace;
  font-weight: 600;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
  color: var(--text-dark);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .2s;
}
.sb-guide-form input[type=text]:focus { outline: none; border-color: var(--accent); }

.sb-guide-submit {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: opacity .2s;
}
.sb-guide-submit:hover { opacity: .85; }

.sb-guide-hint {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .sb-guide-card { flex-direction: column; gap: 14px; }
  .sb-guide-form-card { padding: 28px 20px; }
}

/* =============================================
   CHECKOUT — сторінка оформлення замовлення
   ============================================= */

.woocommerce-checkout .page,
.woocommerce-page .page {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout body,
.woocommerce-checkout,
.woocommerce-checkout .page {
  background: #f3f4f6 !important;
}

/* Ховаємо хедер сайту на checkout */
.woocommerce-checkout .top-bar,
.woocommerce-checkout .mobile-menu {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Checkout займає всю ширину без відступів */
.woocommerce-checkout .page {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.sb-checkout-wrap {
  min-height: 100vh;
  background: #f3f4f6;
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.sb-checkout-wrap * { box-sizing: border-box; }

/* ── Хедер на всю ширину ── */
.sb-checkout-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.sb-checkout-logo-img { height: 32px; width: auto; }
.sb-checkout-logo-text { font-size: 17px; font-weight: 700; color: #111; text-decoration: none; }

.sb-checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.sb-step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9ca3af;
  font-weight: 500;
}
.sb-step-active { color: #111; font-weight: 600; }
.sb-step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.sb-step-active .sb-step-num { background: #111; border-color: #111; color: #fff; }
.sb-step-done .sb-step-num { background: #16a34a; border-color: #16a34a; color: #fff; }
.sb-step-sep { color: #d1d5db; font-size: 18px; margin: 0 2px; }
.sb-step-line { width: 48px; height: 1.5px; background: #e5e7eb; }

.sb-checkout-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #16a34a;
  font-weight: 500;
}

/* ── Грід ── */
.sb-checkout-form {
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 48px 80px;
}
.sb-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── Картки ── */
.sb-checkout-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
}
.sb-checkout-card:last-child { margin-bottom: 0; }

.sb-checkout-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f3f4f6;
  letter-spacing: -0.01em;
}

/* ── Поля ── */
.sb-checkout-fields { display: flex; flex-direction: column; gap: 18px; }
.sb-field-row { display: flex; flex-direction: column; gap: 18px; }
.sb-field-row-2 { flex-direction: row; gap: 16px; }
.sb-field-row-2 .sb-field { flex: 1; min-width: 0; }
.sb-field { display: flex; flex-direction: column; gap: 6px; }
.sb-field label { font-size: 13px; font-weight: 500; color: #374151; }
.sb-field label .required { color: #dc2626; margin-left: 1px; }
.sb-optional { font-weight: 400; color: #9ca3af; font-size: 12px; }

.sb-input, .sb-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font);
  color: #111;
  background: #fff;
  transition: border-color .2s;
  outline: none;
  -webkit-appearance: none;
}
.sb-input:focus, .sb-textarea:focus { border-color: #6b7280; }
.sb-input::placeholder, .sb-textarea::placeholder { color: #9ca3af; }
.sb-textarea { resize: vertical; min-height: 80px; }

/* ── Доставка ── */
.sb-delivery-tabs { display: flex; gap: 10px; }
.sb-delivery-tab {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: var(--font);
  color: #374151;
  cursor: pointer;
  transition: all .18s;
  font-weight: 500;
  text-align: center;
}
.sb-delivery-tab-active { border-color: #111; background: #f9fafb; color: #111; font-weight: 600; }

/* ── Оплата ── */
.sb-payment-options { display: flex; flex-direction: column; gap: 10px; }
.sb-payment-option {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .18s;
  background: #fff;
}
.sb-payment-active { border-color: #111; }
.sb-payment-radio { display: none; }
.sb-payment-content { display: flex; align-items: center; gap: 12px; width: 100%; }
.sb-payment-radio-circle {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .18s;
}
.sb-payment-active .sb-payment-radio-circle { border-color: #111; border-width: 5px; }
.sb-payment-icon { font-size: 20px; flex-shrink: 0; }
.sb-payment-name { font-size: 15px; font-weight: 600; color: #111; }
.sb-payment-desc { font-size: 13px; color: #6b7280; margin-top: 2px; }

/* ── Промокод ── */
.sb-promo-card { padding: 0 !important; overflow: hidden; border: 1px solid #e5e7eb; }
.sb-promo-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  user-select: none;
  background: #fff;
}
.sb-promo-arrow { color: #9ca3af; }
.sb-promo-body { padding: 4px 24px 20px; background: #fff; border-top: 1px solid #f3f4f6; }
.sb-btn-apply-coupon {
  padding: 10px 20px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.sb-btn-apply-coupon:hover { opacity: .85; }

/* ── Order Summary ── */
.sb-checkout-right { position: sticky; top: 24px; }
.sb-order-summary {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.sb-order-summary-title {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  padding: 20px 24px 14px;
  border-bottom: 1px solid #f3f4f6;
  margin: 0;
  letter-spacing: -0.01em;
}

.sb-order-items {
  padding: 16px 24px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 360px;
  overflow-y: auto;
}
.sb-order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}
.sb-order-item:last-child { border-bottom: none; }
.sb-order-item-img img {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #f3f4f6;
  flex-shrink: 0;
}
.sb-order-item-info { flex: 1; min-width: 0; }
.sb-order-item-name {
  font-size: 14px; font-weight: 500; color: #111;
  line-height: 1.4;
}
.sb-order-item-qty { font-size: 13px; color: #6b7280; margin-top: 3px; }

.sb-order-item-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.sb-qty-btn {
  width: 24px; height: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #374151;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: background .15s;
  font-family: var(--font);
}
.sb-qty-btn:hover { background: #f3f4f6; }
.sb-qty-val {
  font-size: 14px;
  font-weight: 500;
  color: #111;
  min-width: 20px;
  text-align: center;
}
.sb-order-item-price { font-size: 15px; font-weight: 700; color: #111; white-space: nowrap; }

.sb-order-totals {
  padding: 16px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sb-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6b7280;
}
.sb-order-row-discount { color: #16a34a; }
.sb-shipping-note { font-size: 13px; color: #9ca3af; }

.sb-order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  margin-top: 10px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.sb-order-submit { padding: 0 24px 24px; }

/* Кнопка — чорна, перебиваємо WC */
.sb-order-submit .sb-checkout-btn,
.sb-order-submit button#place_order,
.sb-wc-page .sb-order-submit button[type="submit"] {
  width: 100% !important;
  padding: 15px !important;
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  cursor: pointer !important;
  transition: opacity .2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  letter-spacing: -.01em !important;
}
.sb-order-submit .sb-checkout-btn:hover,
.sb-order-submit button#place_order:hover { opacity: .85 !important; }

.sb-checkout-security-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 16px;
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
}
.sb-checkout-security-row span { display: flex; align-items: center; gap: 4px; }

.sb-continue-shopping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none;
  transition: background .15s;
  background: #fff;
}
.sb-continue-shopping:hover { background: #f9fafb; }

/* WC notices */
.woocommerce-NoticeGroup { margin-bottom: 20px; }
.woocommerce-error, .woocommerce-message {
  background: #fef2f2;
  border-left: 3px solid #dc2626;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  list-style: none;
  margin: 0 0 16px;
}
.woocommerce-message { background: #f0fdf4; border-color: #16a34a; }

/* Мобільна адаптація */
@media (max-width: 900px) {
  .sb-checkout-header { padding: 14px 16px; }
  .sb-checkout-steps { display: none; }
  .sb-checkout-form { padding: 16px 16px 60px; }
  .sb-checkout-grid { grid-template-columns: 1fr; gap: 0; }
  .sb-checkout-right { position: static; margin-top: 16px; }
  .sb-field-row-2 { flex-direction: column; }
  .sb-checkout-card { padding: 20px; }
}

/* ── Thank You page ── */
.sb-thankyou-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.sb-thankyou-success {
  text-align: center;
  padding: 40px 20px 32px;
}
.sb-thankyou-icon {
  width: 64px; height: 64px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.sb-thankyou-title {
  font-size: 26px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
}
.sb-thankyou-subtitle {
  font-size: 15px;
  color: #6b7280;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.sb-thankyou-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.sb-thankyou-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sb-thankyou-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}
.sb-thankyou-detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.sb-thankyou-detail-label { color: #6b7280; }
.sb-thankyou-detail-val { font-weight: 500; color: #111; text-align: right; max-width: 60%; }

/* Ховаємо хедер сайту на thankyou */
.woocommerce-order-received .top-bar,
.woocommerce-order-received .mobile-menu {
  display: none !important;
}
.woocommerce-order-received .page,
.woocommerce-order-received .sb-page-wrap,
.woocommerce-order-received .sb-wc-page,
.woocommerce-order-received .woocommerce {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-order-received body,
.woocommerce-order-received {
  background: #f3f4f6 !important;
}

@media (max-width: 900px) {
  .sb-thankyou-body { padding: 16px 16px 60px; }
  .sb-thankyou-grid { grid-template-columns: 1fr; }
}

/* ── Toast / Add to cart popup ── */
#sbToast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  width: calc(100vw - 48px);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s, transform .35s;
  border: 1px solid #e5e7eb;
}
#sbToast.sb-toast-show {
  opacity: 1;
  transform: translateY(0);
}
.sb-toast-icon {
  width: 36px; height: 36px;
  background: #16a34a;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.sb-toast-text { flex: 1; min-width: 0; }
.sb-toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-toast-sub { font-size: 13px; color: #6b7280; margin-top: 2px; }
.sb-toast-btn {
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.sb-toast-btn:hover { opacity: .85; }
.sb-toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}
@media (max-width: 480px) {
  #sbToast { bottom: 16px; right: 16px; left: 16px; width: auto; }
}

/* ── Gift toggle в кошику і checkout ── */
.sb-cart-gift-wrap {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.sb-cart-gift-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sb-cart-gift-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sb-cart-gift-label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
.sb-cart-gift-price {
  font-size: 13px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 2px 8px;
  border-radius: 20px;
}
.sb-cart-gift-note {
  font-size: 13px;
  color: #6b7280;
  margin: 8px 0 0;
  line-height: 1.4;
}

.sb-checkout-gift-wrap {
  margin: 0 24px 16px;
}

/* Мінімалістичні SVG іконки в checkout */
.sb-delivery-tab svg,
.sb-payment-icon svg,
.sb-cart-gift-label svg,
.sb-checkout-security-row svg {
  vertical-align: middle;
  flex-shrink: 0;
}
.sb-delivery-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════
   FRONT PAGE — ГОЛОВНА СТОРІНКА (Figma exact)
   ══════════════════════════════════════════════ */

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Playfair+Display:wght@400&display=swap');

/* HERO */
.eb-hero {
  text-align: center;
  padding: 56px 24px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.eb-hero-eyebrow {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: #676767;
  margin: 0 0 8px;
  letter-spacing: .02em;
}
.eb-hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 60px;
  color: #000;
  letter-spacing: 0.6px;
  margin: 0 0 18px;
  line-height: 1.05;
  text-transform: capitalize;
}
.eb-hero-title span {
  color: #217161;
}
.eb-hero-desc {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #303030;
  letter-spacing: 2.16px;
  margin: 0 auto;
  max-width: 784px;
}

/* BANNER */
.eb-banner {
  padding: 0 39px;
  margin-bottom: 80px;
}
.eb-banner-wrap {
  border-radius: 40px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 566fr 797fr;
  height: 394px;
}
.eb-banner-wrap:not(:has(.eb-banner-img)) {
  grid-template-columns: 1fr;
  position: relative;
}
.eb-banner-overlay {
  background: rgba(48, 48, 48, 0.82);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  z-index: 1;
  position: relative;
}
.eb-banner-img {
  overflow: hidden;
}
.eb-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eb-banner-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.7px;
  margin: 0;
  line-height: 1.4;
  max-width: 374px;
}
.eb-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #303030;
  color: #fff;
  border-radius: 100px;
  padding: 10px 28px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: .01em;
  width: fit-content;
  transition: opacity .2s, transform .2s;
}
.eb-btn-dark:hover {
  opacity: .85;
  transform: translateY(-1px);
}

/* WHY */
.eb-why {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 70px;
}
.eb-why-wrap {
  display: grid;
  grid-template-columns: 737fr 550fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid #000;
}
.eb-why-wrap:not(:has(.eb-why-right)) {
  grid-template-columns: 1fr;
}
.eb-divider-line {
  display: none;
}
.eb-why-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eb-why-right {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 300px;
  background: #f3f4f6;
}
.eb-why-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SHARED TYPOGRAPHY */
.eb-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 42px;
  color: #303030;
  line-height: 1.331;
  margin: 0;
  letter-spacing: -.01em;
}
.eb-text-gray { color: #676767; }

.eb-body-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #303030;
  line-height: 1.2;
  margin: 0;
}
.eb-body-text strong {
  font-weight: 400;
}

/* PILLARS */
.eb-pillars {
  background: #e6f0fb;
  padding: 72px 0;
  margin-bottom: 80px;
}
.eb-pillars-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.eb-pillar {
  padding: 40px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-self: stretch;
}
.eb-pillar:first-child { padding-left: 0; }
.eb-pillar:last-child  { padding-right: 0; }
.eb-pillar-divider {
  width: 1px;
  background: #000;
  align-self: stretch;
  min-height: 273px;
}
.eb-pillar-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 30px;
  color: #303030;
  text-transform: uppercase;
  margin: 0;
}
.eb-pillar-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #303030;
  line-height: 1.2;
  margin: 0;
}
.eb-pillar-text strong { font-weight: 400; }

/* RESULT */
.eb-result {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 39px;
}
.eb-result-wrap {
  display: grid;
  grid-template-columns: 437fr 868fr;
  gap: 48px;
  align-items: stretch;
}
.eb-result-wrap:not(:has(.eb-result-photo)) {
  grid-template-columns: 1fr;
}
.eb-result-photo {
  border-radius: 40px;
  overflow: hidden;
  min-height: 539px;
}
.eb-result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eb-result-content {
  background: #fcf7f4;
  border-radius: 40px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: center;
}

/* MANIFESTO */
.eb-manifesto {
  max-width: 1400px;
  margin: 0 auto 0;
  padding: 80px 50px 100px;
}
.eb-manifesto-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.eb-manifesto-bold {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #303030;
  margin: 8px 0 0;
}

/* ══ АДАПТИВ ══ */
@media (max-width: 1100px) {
  .eb-banner { padding: 0 20px; }
  .eb-why    { padding: 0 24px; }
  .eb-pillars-wrap { padding: 0 24px; }
  .eb-result { padding: 0 20px; }
  .eb-manifesto { padding: 64px 24px 80px; }
  .eb-hero-title { font-size: 52px; }
  .eb-section-title { font-size: 38px; }
  .eb-body-text { font-size: 20px; }
  .eb-pillar-text { font-size: 20px; }
  .eb-banner-text { font-size: 22px; }
}

@media (max-width: 860px) {
  .eb-hero-title { font-size: 42px; }
  .eb-banner-wrap { grid-template-columns: 1fr; }
  .eb-banner-img { height: 280px; order: -1; }
  .eb-banner-overlay { backdrop-filter: none; background: #303030; padding: 32px 28px; }
  .eb-why-wrap { grid-template-columns: 1fr; gap: 32px; border-top: none; padding-top: 0; }
  .eb-why { border-top: 1px solid #000; padding-top: 40px; }
  .eb-why-right { order: -1; aspect-ratio: 16/9; }
  .eb-pillars-wrap { grid-template-columns: 1fr; gap: 0; }
  .eb-pillar { text-align: left; padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .eb-pillar:last-child { border-bottom: none; }
  .eb-pillar-divider { display: none; }
  .eb-result-wrap { grid-template-columns: 1fr; }
  .eb-result-photo { min-height: 320px; aspect-ratio: 16/9; }
  .eb-result-content { padding: 36px 28px; border-radius: 24px; }
}

@media (max-width: 600px) {
  .eb-hero { padding: 40px 16px 28px; }
  .eb-hero-title { font-size: 34px; }
  .eb-hero-eyebrow { font-size: 20px; }
  .eb-hero-desc { font-size: 14px; letter-spacing: .06em; }
  .eb-section-title { font-size: 28px; }
  .eb-body-text { font-size: 16px; }
  .eb-pillar-title { font-size: 22px; }
  .eb-pillar-text { font-size: 16px; }
  .eb-banner-text { font-size: 18px; }
  .eb-manifesto { padding: 48px 16px 60px; }
  .eb-manifesto-bold { font-size: 18px; }
}


/* ══════════════════════════════════════════════
   HEADER — новий дизайн по Figma
   ══════════════════════════════════════════════ */

/* Ховаємо всі старі хедер-елементи */
.sb-header,
.sb-promo-bar,
.sb-header-nav,
.sb-search-overlay,
.top-bar { display: none !important; }

.eb-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 70px 4px;
  height: 148px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}

.eb-header-logo { display: flex; align-items: flex-end; flex-shrink: 0; }
.eb-header-logo-img { height: 91px; width: auto; }

/* Навігація абсолютно по центру сторінки */
/* Pill навігація — абсолютно по центру сторінки, вирівняна по низу лого */
.eb-header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #303030;
  border-radius: 100px;
  padding: 0 32px;
  height: 46px;
  gap: 0;
  width: fit-content;
  white-space: nowrap;
}
.eb-header-nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  padding: 0 20px;
  white-space: nowrap;
  transition: color .18s;
  position: relative;
}
.eb-header-nav-link:hover,
.eb-header-nav-link--active { color: #fff; font-weight: 500; }

/* Права частина */
.eb-header-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
  padding-bottom: 13px;
}
.eb-header-phone {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #303030;
  white-space: nowrap;
  transition: opacity .18s;
}
.eb-header-phone:hover { opacity: .65; }
.eb-header-icon {
  color: #303030;
  display: flex;
  align-items: center;
  position: relative;
  transition: opacity .18s;
}
.eb-header-icon:hover { opacity: .65; }
.eb-cart-count {
  position: absolute;
  top: -6px; right: -8px;
  background: #217161;
  color: #fff;
  border-radius: 999px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Бургер */
.eb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  width: 38px; height: 38px;
}
.eb-burger span {
  display: block;
  width: 100%; height: 1.5px;
  background: #303030;
  border-radius: 1px;
}

/* Мобільне меню */
.eb-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 300;
  flex-direction: column;
  justify-content: center;
  padding: 40px 32px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s;
  pointer-events: none;
}
.eb-mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.eb-mobile-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: 1px solid #e5e7eb;
  border-radius: 999px; width: 36px; height: 36px;
  font-size: 14px; color: #6b7280;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.eb-mobile-nav {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: auto; margin-top: auto;
}
.eb-mobile-link {
  font-family: 'Roboto', sans-serif;
  font-size: 32px; font-weight: 300;
  color: #303030;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  display: block;
  letter-spacing: -.01em;
  transition: color .15s;
}
.eb-mobile-link:last-child { border-bottom: none; }
.eb-mobile-link:hover { color: #217161; }
.eb-mobile-bottom {
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 28px; border-top: 1px solid #e5e7eb; margin-top: 28px;
}
.eb-mobile-phone { font-size: 16px; color: #303030; }
.eb-mobile-insta  { font-size: 14px; color: #676767; }

/* ══════════════════════════════════════════════
   FOOTER — новий дизайн по Figma
   ══════════════════════════════════════════════ */

/* Ховаємо старий футер */
.sb-footer { display: none !important; }

.eb-footer {
  background: #303030;
  width: 100vw;
  margin-top: 80px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
}
.eb-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 129px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.eb-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.eb-footer-brand-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin: 0;
}
.eb-footer-brand-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin: 0;
}
.eb-footer-col {
  display: flex; flex-direction: column; gap: 14px;
}
.eb-footer-contact {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  transition: opacity .18s;
}
.eb-footer-contact:hover { opacity: .7; }
.eb-footer-contact--underline { text-decoration: underline; }
.eb-footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  transition: opacity .18s;
}
.eb-footer-link:hover { opacity: .7; }
.eb-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 129px 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(255,255,255,.4);
}

/* ══ АДАПТИВ ХЕДЕРА/ФУТЕРА ══ */
@media (max-width: 1100px) {
  .eb-header { padding: 0 32px 4px; height: 130px; }
  .eb-header-logo-img { height: 80px; }
  .eb-footer-inner { padding: 60px 32px; gap: 40px; }
  .eb-footer-bottom { padding: 20px 32px 28px; }
}

@media (max-width: 768px) {
  .eb-header {
    grid-template-columns: auto 1fr;
    padding: 0 16px;
    height: 72px;
  }
  .eb-header-logo-img { height: 52px; }
  .eb-header-nav { display: none; }
  .eb-header-phone { display: none; }
  .eb-header-right { gap: 12px; }
  .eb-burger { display: flex; }
  .eb-footer-inner { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 32px; }
  .eb-footer-bottom { padding: 16px 24px 24px; }
}

/* Footer instagram inline link */
.eb-footer-insta-link {
  color: #fff;
  text-decoration: underline;
  transition: opacity .18s;
}
.eb-footer-insta-link:hover { opacity: .7; }

/* Result body — параграфи через wpautop */
.eb-result-body p { margin: 0 0 16px; }
.eb-result-body p:last-child { margin-bottom: 0; }
.eb-result-body strong { font-weight: 500; color: #111827; }

/* ══════════════════════════════════════════════
   CATALOG PAGE — eb-cat-*
   ══════════════════════════════════════════════ */

/* Keyframes */
@keyframes eb-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes eb-fade-in {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1); }
}

.eb-cat-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 17px 0;
}

/* Сіра секція */
.eb-cat-section {
  background: #fafafa;
  border-radius: 40px;
  padding: 72px 56px 80px;
  margin-top: 48px !important;
  margin-bottom: 80px;
}

.eb-cat-inner {
  display: grid;
  grid-template-columns: 496fr 571fr;
  gap: 80px;
  align-items: stretch;
  max-width: 1250px;
}

/* ── Ліва колонка ── */
.eb-cat-left {
  display: flex;
  flex-direction: column;
}

.eb-cat-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 36px;
  color: #303030;
  margin: 0 0 16px;
  line-height: 1.1;
  /* Анімація 1 */
  animation: eb-fade-up 0.65s cubic-bezier(.22,.68,0,1.2) both;
  animation-delay: 0.05s;
}

.eb-cat-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #303030;
  line-height: 1.5;
  margin: 0 0 52px;
  max-width: 496px;
  /* Анімація 2 */
  animation: eb-fade-up 0.65s cubic-bezier(.22,.68,0,1.2) both;
  animation-delay: 0.15s;
}

/* Список колекцій */
.eb-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eb-cat-item {
  border-top: 1px solid #303030;
  /* Анімація 3 — stagger */
  opacity: 0;
  animation: eb-fade-up 0.6s cubic-bezier(.22,.68,0,1.2) forwards;
}
.eb-cat-item:nth-child(1) { animation-delay: 0.28s; }
.eb-cat-item:nth-child(2) { animation-delay: 0.42s; }
.eb-cat-item:nth-child(3) { animation-delay: 0.56s; border-bottom: 1px solid #303030; }

.eb-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  text-decoration: none;
  color: #303030;
  gap: 16px;
}

.eb-cat-link-name {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #303030;
  transition: color 0.2s;
}

/* Arrow SVG */
.eb-cat-arrow {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
}
.eb-cat-arrow svg {
  width: 62px;
  height: 62px;
  display: block;
  transition: transform 0.3s cubic-bezier(.22,.68,0,1.2);
}

/* Hover: ім'я темніє, arrow обертається */
.eb-cat-link:hover .eb-cat-link-name {
  color: #217161;
}
.eb-cat-link:hover .eb-cat-arrow svg {
  transform: rotate(45deg);
}
.eb-cat-link:hover .eb-cat-arrow {
  transform: scale(1.08);
}

/* ── Права колонка — фото ── */
.eb-cat-photo-wrap {
  position: relative;
  animation: eb-fade-in 0.9s cubic-bezier(.22,.68,0,1.2) both;
  animation-delay: 0.2s;
  overflow: hidden;
  border-radius: 40px;
  min-height: 400px;
}

.eb-cat-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  display: block;
  transition: transform 0.6s cubic-bezier(.22,.68,0,1.2);
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
}

.eb-cat-photo-wrap:hover .eb-cat-photo {
  transform: scale(1.03);
}

/* ── Маніфест ── */
.eb-cat-manifesto {
  background: #fafafa;
  padding: 80px 40px 80px;
  text-align: center;
  margin: 0 17px;
  border-radius: 40px;
  margin-bottom: 60px;
}

.eb-cat-manifesto-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #303030;
  line-height: 1.4;
  max-width: 1256px;
  margin: 0 auto;
}

/* ── Адаптив ── */
@media (max-width: 1024px) {
  .eb-cat-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .eb-cat-photo-wrap {
    order: -1;
  }
  .eb-cat-photo {
    aspect-ratio: 16/9;
  }
  .eb-cat-title { font-size: 32px; }
  .eb-cat-manifesto-text { font-size: 20px; }
}

@media (max-width: 600px) {
  .eb-cat-section { padding: 40px 24px 48px; }
  .eb-cat-title { font-size: 26px; }
  .eb-cat-link-name { font-size: 18px; }
  .eb-cat-arrow, .eb-cat-arrow svg { width: 44px; height: 44px; }
  .eb-cat-manifesto { padding: 48px 24px 64px; }
  .eb-cat-manifesto-text { font-size: 17px; }
}

/* ══════════════════════════════════════════════

/* ══════════════════════════════════════════════════
   SINGLE PRODUCT PAGE — eb-sp-*
   Pixel-perfect clone of Figma / PDF reference
   ══════════════════════════════════════════════════ */

/* ── Зовнішня обгортка — без padding, щоб wide-img та green-banner виходили на повну ширину ── */
.eb-sp-page {
  width: 100%;
  overflow-x: hidden;
}

/* ── Внутрішній контейнер з відступами — для всіх секцій крім full-width ── */
.eb-sp-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Заголовок — більший відступ зверху, роздільник #000 як у Figma ── */
.eb-sp-title {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 500;
  color: #303030;
  line-height: 1.1;
  margin: 64px 0 0;
  padding-bottom: 32px;
  border-bottom: 1px solid #000000;
}

/* ── Top grid ── */
.eb-sp-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 28px 0 80px;
  align-items: start;
}

/* Теги — один рядок, лейбл у рамці, значення під ним */
.eb-sp-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.eb-sp-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.eb-sp-tag-label {
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #303030 !important;
  line-height: 1.3 !important;
  border: 1px solid #217161 !important;
  border-radius: 100px !important;
  padding: 3px 14px !important;
  white-space: nowrap !important;
  text-align: center !important;
  background: transparent !important;
}

.eb-sp-tag-value {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 300 !important;
  color: #303030 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  padding: 0 !important;
}

/* Інтро — Inter Medium 17px */
.eb-sp-intro-bold {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #303030;
  line-height: 1.25;
  margin: 0 0 18px;
}

/* Опис — Inter Light 14px */
.eb-sp-intro-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #303030;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* Features */
.eb-sp-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eb-sp-feature {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.eb-sp-bullet {
  width: 7px;
  height: 7px;
  min-width: 7px;
  background: #217161;
  border-radius: 50%;
  margin-top: 7px;
}

/* Feature title */
.eb-sp-feature-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #303030;
  margin-bottom: 4px;
  line-height: 1.15;
}

/* Feature text */
.eb-sp-feature-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #303030;
  line-height: 1.15;
  margin: 0;
}

/* Purchase row */
.eb-sp-purchase {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 44px;
}

.eb-sp-qty-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.eb-sp-qty-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #303030;
}

.eb-sp-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #303030;
  border-radius: 100px;
  padding: 0 14px;
  height: 32px;
  gap: 10px;
}

.eb-sp-qty-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #303030;
  line-height: 1;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

.eb-sp-qty-val {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #303030;
  min-width: 14px;
  text-align: center;
}

.eb-sp-price {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #303030;
}

/* Кнопки */
.eb-sp-btns {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.eb-sp-btn-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #303030;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 13px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.eb-sp-btn-cart:hover { background: #1a1a1a; }

.eb-sp-btn-guide {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #303030;
  border: 1px solid #303030;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.eb-sp-btn-guide:hover {
  background: #303030;
  color: #fff;
}

/* ═══════════ ПРАВА КОЛОНКА: ГАЛЕРЕЯ ═══════════ */

.eb-sp-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eb-sp-main-img-wrap {
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 626 / 447;
  min-height: 300px;
  background: #f0f0f0;
}

.eb-sp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

/* Стрілки галереї */
.eb-sp-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.eb-sp-gallery-btn:hover { opacity: 1; }

.eb-sp-gallery-prev { left: 18px; }
.eb-sp-gallery-next { right: 18px; }

/* Мініатюри */
.eb-sp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.eb-sp-thumb {
  aspect-ratio: 200 / 119;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.7;
  width: 100%;
  display: block;
}

.eb-sp-thumb.active,
.eb-sp-thumb:hover {
  opacity: 1;
  border-color: #217161;
}

/* ═══════════ ЩО ВСЕРЕДИНІ ═══════════ */

.eb-sp-inside {
  padding: 70px 0;
  border-top: 1px solid #e8e8e8;
}

.eb-sp-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #303030;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.eb-sp-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #303030;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
  line-height: 1.65;
}

.eb-sp-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.eb-sp-col-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #303030;
  line-height: 1.15;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eb-sp-col-bullet {
  color: #217161;
  font-size: 18px;
  line-height: 1;
}

.eb-sp-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eb-sp-col-list li {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #303030;
  line-height: 1.6;
}

/* ═══════════ ШИРОКЕ ФОТО ═══════════ */

.eb-sp-wide-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.eb-sp-wide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════ СТАДІЇ ═══════════ */

.eb-sp-stages {
  padding: 70px 0;
}

.eb-sp-stages-list {
  max-width: 820px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eb-sp-stage {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: baseline;
}

.eb-sp-stage-badge {
  display: inline-flex;
  justify-content: center;
  border: 1px solid #303030;
  border-radius: 100px;
  padding: 4px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #303030;
  white-space: nowrap;
}

.eb-sp-stage-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #303030;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════ ЗЕЛЕНИЙ БАНЕР ═══════════ */

.eb-sp-green-banner {
  background: #217161;
  padding: 36px 24px;
  text-align: center;
  width: 100%;
}

.eb-sp-banner-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #fff;
  max-width: 1060px;
  margin: 0 auto;
  line-height: 1.6;
}

.eb-sp-banner-text strong { font-weight: 500; }

/* ═══════════ АДАПТИВ ═══════════ */

@media (max-width: 1200px) {
  .eb-sp-top { grid-template-columns: 1fr; gap: 36px; }
  .eb-sp-gallery { max-width: 620px; }
  .eb-sp-title { font-size: 40px; }
}

@media (max-width: 900px) {
  .eb-sp-wrap { padding: 0 24px; }
  .eb-sp-columns { grid-template-columns: 1fr; gap: 36px; }
  .eb-sp-stage { grid-template-columns: 90px 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  .eb-sp-title { font-size: 30px; }
  .eb-sp-purchase { flex-wrap: wrap; gap: 14px; }
  .eb-sp-btns { flex-direction: column; }
  .eb-sp-btn-cart, .eb-sp-btn-guide { justify-content: center; }
  .eb-sp-section-title { font-size: 20px; }
  .eb-sp-wide-img { height: 160px; }
  .eb-sp-stage { grid-template-columns: 1fr; gap: 6px; }
}