/*
 * kluzo-client-2026-08-29.css
 *
 * Client design system, 2026-08-29 delivery.
 * Source of truth: docs/requirements/2026-08-29-kluzo-client-mockup/
 *   - kluzo-full-mockup.html  (geometry; values are carried verbatim)
 *   - KLUZO_WEBSITE_SPEC.md   (--success, the single 768px breakpoint, the
 *                              burger-driven mobile menu the mockup omits)
 *
 * Two rules govern this file:
 *
 *  1. The mockup's numbers are final. Nothing here re-derives a value; each
 *     declaration below is the mockup's own, canonicalised only in whitespace.
 *
 *  2. The mockup is a standalone prototype with its own class vocabulary
 *     (.header-inner, .product-grid, …). Production renders BEM. So every
 *     shared component is declared on BOTH names: the prototype class, so the
 *     contract is legible against its source, and the production class the
 *     theme actually emits, so the layer changes the live site.
 *
 * Loaded last, after kluzko-final.css, so it owns presentation. It owns
 * presentation only: no commerce copy, no prices, no cart state. WooCommerce
 * keeps all of that.
 */

:root {
  --ink: #1A1A1A;
  --milk: #F8F7F4;
  --white: #FFFFFF;
  --powder: #E3C9BF;
  --stone: #B0AEA6;
  --signal: #C4281A;
  --border: #E8E6E1;
  /* Omitted by the mockup's homepage :root (the homepage draws no confirmation
     state); defined by its cart / checkout / cabinet blocks and by spec §0.1. */
  --success: #2E7D32;

  --font-display: 'Prata', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  --max-w: 1280px;
  --max-w-narrow: 960px;
}

.container,
.kluzko-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --------------------------------------------------------------------------
 * Announcement bar
 * ----------------------------------------------------------------------- */

.announcement,
.kluzko-announcement {
  background: var(--ink);
  color: var(--milk);
  text-align: center;
  padding: 10px var(--space-md);
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.announcement a,
.kluzko-announcement a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Sticky header
 * ----------------------------------------------------------------------- */

.header,
.kluzko-header {
  padding: 20px var(--space-md);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.header.scrolled,
.kluzko-header.is-scrolled {
  border-bottom-color: var(--border);
}

.header-inner,
.kluzko-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

/* The prototype's bare `1fr` tracks cannot shrink past min-content, which is
   how the wordmark pushes the document past a 390px viewport. Production keeps
   the same three-column rhythm and adds the floor the prototype lacks. */
.kluzko-header__inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.kluzko-header__inner > * {
  min-width: 0;
}

.header-nav,
.kluzko-header__nav {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.header-nav a,
.kluzko-header__nav a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3px;
  position: relative;
}

.header-nav a::after,
.kluzko-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.3s;
}

.header-nav a:hover::after,
.header-nav a.active::after,
.kluzko-header__nav a:hover::after,
.kluzko-header__nav a[aria-current]::after {
  width: 100%;
}

.header-logo,
.kluzko-header__wordmark {
  text-align: center;
}

.header-logo h1,
.kluzko-header__wordmark .kluzko-header__wordmark-main {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 5px;
  white-space: nowrap;
}

.kluzko-header__wordmark {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: baseline !important;
  gap: 5px !important;
  color: var(--ink) !important;
}

.kluzko-header__wordmark-main,
.kluzko-header__wordmark-sub {
  display: inline !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 5px !important;
  line-height: 1 !important;
}

.header-actions,
.kluzko-header__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
  align-items: center;
}

.header-actions a,
.kluzko-header__actions a {
  font-size: 13px;
  font-weight: 400;
}

.header-actions .cart-count,
.kluzko-header__actions .kluzko-count--cart {
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

/* WooCommerce hides the counter at zero via the `hidden` attribute; keep that
   authoritative over the flex display above. */
.kluzko-count--cart[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
 * Catalog dropdown
 * ----------------------------------------------------------------------- */

.catalog-dropdown,
.kluzko-catalog-menu__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 99;
}

.catalog-dropdown.open,
.kluzko-catalog-menu__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.kluzko-catalog-menu {
  position: static;
}

.catalog-dropdown-inner,
.kluzko-catalog-menu__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--space-xl);
}

.catalog-categories,
.kluzko-catalog-menu__groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-lg);
}

.catalog-group-label,
.kluzko-catalog-menu__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.catalog-categories ul,
.kluzko-catalog-menu__list {
  list-style: none;
}

.catalog-categories li,
.kluzko-catalog-menu__list li {
  margin-bottom: 12px;
}

.catalog-categories a,
.kluzko-catalog-menu__list a {
  font-size: 15px;
  font-weight: 400;
  transition: opacity 0.2s;
  display: inline-block;
}

.catalog-categories a:hover,
.kluzko-catalog-menu__list a:hover {
  opacity: 0.5;
}

.catalog-sale,
.kluzko-catalog-menu__list a.is-sale {
  color: var(--signal);
}

.catalog-featured,
.kluzko-catalog-menu__featured {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.catalog-featured-image,
.kluzko-catalog-menu__featured-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  flex: 1;
}

.catalog-featured-image img,
.kluzko-catalog-menu__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-featured-caption,
.kluzko-catalog-menu__featured-caption {
  font-size: 12px;
  color: var(--stone);
  margin-top: var(--space-xs);
  letter-spacing: 0.5px;
}

.catalog-close,
.kluzko-catalog-menu__close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--stone);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color 0.2s;
  z-index: 2;
}

.catalog-close:hover,
.kluzko-catalog-menu__close:hover {
  color: var(--ink);
}

.catalog-overlay,
.kluzko-catalog-menu__scrim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: -1;
}

.catalog-overlay.open,
.kluzko-catalog-menu__scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
 * Product card and grid
 * ----------------------------------------------------------------------- */

.product-grid,
.kluzko-grid,
.kluzko-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

/* Same four-up rhythm, with the shrink floor the prototype omits. */
.kluzko-grid,
.kluzko-catalog__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 100%;
}

.kluzko-grid > *,
.kluzko-catalog__grid > * {
  min-width: 0;
}

.product-card,
.kluzko-card {
  position: relative;
}

.product-card-image,
.kluzko-card__image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--milk);
  margin-bottom: var(--space-sm);
}

.product-card-image img,
.kluzko-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.5s ease;
}

.product-badge,
.kluzko-card__badge-slot > * {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: 20px;
  z-index: 2;
}

.product-badge.sale,
.kluzko-card__badge-slot > .is-sale {
  border-color: var(--signal);
  color: var(--signal);
}

.product-color-dot,
.kluzko-card__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
 * Filter bar and slide-in panel
 * ----------------------------------------------------------------------- */

.filter-bar,
.kluzko-filters {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  margin-bottom: var(--space-lg);
  position: sticky;
  top: 65px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  z-index: 50;
}

.filter-bar-inner,
.kluzko-filters__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

/* The pill rail scrolls inside its own box. Nothing scrolls the page. */
.filter-categories,
.kluzko-filters__active {
  display: flex;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-categories::-webkit-scrollbar,
.kluzko-filters__active::-webkit-scrollbar {
  display: none;
}

.filter-pill,
.kluzko-filters__trigger {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 24px;
  white-space: nowrap;
  transition: all 0.2s;
  color: var(--ink);
}

.filter-pill:hover,
.kluzko-filters__trigger:hover {
  border-color: var(--ink);
}

.filter-pill.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.filter-controls,
.kluzko-filters__actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-shrink: 0;
}

.filter-panel-overlay,
.kluzko-filters__scrim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.filter-panel-overlay.open,
.kluzko-filters__scrim.is-open {
  opacity: 1;
  visibility: visible;
}

.filter-panel,
.kluzko-filters__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
}

.filter-panel.open,
.kluzko-filters__panel.is-open {
  transform: translateX(0);
}

.filter-panel-header,
.kluzko-filters__head--panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.filter-group-title,
.kluzko-filters__summary {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  color: var(--stone);
}

.filter-option,
.kluzko-filters__form label {
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 20px;
  transition: all 0.2s;
  color: var(--ink);
}

.filter-option.selected,
.kluzko-filters__form label.is-selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.filter-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  background: transparent;
  transition: border-color 0.2s;
}

.filter-color-btn:hover,
.filter-color-btn.selected {
  border-color: var(--ink);
}

.filter-apply,
.kluzko-filters__apply {
  flex: 1;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.filter-reset,
.kluzko-filters__reset {
  padding: 14px 20px;
  background: transparent;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--stone);
}

/* --------------------------------------------------------------------------
 * Product page and gallery
 * ----------------------------------------------------------------------- */

.product-page,
.kluzko-pdp__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  align-items: start;
}

.kluzko-pdp__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.kluzko-pdp__layout > * {
  min-width: 0;
}

.gallery,
.kluzko-pdp__gallery-col {
  position: sticky;
  top: 90px;
}

.gallery-main,
.kluzko-pdp__gallery .woocommerce-product-gallery__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--milk);
  margin-bottom: var(--space-sm);
  position: relative;
}

.gallery-thumbs,
.kluzko-pdp__gallery .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.color-btn,
.kluzko-card__swatches .kluzko-card__swatch--selectable {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 3px;
  background: transparent;
  transition: border-color 0.2s;
}

.size-btn,
.kluzko-size {
  min-width: 52px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid var(--border);
  background: transparent;
  text-align: center;
  transition: all 0.2s;
  color: var(--ink);
}

.size-btn:hover,
.kluzko-size:hover {
  border-color: var(--ink);
}

.size-btn.active,
.kluzko-size.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.size-btn.out,
.kluzko-size.is-out {
  color: var(--stone);
  border-color: var(--border);
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
}

.add-to-cart,
.kluzko-pdp__atc button[type='submit'] {
  width: 100%;
  max-width: 440px;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
  margin-bottom: var(--space-sm);
}

.details-accordion,
.kluzko-pdp__accordions {
  border-top: 1px solid var(--border);
  max-width: 440px;
}

.accordion-item,
.kluzko-acc {
  border-bottom: 1px solid var(--border);
}

.accordion-header,
.kluzko-acc__summary {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink);
}

/* Production's <summary> carries no icon element, so the plus is drawn here
   rather than asking the renderer for extra markup. */
.kluzko-acc__summary::-webkit-details-marker {
  display: none;
}

.kluzko-acc__summary {
  list-style: none;
  cursor: pointer;
}

.accordion-icon,
.kluzko-acc__summary::after {
  content: '+';
  font-size: 18px;
  color: var(--stone);
  transition: transform 0.3s;
  font-weight: 300;
}

.accordion-item.open .accordion-icon,
.kluzko-acc[open] .kluzko-acc__summary::after {
  transform: rotate(45deg);
}

/* Production renders these as native <details>, which owns the collapsed
   state; the animated height therefore applies only while open. Clamping
   `.kluzko-acc__body` to 0 unconditionally would blank an open accordion. */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-item.open .accordion-body {
  max-height: 1200px;
}

.kluzko-acc__body {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

/* --------------------------------------------------------------------------
 * Newsletter, Instagram rail, footer
 * ----------------------------------------------------------------------- */

.newsletter-inner,
.kluzko-subscribe {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form,
.kluzko-subscribe__form {
  display: flex;
  gap: 0;
  border: 1px solid var(--ink);
  max-width: 100%;
}

.newsletter-form input,
.kluzko-subscribe__input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: none;
  font-size: 14px;
  font-family: var(--font-body);
  background: transparent;
  outline: none;
}

.newsletter-form button,
.kluzko-subscribe__submit {
  padding: 14px 28px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.instagram-grid,
.kluzko-instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.kluzko-instagram__grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 100%;
}

.instagram-grid .ig-item,
.kluzko-instagram__tile {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--milk);
  position: relative;
}

.instagram-grid .ig-item img,
.kluzko-instagram__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.footer,
.kluzko-footer {
  background: var(--ink);
  color: var(--milk);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.footer-inner,
.kluzko-footer__top {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.kluzko-footer__top > * {
  min-width: 0;
}

.footer-brand h3,
.kluzko-footer__logo {
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.footer-brand h3 .logo-top,
.kluzko-footer__wordmark-main {
  display: block;
  letter-spacing: 6px;
}

.footer-brand h3 .logo-bottom,
.kluzko-footer__wordmark-sub {
  display: block;
  letter-spacing: 2px;
}

.footer-col h4,
.kluzko-footer__heading {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.footer-col ul,
.kluzko-footer__list {
  list-style: none;
}

.footer-col li,
.kluzko-footer__list li {
  margin-bottom: 10px;
}

.footer-col a,
.kluzko-footer__list a {
  font-size: 13px;
  color: var(--stone);
  transition: color 0.3s;
}

.footer-col a:hover,
.kluzko-footer__list a:hover {
  color: var(--milk);
}

.footer-bottom,
.kluzko-footer__meta {
  max-width: var(--max-w);
  margin: var(--space-lg) auto 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--stone);
}

.footer-socials,
.kluzko-footer__socials {
  display: flex;
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
 * Mobile menu (spec §0.5 / §0.7)
 *
 * The full mockup draws the desktop nav only and omits the mobile menu markup,
 * but the written spec is explicit and does not contradict anything the mockup
 * draws: below the breakpoint the nav is replaced by a burger and a slide-in
 * panel. Geometry here follows the mockup's other slide-in (.filter-panel).
 * ----------------------------------------------------------------------- */

.header-burger,
.kluzko-header__menu {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  color: var(--ink);
  font-size: 13px;
}

.mobile-menu,
.kluzko-panel__sheet {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--white);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open,
.kluzko-panel:not([hidden]) .kluzko-panel__sheet {
  transform: translateX(0);
}

.mobile-menu-overlay,
.kluzko-panel__scrim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 200;
}

/* --------------------------------------------------------------------------
 * Homepage composition (.kluzko-home-*).
 *
 * These hooks live on the front-page template, not on the shortcodes: the
 * shortcodes are shared with Collections, the catalogue and the footer, so the
 * home-only geometry is carried by the wrappers around them. Every rule below
 * binds to the class the theme actually emits today — .kluzko-hero__inner,
 * .kluzko-hero__media, .kluzko-grid, .kluzko-subscribe — so this layer moves
 * the live DOM rather than a parallel vocabulary.
 * ----------------------------------------------------------------------- */

/* Full-bleed band. The page main is a constrained layout, so the hero escapes
   it with a margin pull rather than by un-constraining main (which would also
   widen the Instagram and footer bands).
   Deliberately margin-only: the `position:relative; left:50%` spelling of this
   idiom shifts the box 50% of the parent to the right and the negative
   margin-right does not undo a positioned offset — measured here as a 2160px
   document at a 1440px viewport. calc(50% - 50vw) moves the box in the layout
   itself, so nothing overflows. */
main.kluzko-home > section.kluzko-home-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kluzko-home-hero .kluzko-hero {
  margin: 0;
  padding: 0;
  background: var(--milk);
}

/* 85vh desktop. min-height, not height: with no campaign image attached the
   capsule hero renders a single text column, and a hard height would frame it
   in empty space. */
.kluzko-home-hero .kluzko-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 85vh;
  max-width: var(--wp--custom--kluzko-maxw, 1280px);
  margin: 0 auto;
  padding: var(--space-xl, 64px) var(--space-md, 24px);
  gap: var(--space-lg, 48px);
}

/* Image-backed split, only once the editor has actually attached media. No URL
   is declared here — the <img> inside .kluzko-hero__media is the source. */
.kluzko-home-hero .kluzko-hero--has-media .kluzko-hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.kluzko-home-hero .kluzko-hero__copy {
  max-width: 520px;
}

.kluzko-home-hero .kluzko-hero__media {
  margin: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.kluzko-home-hero .kluzko-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  object-fit: cover;
  object-position: center;
}

/* Section rhythm shared by Нові товари / Бестселери / newsletter. */
.kluzko-home-section {
  padding-top: var(--space-xl, 64px);
  padding-bottom: var(--space-xl, 64px);
}

.kluzko-home-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm, 16px);
  margin-bottom: var(--space-lg, 48px);
}

.kluzko-home-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
}

.kluzko-home-section__link a {
  font-family: var(--font-body);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border);
}

.kluzko-home-section .kluzko-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* The milk band. Same full-bleed pull as the hero so the tone runs edge to
   edge while the grid inside stays on the page measure. */
main.kluzko-home > section.kluzko-home-section--milk {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--milk);
  padding-left: var(--space-md, 24px);
  padding-right: var(--space-md, 24px);
}

/* Newsletter. [kluzko_subscribe_form] returns '' with no provider wired, so the
   section is emptied rather than left as a padded gap. */
.kluzko-home-newsletter:not(:has(.kluzko-subscribe)) {
  display: none;
}

.kluzko-home-newsletter .kluzko-subscribe {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.kluzko-home-newsletter .kluzko-subscribe__row {
  display: flex;
  gap: var(--space-xs, 8px);
}

/* --------------------------------------------------------------------------
 * Catalog archive production layout overrides
 * ----------------------------------------------------------------------- */

/* `.kluzko-filters` was an in-flow sticky sidebar in the superseded dark
   direction. The client contract keeps only its bar sticky; leaving the parent
   sticky also turns the fixed panel into a small, transformed containing block. */
.kluzko-catalog__header {
  text-align: center;
  padding: var(--space-lg) 0 var(--space-md);
}

.kluzko-catalog__header .kluzko-breadcrumbs {
  display: none;
}

.kluzko-catalog__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  margin: 0 0 8px;
}

.kluzko-filters.is-open .kluzko-filters__panel {
  transform: translateX(0) !important;
}

.kluzko-filters.is-open .kluzko-filters__scrim {
  visibility: visible !important;
  opacity: 1 !important;
}

.kluzko-catalog__head {
  width: 100%;
}

.kluzko-catalog__body,
.kluzko-catalog__results {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.kluzko-filters {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 var(--space-lg) !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  transform: none !important;
  contain: none !important;
  z-index: auto !important;
  overflow: visible !important;
}

.kluzko-filters__bar {
  position: sticky;
  top: 65px;
  z-index: 50;
  width: 100%;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.kluzko-filters__bar-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
}

.kluzko-filters__rail {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.kluzko-filters__rail::-webkit-scrollbar {
  display: none;
}

.kluzko-rail__item {
  flex: 0 0 auto;
  margin: 0 !important;
  list-style: none;
}

.kluzko-rail__link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.kluzko-rail__link.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.kluzko-filters__controls {
  display: flex !important;
  align-items: center;
  gap: var(--space-sm);
  flex: 0 0 auto;
}

.kluzko-filters__controls .woocommerce-ordering,
.kluzko-filters__controls .woocommerce-ordering select {
  margin: 0;
}

.kluzko-filters__panel {
  position: fixed !important;
  inset: 0 0 0 auto !important;
  width: 380px !important;
  max-width: 90vw;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 301 !important;
  overflow-y: auto !important;
  background: var(--white) !important;
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform .25s ease, visibility 0s linear .25s;
}

.kluzko-filters.is-open .kluzko-filters__panel {
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transition-delay: 0s !important;
}

.kluzko-filters__scrim {
  position: fixed !important;
  inset: 0 !important;
  z-index: 300 !important;
}

.kluzko-catalog__grid .kluzko-card {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kluzko-catalog__grid .kluzko-card__image-wrap,
.kluzko-catalog__grid .kluzko-card__image-link,
.kluzko-catalog__grid .kluzko-card__img {
  width: 100% !important;
  max-width: none !important;
}

.kluzko-catalog__grid .kluzko-card__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  width: 100%;
}

.kluzko-catalog__grid .kluzko-card__title,
.kluzko-catalog__grid .kluzko-card__price {
  margin: 0;
  font-size: 14px;
}

.kluzko-pdp > .page-header {
  padding: 24px 0;
  margin: 0;
}

.kluzko-pdp__summary {
  align-self: start;
  padding-top: 0;
}

.kluzko-pdp__summary .kluzko-pdp__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
}

.kluzko-pdp__price {
  margin-bottom: var(--space-md);
  font-size: 20px;
  font-weight: 500;
}

.kluzko-pdp__related {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
}

.kluzko-pdp__related-heading {
  margin: 0 0 var(--space-lg);
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
}

.kluzko-filters__trigger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
 * Native Woo functional pages mapped to the client layouts
 * ----------------------------------------------------------------------- */

.kluzko-cart-page,
.kluzko-checkout-page {
  width: 100%;
  max-width: var(--max-w) !important;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.kluzko-cart-page__header,
.kluzko-checkout-page__header {
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.kluzko-cart-page__heading,
.kluzko-checkout-page__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
}

.kluzko-cart-page .entry-content,
.kluzko-checkout-page .entry-content,
.kluzko-cart-page .wp-block-woocommerce-cart,
.kluzko-checkout-page .wp-block-woocommerce-checkout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.kluzko-cart-page .wc-block-components-sidebar-layout,
.kluzko-checkout-page .wc-block-components-sidebar-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: var(--space-lg);
  align-items: start;
}

.kluzko-checkout-page .wc-block-components-sidebar-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
}

.kluzko-cart-page .wc-block-components-main,
.kluzko-checkout-page .wc-block-components-main,
.kluzko-cart-page .wc-block-components-sidebar,
.kluzko-checkout-page .wc-block-components-sidebar {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kluzko-cart-page .wc-block-components-sidebar,
.kluzko-checkout-page .wc-block-components-sidebar {
  position: sticky;
  top: 90px;
  padding: var(--space-md) !important;
  background: var(--milk);
}

.kluzko-cart-page .wc-block-cart-items__row,
.kluzko-checkout-page .wc-block-components-checkout-step {
  border-color: var(--border);
}

.kluzko-cart-page .wc-block-cart-item__image {
  width: 120px;
}

.kluzko-cart-page .wc-block-components-button,
.kluzko-checkout-page .wc-block-components-button {
  min-height: 48px;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kluzko-checkout-page .wc-block-components-text-input input,
.kluzko-checkout-page .wc-blocks-components-select__select {
  border-radius: 0;
  border-color: var(--border);
}

.kluzko-account {
  width: 100%;
  max-width: 440px !important;
  margin: 0 auto;
  padding: var(--space-lg) 0 var(--space-xl);
}

.kluzko-account .page-header {
  text-align: center;
}

.kluzko-account .woocommerce-form-login,
.kluzko-account .woocommerce-form-register {
  padding: var(--space-md);
  border: 1px solid var(--border);
  border-radius: 0;
}

.kluzko-account .woocommerce-Input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.kluzko-account .woocommerce-button {
  min-height: 48px;
  padding: 0 28px;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Honest content pages retain owner-controlled copy, but use the client rhythm. */
.kluzko-brand__sections {
  display: grid;
  gap: 0;
}

.kluzko-brand__section {
  padding: var(--space-xl) clamp(24px, 8vw, 120px);
  border-top: 1px solid var(--border);
}

.kluzko-brand__section:nth-child(even) {
  background: var(--milk);
}

.kluzko-brand__heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
}

.kluzko-brand__section .kluzko-fallback-copy {
  max-width: 720px;
  color: var(--stone);
  line-height: 1.8;
}

.kluzko-demo-content[data-kluzko-demo-content='contact'] {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.kluzko-demo-content__title,
.kluzko-demo-content__heading {
  font-family: var(--font-display);
  font-weight: 400;
}

.kluzko-demo-content__section {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
 * The one approved breakpoint: 768px (spec — «Один breakpoint: 768px»).
 *
 * The prototype's own mobile captures overflow a 390px viewport on 7 of 8
 * pages. That is a defect of the standalone HTML, not a requirement, so this
 * block also contains the document explicitly.
 * ----------------------------------------------------------------------- */

@media (max-width: 768px) {
  #kluzko-header,
  .kluzko-header {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 !important;
  }

  .kluzko-header__inner {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: 64px !important;
    grid-template-areas: none !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 16px !important;
  }

  .kluzko-header__nav,
  .kluzko-header__search-details,
  .kluzko-header__wishlist,
  .kluzko-header__account {
    display: none !important;
  }

  .kluzko-header__menu {
    display: inline-flex !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    font-size: 0 !important;
    justify-content: center !important;
  }

  .kluzko-header__wordmark {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 4px !important;
    min-width: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    white-space: nowrap !important;
  }

  .kluzko-header__wordmark-main,
  .kluzko-header__wordmark-sub {
    display: inline !important;
    font: inherit !important;
    letter-spacing: inherit !important;
  }

  .kluzko-header__actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .kluzko-header__cart {
    display: inline-flex !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .header-nav,
  .kluzko-header__nav,
  .kluzko-catalog-menu {
    display: none;
  }

  .header-burger,
  .kluzko-header__menu {
    display: inline-flex;
  }

  .header-inner,
  .kluzko-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .kluzko-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-logo,
  .kluzko-header__wordmark {
    text-align: center;
  }

  .product-grid,
  .kluzko-grid,
  .kluzko-catalog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .kluzko-grid,
  .kluzko-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-grid,
  .kluzko-instagram__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .kluzko-instagram__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner,
  .kluzko-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .kluzko-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .filter-bar-inner,
  .kluzko-filters__head {
    flex-wrap: wrap;
  }

  .kluzko-filters__bar-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .kluzko-filters__rail {
    flex: 0 0 100%;
    width: 100%;
  }

  .kluzko-filters__controls {
    width: 100%;
    justify-content: space-between;
  }

  .filter-controls,
  .kluzko-filters__actions {
    width: 100%;
    justify-content: space-between;
  }

  .product-page,
  .kluzko-pdp__layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .gallery,
  .kluzko-pdp__gallery-col {
    position: static;
  }

  .gallery-thumbs,
  .kluzko-pdp__gallery .flex-control-thumbs {
    grid-template-columns: repeat(5, 1fr);
  }

  .add-to-cart,
  .details-accordion,
  .kluzko-pdp__atc button[type='submit'],
  .kluzko-pdp__accordions {
    max-width: 100%;
  }

  .kluzko-account {
    padding: var(--space-md) var(--space-md) var(--space-lg);
  }

  .kluzko-cart-page,
  .kluzko-checkout-page {
    padding: var(--space-md) var(--space-md) var(--space-lg);
  }

  .kluzko-cart-page .wc-block-components-sidebar-layout,
  .kluzko-checkout-page .wc-block-components-sidebar-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
  }

  .kluzko-cart-page .wc-block-components-sidebar,
  .kluzko-checkout-page .wc-block-components-sidebar {
    position: static;
  }

  .kluzko-cart-page .wc-block-cart-item__image {
    width: 90px;
  }

  .kluzko-brand__section {
    padding: var(--space-lg) var(--space-md);
  }

  /* Home: 65vh hero, single column, and the two full-bleed bands pulled with
     100% instead of 100vw. At 390px a 100vw pull counts the scrollbar gutter on
     some engines and pushes the document past the viewport — the prototype's
     own 477px mobile overflow. Percentages keep it contained. */
  main.kluzko-home > section.kluzko-home-hero,
  main.kluzko-home > section.kluzko-home-section--milk {
    width: auto;
    max-width: none;
    margin-left: calc(var(--kf-space-md, 24px) * -1);
    margin-right: calc(var(--kf-space-md, 24px) * -1);
  }

  .kluzko-home-hero .kluzko-hero__inner,
  .kluzko-home-hero .kluzko-hero--has-media .kluzko-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 65vh;
    padding: var(--space-lg, 48px) var(--space-md, 24px);
    gap: var(--space-md, 24px);
  }

  .kluzko-home-hero .kluzko-hero__copy {
    max-width: 100%;
  }

  .kluzko-home-hero .kluzko-hero__img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .kluzko-home-section {
    padding-top: var(--space-lg, 48px);
    padding-bottom: var(--space-lg, 48px);
  }

  .kluzko-home-section__head {
    margin-bottom: var(--space-md, 24px);
  }

  .kluzko-home-section .kluzko-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kluzko-home-newsletter .kluzko-subscribe__row {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   BRAND PAGE — kluzo-full-mockup.html #page-brand
   --------------------------------------------------------------------------
   Values are carried from the original as-is. The page is full-bleed by
   design: `templates/page-brand.html` uses an unconstrained `main` and each
   band owns its own width, exactly as `.brand-hero` / `.split` / `.values` do
   in the source.

   Photo positions in the original are captioned `.placeholder` shells, never
   `<img>`. The theme renders `.kluzo-brand-photo`, which is that shell until
   an editor attaches a real attachment — the geometry is identical either way,
   so wiring photography later moves nothing.
   ========================================================================== */

/* `.kluzko-page` (kluzko-final.css §6) caps every ordinary page at the content
   width and adds a 24px inset. Both client pages are drawn edge-to-edge in the
   original — the 70vh hero, the splits, the quote band and the map band all
   bleed — so the two client mains opt out and each band owns its own width.
   Without this the first render letterboxed every band inside a 1280px column,
   which is precisely the composition failure the 2026-09-02 gate recorded. */
.kluzko-brand--client,
.kluzko-contacts--client {
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.kluzo-brand-client {
  --kluzo-brand-shell: var(--milk);
}

/* Shells and real photography share one box, so swapping one for the other
   cannot change the layout. */
.kluzo-brand-photo {
  width: 100%;
  height: 100%;
  background: var(--kluzo-brand-shell);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kluzo-brand-photo__img,
.kluzo-brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kluzo-brand-photo__caption {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.5px;
  text-align: center;
  padding: var(--space-sm);
  max-width: 32ch;
}

.brand-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  max-height: 750px;
  overflow: hidden;
  background: var(--milk);
}

.brand-hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md);
}

.brand-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 700px;
  margin: 0;
}

.text-block,
.kluzo-text-block {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.text-block p,
.kluzo-text-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.text-block p:last-child,
.kluzo-text-block p:last-child {
  margin-bottom: 0;
}

.full-image {
  overflow: hidden;
}

.full-image .kluzo-brand-photo {
  aspect-ratio: 21/9;
  min-height: 350px;
  background: var(--powder);
}

.split,
.kluzo-brand-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

/* The original's bare `1fr` tracks cannot shrink past min-content; the same
   shrink floor the header and catalog grids already carry applies here, so a
   long unbreakable title cannot push the band wider than the viewport. */
.split > *,
.kluzo-brand-split > * {
  min-width: 0;
}

.split.reverse .split-image {
  order: 2;
}

.split.reverse .split-text {
  order: 1;
}

.split-image {
  overflow: hidden;
  background: var(--milk);
}

.split-image .kluzo-brand-photo {
  min-height: 500px;
}

.split-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.split-text-inner {
  max-width: 420px;
}

.split-eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-sm);
}

.split-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.split-body {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.8;
}

.quote-section {
  background: var(--ink);
  color: var(--milk);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.quote-attr {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
}

.values {
  padding: var(--space-xl) var(--space-md);
}

.values-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.values-grid > * {
  min-width: 0;
}

.value-item {
  text-align: center;
  padding: var(--space-md);
}

.value-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.value-desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.7;
}

/* The newsletter band is drawn by the original whether or not a provider is
   wired, so the shell always renders. Unwired, it renders inert — and says so
   — rather than pretending to accept an address. */
.newsletter-form--inert input,
.newsletter-form--inert button {
  opacity: 0.55;
  cursor: not-allowed;
}

.newsletter-note {
  font-size: 12px;
  color: var(--stone);
  margin-top: var(--space-sm);
}

/* ==========================================================================
   CONTACTS PAGE — kluzo-full-mockup.html #page-contacts
   ========================================================================== */

.page-subtitle {
  font-size: 14px;
  color: var(--stone);
  max-width: 480px;
  margin: 0 auto;
}

.kluzo-contacts-client .page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

.kluzo-contacts-client .page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.contacts-layout > * {
  min-width: 0;
}

.contact-info {
  padding-top: var(--space-sm);
}

.contact-block {
  margin-bottom: var(--space-lg);
}

.contact-block-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.contact-block-value {
  font-size: 15px;
  line-height: 1.8;
}

.contact-block-value a {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.contact-block-value a:hover {
  border-color: var(--ink);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xs);
  flex-wrap: wrap;
}

.contact-social {
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.contact-social:hover {
  border-color: var(--ink);
}

.contact-hours {
  margin-top: var(--space-xs);
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  max-width: 280px;
  font-size: 14px;
  padding: 4px 0;
}

.contact-hours-row span:last-child {
  color: var(--stone);
}

/* An unconfirmed value keeps its slot and its geometry and reads as pending,
   never as a fact and never as a broken page. */
.kluzo-contact-pending,
.contact-social--pending {
  color: var(--stone);
  font-size: 13px;
  font-style: normal;
}

.contact-social--pending {
  border-bottom: 1px dashed var(--border);
  padding-bottom: 1px;
}

.contact-form-wrapper {
  background: var(--milk);
  padding: var(--space-lg);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.contact-form-desc {
  font-size: 13px;
  color: var(--stone);
  margin-bottom: var(--space-md);
}

.kluzo-contacts-client .form-group {
  margin-bottom: var(--space-sm);
}

.kluzo-contacts-client .form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--ink);
}

.form-input::placeholder {
  color: var(--stone);
}

.kluzo-contacts-client .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.kluzo-contacts-client .form-row > * {
  min-width: 0;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23B0AEA6' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: var(--white);
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
  margin-top: var(--space-xs);
}

.form-submit:hover {
  opacity: 0.85;
}

.form-submit--inert,
.form-submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.kluzo-contact-form-note {
  font-size: 12px;
  color: var(--stone);
  line-height: 1.6;
  margin-top: var(--space-sm);
}

/* The original embeds no map either — this band is a shell in the source, so
   the theme ships no third-party frame and no external request. */
.map-section {
  width: 100%;
  aspect-ratio: 21/7;
  min-height: 300px;
  background: var(--milk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--stone);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: var(--space-md);
}

.faq-section {
  padding: var(--space-xl) 0;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: 18px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  color: var(--stone);
  transition: transform 0.3s;
  font-weight: 300;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: 18px;
  font-size: 14px;
  color: var(--stone);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .split,
  .kluzo-brand-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  /* With one column, the source's `order` swap would push the image below its
     own text on the reversed band. Image first, everywhere. */
  .split.reverse .split-image {
    order: 0;
  }

  .split.reverse .split-text {
    order: 0;
  }

  .split-image .kluzo-brand-photo {
    min-height: 0;
    aspect-ratio: 3/4;
  }

  .split-text {
    padding: var(--space-lg) var(--space-md);
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-form-wrapper {
    padding: var(--space-md);
  }

  .kluzo-contacts-client .form-row {
    grid-template-columns: 1fr;
  }

  .contact-hours-row {
    max-width: none;
  }
}
