/*
Theme Name: Fenomen
Theme URI: https://fenomen.ua/
Author: Fenomen
Author URI: https://fenomen.ua/
Description: Clean starter WordPress theme for Fenomen.
Version: 1.0.76
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: fenomen
*/

:root {
  --fenomen-bg: #000000;
  --fenomen-page-bg: #f2f3f5;
  --fenomen-surface: #ffffff;
  --fenomen-text: #ffffff;
  --fenomen-muted: rgba(255, 255, 255, 0.8);
  --fenomen-brand-red: #82252f;
  --fenomen-brand-red-hover: #6b1e26;
  /* Shared height for intro/split decor icons (centered to text column). */
  --fenomen-decor-height: clamp(96px, 11vw, 140px);
  --fenomen-btn-gap: 2px;
  --fenomen-btn-radius: 0;
  --fenomen-btn-height: 44px;
  --fenomen-btn-font: 0.88rem;
  --fenomen-btn-label-pad-x: 18px;
  --fenomen-btn-letter: 0.02em;
  --fenomen-btn-arrow-size: 44px;
  --fenomen-btn-arrow-font: 1.35rem;
  --fenomen-mountains-pad-y: clamp(110px, 13vw, 180px);
  --fenomen-page-pad-x: 15px;
  /* Body / paragraph copy size (headings keep their own scale). */
  --fenomen-text-size: 18px;
  /* H2 always stays above large body copy. */
  --fenomen-h2-size: clamp(2.35rem, 3.6vw, 3rem);
  --fenomen-h2-weight: 500;
  --fenomen-h2-line: 1.18;
  --fenomen-copy-lg-size: 18px;
  --fenomen-copy-lg-weight: 400;
  --fenomen-copy-lg-line: 1.45;
}

@media (max-width: 800px) {
  :root {
    --fenomen-text-size: 16px;
    --fenomen-copy-lg-size: 16px;
    --fenomen-h2-size: clamp(1.75rem, 6.2vw, 2.35rem);
    --fenomen-h2-line: 1.22;
  }
}

/* Section H2 scale — use tokens; heroes / tiny UI headings keep local overrides. */
.home-block-about__title,
.home-block-sample__title,
.home-block-blog__title,
.home-block-collections__title,
.home-block-catalog__title,
.partners-split__title,
.partners-split__content h2,
.partners-audience__title,
.partners-components__title,
.partners-cta__title,
.partners-form-card__title,
.about-partner__title,
.catalog-landing__title,
.catalogs-sample-cta__content h2,
.promo-offers-archive__title,
.promo-offer-page__title,
.contacts-form-card__title {
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  text-transform: uppercase;
}


/* Headings: no tracking */
h1,
h2,
h3,
h4,
h5,
h6,
[class*="__title"],
[class*="-title"] {
  letter-spacing: normal;
}


/* Shared carousel prev/next (collections, partners, offers, promo) */
.fenomen-carousel-nav,
.home-block-collections__nav {
  position: relative;
  z-index: 6;
  display: inline-flex;
  align-items: stretch;
  gap: var(--fenomen-btn-gap, 2px);
  flex-shrink: 0;
  border-radius: var(--fenomen-btn-radius, 0);
  overflow: hidden;
  background: transparent;
  pointer-events: auto;
}

.fenomen-carousel-arrow,
.home-block-collections__arrow,
.partners-distributor__arrow,
.home-block-promo__arrow,
.home-block-blog__arrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--fenomen-btn-arrow-size, 44px);
  height: var(--fenomen-btn-height, 44px);
  padding: 0;
  border: 0;
  margin: 0;
  background: var(--fenomen-brand-red, #82252f);
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease;
}

.fenomen-carousel-arrow--prev,
.home-block-collections__arrow--prev,
.partners-distributor__arrow--prev,
.home-block-promo__arrow--prev,
.home-block-blog__arrow--prev {
  border-radius: var(--fenomen-btn-radius, 0) 0 0 var(--fenomen-btn-radius, 0);
}

.fenomen-carousel-arrow--next,
.home-block-collections__arrow--next,
.partners-distributor__arrow--next,
.home-block-promo__arrow--next,
.home-block-blog__arrow--next {
  border-radius: 0 var(--fenomen-btn-radius, 0) var(--fenomen-btn-radius, 0) 0;
}

.fenomen-carousel-arrow:hover,
.fenomen-carousel-arrow:focus-visible,
.home-block-collections__arrow:hover,
.home-block-collections__arrow:focus-visible,
.partners-distributor__arrow:hover,
.partners-distributor__arrow:focus-visible,
.home-block-promo__arrow:hover,
.home-block-promo__arrow:focus-visible,
.home-block-blog__arrow:hover,
.home-block-blog__arrow:focus-visible {
  background: var(--fenomen-brand-red-hover, #6b1e26);
  outline: none;
}

.fenomen-carousel-arrow__icon,
.home-block-collections__arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.fenomen-carousel-arrow__icon svg,
.home-block-collections__arrow-icon svg {
  display: block;
}

@media (max-width: 700px) {
  .fenomen-carousel-arrow,
  .home-block-collections__arrow,
  .partners-distributor__arrow,
  .home-block-promo__arrow,
  .home-block-blog__arrow {
    width: 34px;
    height: 34px;
  }

  .fenomen-carousel-arrow__icon svg,
  .home-block-collections__arrow-icon svg {
    width: 14px;
    height: 14px;
  }
}

@font-face {
  font-family: "Sweet Mavka Script";
  src:
    url("assets/fonts/SweetMavkaScript.woff") format("woff"),
    url("assets/fonts/SweetMavkaScript.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: var(--fenomen-text-size, 18px);
  line-height: 1.45;
  background: var(--fenomen-bg);
  color: var(--fenomen-text);
}

.site-footer,
main {
  position: relative;
  z-index: 1;
}

/* Custom cursor — hidden everywhere by default (prevents layout flash on touch). */
.fenomen-cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: none !important;
  }

  .fenomen-cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100300;
    width: 36px;
    height: 36px;
    pointer-events: none;
    will-change: transform;
    opacity: 1;
    transition: opacity 0.15s ease;
  }

  .fenomen-cursor.is-hidden {
    opacity: 0;
  }

  .fenomen-cursor-spin {
    display: block;
    width: 100%;
    height: 100%;
    animation: fenomen-cursor-spin 16s linear infinite;
    transform-origin: center center;
  }

  .fenomen-cursor.is-paused .fenomen-cursor-spin {
    animation-play-state: paused;
  }
}

@keyframes fenomen-cursor-spin {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(135deg);
  }

  42% {
    transform: rotate(185deg);
  }

  62% {
    transform: rotate(285deg);
  }

  82% {
    transform: rotate(330deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fenomen-cursor-spin {
    animation: none !important;
  }
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-toggle {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  width: 36px;
  height: 36px;
  cursor: pointer;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo img {
  width: auto;
  height: 52px;
}

/* Span replaces <a> on the language home URL (no self-link). */
.site-logo .custom-logo-link {
  display: inline-block;
  line-height: 0;
}

.site-title {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
}

.site-title a {
  text-decoration: none;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
}

.menu a {
  text-decoration: none;
  color: var(--fenomen-muted);
}

.menu a:hover,
.menu .current-menu-item > a {
  color: var(--fenomen-text);
}

.lang-switcher {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.lang-switcher li a {
  display: inline-block;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.lang-switcher li.is-active a {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.contact-toggle {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  padding: 10px 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.contact-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-main {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 48px 0;
}

.page-title {
  margin-top: 0;
}

.post {
  margin-bottom: 36px;
}

.post-title {
  margin: 0 0 10px;
}

.post-meta {
  margin: 0 0 14px;
  color: var(--fenomen-muted);
  font-size: 0.95rem;
}

.hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.hero-title {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.8vw, 3rem);
}

.hero-text {
  margin: 12px auto 0;
  max-width: 72ch;
  line-height: 1.7;
  color: var(--fenomen-muted);
}

.hero-strong {
  margin: 18px 0 0;
  font-weight: 700;
}

.showrooms {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 22px;
}

.showrooms-title {
  margin: 0 0 12px;
}

.showrooms-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.instagram {
  margin: 18px 0 0;
}

.entry-content {
  line-height: 1.7;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.catalog-page {
  display: grid;
  gap: 24px;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.catalog-count {
  margin: 0;
  color: var(--fenomen-muted);
}

.catalog-term-description {
  margin: 8px 0 0;
  color: var(--fenomen-muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.catalog-filters {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  position: sticky;
  top: 16px;
  height: fit-content;
}

.catalog-search-label {
  display: block;
  margin-bottom: 6px;
}

.catalog-search {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 12px;
}

.filter-group {
  margin-top: 16px;
}

.filter-group h2,
.filter-group h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: var(--fenomen-muted);
}

.catalog-results-wrap {
  min-height: 280px;
}

.catalog-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.catalog-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 12px;
}

.catalog-card-link {
  text-decoration: none;
  position: relative;
  display: block;
}

.catalog-card-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

.catalog-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #0e0e0f;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.catalog-placeholder {
  background: rgba(255, 255, 255, 0.08);
}

.catalog-card-title {
  margin: 0;
  font-size: 1.05rem;
}

.catalog-card-attributes {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--fenomen-muted);
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.catalog-empty {
  color: var(--fenomen-muted);
}

.subcategory-grid h2,
.subcategory-grid h3 {
  margin: 0 0 12px;
}

.subcategory-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategory-item {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 12px;
  text-decoration: none;
}

#fenomen-catalog-root.is-loading .catalog-results {
  opacity: 0.55;
  pointer-events: none;
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 100100;
  pointer-events: none;
}

.contact-popup-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-popup-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: min(440px, 34vw);
  min-width: min(100%, 320px);
  height: 100vh;
  height: 100dvh;
  background: #fff;
  color: #111;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.18);
}

body.admin-bar .contact-popup-panel {
  top: 32px;
  height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .contact-popup-panel {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

.contact-popup.is-open {
  pointer-events: auto;
}

.contact-popup.is-open .contact-popup-overlay {
  opacity: 1;
}

.contact-popup.is-open .contact-popup-panel {
  transform: translateX(0);
}

.contact-close {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
}

.contact-close:hover {
  opacity: 0.65;
}

.contact-popup-panel__inner {
  padding: clamp(56px, 8vh, 72px) clamp(28px, 4vw, 40px) clamp(40px, 6vh, 56px);
  color: #111;
}

.contact-popup-panel__title {
  margin: 0 0 clamp(28px, 4vh, 40px);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.contact-popup-panel__success {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef8f0;
  color: #1f5f2d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: clamp(18px, 2.5vh, 24px);
}

.fenomen-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.contact-form__field {
  display: grid;
  gap: 8px;
}

.contact-form__field label {
  font-size: 0.82rem;
  line-height: 1.3;
  color: #8a919c;
  font-weight: 400;
}

.contact-form__control {
  position: relative;
}

.fenomen-location {
  display: grid;
  gap: 14px;
  position: relative;
}

.fenomen-location__control {
  position: relative;
  z-index: 1;
}

.fenomen-location__control.is-open {
  z-index: 50;
}

.fenomen-location__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 60;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.12);
  max-height: 220px;
  overflow: auto;
}

.fenomen-location__suggest-item,
.fenomen-location__suggest-empty {
  margin: 0;
  padding: 10px 14px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #111;
  cursor: pointer;
}

.fenomen-location__suggest-empty {
  color: #8a919c;
  cursor: default;
}

.fenomen-location__suggest-item:hover,
.fenomen-location__suggest-item.is-active {
  background: #f2f3f5;
}

.fenomen-location__control input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form__control input,
.contact-form__control textarea,
.contact-form__control select {
  width: 100%;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  background: #f2f3f5;
  color: #111;
  padding: 14px;
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.contact-form__control textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 14px;
}

.contact-form__control input::placeholder,
.contact-form__control textarea::placeholder {
  color: #b0b7c3;
}

.contact-form__control input:focus,
.contact-form__control textarea:focus,
.contact-form__control select:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}

.contact-form__submit {
  margin-top: clamp(8px, 2vh, 16px);
  width: fit-content;
  position: sticky;
  bottom: 12px;
  z-index: 2;
}

.contact-form__submit .btn-pill-label,
.contact-form__submit .btn-pill-arrow,
.contact-form__submit.btn-dark .btn-pill-label,
.contact-form__submit.btn-dark .btn-pill-arrow,
body:not(.home) .contact-form__submit.btn-dark .btn-pill-label,
body:not(.home) .contact-form__submit.btn-dark .btn-pill-arrow,
body.home .contact-form__submit.btn-dark .btn-pill-label,
body.home .contact-form__submit.btn-dark .btn-pill-arrow,
.logged-in .contact-form__submit .btn-pill-label,
.logged-in .contact-form__submit .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.contact-form__submit:hover .btn-pill-label,
.contact-form__submit:hover .btn-pill-arrow,
.contact-form__submit.btn-dark:hover .btn-pill-label,
.contact-form__submit.btn-dark:hover .btn-pill-arrow,
body:not(.home) .contact-form__submit.btn-dark:hover .btn-pill-label,
body:not(.home) .contact-form__submit.btn-dark:hover .btn-pill-arrow,
body.home .contact-form__submit.btn-dark:hover .btn-pill-label,
body.home .contact-form__submit.btn-dark:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
  color: #fff;
}

body.contact-popup-open {
  overflow: hidden;
}

.fenomen-success-modal {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  pointer-events: none;
}

.fenomen-success-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.32s ease;
  cursor: pointer;
}

.fenomen-success-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(48px, 8vw, 64px) clamp(32px, 6vw, 48px);
  background: rgba(25, 25, 25, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.fenomen-success-modal.is-open {
  pointer-events: auto;
}

.fenomen-success-modal.is-open .fenomen-success-modal__overlay {
  opacity: 1;
}

.fenomen-success-modal.is-open .fenomen-success-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.fenomen-success-modal__icon {
  display: flex;
  justify-content: center;
  margin: 0 auto 28px;
  color: #fff;
}

.fenomen-success-modal__icon svg {
  display: block;
  width: clamp(52px, 8vw, 64px);
  height: auto;
}

.fenomen-success-modal__text {
  margin: 0;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  font-style: normal;
  color: #fff;
  white-space: pre-line;
}

body.fenomen-success-open {
  overflow: hidden;
}

@media (max-width: 782px) {
  .contact-popup-panel {
    width: min(100%, 420px);
  }

  .contact-popup-panel__inner {
    padding: 52px 22px 32px;
  }
}

.header-search {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e7e8ea;
  padding: 0 14px;
  display: none;
}

.header-search.is-open {
  display: block;
}

.header-search-form {
  width: min(1200px, 100%);
  margin: 0 auto;
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: center;
  gap: 10px;
}

.header-search-icon {
  color: #9196a0;
  font-size: 0.85rem;
}

.header-search-form input {
  border: 0;
  outline: 0;
  color: #111;
  font-size: 0.92rem;
  background: transparent;
}

.header-search-close {
  border: 0;
  background: transparent;
  color: #7f8592;
  cursor: pointer;
}

.header-search-results {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 0 10px;
}

.header-result-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #eceef1;
  text-decoration: none;
  color: #202733;
}

.header-result-type,
.header-search-empty {
  color: #7f8592;
  font-size: 0.82rem;
}

.header-result-title mark {
  background: rgba(255, 219, 102, 0.55);
  color: #10131a;
  padding: 0 1px;
}

.header-search-empty {
  margin: 0;
  padding: 8px 0 4px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

a {
  color: var(--fenomen-text);
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    position: static;
  }

  .lang-switcher {
    margin-top: 8px;
  }
}

/* Home page layout based on provided desktop mockup */
body.home {
  background: var(--fenomen-page-bg);
  color: #111;
}

body.post-type-archive-product,
body.tax-product_category,
body.single-product,
body.about-template-page,
body.contacts-template-page,
body.partners-template-page,
body.catalogs-template-page,
body.blog-archive-page,
body.blog-single-page,
body.page-template-page-checkout,
body.page-template-page-checkout-php,
body.page-template-page-favorites,
body.page-template-page-favorites-php {
  background: var(--fenomen-page-bg);
  color: #111;
}

body.home .site-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px min(4vw, 56px);
}

body.post-type-archive-product .site-header,
body.tax-product_category .site-header,
body.single-product .site-header {
  background: var(--fenomen-surface);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px min(4vw, 56px);
  border-bottom: 1px solid #e8eaee;
}

body.home .site-title,
body.home .site-title a,
body.home .menu a,
body.home .lang-switcher li a,
body.home .search-toggle {
  color: #111;
}

body.post-type-archive-product .site-title,
body.post-type-archive-product .site-title a,
body.post-type-archive-product .menu a,
body.post-type-archive-product .lang-switcher li a,
body.post-type-archive-product .contact-toggle,
body.post-type-archive-product .search-toggle,
body.tax-product_category .site-title,
body.tax-product_category .site-title a,
body.tax-product_category .menu a,
body.tax-product_category .lang-switcher li a,
body.tax-product_category .contact-toggle,
body.tax-product_category .search-toggle,
body.single-product .site-title,
body.single-product .site-title a,
body.single-product .menu a,
body.single-product .lang-switcher li a,
body.single-product .contact-toggle,
body.single-product .search-toggle {
  color: #111;
}

body.home .contact-toggle {
  border-color: #111;
}

body.home .search-toggle {
  border-color: #d4d8df;
}

body.post-type-archive-product .contact-toggle,
body.tax-product_category .contact-toggle,
body.single-product .contact-toggle {
  border-color: #111;
}

body.post-type-archive-product .search-toggle,
body.tax-product_category .search-toggle,
body.single-product .search-toggle {
  border-color: #d4d8df;
}

.home-main {
  padding: 0;
}

.catalog-landing {
  background: transparent;
  color: #111;
  padding: clamp(24px, 4vw, 40px) 0 clamp(56px, 7vw, 96px);
}

.catalog-landing__inner {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  width: 100%;
  max-width: 1626px;
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
  box-sizing: border-box;
}

.catalog-landing-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #7a7f88;
}

.catalog-landing-breadcrumbs a {
  color: #7a7f88;
  text-decoration: none;
}

.catalog-landing-breadcrumbs a:hover {
  color: #111;
}

.catalog-landing__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  line-height: var(--fenomen-h2-line);
  font-weight: var(--fenomen-h2-weight);
  text-transform: uppercase;
  color: #111;
}

.catalog-landing-categories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 28px);
}

.catalog-category-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 100%;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.catalog-category-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.catalog-category-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ececec;
  flex: 0 0 auto;
}

.catalog-category-card__media img,
.catalog-category-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-category-card__placeholder {
  background: linear-gradient(145deg, #d8d8d8, #9a9a9a);
}

.catalog-category-card__body {
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 8px;
  min-height: 0;
  height: 100%;
}

.catalog-category-card__title {
  margin: 0;
  min-height: 2.4em;
  max-height: 2.4em;
  overflow: hidden;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.catalog-category-card__text {
  margin: 0;
  align-self: start;
  font-size: var(--fenomen-text-size, 18px);
  line-height: 1.45;
  color: #000;
}

.catalog-category-card__btn,
.product-order-btn.catalog-category-card__btn {
  margin-top: 0;
  justify-self: start;
  align-self: end;
}

.catalog-landing__empty {
  margin: 0;
  color: #000;
}

@media (max-width: 800px) {
  .catalog-landing {
    padding: 20px 0 48px;
  }

  .catalog-landing__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
    gap: 24px;
  }

  .catalog-landing-categories__grid {
    grid-template-columns: 1fr;
  }
}

/* Legacy catalog hero helpers kept for taxonomy pages */
.catalog-hero {
  background: linear-gradient(140deg, #0a1634, #0c1b42);
  color: #fff;
  padding: 56px 0;
}

.catalog-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.catalog-hero p {
  margin: 10px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
}

.category-hero-gallery {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-width: 900px;
}

.category-hero-gallery-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.catalog-hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  padding: 0;
  overflow: hidden;
}

.category-card-link {
  text-decoration: none;
  color: inherit;
}

.category-card .material-image {
  min-height: 290px;
}

.category-card-body {
  padding: 12px;
}

.category-card-body p {
  color: #000;
  margin: 8px 0 0;
}

.category-card-body span {
  display: inline-block;
  margin-top: 10px;
  color: #40495b;
  font-size: 0.9rem;
}

.home-container {
  max-width: 1626px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
}

.home-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* First viewport on every desktop + phone (not fixed 16:9). */
  aspect-ratio: auto;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #000;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

/* No dark overlay while a YouTube / video slide is active. */
.home-hero:has(.home-hero-banner--video.is-active)::after,
.home-hero.home-hero--video-active::after {
  opacity: 0;
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b0b0c;
}

.home-hero-banners {
  overflow: hidden;
}

.home-hero-banner {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 0;
}

.home-hero-banner.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.home-hero-banner--empty {
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(112, 3, 42, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, #1a1a1c 0%, #0b0b0c 100%);
}

.home-hero-banner picture,
.home-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-banner picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-banner img {
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.home-hero-banner__stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b0b0c;
}

.home-hero-banner__cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0c;
  opacity: 1;
  transition: none;
  pointer-events: none;
}

.home-hero-banner__cover--solid {
  display: block;
}

/* Fade poster only after chrome-hide delay (is-playing). */
.home-hero-banner__stage.is-playing .home-hero-banner__cover {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.home-hero-banner__stage:not(.is-playing) .home-hero-banner__cover {
  opacity: 1;
  transition: none;
}

.home-hero-banner__shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.home-hero-banner__cover-picture {
  position: absolute;
  inset: 0;
  z-index: 4;
  margin: 0;
  display: block;
  pointer-events: none;
}

.home-hero-banner__cover-picture .home-hero-banner__cover {
  position: absolute;
  inset: 0;
}

.home-hero-banner__stage.is-playing .home-hero-banner__cover-picture {
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.home-hero-banner__stage:not(.is-playing) .home-hero-banner__cover-picture {
  opacity: 1;
}

.home-hero-banner__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0c;
  opacity: 1;
  transition: none;
  pointer-events: none;
}

.home-hero-banner__video--mobile {
  display: none;
}

@media (max-width: 767px) {
  .home-hero-banner__stage.has-mobile-video .home-hero-banner__video--desktop {
    display: none;
  }

  .home-hero-banner__stage.has-mobile-video .home-hero-banner__video--mobile {
    display: block;
  }
}

.home-hero-banner__video::-webkit-media-controls,
.home-hero-banner__video::-webkit-media-controls-enclosure,
.home-hero-banner__video::-webkit-media-controls-panel,
.home-hero-banner__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
}

.home-hero-banner__stage.is-playing .home-hero-banner__video,
.home-hero-banner__stage .home-hero-banner__video {
  opacity: 1;
}

.home-hero-banner__iframe,
.home-hero-banner__stage iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border: 0;
  width: max(100vw, calc(100dvh * 16 / 9));
  height: max(100dvh, calc(100vw * 9 / 16));
  min-width: max(100%, calc(100dvh * 16 / 9));
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none !important;
  opacity: 0 !important;
  transition: none;
}

.home-hero-banner__stage.is-warming .home-hero-banner__iframe,
.home-hero-banner__stage.is-warming iframe,
.home-hero-banner__stage.is-playing .home-hero-banner__iframe,
.home-hero-banner__stage.is-playing iframe {
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-banner {
    transition: none;
  }
}

.home-hero-dots {
  display: none;
}

.home-hero-panels {
  position: relative;
  width: 100%;
  margin-top: 0;
  align-self: center;
  min-height: 0;
}

.home-hero-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-hero-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

/* Staggered text entrance; mouse parallax applies to .home-hero-left as one block */
.home-hero-panel .home-kicker,
.home-hero-panel .home-hero-title,
.home-hero-panel .home-hero-sub,
.home-hero-panel .home-hero-actions {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-hero-panel.is-active .home-kicker {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.home-hero-panel.is-active .home-hero-title {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}

.home-hero-panel.is-active .home-hero-sub {
  opacity: 1;
  transform: none;
  transition-delay: 0.26s;
}

.home-hero-panel.is-active .home-hero-actions {
  opacity: 1;
  transform: none;
  transition-delay: 0.38s;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-panel .home-kicker,
  .home-hero-panel .home-hero-title,
  .home-hero-panel .home-hero-sub,
  .home-hero-panel .home-hero-actions {
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .home-hero-left {
    transform: none !important;
    will-change: auto;
  }
}

.home-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-hero-arrow:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.home-hero-arrow--prev {
  left: clamp(12px, 2.4vw, 36px);
}

.home-hero-arrow--next {
  right: clamp(12px, 2.4vw, 36px);
}

.home-hero-tabs {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3vw, 34px);
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  width: min(92%, 1100px);
  transform: translateX(-50%);
  box-sizing: border-box;
}

.home-hero-tab {
  flex: 1 1 0;
  min-width: 0;
  max-width: 280px;
  padding: 0 0 10px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease;
}

.home-hero-tab.is-active {
  color: #fff;
}

.home-hero-tab__label {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(0.72rem, 1.05vw, 0.9rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero-tab__track {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.home-hero-tab__progress {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--fenomen-brand-red, #82252f);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-panel {
    transition: none;
  }
}

.home-hero-media.is-video-skipped {
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(112, 3, 42, 0.28) 0%, transparent 55%),
    linear-gradient(180deg, #1a1a1c 0%, #0b0b0c 100%);
}

.home-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.home-hero-video-mobile {
  display: none;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1626px;
  margin: 0 auto;
  padding: clamp(96px, 14vh, 160px) max(var(--fenomen-page-pad-x), clamp(20px, 4vw, 48px)) clamp(96px, 12vh, 140px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
}

.home-hero-grid {
  margin-top: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 420px);
  gap: 40px;
  align-items: center;
}

.home-hero-left {
  max-width: min(560px, 48vw);
  margin-left: clamp(8px, 2vw, 40px);
  text-align: left;
  will-change: transform;
}

.home-hero-right {
  justify-self: end;
  max-width: 420px;
  align-self: end;
  margin-bottom: 170px;
}

.home-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  opacity: 0.85;
}

.home-kicker:empty {
  display: none;
}

.home-hero h2 {
  margin: 0;
  font-size: clamp(2.65rem, 4.9vw, 4.1rem);
  line-height: 1.08;
  font-weight: 400;
  max-width: 640px;
}

.home-hero p {
  margin: 0;
  line-height: 1.46;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  font-size: 1.14rem;
}

.hero-phones {
  margin-top: 14px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.86);
}

.home-hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-dark,
.btn-light {
  border: 1px solid #111;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #111;
}

/* Shared pill-button structure (colors stay per component) */
.btn-pill-label,
.btn-pill-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--fenomen-btn-height);
  font-size: var(--fenomen-btn-font);
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-pill-label {
  padding: 0 var(--fenomen-btn-label-pad-x);
  letter-spacing: var(--fenomen-btn-letter);
  text-transform: uppercase;
}

.btn-pill-arrow {
  width: var(--fenomen-btn-arrow-size);
  flex: 0 0 var(--fenomen-btn-arrow-size);
  font-size: var(--fenomen-btn-arrow-font);
}

.btn-dark,
.btn-light,
.btn-accent,
.contact-toggle,
.contact-toggle__text,
.contact-form__submit,
.footer-form-submit,
.partners-hero__btn,
.partners-cta__btn,
.partners-form__submit,
.catalogs-sample-cta__btn,
.contacts-form__submit,
.home-block-sample__btn,
.product-order-btn,
.catalog-partner-cta__btn {
  display: inline-flex;
  align-items: stretch;
  gap: var(--fenomen-btn-gap);
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: var(--fenomen-btn-radius);
  overflow: hidden;
  text-decoration: none;
  font-size: 0;
  cursor: pointer;
}

/* All rectangular site buttons share the same corner radius as [ Замовити ] */
.catalogs-card__btn,
.blog-archive-filters__btn,
.blog-archive-posts .page-numbers,
.footer-branches-more__btn,
.product-surface-variants__btn,
.product-benefit-tag,
.catalog-tax-filters-open,
.catalog-active-filters__chip,
.contacts-map__directions-app,
.viz-steps__item,
.viz-zone-tab {
  border-radius: var(--fenomen-btn-radius);
}

.btn-dark,
.btn-light,
.contact-toggle {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.btn-dark .btn-pill-label,
.btn-dark .btn-pill-arrow,
.btn-light .btn-pill-label,
.btn-light .btn-pill-arrow,
.contact-toggle .btn-pill-label,
.contact-toggle .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.42);
  color: #fff;
}

body:not(.home) .btn-dark .btn-pill-label,
body:not(.home) .btn-dark .btn-pill-arrow,
body:not(.home) .btn-light .btn-pill-label,
body:not(.home) .btn-light .btn-pill-arrow,
body:not(.home) .contact-toggle .btn-pill-label,
body:not(.home) .contact-toggle .btn-pill-arrow,
.site-header-shell.is-scrolled .btn-dark .btn-pill-label,
.site-header-shell.is-scrolled .btn-dark .btn-pill-arrow,
.site-header-shell.is-scrolled .btn-light .btn-pill-label,
.site-header-shell.is-scrolled .btn-light .btn-pill-arrow,
.site-header-shell.is-scrolled .contact-toggle .btn-pill-label,
.site-header-shell.is-scrolled .contact-toggle .btn-pill-arrow,
.site-header-shell.is-inner .btn-dark .btn-pill-label,
.site-header-shell.is-inner .btn-dark .btn-pill-arrow,
.site-header-shell.is-inner .btn-light .btn-pill-label,
.site-header-shell.is-inner .btn-light .btn-pill-arrow,
.site-header-shell.is-inner .contact-toggle .btn-pill-label,
.site-header-shell.is-inner .contact-toggle .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.btn-dark:hover .btn-pill-label,
.btn-dark:hover .btn-pill-arrow,
.btn-light:hover .btn-pill-label,
.btn-light:hover .btn-pill-arrow,
.contact-toggle:hover .btn-pill-label,
.contact-toggle:hover .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.58);
}

body:not(.home) .btn-dark:hover .btn-pill-label,
body:not(.home) .btn-dark:hover .btn-pill-arrow,
body:not(.home) .btn-light:hover .btn-pill-label,
body:not(.home) .btn-light:hover .btn-pill-arrow,
body:not(.home) .contact-toggle:hover .btn-pill-label,
body:not(.home) .contact-toggle:hover .btn-pill-arrow,
.site-header-shell.is-scrolled .btn-dark:hover .btn-pill-label,
.site-header-shell.is-scrolled .btn-dark:hover .btn-pill-arrow,
.site-header-shell.is-scrolled .btn-light:hover .btn-pill-label,
.site-header-shell.is-scrolled .btn-light:hover .btn-pill-arrow,
.site-header-shell.is-scrolled .contact-toggle:hover .btn-pill-label,
.site-header-shell.is-scrolled .contact-toggle:hover .btn-pill-arrow,
.site-header-shell.is-inner .btn-dark:hover .btn-pill-label,
.site-header-shell.is-inner .btn-dark:hover .btn-pill-arrow,
.site-header-shell.is-inner .btn-light:hover .btn-pill-label,
.site-header-shell.is-inner .btn-light:hover .btn-pill-arrow,
.site-header-shell.is-inner .contact-toggle:hover .btn-pill-label,
.site-header-shell.is-inner .contact-toggle:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

/* Home header contact: glass over hero; brand red after scroll (like other CTAs) */
body.home .site-header-shell:not(.is-scrolled) .contact-toggle .btn-pill-label,
body.home .site-header-shell:not(.is-scrolled) .contact-toggle .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.42);
  color: #fff;
}

body.home .site-header-shell:not(.is-scrolled) .contact-toggle:hover .btn-pill-label,
body.home .site-header-shell:not(.is-scrolled) .contact-toggle:hover .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.58);
}

body.home .site-header-shell.is-scrolled .contact-toggle .btn-pill-label,
body.home .site-header-shell.is-scrolled .contact-toggle .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

body.home .site-header-shell.is-scrolled .contact-toggle:hover .btn-pill-label,
body.home .site-header-shell.is-scrolled .contact-toggle:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

.btn-dark-invert {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.home-section {
  padding: 62px 0 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-grid h2,
.about-grid h3,
.section-head h2,
.section-head h3,
.center-title,
.home-cta h2,
.home-cta h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.section-sub {
  margin: 10px 0 0;
  color: #535862;
}

.about-list {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: #2d3139;
  display: grid;
  gap: 8px;
}

.about-image,
.material-image {
  border-radius: 2px;
  min-height: 260px;
}

.about-image {
  background: linear-gradient(140deg, #d7dce2, #b8c2cf);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.section-head a {
  color: #2f3746;
  text-decoration: none;
  font-size: 0.9rem;
}

.material-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.material-card,
.mini-card,
.pro-card {
  background: #fff;
  border: 1px solid #e6e9ee;
}

.material-card {
  padding: 12px;
}

.material-card h2,
.material-card h4,
.mini-card h2,
.mini-card h4,
.pro-card h2,
.pro-card h4 {
  margin: 10px 0 0;
  font-size: 1rem;
}

.material-card p {
  margin: 8px 0 0;
  color: #000;
}

.mini-card {
  padding: 8px;
}

.mini-card .material-image {
  min-height: 130px;
}

.pro-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.pro-card {
  padding: 16px;
}

.pro-card p {
  margin: 8px 0 0;
  color: #000;
}

.center-title {
  text-align: center;
}

.home-cta {
  margin-top: 66px;
  background: #080808;
  color: #fff;
}

.cta-wrap {
  padding: 44px 0;
  text-align: center;
}

.home-cta p {
  margin: 10px auto 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

body.home .site-footer,
body.post-type-archive-product .site-footer,
body.tax-product_category .site-footer,
body.single-product .site-footer {
  background: linear-gradient(90deg, #201b21 0%, #201b21 28%, #341d23 50%, #532027 75%, #70232d 100%);
  color: #fff;
  border-top: 0;
}

/* Fenomen footer */
.site-footer--fenomen {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #201b21 0%, #201b21 28%, #341d23 50%, #532027 75%, #70232d 100%);
  color: #fff;
}

.footer-shell {
  position: relative;
  z-index: 1;
  max-width: 1626px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) max(var(--fenomen-page-pad-x), clamp(20px, 4vw, 56px)) clamp(28px, 3.5vw, 48px);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.footer-layout--with-branches {
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 1.2fr);
}

.footer-branches-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.footer-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px) clamp(24px, 3.5vw, 48px);
  align-content: start;
  align-items: start;
}

.footer-branch {
  min-width: 0;
  align-content: start;
}

.footer-branch__city {
  margin: 0 0 6px;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.footer-branch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.footer-branch__list + .footer-branch__list {
  margin-top: 4px;
}

.footer-branch__list li {
  margin: 0;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.footer-branch__list--locations {
  gap: 10px;
}

.footer-branch__location {
  display: grid;
  gap: 2px;
}

.footer-branch__address {
  display: block;
}

.footer-branch__phone {
  color: inherit;
  text-decoration: none;
}

.footer-branch__phone:hover {
  text-decoration: underline;
}

.footer-branch__list a {
  color: inherit;
  text-decoration: none;
}

.footer-branch__list a:hover {
  text-decoration: underline;
}

.footer-branches-more {
  margin: 0;
}

.footer-branches-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--fenomen-btn-radius);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-branches-more__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.footer-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 80px);
}

.footer-main-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.footer-form-title {
  margin: 0 0 22px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: #fff;
}

.footer-form {
  display: grid;
  gap: 18px;
  max-width: 360px;
}

.footer-form-success {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.footer-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: #fff;
  padding: 8px 0 10px;
  font-size: 1rem;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.footer-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.footer-field input:focus {
  border-bottom-color: #fff;
}

.footer-form .fenomen-location {
  gap: 18px;
}

.footer-form .contact-form__field {
  display: grid;
  gap: 8px;
}

.footer-form .contact-form__field label {
  display: block;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.58);
}

.footer-form .contact-form__control {
  position: relative;
}

.footer-form .contact-form__control input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 8px 0 10px;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-bottom-color 0.15s ease;
}

.footer-form .contact-form__control input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.footer-form .contact-form__control input:focus {
  border-color: transparent;
  border-bottom-color: #fff;
  background: transparent;
}

.footer-form .contact-form__control input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.footer-form .fenomen-location__suggest {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.footer-form .fenomen-location__suggest-item,
.footer-form .fenomen-location__suggest-empty {
  color: rgba(255, 255, 255, 0.88);
}

.footer-form .fenomen-location__suggest-empty {
  color: rgba(255, 255, 255, 0.48);
}

.footer-form .fenomen-location__suggest-item:hover,
.footer-form .fenomen-location__suggest-item.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.footer-form-submit {
  justify-self: start;
  margin-top: 8px;
  color: #fff;
}

.footer-form-submit .btn-pill-label,
.footer-form-submit .btn-pill-arrow,
.logged-in .footer-form-submit .btn-pill-label,
.logged-in .footer-form-submit .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.footer-form-submit:hover .btn-pill-label,
.footer-form-submit:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 40px);
  justify-content: end;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-nav-pages a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

.footer-nav-social a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copyright {
  margin: 0 0 clamp(16px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.footer-copyright__dev a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-copyright__dev a:hover,
.footer-copyright__dev a:focus-visible {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
  display: none;
}

/* Full-width semi-transparent logo watermark (CLEAF-style). */
.footer-logo-bleed {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: clamp(8px, 1.5vw, 20px) 0 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  user-select: none;
}

.footer-logo-bleed__img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  opacity: 0.18;
  transform: translateY(18%);
  filter: brightness(1.05);
}

@media (max-width: 980px) {
  .footer-layout,
  .footer-layout--with-branches,
  .footer-main-top,
  .footer-nav {
    grid-template-columns: 1fr;
  }

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

  .footer-form {
    max-width: none;
  }

  .footer-nav {
    gap: 24px;
  }

  .footer-nav-social {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .footer-shell {
    padding-inline: var(--fenomen-page-pad-x);
  }

  .footer-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .footer-branch__city {
    font-size: 0.9rem;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .footer-branch__list li {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .footer-logo-bleed__img {
    opacity: 0.16;
    transform: translateY(14%);
  }
}


.tone-dark {
  background: linear-gradient(140deg, #474f58, #21262d);
}

.tone-warm {
  background: linear-gradient(140deg, #d9b88f, #b38356);
}

.tone-stone {
  background: linear-gradient(140deg, #9e9ea0, #6a6a6f);
}

.tone-green {
  background: linear-gradient(140deg, #3e5747, #223328);
}

.tone-gray {
  background: linear-gradient(140deg, #bcc0c7, #969ba5);
}

@media (max-width: 980px) {
  .material-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body.home .site-header,
  body.post-type-archive-product .site-header,
  body.tax-product_category .site-header,
  body.single-product .site-header {
    padding: 0;
    display: block;
  }

  .home-main {
    padding: 0;
  }

  .home-hero {
    /* Same full first-screen rule as desktop; keep mobile overrides explicit for older CSS. */
    aspect-ratio: auto;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }

  .home-hero-video {
    object-fit: cover;
    object-position: center center;
  }

  .home-hero-video-mobile {
    object-fit: cover;
    object-position: center center;
  }

  .home-hero-banner img {
    object-fit: cover;
  }

  .home-hero-tabs {
    bottom: 16px;
    gap: 12px;
    width: min(94%, 100%);
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-hero-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-hero-tab {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 200px;
  }

  .home-hero-tab__label {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.72rem;
  }

  .home-hero-arrow {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .home-hero-content {
    justify-content: flex-end;
    align-items: stretch;
    padding: 88px 16px calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .home-hero-panels {
    margin-top: auto;
    align-self: stretch;
    width: 100%;
  }

  .home-hero-left {
    max-width: none;
    margin-left: 0;
    width: 100%;
  }

  .home-block-video:not(.home-block-video--bleed) {
    padding: 32px 0;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-hero-right {
    justify-self: start;
    max-width: 440px;
    margin-bottom: 0;
  }

  .home-hero-media.has-mobile-video .home-hero-video-desktop {
    display: none;
  }

  .home-hero-media.has-mobile-video .home-hero-video-mobile {
    display: block;
  }

  /* Keep a fallback frame visible until mobile source is ready */
  .home-hero-media.has-mobile-video:not(.is-video-ready) .home-hero-video-desktop {
    display: block;
  }

  .home-hero-media.has-mobile-video:not(.is-video-ready) .home-hero-video-mobile {
    display: none;
  }

  .home-hero h2 {
    font-size: clamp(1.5rem, 7vw, 1.95rem);
  }

  .home-hero p {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  body.home .site-nav,
  body.home .site-header-nav,
  body.home .site-header-lang,
  body.home .lang-switcher {
    display: none;
  }

  body.home .site-drawer .lang-switcher {
    display: flex;
  }

  body.post-type-archive-product .site-nav,
  body.post-type-archive-product .site-header-nav,
  body.post-type-archive-product .site-header-lang,
  body.post-type-archive-product .lang-switcher,
  body.tax-product_category .site-nav,
  body.tax-product_category .site-header-nav,
  body.tax-product_category .site-header-lang,
  body.tax-product_category .lang-switcher,
  body.single-product .site-nav,
  body.single-product .site-header-nav,
  body.single-product .site-header-lang,
  body.single-product .lang-switcher {
    display: none;
  }

  body.post-type-archive-product .site-drawer .lang-switcher,
  body.tax-product_category .site-drawer .lang-switcher,
  body.single-product .site-drawer .lang-switcher {
    display: flex;
  }

  body.home .brand-block {
    min-width: 0;
  }

  body.home .site-title {
    font-size: 0.88rem;
  }

  body.home .contact-toggle,
  body.post-type-archive-product .contact-toggle,
  body.tax-product_category .contact-toggle,
  body.single-product .contact-toggle {
    padding: 0;
    font-size: 0;
    letter-spacing: normal;
    white-space: nowrap;
  }

  body.home .search-toggle {
    width: 32px;
    height: 32px;
  }

  body.post-type-archive-product .search-toggle,
  body.tax-product_category .search-toggle,
  body.single-product .search-toggle {
    width: 32px;
    height: 32px;
  }

  .material-grid-2,
  .material-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .material-image {
    min-height: 180px;
  }

  .mini-card .material-image {
    min-height: 96px;
  }

  .material-card,
  .mini-card {
    padding: 8px;
  }

  .material-card h2,
  .material-card h4,
  .mini-card h2,
  .mini-card h4,
  .pro-card h2,
  .pro-card h4 {
    font-size: 0.95rem;
  }

  .material-card p,
  .pro-card p,
  .section-sub,
  .section-head a {
    font-size: 0.86rem;
  }

  .home-section {
    padding-top: 30px;
  }

  .catalog-hero {
    padding: 34px 0;
  }

  .catalog-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .category-cards {
    grid-template-columns: 1fr;
  }

  .category-card .material-image {
    min-height: 220px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    margin-bottom: 12px;
  }
  .pro-card {
    padding: 12px;
  }

  .cta-wrap {
    padding: 26px 0;
  }
}

@media (max-width: 700px) {
  .home-container {
    width: 100%;
    max-width: none;
    padding-left: var(--fenomen-page-pad-x);
    padding-right: var(--fenomen-page-pad-x);
  }

  /* Landing already pads itself; keep the same site gutter */
  .catalog-landing__inner.home-container {
    padding-left: var(--fenomen-page-pad-x);
    padding-right: var(--fenomen-page-pad-x);
  }
}

@media (max-width: 420px) {
  .home-hero-actions {
    gap: 8px;
  }

  .btn-dark,
  .btn-light {
    width: 100%;
    text-align: center;
    padding: 0 !important;
  }

  .material-grid-4 {
    grid-template-columns: 1fr;
  }

  .home-cta {
    margin-top: 40px;
  }

  .footer-shell {
    padding-inline: var(--fenomen-page-pad-x);
  }

  .footer-nav-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .catalog-hero-actions .btn-light,
  .catalog-hero-actions .btn-dark {
    width: auto;
  }
}

/* About page template */
body.about-template-page {
  background: var(--fenomen-page-bg);
  color: #111;
}

body.has-hero-header .site-header-shell .site-header-inner {
  padding-right: 2.25rem;
  padding-left: 2.25rem;
}

body.has-hero-header .site-header-shell .site-header-top {
  min-height: 72px;
  height: 72px;
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-icon,
body.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-label {
  color: #fff;
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .header-menu > li > a {
  color: #fff;
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li a {
  color: rgba(255, 255, 255, 0.55);
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
body.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li a:hover {
  color: #fff !important;
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.35);
}

body.has-hero-header .site-header-shell:not(.is-scrolled) .contact-toggle .btn-pill-label,
body.has-hero-header .site-header-shell:not(.is-scrolled) .contact-toggle .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.about-page-main {
  background: transparent;
  color: #111;
  padding-bottom: 0;
}

.about-hero {
  position: relative;
  min-height: clamp(520px, 78vh, 820px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
  background:
    var(--about-hero-image, linear-gradient(135deg, #6f675f, #2f2b28)) center / cover no-repeat;
}

.about-hero.has-hero-video {
  background-color: #0b0b0c;
  /* No photo flash before video — image only after skip / on mobile. */
  background-image: none;
  background-size: cover;
  background-position: center;
}

.about-hero.has-hero-video.is-video-skipped,
.about-hero.has-hero-video:has(.about-hero-media.is-video-skipped) {
  background-image: var(--about-hero-image, linear-gradient(135deg, #6f675f, #2f2b28));
  background-size: cover;
  background-position: center;
}

.about-hero.about-hero--image {
  background-image: var(--about-hero-image, linear-gradient(135deg, #6f675f, #2f2b28));
  background-size: cover;
  background-position: center;
}

.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: none;
  container-type: size;
  container-name: about-hero-media;
}

.about-hero.is-video-warming .about-hero-media,
.about-hero.is-video-playing .about-hero-media {
  opacity: 1;
}

.about-hero-media.is-video-skipped {
  display: none;
}

.about-hero-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0c;
  opacity: 1;
  transition: none;
  pointer-events: none;
}

.about-hero-cover-picture {
  position: absolute;
  inset: 0;
  z-index: 3;
  margin: 0;
  display: block;
  pointer-events: none;
}

.about-hero-cover-picture .about-hero-cover {
  position: absolute;
  inset: 0;
}

.about-hero.is-video-playing .about-hero-cover,
.about-hero.is-video-playing .about-hero-cover-picture {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.about-hero:not(.is-video-playing) .about-hero-cover,
.about-hero:not(.is-video-playing) .about-hero-cover-picture {
  opacity: 1;
  transition: none;
}

.about-hero-video,
.about-hero-yt,
.about-hero-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #0b0b0c;
  border: 0;
  pointer-events: none !important;
}

.about-hero-video--mobile {
  display: none;
}

@media (max-width: 900px) {
  .about-hero-media.has-mobile-video .about-hero-video--desktop {
    display: none;
  }

  .about-hero-media.has-mobile-video .about-hero-video--mobile {
    display: block;
  }
}

.about-hero-yt,
.about-hero-media iframe {
  top: 50%;
  left: 50%;
  /* True cover: size from container width+height (cqw/cqh), not broken % math. */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

/* Fallback if container queries unavailable */
@supports not (width: 1cqw) {
  .about-hero-yt,
  .about-hero-media iframe {
    width: max(100vw, calc(100vh * 16 / 9));
    height: max(100%, calc(100vw * 9 / 16));
    min-width: calc(100vh * 16 / 9);
    min-height: 100%;
  }
}

.about-hero-shield {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.22);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.48) 100%);
  transition: opacity 0.45s ease;
}

.about-hero__overlay--video {
  /* Keep dark veil on YouTube/local hero video for readable title. */
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.28);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.about-hero__title {
  margin: 0;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 500;
  text-align: left;
}

.about-hero__subtitle {
  margin: 16px 0 0;
  max-width: 42ch;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.about-hero__subtitle.about-rich-text p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.about-hero__subtitle.about-rich-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-hero__subtitle.about-rich-text .fenomen-tone-bold,
.about-hero__subtitle.about-rich-text strong,
.about-hero__subtitle.about-rich-text b {
  font-weight: 700;
}

.about-hero__subtitle.about-rich-text .fenomen-tone-black {
  color: #111;
}

.about-hero__subtitle.about-rich-text .fenomen-tone-gray {
  color: rgba(255, 255, 255, 0.72);
}

.about-hero__subtitle.about-rich-text .fenomen-tone-uppercase {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .about-hero {
    min-height: clamp(420px, 72vh, 680px);
  }

  .about-hero.has-hero-video {
    background-image: none;
  }

  .about-hero.has-hero-video.is-video-skipped,
  .about-hero.has-hero-video:has(.about-hero-media.is-video-skipped) {
    background-image: var(--about-hero-image, linear-gradient(135deg, #6f675f, #2f2b28));
    background-size: cover;
    background-position: center;
  }

  .about-hero[data-hero-mode="local"] .about-hero-media,
  .about-hero[data-hero-mode="local"] .about-hero-video {
    opacity: 1;
  }
}

.about-brand {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background-color: #f3f3f3;
  overflow: hidden;
}

/* About «Про бренд» = той самий блок, що home-block-about (гори + картки з головної). */
.about-brand.home-block-about {
  --about-seam-decor-size: clamp(56px, 6vw, 80px);
  padding:
    calc(var(--about-seam-decor-size) / 2 + clamp(40px, 5vw, 72px))
    0
    var(--fenomen-mountains-pad-y);
  background-color: var(--fenomen-page-bg);
  background-image: none;
  overflow: hidden;
}

@media (min-width: 901px) {
  .about-brand.home-block-about {
    /* Allow seam décor to overlap the hero above on desktop. */
    overflow: visible;
  }
}

.about-brand.home-block-about > .home-container,
.about-brand.home-block-about > .home-about-marquee {
  position: relative;
  z-index: 1;
}

/* Декор на стику hero → «Про бренд» (половина на фото, половина на світлому блоці). */

.about-brand .home-block-about__aside {
  padding-top: 0;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.about-intro__badge {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding-top: 4px;
}

.about-intro__badge-icon {
  display: block;
  width: 44px;
  height: 44px;
}

.about-intro__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
}

.about-intro__lead {
  margin: 0;
  max-width: 920px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
  font-weight: 700;
  color: #1a1d24;
}

.about-intro__rich p {
  margin: 0 0 0.75em;
}

.about-intro__rich p:last-child {
  margin-bottom: 0;
}

.about-intro__rich strong,
.about-intro__rich b,
.about-intro__rich .fenomen-tone-bold {
  font-weight: 700;
}

.about-intro__rich .fenomen-tone-black {
  color: #111 !important;
}

.about-intro__rich .fenomen-tone-gray {
  color: #6b7280 !important;
  font-weight: 400;
}

.about-intro__rich .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.about-rich-text p,
.about-rich-text > div {
  display: block;
  margin: 0 0 0.85em;
}

.about-rich-text p:last-child,
.about-rich-text > div:last-child {
  margin-bottom: 0;
}

.about-rich-text strong,
.about-rich-text b,
.about-rich-text .fenomen-tone-bold {
  font-weight: 700;
}

.about-rich-text .fenomen-tone-black {
  color: #111 !important;
}

.about-rich-text .fenomen-tone-gray {
  color: #6b7280 !important;
  font-weight: 400;
}

.about-rich-text .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.about-rich-text a,
.about-intro__rich a,
.home-block-about__rich a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.about-rich-text a:hover,
.about-intro__rich a:hover,
.home-block-about__rich a:hover {
  text-decoration-thickness: 2px;
}

.about-intro__text {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: clamp(0.98rem, 1.15vw, 1.06rem);
  line-height: 1.65;
  color: #4d5563;
}

.about-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.about-feature-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(240px, 28vw, 340px);
  background: #d8d8d8;
}

.about-feature-card__image {
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 28vw, 340px);
  object-fit: cover;
  display: block;
}

.about-feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.about-feature-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px 18px 20px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.about-feature-card__caption h2,
.about-feature-card__caption h3 {
  margin: 0;
  min-height: calc(1.25em * 2);
  height: calc(1.25em * 2);
  max-height: calc(1.25em * 2);
  overflow: hidden;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.25;
}

.about-feature-card__caption p {
  margin: 0;
  min-height: calc(1.4em * 3);
  height: calc(1.4em * 3);
  max-height: calc(1.4em * 3);
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.about-park-block {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--fenomen-surface);
}

.about-park__text {
  max-width: none;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: #2d3139;
}

.about-park__text p {
  margin: 0;
}

.about-history__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.about-history__grid--text-only {
  grid-template-columns: 1fr;
}

.about-history__media {
  position: relative;
  min-width: 0;
  min-height: 420px;
  align-self: stretch;
}

.about-history__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-history__copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  align-content: start;
  min-width: 0;
  max-width: 640px;
}

.about-history__content {
  display: grid;
  gap: 18px;
  max-width: none;
  padding-top: 0;
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  color: #2d3139;
}

.about-history__content p {
  margin: 0;
}

.about-stats {
  --about-stats-count: 3;
  position: relative;
  min-height: clamp(320px, 48vw, 560px);
  padding: 0;
  display: block;
  color: #fff;
  background: #111;
  overflow: hidden;
}

.about-stats__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  display: grid;
  grid-template-columns: repeat(var(--about-stats-count), minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

.about-stats__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  padding: clamp(88px, 11vw, 150px) clamp(16px, 2.4vw, 36px);
  overflow: hidden;
  cursor: default;
  isolation: isolate;
}

.about-stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1a1a1a;
  background-image: var(--about-stats-image, linear-gradient(135deg, #2a2623, #111));
  background-repeat: no-repeat;
  /* Width = full stats strip; height auto — keeps aspect ratio (no stretch). */
  background-size: calc(var(--about-stats-count) * 100%) auto;
  background-position: calc(
      var(--about-stats-i) * 100% / max(1, calc(var(--about-stats-count) - 1))
    )
    center;
  filter: grayscale(0.2) brightness(0.82) saturate(0.9);
  transform: scale(1.03);
  transition:
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform;
}

.about-stats__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.62));
  transition: background 0.55s ease, opacity 0.55s ease;
  pointer-events: none;
}

.about-stats__text {
  position: relative;
  z-index: 2;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.3;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  transition:
    color 0.45s ease,
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-stats:hover .about-stats__bg {
    filter: grayscale(1) brightness(0.48) contrast(1.05);
    transform: scale(1.01);
  }

  .about-stats:hover .about-stats__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72));
  }

  .about-stats:hover .about-stats__item:not(:hover) .about-stats__text {
    opacity: 0.38;
    transform: scale(0.98);
    color: rgba(255, 255, 255, 0.78);
  }

  .about-stats__item:hover .about-stats__bg {
    filter: grayscale(0) brightness(1.05) saturate(1.15);
    transform: scale(1.08);
  }

  .about-stats__item:hover .about-stats__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.4));
  }

  .about-stats__item:hover .about-stats__text {
    opacity: 1;
    transform: scale(1.06);
    color: #fff;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(130, 37, 47, 0.28);
  }
}

.about-stats__item:focus-visible {
  outline: none;
}

.about-stats__item:focus-visible .about-stats__text {
  outline: 2px solid #fff;
  outline-offset: 6px;
}

.about-partner {
  position: relative;
  padding: clamp(56px, 7vw, 100px) 0;
  background-color: #f3f3f3;
}

/* Партнерський блок — той самий фон із горами, що home-block-about. */
.about-partner.home-block-about {
  padding: var(--fenomen-mountains-pad-y) 0;
  background-color: var(--fenomen-page-bg);
  background-image: none;
  overflow: hidden;
}

.about-partner.home-block-about > .home-container {
  position: relative;
  z-index: 1;
}

.about-partner__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.about-partner__media {
  min-height: 0;
  height: 100%;
  align-self: stretch;
}

.about-partner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-partner__content {
  min-width: 0;
}

.about-partner__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #111;
}

.about-partner__text {
  margin: 16px 0 0;
  color: #4d5563;
  line-height: 1.6;
}

.about-partner__text p {
  margin: 0 0 0.85em;
}

.about-partner__text p:last-child {
  margin-bottom: 0;
}

.about-partner__actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, max-content);
  gap: 12px;
  align-items: start;
}

@media (max-width: 700px) {
  .about-partner__actions {
    grid-template-columns: 1fr;
  }

  .about-partner__actions .about-partner__btn {
    width: 100%;
  }
}

.about-story-section {
  padding: 96px 0 28px;
}

.about-story-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: start;
}

.about-story-kicker {
  font-size: 0.9rem;
  color: #111;
  letter-spacing: 0.03em;
}

.about-story-title-wrap {
  max-width: 1080px;
}

.about-story-title {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1.18;
  color: #151821;
}

.about-story-title-wrap .btn-dark {
  margin-top: 26px;
}

.about-story-gallery {
  margin-top: 44px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.about-story-track {
  min-width: max-content;
  display: flex;
  gap: 18px;
}

.about-story-card {
  position: relative;
  width: min(46vw, 760px);
  min-width: 520px;
  border: 1px solid #d9dde5;
  background: #eceff4;
  overflow: hidden;
}

.about-story-card img {
  width: 100%;
  height: min(34vw, 390px);
  min-height: 330px;
  object-fit: cover;
  display: block;
}

.about-story-card-static {
  height: min(34vw, 390px);
  min-height: 330px;
  background-size: cover;
  background-position: center;
}

.about-story-card-a {
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1)),
    linear-gradient(145deg, #d3d5d8, #8a8f97);
}

.about-story-card-b {
  background-image:
    linear-gradient(120deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.1)),
    linear-gradient(145deg, #7c6b59, #403731);
}

.about-story-card-info {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 640px;
  padding: 22px 28px 24px;
  border-radius: 22px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.14) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 1px 0 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  color: #fff;
  text-align: center;
}

.about-story-card-info h2,
.about-story-card-info h4 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.about-story-card-info p {
  margin: 10px 0 0;
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .about-intro__grid,
  .about-history__grid,
  .about-partner__grid {
    grid-template-columns: 1fr;
  }

  .about-partner__media {
    min-height: clamp(240px, 55vw, 420px);
    height: auto;
  }

  .about-partner__media img {
    min-height: inherit;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .about-features__grid {
    grid-template-columns: 1fr;
  }

  .about-stats__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-stats__item {
    min-height: clamp(160px, 42vw, 220px);
    padding: 48px 20px;
    justify-content: flex-start;
    text-align: left;
  }

  .about-stats__bg {
    background-size: cover;
    background-position: center;
    filter: grayscale(0.15) brightness(0.8);
  }

  .about-stats__text {
    max-width: 18ch;
  }

  .about-history__media {
    min-height: 280px;
    aspect-ratio: 4 / 3;
  }

  .about-history__media img {
    position: absolute;
  }

  .about-history__copy {
    max-width: none;
  }

  .about-feature-card,
  .about-feature-card__image {
    min-height: 260px;
  }
}

@media (max-width: 700px) {
  .about-story-section {
    padding-top: 84px;
  }

  .about-story-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-story-kicker {
    font-size: 0.82rem;
  }

  .about-story-title {
    font-size: clamp(1.5rem, 7vw, 2.1rem);
  }

  .about-story-card {
    width: 86vw;
    min-width: 86vw;
  }

  .about-story-card img {
    min-height: 240px;
    height: 56vw;
  }

  .about-story-card-info {
    width: calc(100% - 32px);
    padding: 18px 20px 20px;
    border-radius: 18px;
    bottom: 16px;
  }

  .about-story-card-info h2,
  .about-story-card-info h4 {
    font-size: 1.45rem;
  }

  .about-story-card-info p {
    font-size: 0.84rem;
    line-height: 1.4;
  }
}

/* Partner program page */
.partners-page-main {
  background: transparent;
  color: #111;
  padding-bottom: 0;
}

.partners-hero {
  position: relative;
  min-height: clamp(460px, 56vw, 680px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.58) 100%),
    var(--partners-hero-image, linear-gradient(135deg, #5a534c, #1f1c19)) center / cover no-repeat;
}

.partners-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
}

.partners-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.partners-hero__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
}

.partners-hero__title span {
  display: block;
}

.partners-hero__btn {
  margin-top: 28px;
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.partners-hero__btn .btn-pill-label,
.partners-hero__btn .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.partners-hero__btn:hover .btn-pill-label,
.partners-hero__btn:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
  color: #fff;
}

.partners-intro {
  /* Layout/spacing come from .home-block-about (mountains + intro grid). */
  background-color: var(--fenomen-page-bg);
}

.partners-intro .home-block-about__intro .home-block-about__kicker,
.partners-intro .home-block-about__intro .home-block-about__decor,
.partners-intro .home-block-about__intro .home-block-about__title,
.partners-intro .home-block-about__intro .home-block-about__rich,
.partners-intro .home-block-about__intro .btn-accent {
  opacity: 1;
  transform: none;
}

.partners-promo {
  padding: 0;
  background: #0f1012;
  color: #fff;
}

.partners-promo__screen {
  position: relative;
  width: 100%;
  min-height: clamp(700px, 58vw, 920px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 8, 0.2) 0%, rgba(8, 6, 8, 0.05) 40%, rgba(6, 6, 8, 0.5) 100%),
    linear-gradient(90deg, rgba(60, 10, 14, 0.22) 0%, rgba(20, 8, 10, 0.06) 48%, rgba(6, 6, 8, 0.18) 100%);
  overflow: hidden;
  isolation: isolate;
}

.partners-promo__screen.has-image {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.02) 36%, rgba(0, 0, 0, 0.38) 100%),
    var(--partners-promo-image) center / cover no-repeat;
}

.partners-promo__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1626px;
  margin: 0 auto;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-height: 100%;
  display: grid;
  grid-template-rows: minmax(clamp(110px, 26%, 240px), 0.48fr) auto minmax(120px, 1fr) auto;
  justify-items: center;
  align-content: stretch;
  padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 5vw, 64px);
}

.partners-promo__screen-title {
  grid-row: 2;
  margin: 0;
  width: 100%;
  max-width: min(52rem, 72%);
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.partners-promo__caption {
  grid-row: 4;
  margin: 0;
  width: 100%;
  max-width: min(42rem, 58%);
  text-align: center;
  font-size: clamp(0.78rem, 0.88vw, 0.9rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.partners-promo__screen-title .fenomen-tone-black,
.partners-promo__caption .fenomen-tone-black {
  color: #fff !important;
}

.partners-promo__screen-title .fenomen-tone-gray,
.partners-promo__caption .fenomen-tone-gray {
  color: rgba(255, 255, 255, 0.42) !important;
  font-weight: 600;
}

.partners-promo__screen-title p,
.partners-promo__caption p {
  margin: 0;
}

.partners-promo__screen-title p + p,
.partners-promo__caption p + p {
  margin-top: 0.55em;
}

.partners-components {
  padding: clamp(40px, 5vw, 72px) 0 0;
  margin-bottom: 50px;
  background: var(--fenomen-surface);
}

.partners-components__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  aspect-ratio: 2 / 1;
}

.partners-components__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
  min-height: 0;
  padding: clamp(24px, 4vw, 56px);
  overflow: auto;
}

.partners-components__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #111;
}

.partners-components__list-wrap {
  min-width: 0;
}

.partners-components__media {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #d8d5d0;
}

.partners-accordion {
  border-top: 1px solid #d9dde5;
}

.partners-accordion__item {
  border-bottom: 1px solid #d9dde5;
}

.partners-accordion__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.partners-accordion__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: #151821;
  font: inherit;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.partners-accordion__icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.partners-accordion__icon::before,
.partners-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.partners-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.partners-accordion__item.is-open .partners-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.partners-accordion__body {
  display: none;
  padding: 0 0 18px;
}

.partners-accordion__item.is-open .partners-accordion__body {
  display: block;
}

.partners-accordion__body p {
  margin: 0;
  max-width: 52ch;
  color: #4d5563;
  line-height: 1.65;
  font-size: 0.98rem;
}

.partners-accordion__body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.partners-accordion__body a:hover {
  color: #111;
}

.partners-components__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}


/* Partners audience cards (was checkerboard split) — 3-up desktop, stacked mobile */
.partners-audience {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--fenomen-page-bg, #f2f3f5);
}

.partners-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  column-gap: clamp(16px, 2vw, 28px);
  row-gap: 0;
  align-items: stretch;
}

.partners-audience__card {
  min-width: 0;
  width: 100%;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  box-sizing: border-box;
  /* Same burgundy family as footer, vertical: black → burgundy */
  background: linear-gradient(
    180deg,
    #0a0a0a 0%,
    #201b21 38%,
    #341d23 62%,
    #532027 82%,
    #70232d 100%
  );
  padding: clamp(24px, 3vw, 36px);
}

.partners-audience__title {
  margin: 0;
  font-size: clamp(1.2rem, 1.85vw, 1.75rem);
  font-weight: var(--fenomen-h2-weight, 700);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

.partners-audience__text {
  margin: clamp(16px, 2.2vw, 22px) 0 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
}

.partners-audience__text p {
  margin: 0 0 0.65em;
  color: inherit;
}

.partners-audience__text p:last-child {
  margin-bottom: 0;
}

.partners-audience__text a {
  color: #fff;
  text-decoration: underline;
}

.partners-audience__text .fenomen-tone-black,
.partners-audience__text .fenomen-tone-gray {
  color: rgba(255, 255, 255, 0.92) !important;
}

@media (max-width: 980px) {
  .partners-audience__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: clamp(20px, 4vw, 28px);
  }

  .partners-audience__card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
  }
}

.partners-split {
  padding: clamp(40px, 5vw, 72px) 0;
  background: var(--fenomen-surface);
}

.partners-split--designers {
  padding: 0;
}

.partners-split--distributors {
  padding: 0 0 clamp(40px, 5vw, 72px);
}

.partners-split__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.partners-split--designers .partners-split__grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  aspect-ratio: 2 / 1;
}

/* Designers: content first in DOM (mobile order), media stays left on desktop */
.partners-split--designers .partners-split__media {
  order: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #d8d5d0;
}

.partners-split--designers .partners-split__content {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(24px, 4vw, 56px);
  overflow: auto;
}

.partners-split--designers .partners-split__grid--reverse .partners-split__content {
  order: 1;
}

.partners-split--designers .partners-split__grid--reverse .partners-split__media {
  order: 2;
}

.partners-split__grid--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
}

.partners-split__grid--reverse .partners-split__content {
  order: 1;
}

.partners-split__grid--reverse .partners-split__media {
  order: 2;
}

.partners-split__media img {
  display: block;
  width: 100%;
  min-height: clamp(320px, 36vw, 480px);
  object-fit: cover;
}

.partners-split--designers .partners-split__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.partners-split__media--octagon {
  justify-self: stretch;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
}

.partners-split__media--octagon img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.partners-split__content h2,
.partners-split__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #111;
}

.partners-split__content p {
  margin: 18px 0 0;
  max-width: 560px;
  color: #4d5563;
  line-height: 1.65;
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
}

.partners-split__content .about-rich-text {
  margin-top: 18px;
  max-width: 560px;
  color: #4d5563;
  line-height: 1.65;
  font-size: clamp(0.98rem, 1.1vw, 1.05rem);
}

.partners-split__content .about-rich-text p {
  margin: 0 0 0.85em;
  max-width: none;
}

.partners-split__content .about-rich-text p:last-child {
  margin-bottom: 0;
}

.partners-distributor__texts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.partners-distributor__text {
  grid-area: 1 / 1;
}

.partners-distributor__text[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.partners-distributor__layout {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "content media"
    "nav media";
  grid-template-rows: 1fr auto;
  align-items: stretch;
  column-gap: 0;
  row-gap: 0;
  aspect-ratio: 2 / 1;
}

.partners-distributor__layout .partners-split__content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  order: unset;
  min-width: 0;
  min-height: 0;
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0;
  overflow: auto;
}

.partners-distributor__layout .partners-distributor__stack {
  grid-area: media;
  order: unset;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
}

.partners-distributor__nav {
  grid-area: nav;
  margin-top: 0;
  align-self: stretch;
  padding: 16px clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px);
}

.partners-distributor__stack {
  --stack-shift-x: clamp(18px, 3.2vw, 42px);
  --stack-shift-y: clamp(16px, 2.8vw, 36px);
  --stack-count-offset: 2;
  position: relative;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.partners-distributor__stack[data-stack-count="1"] {
  aspect-ratio: auto;
  min-height: 0;
}

.partners-distributor__card {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: calc(30 - var(--stack-depth, 0));
  width: calc(100% - (var(--stack-count-offset, 2) * var(--stack-shift-x)));
  max-width: 100%;
  height: calc(100% - (var(--stack-count-offset, 2) * var(--stack-shift-y)));
  margin: 0;
  aspect-ratio: auto;
  overflow: hidden;
  background: #d8d5d0;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
  transform: translate3d(
    calc(var(--stack-depth, 0) * var(--stack-shift-x)),
    calc(var(--stack-depth, 0) * var(--stack-shift-y) * -1),
    0
  );
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}

.partners-distributor__stack[data-stack-count="1"] .partners-distributor__card {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: auto;
  box-shadow: none;
  transform: none;
}

.partners-distributor__stack[data-stack-count="2"] {
  --stack-count-offset: 1;
}

.partners-distributor__stack[data-stack-count="3"] {
  --stack-count-offset: 2;
}

.partners-distributor__stack[data-stack-count="4"] {
  --stack-count-offset: 3;
}

.partners-distributor__card.is-active {
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.18);
}

.partners-distributor__card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.partners-cta {
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 72px);
  background: #fff;
}

.partners-cta__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(36px, 6vw, 72px);
  min-height: clamp(300px, 40vw, 460px);
  padding: clamp(32px, 4.5vw, 56px) clamp(28px, 4vw, 56px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.4)),
    linear-gradient(135deg, #2a2623, #111);
  overflow: hidden;
}

.partners-cta__panel.has-image {
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.36)),
    var(--partners-cta-image) center / cover no-repeat;
}

.partners-cta__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
}

.partners-cta__title span {
  display: block;
}

.partners-cta__footer {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.partners-cta__btn {
  flex-shrink: 0;
  max-width: 100%;
}

.partners-cta__btn {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  margin-top: auto;
}

.partners-cta__panel {
  justify-content: flex-end;
  gap: clamp(28px, 5vw, 48px);
}


.partners-cta__btn.btn-dark,
.partners-cta .btn-dark.partners-cta__btn {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.partners-cta__btn .btn-pill-label,
.partners-cta__btn .btn-pill-arrow,
.partners-cta__btn.btn-dark .btn-pill-label,
.partners-cta__btn.btn-dark .btn-pill-arrow {
  background: #70032a;
  color: #fff;
  border: 0;
  box-shadow: none;
}

.partners-cta__btn:hover .btn-pill-label,
.partners-cta__btn:hover .btn-pill-arrow,
.partners-cta__btn.btn-dark:hover .btn-pill-label,
.partners-cta__btn.btn-dark:hover .btn-pill-arrow {
  background: #5a0222;
  color: #fff;
}

.partners-cta__text {
  margin: 0;
  max-width: 38rem;
  width: min(100%, 600px);
  justify-self: end;
  text-align: left;
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.partners-cta__text p {
  margin: 0 0 0.65em;
}

.partners-cta__text p:last-child {
  margin-bottom: 0;
}

.partners-cta__text .fenomen-tone-black {
  color: #fff !important;
}

.partners-cta__text .fenomen-tone-gray {
  color: rgba(255, 255, 255, 0.7) !important;
}

.partners-form__submit .btn-pill-label,
.partners-form__submit .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.partners-form__submit:hover .btn-pill-label,
.partners-form__submit:hover .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.partners-form-section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0 clamp(88px, 10vw, 140px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.78)),
    var(--partners-form-image, linear-gradient(135deg, #2a2623, #111)) center / cover no-repeat;
}

.partners-form-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.partners-form-section__inner {
  position: relative;
  z-index: 1;
}

.partners-form-card {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3.5vw, 36px);
  border-radius: 18px;
  background: rgba(12, 14, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.partners-form-card__title {
  margin: 0 0 28px;
  font-size: var(--fenomen-h2-size);
  line-height: var(--fenomen-h2-line);
  font-weight: var(--fenomen-h2-weight);
  text-transform: uppercase;
  color: #fff;
}

.partners-form-card__success {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.partners-form {
  display: grid;
  gap: 16px;
}

.partners-form__field {
  display: grid;
  gap: 8px;
}

.partners-form__field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.partners-form__field input,
.partners-form__field select,
.partners-form__field textarea {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
}

.partners-form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.85) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 2px),
    calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.partners-form__field select option {
  color: #111;
  background: #fff;
}

.partners-form__field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.partners-form__field input:focus,
.partners-form__field select:focus,
.partners-form__field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.partners-form__field textarea {
  resize: vertical;
  min-height: 110px;
}

.partners-form__submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  align-self: flex-start;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: var(--fenomen-btn-radius);
  overflow: hidden;
  cursor: pointer;
  font-size: 0;
}

@media (max-width: 900px) {
  .partners-components {
    padding: clamp(32px, 6vw, 48px) 0;
  }

  .partners-components__grid {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 20px;
  }

  .partners-components__copy {
    order: 1;
    padding: 0;
    overflow: visible;
  }

  .partners-components__title {
    margin-bottom: 16px;
  }

  .partners-components__list-wrap {
    order: 2;
  }

  .partners-components__media {
    order: 3;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .partners-components__media img {
    min-height: 0;
  }

  .partners-split--designers,
  .partners-split--distributors {
    padding: clamp(24px, 5vw, 40px) 0;
  }

  .partners-split__grid,
  .partners-split__grid--reverse {
    grid-template-columns: 1fr;
  }

  .partners-split--designers .partners-split__grid {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    gap: 20px;
    align-items: stretch;
  }

  /* Mobile: title → text → photo */
  .partners-split--designers .partners-split__content,
  .partners-split__grid--reverse .partners-split__content {
    order: 1;
    padding: 0;
    overflow: visible;
  }

  .partners-split--designers .partners-split__media,
  .partners-split__grid--reverse .partners-split__media {
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .partners-split--designers .partners-split__media img,
  .partners-split--designers .partners-split__media--octagon img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .partners-distributor__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media"
      "nav";
    grid-template-rows: auto;
    row-gap: 20px;
    column-gap: 0;
    aspect-ratio: auto;
  }

  .partners-distributor__layout .partners-split__content {
    order: 1;
    align-self: stretch;
    padding: 0;
    overflow: visible;
  }

  .partners-distributor__layout .partners-distributor__stack {
    order: 2;
    height: auto;
  }

  .partners-distributor__layout .partners-distributor__nav {
    order: 3;
    margin-top: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0;
  }

  .partners-distributor__stack {
    --stack-shift-x: 18px;
    --stack-shift-y: 14px;
    width: 100%;
    max-width: none;
    aspect-ratio: 5 / 4;
    min-height: 0;
    margin: 0;
  }

  .partners-distributor__card {
    width: calc(100% - (var(--stack-count-offset, 2) * var(--stack-shift-x)));
    height: calc(100% - (var(--stack-count-offset, 2) * var(--stack-shift-y)));
    aspect-ratio: auto;
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.12);
  }

  .partners-distributor__stack[data-stack-count="1"] {
    aspect-ratio: 5 / 4;
    min-height: 0;
  }

  .partners-distributor__stack[data-stack-count="1"] .partners-distributor__card {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .partners-distributor__card.is-active {
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.16);
  }

  .partners-components__media img {
    min-height: 0;
  }

  .partners-cta__panel {
    min-height: 0;
    gap: 32px;
  }

  .partners-cta__title {
    max-width: none;
  }

  .partners-cta__footer {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }

  .partners-cta__text {
    justify-self: start;
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .partners-hero__title {
    max-width: none;
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .partners-promo__screen {
    min-height: clamp(560px, 160vw, 720px);
  }

  .partners-promo__inner {
    grid-template-rows: minmax(64px, 0.22fr) auto 1fr auto;
    padding: 0 clamp(16px, 4vw, 24px) clamp(28px, 6vw, 40px);
  }

  .partners-promo__screen-title,
  .partners-promo__caption {
    max-width: none;
    text-align: center;
  }

  .partners-promo__screen-title {
    font-size: clamp(1.05rem, 4.2vw, 1.35rem);
  }

}

/* Catalog downloads page */
.catalogs-page-main {
  background: transparent;
  color: #111;
  padding-bottom: 0;
}

.catalogs-hero {
  position: relative;
  min-height: clamp(380px, 48vw, 560px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.52) 100%),
    var(--catalogs-hero-image, linear-gradient(135deg, #5a534c, #1f1c19)) center / cover no-repeat;
}

.catalogs-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.catalogs-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.catalogs-hero__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  font-weight: 600;
  text-transform: uppercase;
}

.catalogs-breadcrumbs-wrap {
  background: transparent;
  padding: 18px 0 0;
}

.catalogs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 0.82rem;
  color: #6f7785;
}

.catalogs-breadcrumbs a {
  color: #6f7785;
  text-decoration: none;
}

.catalogs-breadcrumbs a:hover {
  color: #111;
}

.catalogs-breadcrumbs span:last-child {
  color: #111;
}

.catalogs-grid-section {
  padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px);
  background: transparent;
}

.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.catalogs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.04);
}

.catalogs-card__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #9aa3b0;
}

.catalogs-card__title {
  margin: 0;
  padding-right: 36px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
}

.catalogs-card__subtitle {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #6f7785;
}

.catalogs-card__text {
  margin: 14px 0 0;
  flex: 1;
  color: #4d5563;
  line-height: 1.65;
  font-size: 0.95rem;
}

.catalogs-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(20px, 3vw, 28px);
}

.catalogs-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--fenomen-btn-radius);
  font-size: 0.82rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.catalogs-card__btn--primary {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.catalogs-card__btn--primary:hover {
  background: var(--fenomen-brand-red-hover);
  color: #fff;
}

.catalogs-card__btn--secondary {
  background: #eceff4;
  color: #111;
  border: 1px solid #dfe3ea;
}

.catalogs-card__btn--secondary:hover {
  background: #e2e6eb;
  color: #111;
}

.catalogs-card__btn-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.catalogs-sample-cta {
  padding: 0;
  background: #111;
  color: #fff;
  overflow: hidden;
}

.catalogs-sample-cta__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  min-height: clamp(280px, 36vw, 440px);
}

.catalogs-sample-cta__media {
  min-height: 100%;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
}

.catalogs-sample-cta__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 36vw, 440px);
  object-fit: cover;
  object-position: center;
}

.catalogs-sample-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px) 0;
  box-sizing: border-box;
}

.catalogs-sample-cta__content h2 {
  margin: 0;
  font-family: inherit;
  font-size: var(--fenomen-h2-size);
  line-height: var(--fenomen-h2-line);
  font-weight: var(--fenomen-h2-weight);
}

.catalogs-sample-cta__content p {
  margin: 16px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.catalogs-sample-cta__btn {
  margin-top: 24px;
}

.catalogs-sample-cta__btn .btn-pill-label,
.catalogs-sample-cta__btn .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.catalogs-sample-cta__btn:hover .btn-pill-label,
.catalogs-sample-cta__btn:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
  color: #fff;
}

.catalogs-insights {
  background: #fff;
}

@media (max-width: 980px) {
  .catalogs-grid,
  .catalogs-sample-cta__grid {
    grid-template-columns: 1fr;
  }

  .catalogs-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .catalogs-hero__title {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .catalogs-card {
    padding: 20px;
  }
}

/* Contacts page */
body.contacts-template-page {
  background: var(--fenomen-page-bg);
  color: #111;
}

.contacts-page-main {
  background: transparent;
  color: #111;
  padding-bottom: 0;
}

.contacts-hero {
  position: relative;
  min-height: clamp(360px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, #6b1820 0%, #3d1218 16%, #0a0a0a 34%, #0a0a0a 66%, #3d1218 84%, #6b1820 100%);
}

.contacts-hero__ornament {
  position: absolute;
  pointer-events: none;
  opacity: 0.95;
}

.contacts-hero__ornament--left {
  left: clamp(12px, 4vw, 48px);
  bottom: clamp(24px, 8vw, 72px);
}

.contacts-hero__ornament--right {
  right: clamp(12px, 4vw, 48px);
  top: clamp(48px, 10vw, 96px);
}

.contacts-hero__ornament svg,
.contacts-hero__ornament img {
  display: block;
  width: clamp(120px, 16vw, 220px);
  height: auto;
}

.contacts-hero__ornament--right img {
  width: clamp(100px, 14vw, 180px);
}

.contacts-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(48px, 6vw, 72px) 0;
}

.contacts-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  font-weight: 600;
}

.contacts-hero__subtitle {
  margin: 18px auto 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
}

.contacts-body {
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 64px);
  background: transparent;
}

body.contacts-template-page .contacts-map,
body.contacts-template-page .contacts-page-main,
body.contacts-template-page .contacts-page {
  margin-bottom: 0;
}

body.contacts-template-page .site-footer--fenomen {
  margin-top: 0;
}

.contacts-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.contacts-info {
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.contacts-connect {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.contacts-connect__email,
.contacts-connect__socials,
.contacts-connect__messengers {
  min-width: 0;
}

.contacts-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.contacts-channels--messengers {
  gap: 12px;
}

.contacts-channel-group {
  display: grid;
  gap: 16px;
}

.contacts-channel-group__title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}

.contacts-channels__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8eaee;
  color: #111;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contacts-channels__item:hover,
.contacts-channels__item:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
  transform: translateY(-1px);
}

.contacts-channels__item .contacts-info-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  color: inherit;
}

.contacts-channels__item .contacts-info-block__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contacts-info-block {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.contacts-info-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8eaee;
  color: #111;
  flex-shrink: 0;
}

.contacts-info-block__icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.contacts-info-block--branches .contacts-info-block__icon {
  width: 60px;
  height: 60px;
}

.contacts-info-block--branches .contacts-info-block__icon svg {
  width: 28px;
  height: 28px;
}

.contacts-info-block__content h2,
.contacts-info-block__content .contacts-info-block__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
  color: #111;
}

.contacts-info-block__content p {
  margin: 0;
  color: #4d5563;
  line-height: 1.55;
}

.contacts-info-block__content a {
  color: #111;
  text-decoration: none;
}

.contacts-info-block__content a:hover {
  text-decoration: underline;
}

.contacts-info-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.contacts-info-item {
  display: grid;
  gap: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4d5563;
}

.contacts-info-item strong {
  color: #111;
  font-weight: 600;
}

.contacts-branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  align-items: start;
}

.contacts-branch {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}

.contacts-branch__city {
  color: #111;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

button.contacts-branch__city,
button.contacts-branch__address {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

button.contacts-branch__city:hover,
button.contacts-branch__address:hover,
.contacts-branch--has-map .contacts-branch__city:hover,
.contacts-branch--has-map .contacts-branch__address:hover {
  color: var(--fenomen-brand-red, #82252f);
  text-decoration: underline;
}

.contacts-branch.is-map-active .contacts-branch__city {
  color: var(--fenomen-brand-red, #82252f);
}

.contacts-branch__address.is-map-active {
  color: var(--fenomen-brand-red, #82252f);
  font-weight: 700;
}

.contacts-branch__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.contacts-branch__list--locations {
  gap: 10px;
  margin-top: 6px;
}

.contacts-branch__location {
  display: grid;
  gap: 2px;
}

.contacts-branch__phone {
  color: #111;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
}

.contacts-branch__phone:hover {
  text-decoration: underline;
  color: var(--fenomen-brand-red, #82252f);
}

.contacts-branch__list li,
.contacts-branch__meta {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4d5563;
}

.contacts-branch__schedule,
.contacts-schedule-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.contacts-branch__schedule li,
.contacts-schedule-list li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #4d5563;
}

.contacts-branch__schedule-label,
.contacts-schedule-list__label {
  color: #111;
  font-weight: 600;
}

.contacts-branch__schedule-value,
.contacts-schedule-list__value {
  min-width: 0;
}

.contacts-branch__list--phones a {
  color: #111;
  text-decoration: none;
}

.contacts-branch__list--phones a:hover {
  text-decoration: underline;
  color: var(--fenomen-brand-red, #82252f);
}

.contacts-branch__phone-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fenomen-brand-red, #82252f);
}

.contacts-branch__list--phones li.is-primary-phone a {
  font-weight: 600;
}

.footer-branch__list--phones a {
  color: inherit;
  text-decoration: none;
}

.footer-branch__list--phones a:hover {
  text-decoration: underline;
}

.footer-branch__list--phones li.is-primary-phone a {
  font-weight: 600;
}

.contacts-social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.contacts-social-list a {
  color: #111;
  text-decoration: none;
}

.contacts-social-list a:hover {
  text-decoration: underline;
}

.contacts-form-card {
  width: 100%;
  padding: clamp(32px, 3.5vw, 48px);
  border-radius: 36px;
  background: #eceef1;
  border: 1px solid #9aa1ab;
  box-shadow: none;
}

.contacts-form-card__title {
  margin: 0 0 28px;
  font-size: var(--fenomen-h2-size);
  line-height: var(--fenomen-h2-line);
  font-weight: var(--fenomen-h2-weight);
  color: #111;
}

.contacts-form {
  display: grid;
  gap: 18px;
}

.contacts-form__field {
  display: grid;
  gap: 8px;
}

.contacts-form__field label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
}

.contacts-form__field input,
.contacts-form__field select {
  width: 100%;
  border: 1px solid #c8ced6;
  border-radius: 8px;
  background: #fff;
  color: #111;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.4;
  box-sizing: border-box;
}

.contacts-form__field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 2px),
    calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contacts-form__field input::placeholder {
  color: #b0b7c3;
}

.contacts-form__field input:focus,
.contacts-form__field select:focus {
  outline: none;
  border-color: #111;
  background-color: #fff;
}

.contacts-form__submit {
  margin-top: 10px;
  width: fit-content;
}

.contacts-form__submit .btn-pill-label,
.contacts-form__submit .btn-pill-arrow {
  background: #111;
  color: #fff;
}

.contacts-form__submit:hover .btn-pill-label,
.contacts-form__submit:hover .btn-pill-arrow {
  background: #2a2a2a;
}

.contacts-map {
  position: relative;
  overflow: hidden;
  margin: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #f4f1ea 0%, #e8ebe8 42%, #dfe4e2 100%);
  min-height: clamp(320px, 42vw, 520px);
}

.contacts-map__canvas {
  display: block;
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  height: clamp(320px, 42vw, 520px);
  border: 0;
  filter: saturate(0.82) contrast(1.04);
}

.contacts-map__canvas.is-hidden,
.contacts-map__iframe.is-hidden,
.contacts-map__placeholder.is-hidden {
  display: none !important;
}

.contacts-map__iframe {
  display: block;
  width: 100%;
  min-height: clamp(320px, 42vw, 520px);
  border: 0;
}

.contacts-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(320px, 42vw, 520px);
  color: #6f7785;
}

.contacts-map__pin {
  display: inline-flex;
  color: #111;
}

.contacts-map__placeholder p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.contacts-map__marker {
  background: transparent !important;
  border: 0 !important;
}

.contacts-map__marker-dot {
  display: block;
  filter: drop-shadow(0 8px 16px rgba(17, 17, 17, 0.28));
}

.contacts-map .leaflet-container {
  background: #e8ebe8;
  font: inherit;
}

.contacts-map .leaflet-control-attribution,
.contacts-map .leaflet-pane > .leaflet-proxy {
  display: none;
}

.contacts-map .leaflet-control-zoom {
  margin: 14px 14px 0 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.12) !important;
}

.contacts-map .leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #111 !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

.contacts-map .leaflet-control-zoom a:hover,
.contacts-map .leaflet-control-zoom a:focus {
  background: #fff !important;
  color: #111 !important;
}

.contacts-map .leaflet-control-zoom-in {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08) !important;
}

.contacts-map .leaflet-tile-pane {
  opacity: 0.96;
}

.contacts-map__directions {
  position: absolute;
  z-index: 500;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(14, 14, 15, 0.88);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.contacts-map__directions.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.contacts-map__directions-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  max-width: min(58vw, 320px);
}

.contacts-map__directions-label {
  margin: 0;
  color: #fff;
  font-size: 0.8125rem !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3 !important;
  white-space: nowrap;
}

.contacts-map__directions-place {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.6875rem !important;
  font-weight: 500;
  line-height: 1.35 !important;
  white-space: normal;
}

.contacts-map__directions-place.is-empty {
  display: none;
}

.contacts-map__directions-apps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contacts-map__directions-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px 0 8px;
  border-radius: var(--fenomen-btn-radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contacts-map__directions-app svg {
  display: block;
  flex: 0 0 auto;
}

.contacts-map__directions-app:hover,
.contacts-map__directions-app:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  outline: none;
}

.contacts-map__directions-app--google:hover,
.contacts-map__directions-app--google:focus-visible {
  border-color: rgba(66, 133, 244, 0.35);
}

.contacts-map__directions-app--waze {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  background: #33ccff;
  color: #0b1f33;
  box-shadow: none;
}

.contacts-map__directions-app--waze span {
  display: none;
}

.contacts-map__directions-app--waze svg {
  width: 28px;
  height: 28px;
}

.contacts-map__directions-app--waze:hover,
.contacts-map__directions-app--waze:focus-visible {
  background: #2bc0f5;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(51, 204, 255, 0.35);
}

/* Directions text must never use reveal-on-scroll fade/slide. */
.contacts-map__directions .reveal-on-scroll,
.contacts-map__directions-label.reveal-on-scroll,
.contacts-map__directions-place.reveal-on-scroll,
.contacts-map__directions-label,
.contacts-map__directions-place {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

@media (max-width: 700px) {
  /* Keep fixed directions above footer (both main/footer use z-index stacking). */
  body.contacts-template-page main {
    z-index: 2;
  }

  body.contacts-template-page .site-footer {
    z-index: 1;
  }

  .contacts-map__directions,
  .contacts-map__directions.is-visible {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 10050;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    opacity: 0;
    transform: none;
    transition: none;
    pointer-events: none;
  }

  .contacts-map__directions.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .contacts-map__directions-label {
    font-size: 0.75rem !important;
    opacity: 1;
    transform: none;
  }

  .contacts-map__directions-place {
    font-size: 0.625rem !important;
  }

  .contacts-map__directions-text {
    max-width: none;
    flex: 1 1 auto;
  }

  .contacts-map__directions-app span {
    display: none;
  }

  .contacts-map__directions-app {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }

  body.contacts-template-page .contacts-map {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  body.contacts-template-page .contacts-page-main,
  body.contacts-template-page .contacts-page {
    margin-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 1100px) {
  .contacts-channels--socials {
    gap: 12px;
  }
}

@media (max-width: 980px) {
  .contacts-body__grid {
    grid-template-columns: 1fr;
  }

  .contacts-form-card {
    max-width: none;
  }

  .contacts-connect {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts-channels--socials,
  .contacts-channels--messengers {
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .contacts-hero__title {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
  }

  .contacts-channels,
  .contacts-channels--socials,
  .contacts-channels--messengers {
    gap: 10px;
  }

  .contacts-info-columns {
    grid-template-columns: 1fr;
  }

  .contacts-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }

  /* Branches / email / phone: no icons on mobile. */
  .contacts-info-block:not(.contacts-channels__item) {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .contacts-info-block:not(.contacts-channels__item) > .contacts-info-block__icon {
    display: none;
  }

  .contacts-channels__item {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .contacts-channels__item .contacts-info-block__icon svg {
    width: 20px;
    height: 20px;
  }

  .contacts-branch__city {
    font-size: 0.88rem;
  }

  .contacts-branch__address,
  .contacts-branch__list {
    font-size: 0.82rem;
  }

  .contacts-hero__ornament--left,
  .contacts-hero__ornament--right {
    opacity: 0.55;
  }
}

/* Blog archive / category */
.blog-archive-main {
  background: transparent;
  color: #111;
  padding-bottom: 0;
}

.blog-archive-hero {
  position: relative;
  min-height: clamp(320px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  background: var(--blog-archive-hero-image, linear-gradient(135deg, #6f675f, #2f2b28)) center / cover no-repeat;
}

.blog-archive-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #201b21 0%, #201b21 28%, #341d23 50%, #532027 75%, #70232d 100%);
  opacity: 0.55;
}

.blog-archive-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.blog-archive-hero__content {
  max-width: min(100%, 520px);
  margin: 0;
  text-align: left;
  text-shadow: none;
}

.blog-archive-hero__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  color: #fff;
}

.blog-archive-hero__subtitle {
  margin: 14px 0 0;
  max-width: 34ch;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
  text-transform: lowercase;
  white-space: normal;
}

.blog-archive-toolbar {
  padding: clamp(20px, 3vw, 28px) 0 clamp(12px, 2vw, 18px);
  background: transparent;
}

.blog-archive-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  font-size: 0.82rem;
  color: #6f7785;
}

.blog-archive-breadcrumbs a {
  color: #6f7785;
  text-decoration: none;
}

.blog-archive-breadcrumbs a:hover {
  color: #111;
}

.blog-archive-breadcrumbs span:last-child {
  color: #111;
}

.blog-archive-section-title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  color: #111;
}

.blog-archive-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: clamp(28px, 3.5vw, 40px) 0 0;
}

.blog-archive-filters__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 22px;
  border: 1px solid #e5e7eb;
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  color: #111;
  font: inherit;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.blog-archive-filters__btn:hover {
  border-color: #111;
  background: #fff;
  color: #111;
}

.blog-archive-filters__btn:focus {
  outline: none;
}

.blog-archive-filters__btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.blog-archive-filters__btn.is-active,
.blog-archive-filters__btn.is-active:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.blog-archive-filters-empty {
  margin: clamp(20px, 3vw, 28px) 0 0;
  color: #6f7785;
  font-size: 0.92rem;
}

.blog-archive-posts {
  padding: clamp(12px, 2vw, 20px) 0 clamp(64px, 8vw, 96px);
  background: transparent;
}

.blog-archive-results {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.blog-archive-results.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}

.blog-archive-results.is-entering .blog-archive-card {
  animation: blog-archive-card-in 0.45s ease both;
  animation-delay: var(--blog-card-delay, 0ms);
}

@keyframes blog-archive-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.blog-archive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: none;
}

.blog-archive-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-archive-card__title a,
.blog-archive-card__btn {
  position: relative;
  z-index: 2;
}

.blog-archive-card:hover .blog-archive-card__image img {
  transform: scale(1.03);
}

.blog-archive-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.15 / 1;
  background: #eceff4;
}

.blog-archive-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-archive-card__image:hover img {
  transform: scale(1.03);
}

.blog-archive-card__image--placeholder {
  background: linear-gradient(145deg, #eceff4, #d9dde5);
}

.blog-archive-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 22px;
  box-sizing: border-box;
}

.blog-archive-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin-bottom: 10px;
}

.blog-archive-card__category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eceef2;
  color: #4b5563;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.blog-archive-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #6b7280;
}

.blog-archive-card__date-icon {
  display: inline-flex;
  color: #9ca3af;
}

.blog-archive-card__title {
  margin: 0;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.35;
  font-weight: 500;
}

.blog-archive-card__title a {
  color: #111;
  text-decoration: none;
}

.blog-archive-card__title a:hover {
  color: #333;
}

.blog-archive-card__excerpt {
  margin: 10px 0 0;
  flex: 1;
  color: #4d5563;
  line-height: 1.55;
  font-size: 0.92rem;
}

.blog-archive-card__btn {
  margin-top: 16px;
  align-self: flex-start;
}

.blog-archive-empty {
  margin: 0;
  color: #6f7785;
}

.blog-archive-posts .pagination,
.blog-archive-posts .nav-links {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.blog-archive-posts .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe3ea;
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  color: #111;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.blog-archive-posts .page-numbers.current {
  background: #111;
  border-color: #111;
  color: #fff;
  cursor: default;
}

body.blog-archive-page {
  background: var(--fenomen-page-bg);
}

@media (max-width: 980px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-archive-hero__inner {
    justify-content: center;
  }

  .blog-archive-hero__content {
    max-width: min(100%, 420px);
    text-align: center;
  }

  .blog-archive-hero__subtitle {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .blog-archive-grid {
    grid-template-columns: 1fr;
  }

  .blog-archive-hero {
    min-height: clamp(280px, 68vw, 380px);
    align-items: center;
  }

  .blog-archive-hero__inner {
    justify-content: center;
    padding-top: clamp(48px, 10vw, 72px);
    padding-bottom: clamp(48px, 10vw, 72px);
  }

  .blog-archive-hero__content {
    max-width: min(100%, 340px);
    text-align: center;
  }

  .blog-archive-hero__title {
    display: block;
    font-size: clamp(2rem, 11vw, 2.6rem);
    padding: 0;
    background: none;
  }

  .blog-archive-hero__subtitle {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.4;
  }
}

body.blog-single-page {
  background: var(--fenomen-page-bg);
}

/* Single blog post */
.blog-single-main {
  padding-top: 0;
  background: transparent;
  color: #111;
}

.blog-single-hero {
  width: 100%;
  max-height: clamp(320px, 46vh, 560px);
  overflow: hidden;
  background: #eceff4;
}

.blog-single-hero__image,
.blog-single-hero__placeholder {
  display: block;
  width: 100%;
  height: clamp(320px, 46vh, 560px);
  object-fit: cover;
}

.blog-single-hero__placeholder {
  background:
    linear-gradient(135deg, #d8dde5 0%, #eceff4 45%, #dfe4ea 100%);
}

.blog-single-toolbar {
  padding: 18px 0 0;
  background: transparent;
}

.blog-single-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  font-size: 0.82rem;
  color: #6f7785;
  text-transform: lowercase;
}

.blog-single-breadcrumbs a {
  color: #6f7785;
  text-decoration: none;
}

.blog-single-breadcrumbs a:hover {
  color: #111;
}

.blog-single-content {
  padding: clamp(20px, 3vw, 32px) 0 clamp(72px, 9vw, 104px);
  background: transparent;
}

.blog-single-content__inner {
  margin-right: auto;
}

.blog-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.blog-single-tag {
  font-size: 0.72rem;
  color: #6f7785;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-single-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  line-height: 1.18;
  font-weight: 700;
}

.blog-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  font-size: 0.82rem;
  color: #6f7785;
}

.blog-single-meta time,
.blog-single-meta__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-single-meta__icon {
  display: inline-flex;
  opacity: 0.85;
}

.blog-single-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.blog-single-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-single-author__avatar--placeholder {
  display: block;
  background: #eceff4;
}

.blog-single-author__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.blog-single-author__role {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #6f7785;
}

.blog-single-lead {
  margin: clamp(24px, 3vw, 32px) 0 0;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.65;
  color: #4d5563;
}

.blog-single-body {
  margin-top: clamp(24px, 3vw, 32px);
  color: #2f3745;
  font-size: clamp(0.98rem, 1.05vw, 1.04rem);
  line-height: 1.75;
}

.blog-single-body > *:first-child {
  margin-top: 0;
}

.blog-single-body h2,
.blog-single-body h3,
.blog-single-body h4 {
  margin: clamp(22px, 3vw, 32px) 0 10px;
  color: #111;
  font-weight: 600;
  letter-spacing: normal;
}

.blog-single-body h2 {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.28;
  text-transform: uppercase;
}

.blog-single-body h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.35;
  text-transform: none;
}

.blog-single-body h4 {
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.4;
}

.blog-single-body p {
  margin: 0 0 16px;
}

.blog-single-body ul,
.blog-single-body ol {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.blog-single-body a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-single-body img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .blog-single-title {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .blog-single-content__inner {
    max-width: none;
  }
}



/* Blog article FAQ — same accordion as partners page */
.blog-faq {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid #d9dde5;
}

.blog-faq__title {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  color: #111;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-faq .partners-accordion__body p {
  max-width: none;
}

/* Category archive SEO intro + FAQ */
.catalog-tax-seo {
  padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 1.5vw, 16px);
}

.catalog-tax-seo__intro {
  max-width: 820px;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.catalog-tax-seo__intro p {
  margin: 0;
  color: #2a2f3a;
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.55;
}

.catalog-tax-seo .blog-faq {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}


/* Related posts carousel (same category): 3 desktop / 1 mobile */
.blog-related {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid #d9dde5;
}

.blog-related__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 clamp(16px, 2.5vw, 22px);
}

.blog-related__title {
  margin: 0;
  color: #111;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.28;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.blog-related__all {
  color: #4d5563;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
}

.blog-related__all:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-related__viewport {
  --blog-related-gap: 16px;
  --blog-related-visible: 3;
  margin: 0;
  padding: 0 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c8ced8 transparent;
  container-type: inline-size;
  container-name: blog-related;
}

.blog-related__viewport::-webkit-scrollbar {
  height: 6px;
}

.blog-related__viewport::-webkit-scrollbar-thumb {
  background: #c8ced8;
}

.blog-related__track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--blog-related-gap);
  width: max-content;
  padding-bottom: 4px;
}

.blog-related__item {
  --blog-related-item-size: calc(
    (100cqi - (var(--blog-related-gap) * (var(--blog-related-visible) - 1)))
    / var(--blog-related-visible)
  );
  flex: 0 0 var(--blog-related-item-size);
  width: var(--blog-related-item-size);
  max-width: none;
  scroll-snap-align: start;
}

.blog-related__item .blog-archive-card {
  height: 100%;
  margin: 0;
}

.blog-related__item .blog-archive-card__image img {
  aspect-ratio: 16 / 10;
}

@media (max-width: 800px) {
  .blog-related__viewport {
    --blog-related-visible: 1;
    --blog-related-gap: 12px;
  }
}

/* Homepage flexible components */
.home-component-title {
  margin: 0 0 28px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: #151821;
}

.home-hero-grid--mockup {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}

.home-hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: min(28vh, 220px);
  pointer-events: none;
  /*background: linear-gradient(180deg, rgba(242, 243, 245, 0) 0%, #f2f3f5 100%);*/
}

.home-kicker {
  margin: 0 0 14px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.home-kicker:empty {
  display: none;
}

.home-hero-title,
.home-hero h1.home-hero-title,
.home-hero p.home-hero-title {
  margin: 0;
  font-size: clamp(2rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  max-width: 14ch;
}

.home-hero-sub {
  margin-top: clamp(16px, 2.2vw, 24px);
  max-width: 28rem;
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.home-hero-actions {
  margin-top: clamp(18px, 2.4vw, 28px);
}

.home-hero-accent {
  display: none;
}

.btn-accent .btn-pill-label,
.btn-accent .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.btn-accent:hover .btn-pill-label,
.btn-accent:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

/* Home about / intro + stacked cards (StartWise-style sticky stack) */
.home-block-about {
  --about-stack-peek: 18px;
  --about-stack-scale: 0.96;
  --about-stack-step: 22px;
  --about-stack-blur: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 5vw, 72px) 0 var(--fenomen-mountains-pad-y);
  background-color: var(--fenomen-page-bg);
}

.home-block-about[data-about-marquee-section] {
  overflow: hidden;
  z-index: 1;
}

.home-block-about__mountains {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, var(--mountains-parallax-y, 0px)), 0);
  will-change: transform;
}

.home-block-about__mountains::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(242, 243, 245, 0.68) 0%, rgba(242, 243, 245, 0.42) 45%, rgba(242, 243, 245, 0.62) 100%);
}

.home-block-about__mountains-img,
.home-block-catalog__mountains-img,
.home-block-blog__mountains-img,
.home-block-split__mountains-img {
  position: absolute;
  inset: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.4;
  transform: scale(1.06);
  transform-origin: center center;
  filter: grayscale(1) contrast(0.95);
}

.home-block-about__mountains picture,
.home-block-catalog__mountains picture,
.home-block-blog__mountains picture,
.home-block-split__mountains picture {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-block-about__mountains-img,
  .home-block-catalog__mountains-img,
  .home-block-blog__mountains-img,
  .home-block-split__mountains-img {
    will-change: transform;
    animation: home-mountains-drift 36s ease-in-out infinite alternate;
  }
}

@media (max-width: 900px) {
  .home-block-about__mountains,
  .home-block-catalog__mountains,
  .home-block-blog__mountains,
  .home-block-split__mountains {
    /* Extra bleed so the haze never shows a hard top edge on tall sections. */
    inset: -4% 0 -4% 0;
    transform: none;
  }

  .home-block-about__mountains-img,
  .home-block-catalog__mountains-img,
  .home-block-blog__mountains-img,
  .home-block-split__mountains-img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    transform: none;
    animation: none;
    will-change: auto;
  }
}

.home-block-about.is-mountains-visible .home-block-about__mountains-img {
  opacity: 0.4;
}

.home-block-about > .home-container {
  position: relative;
  z-index: 1;
}

@keyframes home-mountains-drift {
  0% {
    transform: scale(1.06);
  }

  50% {
    transform: scale(1.09) translate3d(1.2%, -0.8%, 0);
  }

  100% {
    transform: scale(1.06) translate3d(-1.2%, 0.6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-block-about__mountains-img,
  .home-block-catalog__mountains-img,
  .home-block-blog__mountains-img,
  .home-block-split__mountains-img {
    animation: none;
    transform: scale(1.06);
  }
}

.home-block-about__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.home-block-about__intro .home-block-about__kicker,
.home-block-about__intro .home-block-about__decor,
.home-block-about__intro .home-block-about__title,
.home-block-about__intro .home-block-about__rich,
.home-block-about__intro .btn-accent {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-block-about__intro.is-inview .home-block-about__kicker {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

.home-block-about__intro.is-inview .home-block-about__decor {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.home-block-about__intro.is-inview .home-block-about__title {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.home-block-about__intro.is-inview .home-block-about__rich {
  opacity: 1;
  transform: none;
  transition-delay: 0.18s;
}

.home-block-about__intro.is-inview .btn-accent {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  .home-block-about__intro .home-block-about__kicker,
  .home-block-about__intro .home-block-about__decor,
  .home-block-about__intro .home-block-about__title,
  .home-block-about__intro .home-block-about__rich,
  .home-block-about__intro .btn-accent {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-block-about__aside {
  /* Same grid cell: kicker at top (vs title), decor centered to full text column. */
  display: grid;
  grid-template: 1fr / auto;
  justify-items: center;
  align-self: stretch;
  width: fit-content;
  max-width: min(180px, 30vw);
  min-height: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.home-block-about__kicker {
  grid-area: 1 / 1;
  align-self: start;
  justify-self: center;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: var(--fenomen-h2-line, 1.15);
  font-weight: 600;
  color: #111;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-block-about__decor {
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  z-index: 0;
  display: block;
  width: auto;
  height: var(--fenomen-decor-height);
  max-width: 100%;
  max-height: var(--fenomen-decor-height);
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.home-block-about__copy {
  justify-self: end;
  text-align: left;
  max-width: 52rem;
}

/* Unified copy typography — same on home / about / partners / split. */
.home-block-about__copy .home-block-about__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #111;
  text-transform: uppercase;
}

.home-block-about__copy .home-block-about__rich {
  margin: 0 0 22px;
  font-size: var(--fenomen-copy-lg-size);
  font-weight: var(--fenomen-copy-lg-weight);
  line-height: var(--fenomen-copy-lg-line);
  color: #111;
}

.home-block-about__copy .home-block-about__rich p,
.home-block-about__copy .home-block-about__rich > div,
.home-block-about__copy .home-block-about__rich.about-intro__rich p,
.home-block-about__copy .home-block-about__rich.about-rich-text p,
.home-block-about__copy .home-block-about__rich.about-intro__rich > div,
.home-block-about__copy .home-block-about__rich.about-rich-text > div {
  margin: 0 0 16px;
  font-size: var(--fenomen-copy-lg-size);
  line-height: var(--fenomen-copy-lg-line);
  font-weight: var(--fenomen-copy-lg-weight);
  color: #111;
  max-width: none;
}

.home-block-about__copy .home-block-about__rich p:last-child,
.home-block-about__copy .home-block-about__rich > div:last-child {
  margin-bottom: 0;
}

.home-block-about__copy .home-block-about__rich strong,
.home-block-about__copy .home-block-about__rich b,
.home-block-about__copy .home-block-about__rich .fenomen-tone-bold {
  font-weight: 700;
}

.home-block-about__copy .home-block-about__rich .fenomen-tone-black {
  color: #111 !important;
}

.home-block-about__copy .home-block-about__rich .fenomen-tone-gray {
  color: #6b7280 !important;
  font-weight: 400;
}

.home-block-about__copy .home-block-about__rich .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.home-block-about__copy .btn-accent {
  margin-top: 4px;
}

/* Legacy selectors kept in sync with .home-block-about__copy rules above. */
.home-block-about__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #111;
  text-transform: uppercase;
}

.home-block-about__rich {
  margin: 0 0 22px;
  font-size: var(--fenomen-copy-lg-size);
  font-weight: var(--fenomen-copy-lg-weight);
  line-height: var(--fenomen-copy-lg-line);
  color: #111;
}

.home-block-about__rich p,
.home-block-about__rich > div,
.home-block-about__rich p:first-child,
.home-block-about__rich > div:first-child {
  margin: 0 0 16px;
  font-size: var(--fenomen-copy-lg-size);
  line-height: var(--fenomen-copy-lg-line);
  font-weight: var(--fenomen-copy-lg-weight);
  color: #111;
}

.home-block-about__rich p:last-child,
.home-block-about__rich > div:last-child {
  margin-bottom: 0;
}

.home-block-about__rich strong,
.home-block-about__rich b,
.home-block-about__rich .fenomen-tone-bold {
  font-weight: 700;
}

.home-block-about__rich .fenomen-tone-black,
.home-block-split__rich .fenomen-tone-black {
  color: #111 !important;
}

.home-block-about__rich .fenomen-tone-gray,
.home-block-split__rich .fenomen-tone-gray {
  color: #6b7280 !important;
  font-weight: 400;
}

.home-block-about__rich .fenomen-tone-uppercase,
.home-block-split__rich .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.home-block-about__cards {
  display: none;
}

/* Horizontal marquee cards */
.home-about-marquee {
  position: relative;
  width: 100%;
  margin-top: clamp(48px, 6vw, 88px);
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.home-about-marquee.is-dragging {
  cursor: grabbing;
}

.home-about-marquee__viewport {
  overflow: hidden;
  width: 100%;
}

.home-about-marquee__track,
.home-about-stack__list.services-stack {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.home-about-marquee.is-paused .home-about-marquee__track {
  transition: none;
}

.home-about-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: min(72vw, 420px);
  height: clamp(280px, 38vw, 460px);
  overflow: hidden;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: filter 0.45s ease, opacity 0.45s ease;
}

.home-about-card.is-hovered {
  z-index: 2;
  filter: none;
  opacity: 1;
}

.home-about-card.is-dimmed {
  filter: grayscale(1);
  opacity: 0.72;
}

.home-about-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  /* No hover zoom — avoids clipped edges */
  transform: none;
}

.home-about-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.home-about-card.is-text-visible .home-about-card__overlay,
.home-about-card.is-hovered .home-about-card__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.68) 100%);
}

.home-about-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  padding: clamp(18px, 2.4vw, 28px);
  text-align: left;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  box-sizing: border-box;
}

.home-about-card__caption .home-about-card__title,
.home-about-card__caption h2,
.home-about-card__caption h3 {
  margin: 0;
  flex: 0 0 auto;
  /* Fixed 2-line slot so titles share one top edge across cards */
  min-height: calc(1.15em * 2);
  height: calc(1.15em * 2);
  max-height: calc(1.15em * 2);
  overflow: hidden;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.15;
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  opacity: 1;
  transform: none;
}

.home-about-card__caption p:not(.home-about-card__title) {
  margin: 0;
  flex: 0 0 auto;
  /* Fixed text slot — prevents longer copy from lifting titles */
  min-height: calc(1.5em * 3);
  height: calc(1.5em * 3);
  max-height: calc(1.5em * 3);
  overflow: hidden;
  max-width: 34rem;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: clamp(0.88rem, 1.2vw, 1.02rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
  opacity: 1;
  transform: none;
}

@media (max-width: 767px) {
  .home-about-card {
    width: min(78vw, 300px);
    height: clamp(240px, 62vw, 340px);
  }

  .home-about-card__caption .home-about-card__title,
  .home-about-card__caption h2,
  .home-about-card__caption h3 {
    font-size: clamp(1.05rem, 4.8vw, 1.35rem);
  }

  .home-about-card__caption p:not(.home-about-card__title) {
    font-size: clamp(0.84rem, 3.4vw, 0.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-about-marquee__track {
    transform: none !important;
  }
}

/* Promo banners — static desktop/mobile slides (full image, no crop) */
.home-block-promo {
  position: relative;
  width: 100%;
  background: transparent;
  color: #111;
  overflow: visible;
}

.home-block-video {
  position: relative;
  padding: 48px 0;
  background: #f4f4f5;
}

.home-block-video--bleed {
  padding: 0;
  background: #0b0b0c;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-block-video--bleed .home-block-video__title {
  margin: 0 0 18px;
  padding-top: clamp(28px, 4vw, 48px);
}

.home-block-video__title {
  margin: 0 0 22px;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #111;
}

.home-block-video--bleed .home-block-video__title {
  color: #fff;
}

.home-block-video__frame {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0b0c;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.12);
}

.home-block-video--bleed .home-block-video__frame {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-block-video__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0b0c;
}

.home-block-video--bleed .home-block-video__stage {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.home-block-video__cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0c;
  opacity: 1;
  transition: none;
  pointer-events: none;
}

.home-block-video__cover--solid {
  display: block;
}

.home-block-video__stage.is-playing .home-block-video__cover {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.home-block-video__stage:not(.is-playing) .home-block-video__cover {
  opacity: 1;
  transition: none;
}

/* Blocks taps so iOS / YouTube never show native player controls. */
.home-block-video__shield {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.home-block-video__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #0b0b0c;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.home-block-video__video::-webkit-media-controls,
.home-block-video__video::-webkit-media-controls-enclosure,
.home-block-video__video::-webkit-media-controls-panel,
.home-block-video__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

.home-block-video__stage.is-playing .home-block-video__video {
  opacity: 1;
}

.home-block-video__iframe,
.home-block-video__stage iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  border: 0;
  /* Cover 16:9 player inside the stage (crops sides or top/bottom as needed). */
  width: max(100%, calc(100% * 16 / 9));
  height: max(100%, calc(100% * 9 / 16));
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none !important;
  opacity: 0 !important;
  transition: none;
}

.home-block-video--bleed .home-block-video__iframe,
.home-block-video--bleed .home-block-video__stage iframe {
  width: max(100vw, calc(100% * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16));
  min-width: calc(100% * 16 / 9);
  min-height: 100%;
}

.home-block-video__stage.is-warming .home-block-video__iframe,
.home-block-video__stage.is-warming iframe,
.home-block-video__stage.is-playing .home-block-video__iframe,
.home-block-video__stage.is-playing iframe {
  opacity: 1 !important;
}

.home-block-promo__track {
  position: relative;
  width: 100%;
  line-height: 0;
}

.home-block-promo__slide {
  display: none;
  position: relative;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.home-block-promo__slide.is-active {
  display: block;
}

.home-block-promo:not(.home-block-promo--slider) .home-block-promo__slide {
  display: block;
}

.home-block-promo__slide picture,
.home-block-promo__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.home-block-promo__slide img {
  object-fit: contain;
  object-position: center;
}

.home-block-promo__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  box-sizing: border-box;
  background: #e8e8e8;
}

.home-block-promo__arrows {
  margin-left: auto;
}

/* Catalog grid */
.home-block-catalog {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 5vw, 72px) 0 var(--fenomen-mountains-pad-y);
  background-color: var(--fenomen-page-bg);
}

.home-block-catalog__mountains {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.home-block-catalog__mountains::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(242, 243, 245, 0.68) 0%, rgba(242, 243, 245, 0.42) 45%, rgba(242, 243, 245, 0.62) 100%);
}

.home-block-catalog > .home-container {
  position: relative;
  z-index: 1;
}

.home-block-catalog__title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  text-align: center;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  text-transform: uppercase;
  line-height: var(--fenomen-h2-line);
  color: #151821;
}

.home-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.5vw, 28px);
}

.home-catalog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  min-height: 100%;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

a.home-catalog-card {
  cursor: pointer;
}

a.home-catalog-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.home-catalog-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e6e7ea;
  flex: 0 0 auto;
}

.home-catalog-card__media--empty {
  background: linear-gradient(145deg, #d8d8d8, #9a9a9a);
}

.home-catalog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-catalog-card__body {
  display: grid;
  grid-template-rows: auto minmax(5lh, auto) auto;
  align-content: start;
  gap: 8px;
  min-height: 0;
  height: 100%;
  padding: 0;
}

.home-catalog-card__body .home-catalog-card__title,
.home-catalog-card__body h2,
.home-catalog-card__body h4 {
  margin: 0;
  min-height: 2.4em;
  max-height: 2.4em;
  overflow: hidden;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.home-catalog-card__body p:not(.home-catalog-card__title) {
  margin: 0;
  align-self: start;
  min-height: 5lh;
  font-size: var(--fenomen-text-size, 18px);
  line-height: 1.45;
  color: #000;
}

.home-catalog-card__body .product-order-btn,
.home-catalog-card__body .btn-accent {
  margin-top: 0;
  justify-self: start;
  align-self: end;
}

/* Split content — partner program (reuses about-intro look) */
.home-block-split {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  margin: 0;
  padding: var(--fenomen-mountains-pad-y) 0;
  background-color: var(--fenomen-page-bg);
}

.home-block-split > .home-container {
  position: relative;
  z-index: 1;
}

.home-block-split .home-block-about__intro {
  margin-bottom: 0;
}

/* Sample order CTA — full-bleed vignette gradient, content in home-container */
.home-block-sample {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background-color: #000;
  background-image:
    radial-gradient(
      ellipse 78% 92% at 70% 48%,
      #000 0%,
      #000 38%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 95% 110% at 0% 50%,
      #70032a 0%,
      #4a021c 28%,
      #1a050c 62%,
      #000 100%
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 0%,
      rgba(112, 3, 42, 0.55) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 120% 80% at 50% 100%,
      rgba(112, 3, 42, 0.5) 0%,
      transparent 55%
    );
}

.home-block-sample > .home-container {
  width: min(1626px, 100%);
  max-width: 1626px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
  box-sizing: border-box;
}

.home-block-sample__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  width: 100%;
  min-height: clamp(280px, 36vw, 440px);
  padding: 0;
  box-sizing: border-box;
}

.home-block-sample__content {
  display: grid;
  gap: clamp(20px, 2.5vw, 32px);
  align-content: center;
  padding: clamp(40px, 5vw, 72px) 0;
  box-sizing: border-box;
}

.home-block-sample__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  line-height: var(--fenomen-h2-line);
  color: #fff;
}

.home-block-sample__text {
  margin: 0;
  font-size: var(--fenomen-copy-lg-size);
  font-weight: var(--fenomen-copy-lg-weight);
  line-height: var(--fenomen-copy-lg-line);
  color: rgba(255, 255, 255, 0.78);
}

.home-block-sample__btn {
  margin-top: 6px;
  width: fit-content;
}

.home-block-sample__btn .btn-pill-label,
.home-block-sample__btn .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.home-block-sample__btn:hover .btn-pill-label,
.home-block-sample__btn:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

.home-block-sample__media {
  min-width: 0;
  min-height: 100%;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
}

.home-block-sample__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 36vw, 440px);
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

/* Collections gallery (Solo-style: large card + peek of next) */
.home-block-collections {
  --collections-side: clamp(20px, 4vw, 40px);
  --collections-peek: clamp(72px, 16vw, 200px);
  --collections-gap: clamp(10px, 1.2vw, 16px);
  padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background: #fff;
  color: #111;
  overflow: hidden;
}

.home-block-collections__head.home-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1626px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
  box-sizing: border-box;
}

.home-block-collections__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding-left: 0;
  padding-right: 0;
}

.home-block-collections__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  text-transform: uppercase;
  line-height: var(--fenomen-h2-line);
  color: #111;
}

.home-block-collections__viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  padding-left: var(--collections-side);
  padding-right: 0;
}

.home-block-collections.is-dragging .home-block-collections__viewport {
  cursor: grabbing;
}

.home-block-collections__track {
  display: flex;
  align-items: flex-start;
  gap: var(--collections-gap);
  width: max-content;
  padding-right: var(--collections-side);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.home-collection-card {
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  min-width: 0;
  /* One dominant banner + peek of the next */
  width: calc(100vw - var(--collections-side) - var(--collections-peek));
  max-width: 1040px;
}

.home-collection-card__name {
  margin: 0;
  padding-left: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.2;
}

.home-collection-card__photos {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f2f2f2;
  overflow: hidden;
}

.home-collection-card__photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}

.home-collection-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.collections-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.collections-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.collections-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.collections-lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  line-height: 0;
}

.collections-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
}

.collections-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.collections-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .home-block-collections {
    --collections-side: 20px;
    --collections-peek: clamp(48px, 22vw, 96px);
    --collections-gap: 10px;
  }

  .home-block-collections__viewport {
    padding-left: var(--collections-side);
  }

  .home-collection-card {
    width: calc(100vw - var(--collections-side) - var(--collections-peek));
    max-width: none;
  }

  .collections-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

/* Promo offers — collections carousel with title overlay */
.home-block-offers__actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.home-block-offers__all {
  display: inline-block;
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid #111;
  background: transparent;
  color: #111;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.home-block-offers__all:hover,
.home-block-offers__all:focus-visible {
  opacity: 0.7;
  color: #111;
}

.home-block-offers__footer {
  display: none;
}

.home-block-offers__all--foot {
  display: inline-block;
}

.home-offer-card {
  flex: 0 0 auto;
  display: block;
  min-width: 0;
  width: calc(100vw - var(--collections-side) - var(--collections-peek));
  max-width: 1040px;
  text-decoration: none;
  color: inherit;
  cursor: grab;
}

.home-offer-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f2f2f2;
  overflow: hidden;
}

.home-offer-card__media img,
.home-offer-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.home-offer-card__placeholder {
  background: linear-gradient(135deg, #3a3336, #82252f);
}

.home-offer-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px) clamp(16px, 2.4vw, 24px) clamp(16px, 2.2vw, 22px);
  background: linear-gradient(180deg, rgba(20, 16, 18, 0) 0%, rgba(20, 16, 18, 0.55) 55%, rgba(20, 16, 18, 0.78) 100%);
  color: #fff;
  pointer-events: none;
}

.home-offer-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.home-offer-card__title {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.home-offer-card__term {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.92;
  line-height: 1.3;
}

.home-offer-card__view {
  flex-shrink: 0;
  display: inline-block;
  margin: 0 0 2px;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.home-offer-card.is-ended .home-offer-card__media img,
.home-offer-card.is-ended .home-offer-card__placeholder {
  filter: grayscale(1);
  opacity: 0.72;
}

.home-offer-card.is-ended .home-offer-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(55, 55, 55, 0.42);
  pointer-events: none;
}

.home-offer-card.is-ended .home-offer-card__overlay {
  z-index: 2;
  justify-content: center;
  align-items: center;
  inset: 0;
}

.home-offer-card__ended {
  display: inline-block;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(40, 40, 40, 0.55);
  color: #fff;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 700px) {
  .home-offer-card {
    width: calc(100vw - var(--collections-side) - var(--collections-peek));
    max-width: none;
  }

  .home-block-offers__actions {
    gap: 8px;
  }

  .home-block-offers__all--head {
    display: none;
  }

  .home-block-offers__footer {
    display: block;
    margin-top: 18px;
  }
}

/* Promo offers archive + single */
.promo-offers-archive {
  background: #fff;
  color: #111;
  padding: clamp(24px, 4vw, 40px) 0 clamp(64px, 8vw, 100px);
}

.promo-offers-archive__inner,
.promo-offer-page__inner {
  width: 100%;
  max-width: 1626px;
  margin: 0 auto;
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
  box-sizing: border-box;
}

.promo-offers-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #6b6669;
}

.promo-offers-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.promo-offers-breadcrumbs a:hover {
  color: var(--fenomen-brand-red, #82252f);
}

.promo-offers-archive__title,
.promo-offer-page__title {
  margin: 0;
  font-size: var(--fenomen-h2-size);
  font-weight: var(--fenomen-h2-weight);
  text-transform: uppercase;
  line-height: var(--fenomen-h2-line);
}

.promo-offer-page__term {
  margin: 10px 0 0;
  font-size: 0.95rem;
  color: #6b6669;
}

.promo-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(28px, 4vw, 40px);
}

@media (max-width: 700px) {
  .promo-offers-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

.promo-offer-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.promo-offer-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: clamp(14px, 2vw, 18px);
}

.promo-offer-card__body .promo-offer-card__title {
  color: #111;
}

.promo-offer-card__body .promo-offer-card__term {
  margin: 0;
  color: #6b6669;
  font-size: 0.95rem;
}

.promo-offer-card__description {
  color: #4d5563;
  font-size: 0.98rem;
  line-height: 1.65;
}

.promo-offer-card__description p {
  margin: 0 0 0.85em;
}

.promo-offer-card__description p:last-child {
  margin-bottom: 0;
}

.promo-offer-card__description a {
  color: var(--fenomen-brand-red, #82252f);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.promo-offer-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f2f2;
}

.promo-offer-card__media img,
.promo-offer-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-offer-card__placeholder {
  background: linear-gradient(135deg, #3a3336, #82252f);
}

.promo-offer-card__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding: clamp(16px, 2.5vw, 24px);
  background: linear-gradient(180deg, rgba(20, 16, 18, 0) 0%, rgba(20, 16, 18, 0.55) 55%, rgba(20, 16, 18, 0.78) 100%);
  color: #fff;
}

.promo-offer-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.promo-offer-card__title {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.promo-offer-card__term {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.92;
}

.promo-offer-card__view {
  flex-shrink: 0;
  display: inline-block;
  margin: 0 0 2px;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-offer-card.is-ended .promo-offer-card__media img,
.promo-offer-card.is-ended .promo-offer-card__placeholder {
  filter: grayscale(1);
  opacity: 0.72;
}

.promo-offer-card.is-ended .promo-offer-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(55, 55, 55, 0.42);
  pointer-events: none;
}

.promo-offer-card.is-ended .promo-offer-card__overlay {
  z-index: 2;
  justify-content: center;
  align-items: center;
  inset: 0;
}

.promo-offer-card__ended {
  display: inline-block;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(40, 40, 40, 0.55);
  color: #fff;
  font-size: clamp(0.85rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
  text-align: center;
}

.promo-offers-archive__empty {
  margin: 40px 0 0;
  color: #6b6669;
}

.promo-offer-single {
  background: #fff;
  color: #111;
  padding: 0 0 clamp(64px, 8vw, 100px);
}

.promo-offer-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 52vw, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(
    90deg,
    #050505 0%,
    #0a0506 28%,
    #3a0a10 58%,
    #6b0d16 78%,
    #8f0018 100%
  );
}

.promo-offer-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(96px, 12vw, 140px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.promo-offer-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: clamp(12px, 1.8vw, 18px) 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.72);
}

.promo-offer-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.promo-offer-hero__breadcrumbs a:hover {
  color: #fff;
}

.promo-offer-hero__breadcrumbs span:last-child {
  color: rgba(255, 255, 255, 0.92);
}

.promo-offer-hero__title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  font-weight: 500;
  text-transform: none;
}

.promo-offer-hero__term {
  margin: 14px 0 0;
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  font-weight: 400;
  letter-spacing: normal;
  opacity: 0.92;
}

.promo-offer-page.is-ended .promo-offer-hero {
  background: linear-gradient(
    90deg,
    #2a2a2a 0%,
    #3a3a3a 40%,
    #505050 70%,
    #5c5c5c 100%
  );
  filter: grayscale(0.35);
}

.promo-offer-hero__term--ended {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1;
}

.promo-offer-hero__btn {
  margin-top: 28px;
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.promo-offer-hero__btn .btn-pill-label,
.promo-offer-hero__btn .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

.promo-offer-hero__btn:hover .btn-pill-label,
.promo-offer-hero__btn:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
  color: #fff;
}

@media (max-width: 700px) {
  .promo-offer-hero__content {
    padding-top: clamp(72px, 18vw, 96px);
  }
}

.promo-offer-page__inner {
  width: 100%;
  max-width: 1626px;
  margin: 0 auto;
  padding-top: clamp(40px, 5vw, 64px);
  padding-left: var(--fenomen-page-pad-x);
  padding-right: var(--fenomen-page-pad-x);
  box-sizing: border-box;
}

.promo-offer-page__content {
  max-width: 820px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.promo-offer-page__content > *:first-child {
  margin-top: 0;
}

.promo-offer-page__content img {
  max-width: 100%;
  height: auto;
}

.promo-offer-page__back {
  margin: clamp(36px, 5vw, 56px) 0 0;
}

/* Blog / Insights */
.home-block-blog {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--fenomen-mountains-pad-y) 0;
  background-color: var(--fenomen-page-bg);
}

.home-block-blog__mountains {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.home-block-blog__mountains::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(242, 243, 245, 0.68) 0%, rgba(242, 243, 245, 0.42) 45%, rgba(242, 243, 245, 0.62) 100%);
}

.home-block-blog > .home-container {
  position: relative;
  z-index: 1;
}

.home-block-blog__head {
  position: relative;
  display: grid;
  gap: 10px;
  justify-items: center;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
  min-height: 2.5rem;
}

.home-block-blog__kicker {
  position: absolute;
  left: 0;
  top: 0.35em;
  font-size: 0.88rem;
  color: #111;
  letter-spacing: 0.02em;
  text-align: left;
}

.home-block-blog__title {
  margin: 0;
  text-align: center;
  font-size: var(--fenomen-h2-size);
  line-height: var(--fenomen-h2-line);
  font-weight: var(--fenomen-h2-weight);
  color: #111;
}

.home-block-blog__nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.fenomen-carousel-arrow.home-block-blog__arrow,
.home-block-blog__arrow {
  width: var(--fenomen-btn-arrow-size, 44px);
  height: var(--fenomen-btn-height, 44px);
  background: var(--fenomen-brand-red, #82252f);
  color: #fff;
}

.home-block-blog__arrow--prev {
  border-radius: var(--fenomen-btn-radius, 0) 0 0 var(--fenomen-btn-radius, 0);
}

.home-block-blog__arrow--next {
  border-radius: 0 var(--fenomen-btn-radius, 0) var(--fenomen-btn-radius, 0) 0;
}

.fenomen-carousel-arrow.home-block-blog__arrow:hover,
.fenomen-carousel-arrow.home-block-blog__arrow:focus-visible,
.home-block-blog__arrow:hover,
.home-block-blog__arrow:focus-visible {
  background: var(--fenomen-brand-red-hover, #6b1e26);
  outline: none;
}

.home-block-blog {
  --blog-gap: clamp(20px, 2.5vw, 32px);
  --blog-visible: 3;
}

.home-block-blog__viewport {
  container-type: inline-size;
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.home-block-blog.is-dragging .home-block-blog__viewport {
  cursor: grabbing;
}

.home-block-blog__track {
  display: flex;
  align-items: stretch;
  gap: var(--blog-gap);
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.home-blog-grid {
  display: none;
}

.home-blog-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  width: calc((100cqw - (var(--blog-visible) - 1) * var(--blog-gap)) / var(--blog-visible));
  min-width: 0;
  background: transparent;
}

.home-blog-card__image {
  display: block;
  overflow: hidden;
  margin-bottom: 0;
  background: #e8e9ec;
}

.home-blog-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-blog-card__image:hover img {
  transform: scale(1.03);
}

.home-blog-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  padding: 18px 20px 22px;
  box-sizing: border-box;
  background: #fff;
}

.home-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
}

.home-blog-card__category {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eceef2;
  color: #4b5563;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.home-blog-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #6b7280;
}

.home-blog-card__date-icon {
  display: inline-flex;
  color: #9ca3af;
}

.home-blog-card.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.home-blog-card.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Inside carousel cards, never leave title/excerpt at opacity 0. */
.home-blog-card .reveal-on-scroll,
.home-blog-card .home-blog-card__title,
.home-blog-card .home-blog-card__excerpt,
.home-blog-card .home-blog-card__btn {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-blog-card.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.home-blog-card__title {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.35;
  font-weight: 500;
  color: #111;
}

.home-blog-card__excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6b7280;
}

.home-blog-card__btn {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 980px) {
  .home-block-blog__head {
    justify-items: start;
    text-align: left;
    padding-right: 96px;
  }

  .home-block-blog__kicker {
    position: static;
  }

  .home-block-blog__title {
    max-width: none;
    text-align: left;
  }

  .home-block-blog__nav {
    top: 0;
    transform: none;
  }
}

@media (max-width: 700px) {
  .home-block-blog {
    --blog-visible: 1;
  }

  .home-block-blog__arrow,
  .fenomen-carousel-arrow.home-block-blog__arrow {
    width: 34px;
    height: 34px;
  }

  .home-block-blog__head {
    padding-right: 80px;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .home-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-catalog-grid {
    grid-template-columns: 1fr;
  }

  .home-block-sample__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
  }

  .home-block-sample__content {
    max-width: none;
    order: 1;
  }

  .home-block-sample__media {
    order: 2;
  }

  .home-block-sample__media img {
    min-height: 220px;
    max-height: none;
    height: 240px;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .home-block-about__intro,
  .home-block-split__intro {
    grid-template-columns: 1fr;
  }

  .home-block-about__aside {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-height: 0;
    height: auto;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  }

  .home-block-about__kicker {
    grid-area: auto;
    align-self: center;
    text-align: left;
    font-size: 1em;
    line-height: 1.25;
  }

  .home-block-about__decor {
    grid-area: auto;
    flex: 0 0 auto;
    width: auto;
    height: 1.25em;
    max-width: none;
    max-height: none;
    align-self: center;
    object-fit: contain;
    object-position: center left;
  }

  .home-block-about__copy {
    justify-self: start;
    max-width: none;
  }

  .home-block-about__mountains-img,
  .home-block-catalog__mountains-img,
  .home-block-blog__mountains-img,
  .home-block-split__mountains-img {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center 62%;
    transform: none;
  }
}

/* ===== Header redesign (burger + centered brand + drawer) ===== */
body:not(.home) {
  padding-top: 72px;
}

body.home,
body.has-hero-header {
  padding-top: 0;
}

.site-header-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

body .site-header.site-header-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.site-header-shell .site-header-inner {
  width: 100%;
  margin: 0 auto;
  min-height: 72px;
  height: 72px;
  padding-right: 2.5rem;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
}

.site-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 72px;
  height: 72px;
}

body.home .site-header-shell .site-header-inner {
  min-height: 72px;
  height: 72px;
  padding-right: 2.25rem;
  padding-left: 2.25rem;
}

.site-header-shell.is-home {
  background: transparent;
}

.site-header-shell.is-inner,
.site-header-shell.is-scrolled {
  background: rgba(245, 245, 245, 0.97);
  border-color: #e6e6e6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.site-header-shell .site-header-left {
  justify-self: start;
  display: flex;
  align-items: center;
  min-width: 0;
  /* Fill the 1fr grid cell — do not use 50% here (resolves against the cell itself). */
  max-width: 100%;
}

.site-header-shell .site-header-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.site-header-shell .site-header-right .header-cart-toggle,
.site-header-shell .site-header-right .header-favorites-toggle,
.site-header-shell .site-header-right .header-account-link,
.site-header-shell .site-header-right .contact-toggle {
  flex-shrink: 0;
}

/* Desktop: dock children stay in the header flex row */
.fenomen-mobile-dock {
  display: contents;
}

/* Mobile-only language dropdown (header right) */
.site-header-lang-mobile {
  display: none;
}

/* Desktop nav under logo (SOLO-style). */
.site-header-nav {
  display: none;
  width: 100%;
  min-width: 0;
}

.header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(22px, 2.8vw, 48px);
  height: 100%;
}

.header-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
}

.header-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  height: 100%;
  padding: 0 2px 8px;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

/* Thick underline on hover — sits on the header bottom hairline. */
.header-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.92);
  transform-origin: center bottom;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.header-menu > li > a:hover,
.header-menu > li.current-menu-item > a,
.header-menu > li.current-menu-ancestor > a {
  opacity: 1;
}

.header-menu > li > a:hover::after,
.header-menu > li.current-menu-item > a::after,
.header-menu > li.current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  position: absolute;
  left: 50%;
  top: 100%;
  min-width: 220px;
  background: rgba(245, 245, 245, 0.98);
  border: 1px solid #e6e6e6;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}

.header-menu > li:hover > .sub-menu,
.header-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.header-menu .sub-menu a {
  display: block;
  padding: 14px 24px;
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.header-menu .sub-menu a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.site-header-lang {
  display: none;
}

.site-header-lang .lang-switcher {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header-lang .lang-switcher li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.site-header-lang .lang-switcher li:not(:last-child)::after {
  content: "/";
  margin: 0 0.4em;
  color: rgba(17, 17, 17, 0.35);
  font-size: 0.75rem;
  font-weight: 500;
}

.site-header-lang .lang-switcher li a {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: rgba(17, 17, 17, 0.45);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-header-lang .lang-switcher li.is-active a {
  color: #111 !important;
  font-weight: 700;
}

.site-header-lang .lang-switcher li a:hover {
  color: #111;
}

@media (min-width: 1024px) {
  body:not(.home):not(.has-hero-header) {
    padding-top: 118px;
  }

  .site-header-shell .header-burger {
    display: none;
  }

  .site-header-nav,
  .site-header-lang {
    display: block;
  }

  .site-header-shell .site-header-inner,
  body.home .site-header-shell .site-header-inner,
  body.has-hero-header .site-header-shell .site-header-inner {
    height: auto;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .site-header-top {
    min-height: 56px;
    height: 56px;
  }

  body.has-hero-header .site-header-shell .site-header-top {
    min-height: 56px;
    height: 56px;
  }

  .site-header-nav {
    display: flex;
    justify-content: center;
    margin-top: 2px;
  }

  .header-menu {
    height: auto;
    min-height: 44px;
  }

  /* Full-width hairline under header; hover thickens only under the item. */
  .site-header-shell.is-home:not(.is-scrolled) {
    border-color: rgba(255, 255, 255, 0.35);
  }

  .site-header-shell.is-inner,
  .site-header-shell.is-scrolled {
    border-color: rgba(17, 17, 17, 0.14);
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .header-menu {
    gap: 16px;
  }

  .header-menu > li > a {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .site-header-shell .site-header-inner,
  body.home .site-header-shell .site-header-inner,
  body.has-hero-header .site-header-shell .site-header-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header-shell .site-header-right {
    gap: 10px;
  }
}

/* 13" / laptop widths: keep «Звʼязатись» inside the header cell */
@media (min-width: 701px) and (max-width: 1360px) {
  .site-header-shell .site-header-right {
    gap: 10px;
  }

  .site-header-shell .contact-toggle {
    max-width: 100%;
  }

  .site-header-shell .contact-toggle .btn-pill-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }
}

.header-account-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

@media (min-width: 1024px) {
  .header-account-link {
    display: inline-flex;
  }
}

.header-account-link:hover {
  opacity: 1;
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.12);
}

.header-account-link__icon {
  display: block;
  width: 22px;
  height: 22px;
}

body.home .site-header-shell:not(.is-scrolled) .header-account-link,
.site-header-shell.is-home:not(.is-scrolled) .header-account-link,
body.home .site-header-shell:not(.is-scrolled) .header-cart-toggle,
.site-header-shell.is-home:not(.is-scrolled) .header-cart-toggle,
body.home .site-header-shell:not(.is-scrolled) .header-favorites-toggle,
.site-header-shell.is-home:not(.is-scrolled) .header-favorites-toggle {
  color: #fff;
}

body:not(.home) .header-account-link,
.site-header-shell.is-inner .header-account-link,
.site-header-shell.is-scrolled .header-account-link,
body:not(.home) .header-cart-toggle,
.site-header-shell.is-inner .header-cart-toggle,
.site-header-shell.is-scrolled .header-cart-toggle,
body:not(.home) .header-favorites-toggle,
.site-header-shell.is-inner .header-favorites-toggle,
.site-header-shell.is-scrolled .header-favorites-toggle {
  color: #111;
}

body:not(.home) .header-account-link:hover,
.site-header-shell.is-inner .header-account-link:hover,
.site-header-shell.is-scrolled .header-account-link:hover,
body:not(.home) .header-cart-toggle:hover,
.site-header-shell.is-inner .header-cart-toggle:hover,
.site-header-shell.is-scrolled .header-cart-toggle:hover,
body:not(.home) .header-favorites-toggle:hover,
.site-header-shell.is-inner .header-favorites-toggle:hover,
.site-header-shell.is-scrolled .header-favorites-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

body.home .site-header-shell:not(.is-scrolled) .header-cart-toggle:hover,
.site-header-shell.is-home:not(.is-scrolled) .header-cart-toggle:hover,
body.home .site-header-shell:not(.is-scrolled) .header-favorites-toggle:hover,
.site-header-shell.is-home:not(.is-scrolled) .header-favorites-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
  .site-header-shell .site-header-right {
    gap: 8px;
  }
}

.site-header-shell .site-header-center {
  justify-self: center;
  position: relative;
  z-index: 2;
}

.site-header-shell .brand-block {
  gap: 10px;
}

.site-header-shell .site-logo img {
  height: 40px;
  width: auto;
  max-height: 40px;
}

/* Keep white/black logos identical size when swapping on scroll. */
body.home .site-header-shell:not(.is-scrolled) .site-logo img,
body.home .site-header-shell.is-scrolled .site-logo img,
.site-header-shell.is-home:not(.is-scrolled) .site-logo img,
.site-header-shell.is-home.is-scrolled .site-logo img {
  height: 40px;
  width: auto;
  max-height: 40px;
}

.site-logo-home {
  position: relative;
  display: inline-block;
  line-height: 0;
  height: 40px;
  text-decoration: none;
  color: inherit;
}

.site-logo-home .site-logo-white,
.site-logo-home .site-logo-black {
  display: block;
  height: 40px;
  width: auto;
  max-height: 40px;
}

.site-logo-home .site-logo-black {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header-shell.is-home.is-scrolled .site-logo-home .site-logo-white {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header-shell.is-home.is-scrolled .site-logo-home .site-logo-black {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header-shell .site-title,
.site-header-shell .site-title a {
  color: #111;
}

.header-burger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #111;
  padding: 6px 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  opacity: 1;
}

.header-burger-icon {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
  color: inherit;
}

.header-burger-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: inherit;
}

body.home .site-header-shell:not(.is-scrolled) .header-burger-icon {
  font-size: 1.2rem;
}

body.home .site-header-shell:not(.is-scrolled) .header-burger-label {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.site-header-shell .contact-toggle {
  gap: 0;
  overflow: visible;
  color: #fff;
  letter-spacing: normal;
}

.contact-toggle__icon {
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.contact-toggle__icon svg {
  display: block;
}

.site-header-shell .contact-toggle:hover {
  background: transparent !important;
}

.site-header-shell.is-home:not(.is-scrolled) .header-burger,
.site-header-shell.is-home:not(.is-scrolled) .site-title,
.site-header-shell.is-home:not(.is-scrolled) .site-title a {
  color: #fff;
}

.site-header-shell.is-home:not(.is-scrolled) .header-menu > li > a {
  color: #fff;
}

.site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li a {
  color: rgba(255, 255, 255, 0.55);
}

.site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
.site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li a:hover {
  color: #fff !important;
}

.site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.35);
}

.site-header-shell.is-home:not(.is-scrolled) .header-menu .sub-menu {
  background: rgba(18, 18, 18, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.site-header-shell.is-home:not(.is-scrolled) .header-menu .sub-menu a {
  color: #fff;
}

.site-header-shell.is-home:not(.is-scrolled) .header-menu .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header-shell.is-home:not(.is-scrolled) .contact-toggle {
  border-color: transparent;
  background: transparent !important;
  color: #fff;
}

.site-header-shell.is-home:not(.is-scrolled) .contact-toggle:hover {
  background: transparent !important;
}

.site-header-shell.is-inner .header-burger,
.site-header-shell.is-scrolled .header-burger,
.site-header-shell.is-inner .header-burger-icon,
.site-header-shell.is-inner .header-burger-label,
.site-header-shell.is-scrolled .header-burger-icon,
.site-header-shell.is-scrolled .header-burger-label {
  color: #111;
  opacity: 1;
}

.site-header-shell.is-inner .header-menu > li > a,
.site-header-shell.is-scrolled .header-menu > li > a {
  color: #111;
}

.site-header-shell.is-inner .site-header-lang .lang-switcher li a,
.site-header-shell.is-scrolled .site-header-lang .lang-switcher li a {
  color: rgba(17, 17, 17, 0.45);
}

.site-header-shell.is-inner .site-header-lang .lang-switcher li.is-active a,
.site-header-shell.is-scrolled .site-header-lang .lang-switcher li.is-active a,
.site-header-shell.is-inner .site-header-lang .lang-switcher li a:hover,
.site-header-shell.is-scrolled .site-header-lang .lang-switcher li a:hover {
  color: #111 !important;
}

.site-header-shell.is-inner .site-header-lang .lang-switcher li:not(:last-child)::after,
.site-header-shell.is-scrolled .site-header-lang .lang-switcher li:not(:last-child)::after {
  color: rgba(17, 17, 17, 0.35);
}

.site-drawer {
  position: fixed;
  inset: 0;
  z-index: 1300;
  pointer-events: none;
}

.site-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.34);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.site-drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #f8f8f8;
  border-right: 0;
  padding: 28px 28px 32px;
  transform: translateX(-105%);
  transition: transform 0.24s ease;
  display: flex;
  flex-direction: column;
  color: #111;
}

.site-drawer.is-open {
  pointer-events: auto;
}

.site-drawer.is-open .site-drawer-backdrop {
  opacity: 1;
}

.site-drawer.is-open .site-drawer-panel {
  transform: translateX(0);
}

@media (max-width: 700px) {
  .site-drawer-panel {
    width: 100%;
    max-width: none;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  align-self: flex-start;
  padding: 0;
  margin: 0 0 40px;
}

.drawer-close-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}

.drawer-close-label {
  letter-spacing: 0.08em;
}

.site-drawer-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.drawer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.drawer-menu .sub-menu {
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 0 12px;
  display: grid;
  gap: 12px;
}

.drawer-menu a {
  color: #111;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.drawer-menu .sub-menu a {
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
}

.site-drawer-footer {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 16px;
  justify-items: start;
}

.drawer-account-link {
  margin: 0;
  display: grid;
  gap: 10px;
}

.drawer-account-link a,
.drawer-account-link__logout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.drawer-account-link a:hover,
.drawer-account-link__logout:hover {
  text-decoration: underline;
}

.drawer-account-link .header-account-link__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

/* Drawer entry point that opens the full-screen search */
.drawer-search-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #d0d0d0;
  border-radius: 999px;
  background: #fff;
  color: #6f7480;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.drawer-search-link:hover {
  border-color: #111;
  color: #111;
}

.drawer-search-link__icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #b0b0b0;
}

/* ——— Header search trigger ——— */
.header-search-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

body.home .site-header-shell:not(.is-scrolled) .header-search-toggle,
.site-header-shell.is-home:not(.is-scrolled) .header-search-toggle {
  color: #fff;
}

body:not(.home) .header-search-toggle,
.site-header-shell.is-inner .header-search-toggle,
.site-header-shell.is-scrolled .header-search-toggle {
  color: #111;
}

.header-search-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
}

.header-search-toggle__icon {
  display: inline-flex;
  line-height: 0;
}

/* ——— Full-screen site search ——— */
.site-search {
  position: fixed;
  inset: 0;
  z-index: 10060;
  pointer-events: none;
}

.site-search__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-search__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  max-height: 100%;
  background: #fff;
  opacity: 0;
  transform: translateY(-14px);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-search.is-open {
  pointer-events: auto;
}

.site-search.is-open .site-search__backdrop {
  opacity: 1;
}

.site-search.is-open .site-search__panel {
  opacity: 1;
  transform: none;
}

.site-search__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid #eceef1;
  background: #fff;
}

.site-search__form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #d8dade;
  border-radius: 999px;
  background: #f6f7f8;
}

.site-search__form:focus-within {
  border-color: #111;
  background: #fff;
}

.site-search__icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: #9aa0aa;
  pointer-events: none;
}

.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font: inherit;
  /* 16px keeps iOS from zooming the page on focus */
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.site-search__input::placeholder {
  color: #9aa0aa;
  opacity: 1;
}

.site-search__input::-webkit-search-decoration,
.site-search__input::-webkit-search-cancel-button,
.site-search__input::-webkit-search-results-button,
.site-search__input::-webkit-search-results-decoration {
  display: none;
}

.site-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e4e6ea;
  color: #52596a;
  font-size: 0.72rem;
  cursor: pointer;
}

.site-search__cancel {
  flex: 0 0 auto;
  padding: 10px 6px;
  border: 0;
  background: transparent;
  color: var(--fenomen-brand-red, #82252f);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.site-search__results {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: #fff;
}

.site-search__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f1f3;
  color: #111;
  text-decoration: none;
}

.site-search__item:hover,
.site-search__item:focus-visible,
.site-search__item:active {
  background: #f6f7f8;
  outline: none;
}

.site-search__thumb {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  background: #eceff4;
}

.site-search__item-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-search__item-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.site-search__item-sub {
  font-size: 0.82rem;
  line-height: 1.3;
  color: #6b7280;
}

.site-search__item-title mark,
.site-search__item-sub mark {
  padding: 0 1px;
  background: rgba(255, 219, 102, 0.55);
  color: #10131a;
}

.site-search__item-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.site-search__item-type {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa0aa;
}

.site-search__item-price {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fenomen-brand-red, #82252f);
}

.site-search__empty {
  margin: 0;
  padding: 20px 16px;
  color: #7f8592;
  font-size: 0.9rem;
}

body.search-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .site-search__panel {
    left: 50%;
    right: auto;
    width: min(680px, 92vw);
    margin-top: 7vh;
    max-height: 78vh;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(16, 24, 40, 0.28);
    transform: translate(-50%, -14px);
  }

  .site-search.is-open .site-search__panel {
    transform: translate(-50%, 0);
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-drawer .site-drawer-footer .lang-switcher {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-drawer .site-drawer-footer .lang-switcher li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.site-drawer .site-drawer-footer .lang-switcher li:not(:last-child)::after {
  content: "/";
  margin: 0 0.45em;
  color: #b0b0b0;
  font-size: 0.78rem;
  font-weight: 500;
}

.site-drawer .site-drawer-footer .lang-switcher li a {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: #b0b0b0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-drawer .site-drawer-footer .lang-switcher li.is-active a {
  color: #111 !important;
  font-weight: 700;
  background: transparent !important;
  border: 0 !important;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  body:not(.home) {
    padding-top: 60px;
  }

  body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  /* Fixed bottom dock: favorites / cart / account */
  .fenomen-mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10050;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 -6px 18px rgba(17, 17, 17, 0.06);
    color: #111;
  }

  .fenomen-mobile-dock > .header-search-toggle,
  .fenomen-mobile-dock > .header-favorites-toggle,
  .fenomen-mobile-dock > .header-cart-toggle,
  .fenomen-mobile-dock > .header-account-link,
  .fenomen-mobile-dock > .contact-toggle {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    height: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    border-right: 1px solid rgba(17, 17, 17, 0.1);
    background: transparent !important;
    color: #111 !important;
    opacity: 1;
    transform: none;
    text-decoration: none;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    overflow: visible;
  }

  body.home .site-header-shell:not(.is-scrolled) .fenomen-mobile-dock .header-search-toggle,
  .site-header-shell.is-home:not(.is-scrolled) .fenomen-mobile-dock .header-search-toggle,
  body.home .site-header-shell:not(.is-scrolled) .fenomen-mobile-dock .header-favorites-toggle,
  body.home .site-header-shell:not(.is-scrolled) .fenomen-mobile-dock .header-cart-toggle,
  body.home .site-header-shell:not(.is-scrolled) .fenomen-mobile-dock .header-account-link,
  body.home .site-header-shell:not(.is-scrolled) .fenomen-mobile-dock .contact-toggle,
  .site-header-shell.is-home:not(.is-scrolled) .fenomen-mobile-dock .header-favorites-toggle,
  .site-header-shell.is-home:not(.is-scrolled) .fenomen-mobile-dock .header-cart-toggle,
  .site-header-shell.is-home:not(.is-scrolled) .fenomen-mobile-dock .header-account-link,
  .site-header-shell.is-home:not(.is-scrolled) .fenomen-mobile-dock .contact-toggle {
    color: #111 !important;
  }

  .fenomen-mobile-dock > .header-search-toggle:last-child,
  .fenomen-mobile-dock > .header-favorites-toggle:last-child,
  .fenomen-mobile-dock > .header-cart-toggle:last-child,
  .fenomen-mobile-dock > .header-account-link:last-child,
  .fenomen-mobile-dock > .contact-toggle:last-child {
    border-right: 0;
  }

  .fenomen-mobile-dock > .header-search-toggle:hover,
  .fenomen-mobile-dock > .header-favorites-toggle:hover,
  .fenomen-mobile-dock > .header-cart-toggle:hover,
  .fenomen-mobile-dock > .header-account-link:hover,
  .fenomen-mobile-dock > .contact-toggle:hover {
    background: rgba(17, 17, 17, 0.04) !important;
    opacity: 1;
    transform: none;
  }

  .fenomen-mobile-dock .header-search-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 0;
  }

  .fenomen-mobile-dock .header-account-link {
    display: inline-flex !important;
  }

  .fenomen-mobile-dock .contact-toggle__text {
    display: none !important;
  }

  .fenomen-mobile-dock .contact-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 0;
  }

  .fenomen-mobile-dock .contact-toggle__icon svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .fenomen-mobile-dock .header-action-cluster {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    line-height: 0;
  }

  .fenomen-mobile-dock .header-favorites-toggle__badge,
  .fenomen-mobile-dock .header-cart-toggle__badge {
    top: -6px;
    right: -10px;
    left: auto;
  }

  /* Language dropdown in mobile header */
  .site-header-lang-mobile {
    display: block;
    position: relative;
    flex-shrink: 0;
    z-index: 5;
  }

  .site-header-lang-mobile__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 52px;
    height: 40px;
    margin: 0;
    padding: 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 0.75rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-header-lang-mobile__chevron {
    display: inline-flex;
    line-height: 0;
    transition: transform 0.2s ease;
  }

  .site-header-lang-mobile.is-open .site-header-lang-mobile__chevron {
    transform: rotate(180deg);
  }

  .site-header-lang-mobile__menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 30;
    min-width: 72px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.1);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
  }

  .site-header-lang-mobile__menu[hidden] {
    display: none !important;
  }

  .site-header-lang-mobile__menu a {
    display: block;
    padding: 8px 14px;
    color: rgba(17, 17, 17, 0.55);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .site-header-lang-mobile__menu li.is-active a,
  .site-header-lang-mobile__menu a:hover {
    color: #111;
    background: rgba(17, 17, 17, 0.04);
  }

  body.home .site-header-shell:not(.is-scrolled) .site-header-lang-mobile__toggle,
  .site-header-shell.is-home:not(.is-scrolled) .site-header-lang-mobile__toggle {
    color: #fff;
  }

  body.home .site-header-shell.is-scrolled .site-header-lang-mobile__toggle,
  .site-header-shell.is-inner .site-header-lang-mobile__toggle,
  .site-header-shell.is-scrolled .site-header-lang-mobile__toggle {
    color: #111;
  }

  .site-drawer .site-drawer-footer .lang-switcher {
    display: none !important;
  }

  body.menu-open .fenomen-mobile-dock,
  body.fenomen-cart-open .fenomen-mobile-dock {
    z-index: 90;
  }

  .product-summary__phrase {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    z-index: 10040;
    min-height: 44px;
    padding: 10px 16px;
    padding-bottom: 10px;
  }

  .product-summary__phrase-text {
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
    line-height: 1.2;
    white-space: normal;
  }

  .product-single-page.has-product-phrase,
  body.single-product:has(.product-summary__phrase) {
    padding-bottom: calc(56px + 52px + env(safe-area-inset-bottom, 0px));
  }

  .site-header-shell .site-header-inner,
  body.home .site-header-shell .site-header-inner,
  body.has-hero-header .site-header-shell .site-header-inner {
    min-height: 60px;
    height: 60px;
    width: 100%;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
    overflow: visible;
  }

  .site-header-top {
    min-height: 60px;
    height: 60px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    min-width: 0;
  }

  .site-header-nav,
  .site-header-lang {
    display: none !important;
  }

  .site-header-shell .site-header-left,
  .site-header-shell .site-header-right {
    max-width: none;
    min-width: 0;
  }

  .site-header-shell .site-header-left {
    overflow: hidden;
  }

  .site-header-shell .site-header-right {
    justify-content: flex-end;
    overflow: visible;
  }

  .site-header-shell .site-title {
    display: none;
  }

  /* Logo: compact, balanced with side controls */
  .site-header-shell .site-logo img,
  body.home .site-header-shell:not(.is-scrolled) .site-logo img,
  body.home .site-header-shell.is-scrolled .site-logo img,
  .site-header-shell.is-home:not(.is-scrolled) .site-logo img,
  .site-header-shell.is-home.is-scrolled .site-logo img,
  .site-logo-home .site-logo-white,
  .site-logo-home .site-logo-black {
    height: 24px;
    max-height: 24px;
    width: auto;
  }

  .site-logo-home {
    height: 24px;
  }

  /* Menu: readable weight next to logo */
  .site-header-shell .header-burger {
    gap: 6px;
    padding: 6px 0;
    min-height: 40px;
    max-width: 100%;
  }

  .site-header-shell .header-burger-icon,
  body.home .site-header-shell:not(.is-scrolled) .header-burger-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .site-header-shell .header-burger-label,
  body.home .site-header-shell:not(.is-scrolled) .header-burger-label {
    font-size: 0.8125rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Contact is inside the mobile dock — no separate header contact control */
  .site-header-shell .contact-toggle__text {
    display: none !important;
  }

  /* About / Partners / Promo offer: mobile header = catalog (solid inner), not transparent over hero. */
  body.about-template-page,
  body.partners-template-page,
  body.promo-offer-template-page {
    padding-top: 60px;
  }

  body.about-template-page .site-header-shell.is-home,
  body.partners-template-page .site-header-shell.is-home,
  body.promo-offer-template-page .site-header-shell.is-home {
    background: rgba(245, 245, 245, 0.97);
    border-color: #e6e6e6;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger,
  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-icon,
  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-label,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-icon,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-label,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-icon,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .header-burger-label,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-icon,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-label,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-icon,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-label,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-icon,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-burger-label,
  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .header-menu > li > a,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .header-menu > li > a,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .header-menu > li > a,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-menu > li > a,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-menu > li > a,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .header-menu > li > a {
    color: #111;
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li a,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li a,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li a,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li a,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li a,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li a {
    color: rgba(17, 17, 17, 0.45);
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .site-header-lang .lang-switcher li.is-active a {
    color: #111 !important;
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .contact-toggle,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .contact-toggle,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .contact-toggle,
  body.about-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .contact-toggle,
  body.partners-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .contact-toggle,
  body.promo-offer-template-page.has-hero-header .site-header-shell:not(.is-scrolled) .contact-toggle {
    color: #111;
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-white,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-white,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-white {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.about-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-black,
  body.partners-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-black,
  body.promo-offer-template-page .site-header-shell.is-home:not(.is-scrolled) .site-logo-home .site-logo-black {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Taxonomy catalog view (HPL category page — mockup) */
.catalog-tax-main {
  padding-bottom: 0;
  background: transparent;
}

.catalog-tax-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      #050505 0%,
      #0a0506 28%,
      #3a0a10 58%,
      #6b0d16 78%,
      #8f0018 100%
    );
  color: #fff;
  min-height: clamp(280px, 36vw, 420px);
}

.catalog-tax-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.catalog-tax-hero__content {
  position: relative;
  z-index: 2;
  max-width: min(720px, 68%);
}

.catalog-tax-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  text-transform: none;
  font-weight: 500;
}

.catalog-tax-hero__subtitle {
  margin: 14px 0 0;
  max-width: 28ch;
  font-size: clamp(0.95rem, 1.4vw, 1.125rem);
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.catalog-tax-hero__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 28px;
}

.catalog-tax-hero__actions .catalog-tax-hero__link {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.catalog-tax-hero__link {
  margin-top: 0;
}

.catalog-tax-hero.has-visual .catalog-tax-hero__visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(24px, 6vw, 80px);
  left: auto;
  bottom: auto;
  width: min(429px, 36vw);
  height: min(429px, 36vw);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.42;
}

.catalog-tax-hero.has-visual .catalog-tax-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.catalog-tax-toolbar {
  padding: 18px 0 8px;
  background: transparent;
}

.catalog-tax-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #8b919c;
  font-size: 0.88rem;
}

.catalog-tax-breadcrumbs a {
  color: #000;
  text-decoration: none;
}

.catalog-tax-breadcrumbs a:hover {
  color: #111;
}

.catalog-tax-breadcrumbs__current {
  color: #111;
}

.catalog-tax-head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.catalog-tax-search-wrap {
  position: relative;
  width: min(280px, 100%);
  margin-left: auto;
}

.catalog-tax-search {
  width: 100%;
  border: 1px solid #e2e6ec;
  background: #fff;
  color: #8b919c;
  padding: 11px 42px 11px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
}

.catalog-tax-search:hover,
.catalog-tax-search:focus {
  outline: none;
  border-color: #111;
  color: #111;
}

.catalog-tax-search__placeholder {
  pointer-events: none;
}

.catalog-tax-search-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #8b919c;
  pointer-events: none;
  display: inline-flex;
}

.catalog-tax-body {
  padding: 8px 0 56px;
}

.catalog-tax-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.catalog-tax-filters {
  position: sticky;
  top: calc(72px + 16px);
  max-height: calc(100vh - 72px - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: thin;
}

.catalog-tax-filters-open,
.catalog-tax-filters-backdrop,
.catalog-tax-filters__close {
  display: none;
}

.catalog-tax-filters__sheet {
  display: contents;
}

.catalog-tax-filters__body {
  display: contents;
}

.catalog-tax-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.catalog-tax-filters__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.catalog-tax-filters__icon {
  color: #111;
  font-size: 1.1rem;
  line-height: 1;
}

.catalog-filter-group {
  border-top: 1px solid #eceff3;
  padding: 14px 0;
}

.catalog-filter-group__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.catalog-filter-group__icon {
  color: #8b919c;
  font-size: 1.2rem;
  line-height: 1;
}

.catalog-filter-group__body {
  display: none;
  padding-top: 12px;
}

.catalog-filter-group.is-open .catalog-filter-group__body {
  display: grid;
  gap: 10px;
}

.catalog-filter-option {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  color: #3e4551;
  font-size: 0.92rem;
  cursor: pointer;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.catalog-filter-option.is-disabled {
  opacity: 0.38;
  color: #9aa1ab;
  cursor: not-allowed;
  pointer-events: none;
}

.catalog-filter-option.is-disabled .catalog-filter-option__count {
  background: #eceff3;
  color: #a0a7b2;
}

.catalog-filter-option__count {
  min-width: 28px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #6e7684;
  font-size: 0.78rem;
  text-align: center;
}

.catalog-card-cutting {
  display: block;
  margin: 6px 0 0;
  color: #5b6472;
  font-size: 0.82rem;
  line-height: 1.35;
}

.catalog-card-cutting__text {
  min-width: 0;
  display: inline;
  line-height: 1.35;
}

.catalog-card-cutting__size {
  white-space: nowrap;
}

.catalog-tax-filters__actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.catalog-tax-filters__apply {
  width: 100%;
  justify-content: center;
}

body.tax-product_category .catalog-tax-filters__apply .btn-pill-label,
body.tax-product_category .catalog-tax-filters__apply .btn-pill-arrow,
body.tax-product_category .btn-dark.catalog-tax-filters__apply .btn-pill-label,
body.tax-product_category .btn-dark.catalog-tax-filters__apply .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
  min-width: 0;
}

body.tax-product_category .catalog-tax-filters__apply:hover .btn-pill-label,
body.tax-product_category .catalog-tax-filters__apply:hover .btn-pill-arrow,
body.tax-product_category .btn-dark.catalog-tax-filters__apply:hover .btn-pill-label,
body.tax-product_category .btn-dark.catalog-tax-filters__apply:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

.catalog-tax-filters__reset {
  border: 0;
  background: transparent;
  color: #6e7684;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.catalog-price-filter {
  display: grid;
  gap: 16px;
}

.catalog-price-filter__slider-wrap {
  position: relative;
  height: 24px;
  margin: 6px 2px 0;
}

.catalog-price-filter__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin: 0;
  border-radius: 999px;
  background: #d9dde5;
  transform: translateY(-50%);
  pointer-events: none;
}

.catalog-price-filter__range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border-radius: 999px;
  background: #111;
}

.catalog-price-filter__sliders {
  position: absolute;
  inset: 0;
  height: 24px;
  margin: 0;
}

.catalog-price-filter__range-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
}

.catalog-price-filter__range-input::-webkit-slider-runnable-track {
  height: 24px;
  background: transparent;
  border: 0;
}

.catalog-price-filter__range-input::-moz-range-track {
  height: 24px;
  background: transparent;
  border: 0;
}

.catalog-price-filter__range-input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.18);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.catalog-price-filter__range-input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #111;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.18);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.catalog-price-filter__range-input:hover::-webkit-slider-thumb,
.catalog-price-filter__range-input:focus-visible::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.22);
}

.catalog-price-filter__range-input:hover::-moz-range-thumb,
.catalog-price-filter__range-input:focus-visible::-moz-range-thumb {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(17, 17, 17, 0.22);
}

.catalog-price-filter__range-input:focus-visible {
  outline: none;
}

.catalog-price-filter__inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-price-filter__field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: #6e7684;
}

.catalog-price-filter__field input {
  width: 100%;
  border: 1px solid #e2e6ec;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.92rem;
  color: #111;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-price-filter__field input:focus {
  outline: none;
  border-color: rgba(143, 0, 24, 0.4);
  box-shadow: 0 0 0 3px rgba(143, 0, 24, 0.08);
}

.catalog-tax-results {
  min-width: 0;
}

.catalog-tax-results__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 0 0 16px;
}

.catalog-tax-results__meta-main {
  display: grid;
  gap: 12px;
  min-width: 0;
  flex: 1 1 220px;
}

.catalog-tax-count {
  margin: 0;
  color: #6e7684;
  font-size: 0.9rem;
}

.catalog-tax-sort {
  display: inline-flex;
  align-items: center;
  gap: 12px 16px;
  flex: 0 1 auto;
  margin-left: auto;
  min-width: 0;
}

.catalog-tax-sort__label {
  flex: 0 0 auto;
  color: #6e7684;
  font-size: 0.86rem;
  white-space: nowrap;
}

.catalog-tax-sort__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-tax-sort__item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.catalog-tax-sort__item + .catalog-tax-sort__item::before {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  margin: 0 12px;
  background: #d5dae2;
}

.catalog-tax-sort__btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6e7684;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s ease;
}

.catalog-tax-sort__btn:hover {
  color: #111;
}

.catalog-tax-sort__btn.is-active {
  color: #111;
  font-weight: 600;
}

.catalog-tax-sort__btn:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.catalog-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 700px) {
  .catalog-tax-results__meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 12px;
  }

  .catalog-tax-results__meta-main {
    flex: 0 0 auto;
    gap: 8px;
  }

  .catalog-tax-sort {
    margin-left: 0;
    width: 100%;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .catalog-tax-sort::-webkit-scrollbar {
    display: none;
  }

  .catalog-tax-sort__label {
    font-size: 0.78rem;
  }

  .catalog-tax-sort__list {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .catalog-tax-sort__item + .catalog-tax-sort__item::before {
    height: 12px;
    margin: 0 8px;
  }

  .catalog-tax-sort__btn {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .catalog-active-filters__chip {
    width: auto;
    max-width: 100%;
    min-height: 0;
    height: auto;
    padding: 5px 8px 5px 10px;
    gap: 6px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .catalog-active-filters__chip-x {
    width: 14px;
    height: 14px;
    font-size: 0.9rem;
  }
}

.catalog-active-filters[hidden] {
  display: none !important;
}

.catalog-active-filters__chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 7px 10px 7px 12px;
  border: 1px solid #dde2e8;
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.catalog-active-filters__chip:hover {
  border-color: #111;
  background: #f7f8fa;
}

.catalog-active-filters__chip-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #6e7684;
  font-size: 1rem;
  line-height: 1;
}

.catalog-results--tax {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.catalog-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}

.catalog-load-more-wrap[hidden] {
  display: none;
}

.catalog-load-more {
  min-width: min(100%, 220px);
  justify-content: center;
}

.catalog-load-more:disabled {
  opacity: 0.7;
  cursor: wait;
}

body.tax-product_category .catalog-card--tax {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border: 0;
  background: transparent;
  border-radius: 5px;
  transition:
    background-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

body.tax-product_category .catalog-card--tax:hover {
  background: var(--fenomen-surface);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.12);
  transform: translateY(-2px);
}

body.tax-product_category .catalog-card-media {
  position: relative;
}

.catalog-card-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #82252f;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.catalog-card-fav:hover {
  background: #fff;
}

.catalog-card-fav.is-active {
  background: #82252f;
  color: #fff;
}

.catalog-card-fav .fenomen-fav-icon {
  width: 20px;
  height: 20px;
}

body.tax-product_category .catalog-card-image-link {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06);
  transition: box-shadow 0.22s ease;
}

body.tax-product_category .catalog-card--tax:hover .catalog-card-image-link {
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.06);
}

body.tax-product_category .catalog-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0;
  object-fit: cover;
  display: block;
}

body.tax-product_category .catalog-card-badge {
  top: 12px;
  left: 12px;
  right: auto;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 6px 10px;
}

body.tax-product_category .catalog-card-badge--accent {
  background: var(--fenomen-brand-red);
  color: #fff;
}

body.tax-product_category .catalog-card-badge--muted {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

body.tax-product_category .catalog-card-badge--sale,
body.tax-product_category .catalog-card-media > .catalog-card-badge--sale {
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 4;
  background: rgba(112, 3, 42, 0.92);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.18);
  pointer-events: none;
}

body.tax-product_category .catalog-card-media:has(> .catalog-card-badge--sale) .catalog-card-image-link .catalog-card-badge:not(.catalog-card-badge--sale),
body.tax-product_category .catalog-card-image-link:has(.catalog-card-badge--sale) .catalog-card-badge:not(.catalog-card-badge--sale) {
  left: auto;
  right: 12px;
}

body.tax-product_category .catalog-card-body {
  display: grid;
  gap: 8px;
}

body.tax-product_category .catalog-card-code {
  margin: 0;
  color: #8b919c;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.tax-product_category .catalog-card-title {
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.25;
  text-transform: uppercase;
  font-weight: 400;
}

body.tax-product_category .catalog-card-title__code {
  font-weight: 700;
}

body.tax-product_category .catalog-card-title__color {
  display: block;
  margin-top: 0.2em;
  font-weight: 300;
}

body.tax-product_category .catalog-card-surface {
  margin: 0;
  color: #6f7785;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

body.tax-product_category .catalog-card-title a {
  color: #111;
  text-decoration: none;
}

body.tax-product_category .catalog-card-title a:hover {
  color: #8f0018;
}

body.tax-product_category .catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  width: 100%;
  flex-wrap: nowrap;
}

body.tax-product_category .catalog-card-footer__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  justify-content: flex-end;
}

body.tax-product_category .catalog-card-price {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #111;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  white-space: nowrap;
  text-align: left;
  flex: 0 1 auto;
  min-width: 0;
}

body.tax-product_category .catalog-card-price.is-on-sale {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: normal;
}

body.tax-product_category .catalog-card-price__current {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

body.tax-product_category .catalog-card-btn {
  width: fit-content;
  flex: 0 0 auto;
  margin-left: 0;
}

body.tax-product_category .catalog-card-price__value {
  font-size: 1em;
  font-weight: 700;
  color: #111;
}

body.tax-product_category .catalog-card-price__value.is-sale,
.product-summary__price-value.is-sale,
[data-hpl-sheet-price].is-sale {
  color: rgba(112, 3, 42, 0.92);
}

body.tax-product_category .catalog-card-price__regular,
.product-summary__price-regular,
[data-hpl-sheet-price-regular] {
  display: block;
  color: #8b919c;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: line-through;
  margin: 0;
  line-height: 1.2;
}

body.tax-product_category .catalog-card-price__regular .catalog-card-price__currency,
.product-summary__price-regular .product-hpl-buy-meta__currency {
  font-size: 1em;
  font-weight: 500;
  color: inherit;
}

body.tax-product_category .catalog-card-price__currency {
  color: #6b7280;
  font-size: 0.72em;
  font-weight: 500;
  line-height: 1;
}

body.tax-product_category .catalog-card-btn .btn-pill-label,
body.tax-product_category .catalog-card-btn .btn-pill-arrow,
body.tax-product_category .btn-dark.catalog-card-btn .btn-pill-label,
body.tax-product_category .btn-dark.catalog-card-btn .btn-pill-arrow,
body.tax-product_category .product-order-btn.catalog-card-btn .btn-pill-label,
body.tax-product_category .product-order-btn.catalog-card-btn .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

body.tax-product_category .catalog-card-btn:hover .btn-pill-label,
body.tax-product_category .catalog-card-btn:hover .btn-pill-arrow,
body.tax-product_category .btn-dark.catalog-card-btn:hover .btn-pill-label,
body.tax-product_category .btn-dark.catalog-card-btn:hover .btn-pill-arrow,
body.tax-product_category .product-order-btn.catalog-card-btn:hover .btn-pill-label,
body.tax-product_category .product-order-btn.catalog-card-btn:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.92);
}

body.tax-product_category .btn-accent .btn-pill-label,
body.tax-product_category .btn-accent .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
}

body.tax-product_category .btn-accent:hover .btn-pill-label,
body.tax-product_category .btn-accent:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

body.tax-product_category .catalog-tax-hero__link--primary {
  display: inline-flex;
  align-items: stretch;
  gap: var(--fenomen-btn-gap);
  text-decoration: none;
  border-radius: var(--fenomen-btn-radius);
}

body.tax-product_category .catalog-tax-hero__link--primary .btn-pill-label,
body.tax-product_category .catalog-tax-hero__link--primary .btn-pill-arrow {
  background: var(--fenomen-brand-red);
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.tax-product_category .catalog-tax-hero__link--primary:hover .btn-pill-label,
body.tax-product_category .catalog-tax-hero__link--primary:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover);
}

body.tax-product_category .catalog-tax-hero__link--ghost {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--fenomen-btn-radius);
  overflow: hidden;
}

body.tax-product_category .catalog-tax-hero__link--ghost .btn-pill-label,
body.tax-product_category .catalog-tax-hero__link--ghost .btn-pill-arrow {
  background: transparent;
  color: #fff;
  border: 0;
  box-sizing: border-box;
}

body.tax-product_category .catalog-tax-hero__link--ghost .btn-pill-arrow {
  border-left: 1px solid rgba(255, 255, 255, 0.85);
}

body.tax-product_category .catalog-tax-hero__link--ghost:hover .btn-pill-label,
body.tax-product_category .catalog-tax-hero__link--ghost:hover .btn-pill-arrow {
  background: rgba(255, 255, 255, 0.1);
}

body.post-type-archive-product .catalog-category-card__btn .btn-pill-label,
body.post-type-archive-product .catalog-category-card__btn .btn-pill-arrow,
body.post-type-archive-product .product-order-btn.catalog-category-card__btn .btn-pill-label,
body.post-type-archive-product .product-order-btn.catalog-category-card__btn .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

body.post-type-archive-product .catalog-category-card__btn:hover .btn-pill-label,
body.post-type-archive-product .catalog-category-card__btn:hover .btn-pill-arrow,
body.post-type-archive-product .product-order-btn.catalog-category-card__btn:hover .btn-pill-label,
body.post-type-archive-product .product-order-btn.catalog-category-card__btn:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.92);
}

.home-catalog-card__body .product-order-btn .btn-pill-label,
.home-catalog-card__body .product-order-btn .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.home-catalog-card__body .product-order-btn:hover .btn-pill-label,
.home-catalog-card__body .product-order-btn:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.92);
}

.catalog-partner-cta {
  padding: 0 0 clamp(48px, 6vw, 72px);
  background: transparent;
}

.catalog-partner-cta--inline {
  padding: 0;
}

.catalog-partner-cta__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 72px);
  min-height: clamp(300px, 36vw, 440px);
  padding: clamp(32px, 4.5vw, 56px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(135deg, #1a120f 0%, #0a0a0a 100%);
}

.catalog-partner-cta__panel.has-image {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.22) 100%),
    var(--catalog-partner-image) center / cover no-repeat;
}

.catalog-partner-cta__heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(100%, 28rem);
}

.catalog-partner-cta__title {
  margin: 0;
  max-width: none;
  font-size: clamp(1.5rem, 3.4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.catalog-partner-cta__subtitle {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.35;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.catalog-partner-cta__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
}

.catalog-partner-cta__btn {
  flex: 0 0 auto;
}

.catalog-partner-cta__btn.btn-dark,
.catalog-partner-cta .btn-dark.catalog-partner-cta__btn {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.catalog-partner-cta__btn .btn-pill-label,
.catalog-partner-cta__btn .btn-pill-arrow,
.catalog-partner-cta__btn.btn-dark .btn-pill-label,
.catalog-partner-cta__btn.btn-dark .btn-pill-arrow,
body.post-type-archive-product .catalog-partner-cta__btn.btn-dark .btn-pill-label,
body.post-type-archive-product .catalog-partner-cta__btn.btn-dark .btn-pill-arrow,
body.tax-product_category .catalog-partner-cta__btn.btn-dark .btn-pill-label,
body.tax-product_category .catalog-partner-cta__btn.btn-dark .btn-pill-arrow {
  background: var(--fenomen-brand-red) !important;
  color: #fff !important;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.22s ease;
}

.catalog-partner-cta__btn .btn-pill-label,
.catalog-partner-cta__btn.btn-dark .btn-pill-label {
  font-weight: 500;
}

.catalog-partner-cta__btn .btn-pill-arrow,
.catalog-partner-cta__btn.btn-dark .btn-pill-arrow {
  border-left: 0 !important;
}

.catalog-partner-cta__btn:hover .btn-pill-label,
.catalog-partner-cta__btn:hover .btn-pill-arrow,
.catalog-partner-cta__btn.btn-dark:hover .btn-pill-label,
.catalog-partner-cta__btn.btn-dark:hover .btn-pill-arrow,
body.post-type-archive-product .catalog-partner-cta__btn.btn-dark:hover .btn-pill-label,
body.post-type-archive-product .catalog-partner-cta__btn.btn-dark:hover .btn-pill-arrow,
body.tax-product_category .catalog-partner-cta__btn.btn-dark:hover .btn-pill-label,
body.tax-product_category .catalog-partner-cta__btn.btn-dark:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red-hover) !important;
  color: #fff !important;
}

.catalog-partner-cta__text {
  margin: 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.5;
  text-align: right;
}

#fenomen-catalog-root.is-loading .catalog-results {
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .catalog-results--tax {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .catalog-tax-hero {
    min-height: clamp(240px, 58vw, 340px);
  }

  .catalog-tax-hero__content {
    max-width: min(640px, 78%);
  }

  .catalog-tax-hero.has-visual .catalog-tax-hero__visual {
    right: clamp(12px, 3vw, 28px);
    width: min(280px, 42vw);
    height: min(280px, 42vw);
  }

  .catalog-tax-layout {
    grid-template-columns: 1fr;
  }

  .catalog-tax-breadcrumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    max-width: 100%;
    padding-bottom: 2px;
  }

  .catalog-tax-breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .catalog-tax-breadcrumbs > * {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-tax-search {
    font-size: 16px;
  }

  .catalog-tax-filters-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    z-index: 100220;
    width: auto;
    min-height: 52px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: var(--fenomen-btn-radius);
    background: #111;
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.catalog-filters-open .catalog-tax-filters-open {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
  }

  .catalog-tax-filters-open__icon {
    font-size: 1.05rem;
    line-height: 1;
  }

  .catalog-tax-main {
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px));
  }

  .catalog-tax-filters-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100200;
    background: rgba(17, 17, 17, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.catalog-filters-open .catalog-tax-filters-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .catalog-tax-filters {
    position: fixed;
    top: calc(60px + 8px + env(safe-area-inset-top, 0px));
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100210;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    border: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(calc(100% + 12px));
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .catalog-tax-filters.is-open {
    transform: translateY(0);
  }

  .catalog-tax-filters__sheet {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    width: 100%;
    background: #fff;
  }

  .catalog-tax-filters__head {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
    margin: 0;
    padding: 20px 16px 12px;
    border-bottom: 1px solid #eceff3;
  }

  .catalog-tax-filters__head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    display: block;
    width: 36px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    background: #d7dbe2;
    transform: translateX(-50%);
  }

  .catalog-tax-filters__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.2;
  }

  .catalog-tax-filters__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: #111;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
  }

  .catalog-tax-filters__body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 16px 12px;
    -webkit-overflow-scrolling: touch;
  }

  .catalog-tax-filters__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eceff3;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(17, 17, 17, 0.06);
  }

  .catalog-tax-filters__apply {
    display: inline-flex !important;
    flex: none;
    width: 100%;
    min-width: 0;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .catalog-tax-filters__apply .btn-pill-label,
  .catalog-tax-filters__apply .btn-pill-arrow {
    display: inline-flex;
  }

  .catalog-tax-filters__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #f2f4f7;
    color: #344054;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    text-align: center;
  }

  body.catalog-filters-open {
    overflow: hidden;
  }

  body.catalog-filters-open .fenomen-messenger-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .catalog-partner-cta {
    padding-bottom: clamp(32px, 5vw, 48px);
  }

  .catalog-partner-cta__panel {
    justify-content: flex-start;
    gap: 18px;
    min-height: clamp(360px, 92vw, 460px);
    padding: clamp(22px, 5vw, 28px);
  }

  .catalog-partner-cta__panel.has-image {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.52) 52%, rgba(0, 0, 0, 0.84) 100%),
      var(--catalog-partner-image) center / cover no-repeat;
  }

  .catalog-partner-cta__heading {
    max-width: none;
    gap: 8px;
  }

  .catalog-partner-cta__title {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
    line-height: 1.15;
  }

  .catalog-partner-cta__subtitle {
    max-width: none;
    font-size: clamp(0.95rem, 3.8vw, 1.05rem);
    line-height: 1.4;
  }

  .catalog-partner-cta__footer {
    display: contents;
  }

  .catalog-partner-cta__footer > span:empty {
    display: none;
  }

  .catalog-partner-cta__text {
    order: 2;
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: clamp(0.92rem, 3.6vw, 1rem) !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.9);
  }

  .catalog-partner-cta__btn {
    order: 3;
    display: flex;
    width: 100%;
    max-width: none;
    margin-top: 4px;
  }

  .catalog-partner-cta__btn .btn-pill-label {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 48px;
    font-size: 0.82rem;
  }

  .catalog-partner-cta__btn .btn-pill-arrow {
    flex: 0 0 48px;
    width: 48px;
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .catalog-tax-hero__content {
    max-width: 100%;
  }

  .catalog-tax-hero.has-visual .catalog-tax-hero__visual {
    right: -8%;
    width: min(220px, 58vw);
    height: min(220px, 58vw);
    opacity: 0.45;
  }

  .catalog-tax-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .catalog-tax-hero__actions .catalog-tax-hero__link {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .catalog-results--tax {
    grid-template-columns: 1fr;
  }

  .catalog-tax-head {
    align-items: stretch;
  }

  .catalog-tax-search-wrap {
    width: 100%;
  }
}

/* Legacy taxonomy catalog selectors kept for compatibility */
.catalog-tax-content-section {
  display: none;
}

body.tax-product_category .catalog-filters {
  display: none;
}

body.tax-product_category .catalog-results-head {
  display: none;
}

/* HPL compact panels product layout */
.product-hpl-hero {
  padding: clamp(18px, 2.5vw, 28px) 0 clamp(48px, 6vw, 80px);
}

.product-hpl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(12px, 1.6vw, 20px);
  row-gap: 18px;
  align-items: stretch;
  grid-template-areas:
    "main aside"
    "cut viz";
}

.product-hpl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  column-gap: clamp(12px, 1.6vw, 20px);
  row-gap: 10px;
  align-items: stretch;
}

.product-hpl-grid--top {
  grid-template-areas: "main aside-top";
}

.product-hpl-grid--bottom {
  grid-template-areas: "fullformat aside-bottom";
  align-items: start;
}

.product-hpl-media--main {
  grid-area: main;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-hpl-aside--top {
  grid-area: aside;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
  height: 100%;
}

.product-hpl-aside--top .product-hpl-summary {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.product-hpl-cut-diagram-slot {
  grid-area: cut;
  min-width: 0;
  margin-top: 0;
  width: 100%;
}

.product-hpl-cut-diagram-slot:empty {
  display: none;
}

.product-hpl-cut-diagram {
  min-width: 0;
  margin-top: 0;
  width: 100%;
}

.product-hpl-layout > .product-hpl-cut-diagram {
  grid-area: cut;
}

.product-hpl-summary > .product-hpl-cut-diagram {
  margin-top: 14px;
  margin-bottom: 4px;
}

.product-hpl-surface-block--aside,
.product-hpl-surface-slot {
  grid-area: surface;
  min-width: 0;
  margin-top: 0;
  width: 100%;
}

.product-hpl-layout > .product-hpl-viz {
  grid-area: viz;
  min-width: 0;
  margin-top: 0;
  width: 100%;
}

.product-hpl-fullformat--under-gallery {
  margin: 0;
  width: 100%;
}

.product-hpl-surface-block--under-buy {
  margin-top: 0;
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: 3;
}

.product-hpl-media__texture--under-buy {
  margin: 8px 0 0;
  width: 100%;
  max-width: none;
  height: 48px;
  max-height: 48px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.product-hpl-media__texture--under-buy .product-hpl-media__zoom {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-hpl-media__texture--under-buy img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-hpl-media__texture--aside {
  margin: 10px 0 0;
  width: 100%;
  max-width: none;
  height: 120px;
  overflow: hidden;
  position: relative;
  line-height: 0;
}

.product-hpl-media__texture--aside .product-hpl-media__zoom {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-hpl-media__texture--aside img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-hpl-layout > .product-hpl-viz .product-summary__interior-title {
  color: #83252f;
}

.product-hpl-layout > .product-hpl-viz .product-interior-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.product-hpl-layout > .product-hpl-viz .product-interior-gallery__item {
  max-width: none;
  width: 100%;
  aspect-ratio: 1;
}

.product-hpl-layout > .product-hpl-viz .product-interior-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HPL visualization carousel: 2 squares + peek of 3rd, full block width */
.product-hpl-viz__carousel {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 12px;
}

.product-hpl-viz__viewport {
  min-width: 0;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  container-type: inline-size;
  container-name: hpl-viz-viewport;
}

.product-hpl-viz__viewport::-webkit-scrollbar {
  display: none;
}

.product-hpl-viz__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  width: max-content !important;
  max-width: none !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.product-hpl-viz__item {
  position: relative;
  flex: 0 0 var(--hpl-viz-item-size, calc((100cqi - 8px) / 2.35)) !important;
  width: var(--hpl-viz-item-size, calc((100cqi - 8px) / 2.35)) !important;
  max-width: none !important;
  aspect-ratio: 1 / 1 !important;
  height: var(--hpl-viz-item-size, auto) !important;
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .product-hpl-viz__item {
    flex-basis: calc((100cqi - 8px) / 1.45) !important;
    width: calc((100cqi - 8px) / 1.45) !important;
  }

  .product-hpl-viz__nav {
    width: 32px;
    height: 32px;
  }
}

.product-hpl-viz__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hpl-viz__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.14);
  cursor: pointer;
  line-height: 1;
  font-size: 16px;
}

.product-hpl-viz__nav--prev {
  left: 8px;
}

.product-hpl-viz__nav--next {
  right: 8px;
}

.product-hpl-viz__nav:hover {
  background: #fff;
}

.product-hpl-viz__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-hpl-viz__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}

.product-hpl-viz__show-all {
  display: inline-block;
  margin: 0;
  margin-left: auto;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: #4d5563;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.product-hpl-viz__show-all:hover,
.product-hpl-viz__show-all:focus-visible {
  opacity: 0.75;
  color: #111;
}

.product-hpl-viz-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-hpl-viz-modal.is-open {
  display: flex;
}

.product-hpl-viz-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(17, 17, 17, 0.72);
  cursor: pointer;
}

.product-hpl-viz-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #fff;
  padding: 22px 22px 28px;
}

.product-hpl-viz-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.product-hpl-viz-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #83252f;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.product-hpl-viz-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f2f4f7;
  color: #111;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.product-hpl-viz-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 701px) {
  .product-hpl-viz-modal__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-hpl-viz-modal__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #dde1e8;
  overflow: hidden;
  cursor: zoom-in;
}

.product-hpl-viz-modal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.product-hpl-viz-modal-open {
  overflow: hidden;
}

.product-hpl-buy-meta__price .product-hpl-buy-meta__value,
.product-hpl-buy-meta__prices:not(.has-breakdown) .product-hpl-buy-meta__value,
.product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__value,
.product-hpl-buy-meta__prices.has-services .product-hpl-buy-meta__value {
  color: #83252f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.product-hpl-buy-meta__prices.has-services .product-hpl-buy-meta__price-row:not(.is-total) .product-hpl-buy-meta__value,
.product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row:not(.is-total) .product-hpl-buy-meta__value {
  font-size: 22px;
  font-weight: 700;
  color: #344054;
  line-height: 1.2;
}

.product-hpl-fullformat {
  min-width: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
}

.product-hpl-aside--bottom {
  grid-area: aside-bottom;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-hpl-summary-heading {
  min-width: 0;
}

.product-hpl-summary__article {
  margin: 8px 0 0;
}

.product-hpl-media {
  min-width: 0;
}

.product-hpl-summary {
  min-width: 0;
}

.product-hpl-cutting-picker__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 901px) {
  .product-hpl-layout .product-hpl-media__fullformat {
    aspect-ratio: 16 / 5;
    height: auto;
  }

  .product-hpl-layout {
    container-type: inline-size;
    container-name: hpl-layout;
  }

  .product-hpl-layout > .product-hpl-viz .product-summary__interior-head,
  .product-hpl-fullformat .product-hpl-media__label {
    min-height: 1.5em;
  }

  .product-hpl-cut-diagram__head,
  .product-hpl-surface-block--aside .product-hpl-surface-block__head {
    min-height: 0;
  }

  /* Desktop cut lives in the slot (JS moves it); that cell sizes the row. */
  .product-hpl-layout > .product-hpl-cut-diagram-slot,
  .product-hpl-layout > .product-hpl-cut-diagram {
    align-self: start;
    height: auto;
  }

  .product-hpl-cut-diagram__head {
    min-height: 1.5em;
  }

  /* Keep native 3:1 so SVG cutting overlays fill the stage edge-to-edge. */
  .product-hpl-cut-diagram__stage {
    aspect-ratio: 3 / 1;
    min-height: 0;
    width: 100%;
  }

  .product-hpl-layout > .product-hpl-viz {
    display: flex;
    flex-direction: column;
    align-self: start;
    margin-top: 0;
    min-width: 0;
    width: 100%;
  }

  .product-hpl-layout > .product-hpl-viz .product-summary__interior-head {
    flex: 0 0 auto;
    margin-top: 10px;
    margin-bottom: 8px;
    min-height: 1.5em;
  }

  .product-hpl-layout > .product-hpl-viz .product-hpl-viz__carousel {
    margin-top: 12px;
  }

  .product-hpl-layout > .product-hpl-viz .product-interior-gallery,
  .product-hpl-layout > .product-hpl-viz .product-hpl-viz__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    max-width: none;
    height: auto;
    max-height: none;
    margin-top: 0;
    overflow: visible;
    align-items: stretch;
  }

  .product-hpl-layout > .product-hpl-viz .product-interior-gallery__item,
  .product-hpl-layout > .product-hpl-viz .product-hpl-viz__item {
    position: relative;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1 !important;
    height: var(--hpl-viz-item-size, 260px) !important;
    width: var(--hpl-viz-item-size, 260px) !important;
    flex-basis: var(--hpl-viz-item-size, 260px) !important;
    min-height: 0;
    max-width: none !important;
    overflow: hidden;
  }

  .product-hpl-layout > .product-hpl-viz .product-interior-gallery__item img,
  .product-hpl-layout > .product-hpl-viz .product-hpl-viz__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }
}

.product-hpl-surface-block {
  position: relative;
  width: 100%;
  max-width: none;
}

.product-hpl-summary .product-hpl-surface-block:not(.product-hpl-surface-block--head) {
  margin-top: 12px;
  width: 100%;
  max-width: none;
}

@media (min-width: 901px) {
  .product-hpl-summary .product-hpl-surface-block:not(.product-hpl-surface-block--head) {
    margin-top: 12px;
    padding-top: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .product-hpl-summary .product-hpl-surface-block:not(.product-hpl-surface-block--head) .product-hpl-surface-block__head {
    flex: 0 0 auto;
  }
}

.product-hpl-summary .product-hpl-surface-block--head {
  width: 100%;
  max-width: none;
}

.product-hpl-surface-block__head {
  position: relative;
  z-index: 4;
  margin: 0;
  overflow: visible;
}

.product-hpl-surface-block__head:has(.product-hpl-info-popover:not([hidden])) {
  z-index: 40;
}

.product-hpl-surface-block__eyebrow {
  display: block;
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6f7785;
}

.product-hpl-surface-block__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-hpl-surface-block__name {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  text-transform: uppercase;
  color: #111;
}

.product-hpl-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1.5px solid #111;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.product-hpl-info-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e4e4e4;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  color: #333;
  font-size: 0.88rem;
  line-height: 1.45;
  pointer-events: auto;
}

.product-hpl-info-popover[hidden] {
  display: none !important;
}

.product-hpl-info-popover:not([hidden]) {
  display: block !important;
  position: absolute !important;
}

.product-hpl-info-popover,
.product-hpl-info-popover p,
.product-hpl-info-popover li,
.product-hpl-info-popover__content,
.product-hpl-info-popover__content p,
.product-hpl-info-popover__content li {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.product-hpl-info-popover p {
  margin: 0;
}

.product-hpl-info-popover__content > *:first-child {
  margin-top: 0;
}

.product-hpl-info-popover__content > *:last-child {
  margin-bottom: 0;
}

.product-hpl-info-popover__content p + p {
  margin-top: 0.55em;
}

.product-hpl-info-popover__content ul,
.product-hpl-info-popover__content ol {
  margin: 0.45em 0 0;
  padding-left: 1.2em;
}

.product-hpl-info-popover__content a {
  color: inherit;
  text-decoration: underline;
}

.product-hpl-info-popover__content .fenomen-tone-black {
  color: #111;
}

.product-hpl-info-popover__content .fenomen-tone-gray {
  color: #6b7280;
}

.product-hpl-info-popover__content .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.product-hpl-info-popover__content .fenomen-tone-bold,
.product-hpl-info-popover__content strong,
.product-hpl-info-popover__content b {
  font-weight: 700;
}

.product-hpl-info-popover__title {
  display: block;
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.product-hpl-info-popover__title + p {
  margin-top: 0;
}

.product-hpl-media__texture,
.product-hpl-media__viz,
.product-hpl-media__main,
.product-hpl-media__fullformat {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #ececec;
}

.product-hpl-media__main {
  aspect-ratio: 1 / 1;
}

.product-hpl-media__main--multi {
  position: relative;
}

.product-hpl-media__slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
}

.product-hpl-media__slide.is-active {
  display: block;
}

.product-hpl-media__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hpl-media__main .product-gallery__nav,
.product-hpl-media__main .product-gallery__counter {
  z-index: 5;
}

.product-hpl-fullformat {
  margin-top: 0;
}

.product-hpl-media__fullformat {
  aspect-ratio: 16 / 5;
}

.product-hpl-media__texture {
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  line-height: 0;
}

.product-hpl-summary .product-hpl-media__texture {
  width: 100%;
  max-width: none;
}

.product-hpl-summary .product-hpl-media__texture img,
.product-hpl-media__texture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.product-hpl-media__texture .product-hpl-media__zoom {
  height: auto;
}

/* Under-buy texture: short by default; desktop stretch fills to gallery bottom. */
.product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy {
  height: 48px;
  max-height: 48px;
  overflow: hidden;
  aspect-ratio: auto;
}

.product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy .product-hpl-media__zoom {
  height: 100%;
}

.product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 901px) {
  .product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy {
    flex: 1 1 0;
    height: 0;
    max-height: none;
    min-height: 48px;
    overflow: hidden;
  }

  .product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy .product-hpl-media__zoom,
  .product-hpl-summary .product-hpl-media__texture.product-hpl-media__texture--under-buy img {
    height: 100%;
    max-height: none;
    object-fit: cover;
  }
}

.product-hpl-media__viz {
  aspect-ratio: 16 / 10;
}

.product-hpl-summary .product-hpl-viz,
.product-hpl-summary .product-summary__interior {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
}

.product-hpl-summary .product-interior-gallery__item {
  max-width: none;
}

.product-summary__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.product-hpl-summary__specs {
  margin-top: 18px;
  max-width: none;
  width: 100%;
  align-items: start;
}

.product-hpl-summary__specs .product-summary__spec {
  align-content: start;
  align-self: start;
}

.product-hpl-summary__specs .product-hpl-spec__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font: inherit;
  color: inherit;
  line-height: inherit;
}

.product-hpl-summary__specs .product-hpl-spec__list li + li {
  margin-top: 2px;
}

.product-hpl-cutting-list li + li {
  margin-top: 6px;
}

.product-hpl-cutting-picker {
  margin: 18px 0 0;
}

.product-hpl-cutting-picker__title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.product-hpl-cutting-picker__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.product-hpl-cutting-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  margin: 0;
  padding: 14px 12px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

a.product-hpl-cutting-card:hover,
a.product-hpl-cutting-card:focus-visible {
  border-color: #83252f;
  color: inherit;
  text-decoration: none;
}

.product-hpl-cutting-card:hover {
  border-color: #c7c9ce;
}

.product-hpl-cutting-card.is-selected,
.product-hpl-cutting-card:has(.product-hpl-cutting-card__input:checked) {
  border-color: #83252f;
  box-shadow: inset 0 0 0 1px #83252f;
  cursor: default;
}

.product-hpl-cutting-card__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-hpl-cutting-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #83252f;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-hpl-cutting-card__check::after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

.product-hpl-cutting-card.is-selected .product-hpl-cutting-card__check,
.product-hpl-cutting-card:has(.product-hpl-cutting-card__input:checked) .product-hpl-cutting-card__check {
  display: inline-flex;
}

.product-hpl-cutting-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  height: 48px;
  margin-top: auto;
  min-height: 48px;
}

.product-hpl-cutting-card__icon img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 48px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

.product-hpl-cutting-card__icon-fallback {
  display: block;
  width: 72px;
  height: 24px;
  border: 1.5px dashed #83252f;
}

.product-hpl-cutting-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  min-height: 2.6em;
  text-align: left;
}

.product-hpl-cutting-card__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

.product-hpl-cutting-card__size,
.product-hpl-cutting-card__parts {
  font-size: 12px;
  line-height: 1.3;
  color: #667085;
}

.product-hpl-buy-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px 22px;
  align-items: end;
  margin: 16px 0 14px;
  padding: 0;
}

.product-hpl-buy-meta > .product-hpl-buy-meta__size {
  justify-self: end;
  grid-column: 2;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.product-hpl-buy-meta > .product-hpl-buy-meta__prices {
  justify-self: start;
  grid-column: 1;
  text-align: left;
  flex-wrap: nowrap;
}

.product-hpl-buy-meta > .product-hpl-buy-meta__stock {
  justify-self: start;
  grid-column: 1;
  align-self: start;
}

/* Do not reflow the outer grid when qty/services breakdown appears. */
.product-hpl-buy-meta.has-breakdown {
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-areas: none;
  gap: 12px 22px;
  align-items: end;
}

.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__size,
.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__prices,
.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__stock {
  grid-area: auto;
}

.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__size {
  justify-self: end;
  align-self: end;
  grid-column: 2;
}

.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__stock {
  justify-self: start;
  align-self: start;
  grid-column: 1;
}

.product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__prices {
  justify-self: start;
  align-self: end;
  grid-column: 1;
  grid-row: 1;
}

.product-hpl-buy-meta__prices {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0;
  min-width: 0;
}

.product-hpl-buy-meta__price-row {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
}

.product-hpl-buy-meta__price-row[hidden] {
  display: none !important;
}

.product-hpl-buy-meta__op {
  flex: 0 0 auto;
  align-self: flex-end;
  padding: 0 10px 2px;
  color: #98a2b3;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
}

.product-hpl-buy-meta__op[hidden] {
  display: none !important;
}

.product-hpl-buy-meta__prices.has-breakdown {
  width: auto;
  max-width: 100%;
  padding-top: 0;
  border-top: 0;
  gap: 0 8px;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row {
  padding-right: 0;
  padding-left: 0;
  gap: 4px;
}

.product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row.is-total {
  padding-left: 0;
}

.product-hpl-buy-meta__price-row.is-total .product-hpl-buy-meta__value {
  color: #82252f;
}

.product-hpl-buy-meta__label {
  display: block;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #98a2b3;
  white-space: nowrap;
  line-height: 1.2;
}

.product-hpl-buy-meta__value {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  white-space: nowrap;
}

.product-hpl-buy-meta__prices.has-services .product-hpl-buy-meta__price-row:not(.is-total) .product-hpl-buy-meta__value,
.product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row:not(.is-total) .product-hpl-buy-meta__value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #344054;
}

.product-hpl-buy-meta__currency {
  font-size: 13px;
  font-weight: 600;
  color: #667085;
  line-height: 1.2;
}

.product-hpl-buy-meta__price-row.is-total .product-hpl-buy-meta__currency {
  color: #82252f;
}

.product-hpl-buy-meta__stock {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-hpl-buy-meta__stock.is-in-stock {
  color: #12b76a;
}

.product-hpl-buy-meta__stock.is-out-of-stock {
  color: #f04438;
}

.product-hpl-summary__actions--inline {
  margin-top: 0;
}

.product-hpl-cut-diagram {
  margin-top: 0;
}

.product-hpl-cut-diagram[hidden] {
  display: none !important;
}

.product-hpl-cut-diagram__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.product-hpl-cut-diagram__head .product-hpl-media__label {
  margin: 0;
}

.product-hpl-cut-diagram__figure {
  margin: 0;
}

.product-hpl-cut-diagram__stage {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  background: #f2f4f7;
  cursor: zoom-in;
  aspect-ratio: 3 / 1;
  min-height: 0;
}

.product-hpl-cut-diagram__bg {
  position: absolute;
  /* Match rozriz_*.svg image inset so photo sits inside dimension lines */
  left: 2.42%;
  top: 6.35%;
  width: 97.58%;
  height: 93.65%;
  display: block;
  max-height: none;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
}

.product-hpl-cut-diagram__overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: left top;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

.product-hpl-cut-diagram__overlay.is-svg {
  mix-blend-mode: normal;
  object-fit: fill;
  object-position: center center;
  padding: 0;
  box-sizing: border-box;
}

.product-hpl-cut-diagram__overlay[hidden] {
  display: none !important;
}

/* Without SVG diagram, photo fills the stage as before */
.product-hpl-cut-diagram__stage:not(:has(.product-hpl-cut-diagram__overlay.is-svg:not([hidden]))) .product-hpl-cut-diagram__bg {
  inset: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.product-hpl-cut-diagram__stage .product-hpl-media__zoom-badge,
.product-hpl-cut-diagram__stage .product-gallery__zoom-badge {
  z-index: 2;
}

.product-hpl-cut-diagram__size {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #344054;
}

.product-hpl-cut-diagram__note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #98a2b3;
}

.product-hpl-layout > .product-hpl-viz {
  margin-top: 0;
}

.product-hpl-grid--bottom {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "fullformat aside-bottom";
  align-items: start;
}

.product-hpl-grid--bottom-viz-only {
  grid-template-columns: 1fr;
  grid-template-areas: "aside-bottom";
}

@media (max-width: 900px) {
  .product-hpl-cutting-picker__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hpl-buy-meta,
  .product-hpl-buy-meta.has-breakdown,
  .product-summary__purchase .product-buy-meta,
  .product-summary .product-buy-meta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 12px;
    align-items: end;
  }

  .product-hpl-buy-meta > .product-hpl-buy-meta__prices,
  .product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__prices {
    justify-self: start;
    align-self: end;
    grid-column: 1;
    grid-row: 1;
  }

  .product-hpl-buy-meta > .product-hpl-buy-meta__size,
  .product-hpl-buy-meta.has-breakdown .product-hpl-buy-meta__size {
    justify-self: end;
    align-self: end;
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }

  .product-hpl-buy-meta > .product-hpl-buy-meta__stock {
    justify-self: start;
    grid-column: 1;
    grid-row: 2;
  }

  .product-hpl-buy-meta__size .product-hpl-buy-meta__label,
  .product-hpl-buy-meta__price-row .product-hpl-buy-meta__label {
    min-height: 2.4em;
    line-height: 1.2;
  }

  .product-hpl-buy-meta__size .product-hpl-buy-meta__label {
    white-space: normal;
    max-width: 46vw;
    text-align: right;
  }

  .product-hpl-buy-meta__size .product-hpl-buy-meta__value,
  .product-hpl-buy-meta__price-row .product-hpl-buy-meta__value {
    align-items: baseline;
    line-height: 1.15;
  }

  /* Sale prices: regular above current on narrow product buy row. */
  .product-hpl-buy-meta__prices.is-on-sale .product-hpl-buy-meta__price-row .product-hpl-buy-meta__value,
  .product-summary__purchase .product-hpl-buy-meta__prices.is-on-sale .product-hpl-buy-meta__value {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: baseline;
    column-gap: 4px;
    row-gap: 2px;
    white-space: normal;
  }

  .product-hpl-buy-meta__prices.is-on-sale .product-summary__price-regular,
  .product-hpl-buy-meta__prices.is-on-sale [data-hpl-sheet-price-regular]:not([hidden]) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .product-hpl-buy-meta__prices.is-on-sale .product-summary__price-value,
  .product-hpl-buy-meta__prices.is-on-sale [data-hpl-sheet-price].is-sale {
    grid-column: 1;
    grid-row: 2;
  }

  .product-hpl-buy-meta__prices.is-on-sale .product-hpl-buy-meta__price-row .product-hpl-buy-meta__value > .product-hpl-buy-meta__currency:last-of-type {
    grid-column: 2;
    grid-row: 2;
  }

  .product-hpl-buy-meta__prices.has-breakdown {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__value,
  .product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row.is-total .product-hpl-buy-meta__value,
  .product-hpl-buy-meta__prices.has-breakdown .product-hpl-buy-meta__price-row:not(.is-total) .product-hpl-buy-meta__value {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
  }

  .product-hpl-media__texture--aside,
  .product-hpl-media__texture--under-buy {
    height: 44px;
    max-height: 44px;
  }
}

.product-hpl-cutting-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  user-select: none;
}

.product-hpl-cutting-option__check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.product-hpl-cutting-option__tick {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid rgba(17, 17, 17, 0.28);
  background: #fff;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-hpl-cutting-option:hover .product-hpl-cutting-option__tick {
  border-color: #82252f;
}

.product-hpl-cutting-option:has(.product-hpl-cutting-option__check:checked) .product-hpl-cutting-option__tick,
.product-hpl-cutting-option.is-selected .product-hpl-cutting-option__tick {
  border-color: #82252f;
  background: #82252f;
}

.product-hpl-cutting-option:has(.product-hpl-cutting-option__check:checked) .product-hpl-cutting-option__tick::after,
.product-hpl-cutting-option.is-selected .product-hpl-cutting-option__tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.product-hpl-cutting-option__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.product-hpl-cutting-option__price {
  display: inline-block;
  margin-left: 0.45em;
  font-size: 0.86em;
  font-weight: 500;
  color: #667085;
  white-space: nowrap;
}

.product-hpl-cutting-option:has(.product-hpl-cutting-option__check:checked) .product-hpl-cutting-option__label,
.product-hpl-cutting-option.is-selected .product-hpl-cutting-option__label {
  color: #82252f;
}

@media (min-width: 901px) {
  /* Format | Thickness, then Surface | Core — two per row. */
  .product-hpl-summary__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    column-gap: 28px;
    row-gap: 0;
    max-width: none;
  }

  .product-hpl-summary__specs .product-summary__spec:nth-child(1),
  .product-hpl-summary__specs .product-summary__spec:nth-child(3),
  .product-hpl-summary__specs .product-summary__spec--surface {
    grid-column: 1;
  }

  .product-hpl-summary__specs .product-summary__spec:nth-child(2),
  .product-hpl-summary__specs .product-summary__spec:nth-child(4),
  .product-hpl-summary__specs .product-summary__spec--core {
    grid-column: 2;
  }

  .product-hpl-summary__specs .product-summary__spec--surface,
  .product-hpl-summary__specs .product-summary__spec--core {
    border-bottom: 0;
    padding-bottom: 0;
    align-self: start;
  }
}

.product-hpl-media__viz img,
.product-hpl-media__main img,
.product-hpl-media__fullformat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hpl-media__texture img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.fenomen-photo-zoom-badge,
.product-gallery__zoom-hint,
.product-hpl-media__zoom-badge,
.product-hpl-media__zoom-badge--expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.fenomen-photo-zoom-badge svg,
.product-gallery__zoom-hint svg,
.product-hpl-media__zoom-badge svg {
  display: block;
}

.product-hpl-media__zoom {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-hpl-media__texture .product-gallery__badge,
.product-hpl-media__main .product-gallery__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.product-hpl-viz {
  margin-top: 0;
}

.product-hpl-media__label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #6f7785;
}

.product-hpl-summary__title {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: #111;
}

.product-hpl-summary__title-code {
  display: block;
  font-weight: 700;
}

.product-hpl-summary__title-line {
  display: block;
  margin-top: 0.28em;
  font-weight: 300;
  line-height: 1.25;
  color: #111;
}

.product-hpl-variants {
  margin: 0 0 20px;
}

.product-hpl-variants__label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.product-hpl-variants__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-hpl-variants__btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #111;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
}

.product-hpl-variants__item.is-current .product-hpl-variants__btn,
a.product-hpl-variants__btn:hover,
a.product-hpl-variants__btn:focus-visible {
  border-color: #111;
  background: #111;
  color: #fff;
}

.product-hpl-services {
  position: relative;
  margin: 8px 0 12px;
  width: 100%;
  max-width: none;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.product-hpl-services.is-open,
.product-hpl-services.is-modal-open {
  overflow: visible;
  z-index: 80;
}

.product-hpl-aside--top:has(.product-hpl-services.is-open) {
  z-index: 80;
}

.product-hpl-layout:has(.product-hpl-services.is-open) .product-hpl-cut-diagram,
.product-hpl-layout:has(.product-hpl-services.is-open) .product-hpl-surface-block--aside,
.product-hpl-layout:has(.product-hpl-services.is-open) .product-hpl-fullformat,
.product-hpl-layout:has(.product-hpl-services.is-open) > .product-hpl-viz {
  z-index: 1;
  position: relative;
}

.product-hpl-services.is-open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.product-hpl-services__popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: transparent;
  cursor: default;
}

.product-hpl-services__popup-overlay[hidden] {
  display: none !important;
}

.product-hpl-services__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px 12px 12px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: #fff;
  color: #111;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.product-hpl-services__toggle:hover {
  background: #fafafa;
}

.product-hpl-services__toggle:focus-visible {
  outline: 2px solid #82252f;
  outline-offset: -2px;
}

.product-hpl-services.is-open .product-hpl-services__toggle {
  border-bottom-color: rgba(17, 17, 17, 0.1);
  background: #fff;
  color: #111;
  box-shadow: none;
}

.product-hpl-services__toggle-leading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.06);
  color: #111;
}

.product-hpl-services.is-open .product-hpl-services__toggle-leading {
  background: rgba(17, 17, 17, 0.06);
  color: #111;
}

.product-hpl-services__toggle-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.product-hpl-services__title {
  display: block;
  line-height: 1.25;
}

.product-hpl-services__chosen {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  color: #555;
}

.product-hpl-services.is-open .product-hpl-services__chosen {
  color: #555;
}

.product-hpl-services__chosen[hidden] {
  display: none;
}

.product-hpl-services.has-selection:not(.is-open) .product-hpl-services__title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #82252f;
}

.product-hpl-services__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ececec;
  color: #111;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-hpl-services.is-open .product-hpl-services__badge {
  background: #ececec;
  color: #111;
}

.product-hpl-services.has-selection .product-hpl-services__badge {
  background: #82252f;
  color: #fff;
}

.product-hpl-services.is-open.has-selection .product-hpl-services__badge {
  background: #82252f;
  color: #fff;
}

.product-hpl-services__preview {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-hpl-services__preview-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  transition: background 0.15s ease;
}

.product-hpl-services__preview li:last-child .product-hpl-services__preview-row {
  border-bottom: 0;
}

.product-hpl-services__preview-row:hover {
  background: rgba(130, 37, 47, 0.04);
}

.product-hpl-services__preview-row:has(.product-hpl-services__preview-item.is-selected),
.product-hpl-services__preview-row:has(.product-hpl-services__preview-check:checked) {
  background: rgba(130, 37, 47, 0.07);
}

.product-hpl-services__preview-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  padding: 14px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  box-sizing: border-box;
  font: inherit;
  cursor: pointer;
}

.product-hpl-services__preview-item:hover,
.product-hpl-services__preview-item.is-selected {
  background: transparent;
}

.product-hpl-services__preview-row .product-hpl-services__drawing {
  margin: 0;
}

.product-hpl-services__preview-tick-wrap {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  margin: 0;
  padding: 14px 14px 14px 10px;
  cursor: pointer;
}

.product-hpl-services__preview-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.product-hpl-services__preview-body {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.product-hpl-services__preview-body strong {
  display: block;
  color: #111;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.product-hpl-services__preview-item.is-selected .product-hpl-services__preview-body strong {
  color: #82252f;
}

.product-hpl-services__preview-body span {
  display: block;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}

.product-hpl-services__preview-body .product-hpl-services__price {
  color: #82252f;
  font-size: 0.84rem;
  font-weight: 600;
}

.product-hpl-services__preview-tick {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(17, 17, 17, 0.28);
  background: #fff;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-hpl-services__preview-row:has(.product-hpl-services__preview-item.is-selected) .product-hpl-services__preview-tick,
.product-hpl-services__preview-row:has(.product-hpl-services__preview-check:checked) .product-hpl-services__preview-tick {
  border-color: #82252f;
  background: #82252f;
}

.product-hpl-services__preview-row:has(.product-hpl-services__preview-item.is-selected) .product-hpl-services__preview-tick::after,
.product-hpl-services__preview-row:has(.product-hpl-services__preview-check:checked) .product-hpl-services__preview-tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.product-hpl-services__preview-arrow {
  display: none;
}

.product-hpl-services__option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
}

.product-hpl-services__row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  transition: background 0.15s ease;
}

.product-hpl-services__list li:last-child .product-hpl-services__row {
  border-bottom: 0;
}

.product-hpl-services__row:hover {
  background: rgba(130, 37, 47, 0.04);
}

.product-hpl-services__row:has(.product-hpl-services__option.is-selected),
.product-hpl-services__row:has(.product-hpl-services__check:checked) {
  background: rgba(130, 37, 47, 0.07);
}

.product-hpl-services__option.is-selected {
  background: transparent;
}

.product-hpl-services__drawing {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: center;
  margin: 0 12px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  background: transparent;
  color: #111;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.product-hpl-services__drawing:hover,
.product-hpl-services__drawing:focus-visible {
  border-color: #82252f;
  color: #82252f;
  background: rgba(255, 255, 255, 0.72);
  outline: none;
}

.product-hpl-services__drawing svg {
  display: block;
  flex: 0 0 auto;
}

.product-hpl-service-drawing {
  position: fixed;
  inset: 0;
  z-index: 100080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.product-hpl-service-drawing[hidden] {
  display: none !important;
}

.product-hpl-service-drawing__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}

.product-hpl-service-drawing__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.product-hpl-service-drawing__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.product-hpl-service-drawing__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.product-hpl-service-drawing__close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: -6px -6px 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.product-hpl-service-drawing__close:hover {
  background: rgba(17, 17, 17, 0.06);
}

.product-hpl-service-drawing__body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px;
  background: #fff;
}

.product-hpl-service-drawing__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .product-hpl-services__drawing span {
    display: none;
  }

  .product-hpl-services__drawing {
    width: 36px;
    height: 36px;
    padding: 0;
    margin-right: 10px;
  }

  .product-hpl-service-drawing {
    padding: 10px;
  }

  .product-hpl-service-drawing__dialog {
    max-height: 92vh;
    border-radius: 0;
  }
}

.product-hpl-services__option-arrow {
  display: none;
}

.product-hpl-services__all {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
}

.product-hpl-services__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  background: #fafafa;
}

.product-hpl-services__all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.product-hpl-services__all-btn:hover {
  color: #82252f;
}

.product-hpl-services__all-btn:focus-visible {
  outline: 2px solid #82252f;
  outline-offset: 3px;
}

.product-hpl-services__all a {
  color: #82252f;
  text-decoration: none;
}

.product-hpl-services__all a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-hpl-services__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0;
  margin: 0;
  border-top: 0;
  background: transparent;
  flex: 0 0 auto;
}

.product-hpl-services__clear {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #6b7280;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.product-hpl-services__clear:hover {
  color: #82252f;
}

.product-hpl-services__clear[hidden] {
  display: none;
}

.product-hpl-services__done {
  margin: 0;
  padding: 10px 18px;
  border: 0;
  background: #82252f;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.product-hpl-services__done:hover {
  background: #6b1e26;
}

.product-hpl-services__done:focus-visible,
.product-hpl-services__clear:focus-visible {
  outline: 2px solid #82252f;
  outline-offset: 2px;
}

.product-hpl-services__chevron {
  width: 8px;
  height: 8px;
  margin-right: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  flex: 0 0 auto;
  opacity: 0.75;
}

.product-hpl-services.is-open .product-hpl-services__chevron {
  transform: rotate(-135deg);
  opacity: 1;
}

.product-hpl-services__panel {
  position: absolute;
  top: 100%;
  left: -1px;
  right: -1px;
  z-index: 81;
  margin-top: 0;
  padding: 0;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0 0 10px 10px;
  background: #fff;
  overflow: visible;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
  max-height: none;
}

.product-hpl-services__panel[hidden] {
  display: none !important;
}

.product-hpl-services__hint {
  margin: 0;
  padding: 12px 14px 8px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #7a808a;
  background: #f7f7f7;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.product-hpl-services__list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: min(420px, 52vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.25) transparent;
}

.product-hpl-services__list li + li {
  margin-top: 0;
}

.product-hpl-services__check {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(17, 17, 17, 0.28);
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.product-hpl-services__check:hover {
  border-color: #82252f;
}

.product-hpl-services__check:checked {
  border-color: #82252f;
  background: #82252f;
}

.product-hpl-services__check:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}

.product-hpl-services__check:focus-visible {
  outline: 2px solid #82252f;
  outline-offset: 2px;
}

.product-hpl-services__option-body {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #555;
}

.product-hpl-services__option-body strong {
  color: #111;
  font-weight: 600;
}

.product-hpl-services__price {
  color: #82252f;
  font-size: 0.92em;
  font-weight: 600;
}

.product-hpl-services__option.is-selected .product-hpl-services__option-body strong {
  color: #82252f;
}

.product-hpl-services-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: block;
}

.product-hpl-services-modal[hidden] {
  display: none !important;
}

.product-hpl-services-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  cursor: pointer;
}

.product-hpl-services-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 28px));
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.product-hpl-services-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #ececec;
  flex: 0 0 auto;
}

.product-hpl-services-modal__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.product-hpl-services-modal__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 0 2px;
}

.product-hpl-services-modal__close:hover {
  color: #111;
}

.product-hpl-services-modal__body {
  flex: 1 1 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.product-hpl-services-modal__body > .product-hpl-services__hint {
  flex: 0 0 auto;
  margin: 12px 18px 0;
}

.product-hpl-services-modal__search {
  display: block;
  flex: 0 0 auto;
  margin: 10px 18px 8px;
}

.product-hpl-services-modal__search-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  background: #f8f8f8;
  color: #111;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.3;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.product-hpl-services-modal__search-input::placeholder {
  color: #9ca3af;
}

.product-hpl-services-modal__search-input:focus {
  border-color: #82252f;
  background: #fff;
}

.product-hpl-services-modal__empty {
  flex: 0 0 auto;
  margin: 8px 18px 16px;
  color: #6b7280;
  font-size: 0.92rem;
  text-align: center;
}

.product-hpl-services-modal__list-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.product-hpl-services-modal__scroll {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(130, 37, 47, 0.55) rgba(17, 17, 17, 0.06);
}

.product-hpl-services-modal__scroll::-webkit-scrollbar {
  width: 8px;
}

.product-hpl-services-modal__scroll::-webkit-scrollbar-track {
  background: rgba(17, 17, 17, 0.05);
}

.product-hpl-services-modal__scroll::-webkit-scrollbar-thumb {
  background: rgba(130, 37, 47, 0.45);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.product-hpl-services-modal__scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(130, 37, 47, 0.7);
  background-clip: padding-box;
}

.product-hpl-services-modal__body .product-hpl-services__list {
  max-height: none;
  overflow: visible;
  flex: none;
  padding-bottom: 8px;
}

.product-hpl-services-modal__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%);
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.product-hpl-services-modal__list-wrap.has-more-below .product-hpl-services-modal__fade {
  opacity: 1;
}

.product-hpl-services-modal__more {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.12);
  color: #82252f;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-hpl-services-modal__more[hidden] {
  display: none !important;
}

.product-hpl-services-modal__list-wrap.has-more-below .product-hpl-services-modal__more {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-hpl-services-modal__more-icon {
  width: 7px;
  height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  animation: hpl-services-more-bounce 1.2s ease-in-out infinite;
}

@keyframes hpl-services-more-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(3px) rotate(45deg);
  }
}

.product-hpl-services-modal__foot {
  flex: 0 0 auto;
  padding: 14px 18px 16px;
  border-top: 1px solid #ececec;
  background: #fff;
}

.product-hpl-services-modal__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  background: #82252f;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.product-hpl-services-modal__apply:hover {
  background: #6d1e26;
}

.product-hpl-services-modal__apply:focus-visible {
  outline: 2px solid #82252f;
  outline-offset: 2px;
}

html.hpl-services-modal-open,
html.hpl-services-modal-open body {
  overflow: hidden;
}

.product-hpl-surfaces {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.product-hpl-surfaces__link {
  display: block;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9d9d9;
  text-decoration: none;
  color: #111;
}

.product-hpl-surfaces__item.is-current .product-hpl-surfaces__link {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.product-hpl-surfaces__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hpl-surfaces__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px;
  font-size: 0.72rem;
  text-align: center;
  box-sizing: border-box;
}

.product-hpl-summary__actions {
  margin-top: 0;
}

.product-summary__purchase {
  margin-top: clamp(10px, 1.2vw, 14px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.product-summary__purchase .product-buy-meta,
.product-summary .product-buy-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px 22px;
  align-items: end;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 0;
}

.product-summary__purchase .product-hpl-buy-meta__prices,
.product-summary .product-buy-meta .product-hpl-buy-meta__prices {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0 8px;
  min-width: 0;
  justify-self: start;
}

/* Shared buy row: qty | cart; catalog full width below (avoids clipping). */
.product-summary__purchase .product-summary__actions,
.product-summary__actions,
.product-hpl-summary__actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "qty cart"
    "catalog catalog";
  align-items: center;
  column-gap: 12px;
  row-gap: 10px;
  width: 100%;
  margin-top: 0;
  min-width: 0;
}

.product-summary__purchase .product-summary__qty,
.product-summary__purchase .product-hpl-summary__qty,
.product-summary__actions .product-summary__qty,
.product-hpl-summary__actions .product-hpl-summary__qty,
.product-summary__actions .product-hpl-summary__qty {
  grid-area: qty;
}

.product-summary__actions .product-summary__price,
.product-hpl-summary__actions .product-summary__price {
  grid-area: price;
}

.product-summary__purchase .product-order-btn:not(.product-catalog-download),
.product-summary__actions .product-order-btn:not(.product-catalog-download),
.product-hpl-summary__actions .product-order-btn:not(.product-catalog-download) {
  grid-area: cart;
  margin-left: 0;
  display: inline-flex;
  width: 100%;
  max-width: none;
  min-width: 0;
  justify-self: stretch;
  box-sizing: border-box;
}

.product-summary__purchase .product-catalog-download,
.product-summary__actions .product-catalog-download,
.product-hpl-summary__actions .product-catalog-download {
  grid-area: catalog;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  justify-self: stretch;
  text-decoration: none;
  box-sizing: border-box;
  overflow: visible;
}

.product-summary__purchase .product-catalog-download .btn-pill-label,
.product-summary__actions .product-catalog-download .btn-pill-label,
.product-hpl-summary__actions .product-catalog-download .btn-pill-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.product-summary__purchase .product-order-btn .btn-pill-label,
.product-summary__actions .product-order-btn .btn-pill-label,
.product-hpl-summary__actions .product-order-btn .btn-pill-label {
  flex: 1 1 auto;
  justify-content: center;
  min-height: var(--fenomen-btn-height, 44px);
  white-space: nowrap;
  font-size: 0.9rem;
}

.product-summary__purchase .product-order-btn .btn-pill-arrow,
.product-summary__actions .product-order-btn .btn-pill-arrow,
.product-hpl-summary__actions .product-order-btn .btn-pill-arrow {
  width: var(--fenomen-btn-arrow-size, 44px);
  height: var(--fenomen-btn-height, 44px);
  min-height: var(--fenomen-btn-height, 44px);
  flex: 0 0 var(--fenomen-btn-arrow-size, 44px);
}

.product-summary__actions .product-order-btn--ghost .btn-pill-label,
.product-summary__actions .product-order-btn--ghost .btn-pill-arrow,
.product-hpl-summary__actions .product-order-btn--ghost .btn-pill-label,
.product-hpl-summary__actions .product-order-btn--ghost .btn-pill-arrow {
  background: transparent;
  color: var(--fenomen-brand-red, #82252f);
  border: 1px solid var(--fenomen-brand-red, #82252f);
}

.product-summary__actions .product-order-btn--ghost:hover .btn-pill-label,
.product-summary__actions .product-order-btn--ghost:hover .btn-pill-arrow,
.product-hpl-summary__actions .product-order-btn--ghost:hover .btn-pill-label,
.product-hpl-summary__actions .product-order-btn--ghost:hover .btn-pill-arrow {
  background: var(--fenomen-brand-red, #82252f);
  color: #fff;
}

@media (max-width: 900px) {
  .product-summary__purchase {
    margin-top: 10px;
    gap: 12px;
  }

  .product-summary__purchase + .product-summary__interior {
    margin-top: 14px;
  }

  .product-summary__purchase .product-summary__actions,
  .product-summary__actions,
  .product-hpl-summary__actions {
    column-gap: 6px;
    grid-template-columns: minmax(0, 96px) minmax(0, 1fr);
    align-items: stretch;
  }

  .product-summary__purchase .product-summary__qty,
  .product-summary__purchase .product-hpl-summary__qty,
  .product-summary__actions .product-summary__qty,
  .product-hpl-summary__actions .product-hpl-summary__qty,
  .product-summary__actions .product-hpl-summary__qty {
    align-self: stretch;
    display: flex;
    align-items: stretch;
  }

  .product-hpl-summary__qty-control {
    width: 100%;
    max-width: 96px;
  }

  .product-hpl-summary__qty-btn {
    width: 30px;
    min-width: 30px;
    height: auto;
    min-height: var(--fenomen-btn-height, 44px);
    font-size: 1rem;
  }

  .product-hpl-summary__qty input,
  .product-hpl-summary__qty-control input,
  .product-summary__qty input {
    width: 36px;
    min-width: 36px;
    height: auto;
    min-height: var(--fenomen-btn-height, 44px);
    font-size: 0.88rem;
  }

  .product-summary__purchase .product-order-btn:not(.product-catalog-download),
  .product-summary__actions .product-order-btn:not(.product-catalog-download),
  .product-hpl-summary__actions .product-order-btn:not(.product-catalog-download) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
  }

  .product-summary__purchase .product-order-btn .btn-pill-label,
  .product-summary__actions .product-order-btn .btn-pill-label,
  .product-hpl-summary__actions .product-order-btn .btn-pill-label,
  .product-hpl-aside--bottom .product-hpl-summary__actions .product-order-btn .btn-pill-label {
    flex: 1 1 auto;
    min-width: 0;
    min-height: var(--fenomen-btn-height, 44px);
    padding-left: 8px;
    padding-right: 8px;
    font-size: clamp(0.68rem, 2.9vw, 0.82rem) !important;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .product-summary__purchase .product-order-btn .btn-pill-arrow,
  .product-summary__actions .product-order-btn .btn-pill-arrow,
  .product-hpl-summary__actions .product-order-btn .btn-pill-arrow {
    width: 36px;
    height: auto;
    min-height: var(--fenomen-btn-height, 44px);
    flex: 0 0 36px;
    font-size: 1.1rem !important;
  }

  .product-summary__purchase .product-catalog-download .btn-pill-label,
  .product-summary__actions .product-catalog-download .btn-pill-label,
  .product-hpl-summary__actions .product-catalog-download .btn-pill-label {
    padding-left: 10px;
    padding-right: 10px;
    min-height: var(--fenomen-btn-height, 44px);
    font-size: clamp(0.68rem, 2.9vw, 0.82rem) !important;
  }

  .product-summary__purchase .product-catalog-download .btn-pill-arrow,
  .product-summary__actions .product-catalog-download .btn-pill-arrow,
  .product-hpl-summary__actions .product-catalog-download .btn-pill-arrow {
    width: 36px;
    height: auto;
    min-height: var(--fenomen-btn-height, 44px);
    flex: 0 0 36px;
  }
}

.product-hpl-aside--bottom .product-hpl-summary__actions {
  margin-top: 0;
  width: 100%;
}

.product-hpl-aside--bottom .product-order-btn--ghost .btn-pill-label,
.product-hpl-aside--bottom .product-order-btn--ghost .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.82);
  color: #fff;
  border: 0;
}

.product-hpl-aside--bottom .product-order-btn--ghost:hover .btn-pill-label,
.product-hpl-aside--bottom .product-order-btn--ghost:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.92);
}

.product-hpl-summary__qty,
.product-summary__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.product-hpl-summary__qty-control {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #dfe3ea;
  background: #fff;
  overflow: hidden;
}

.product-hpl-summary__qty-btn {
  width: 40px;
  height: 44px;
  padding: 0;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.product-hpl-summary__qty-btn:hover {
  background: #f5f5f5;
}

.product-hpl-summary__qty input,
.product-summary__qty input,
.product-hpl-summary__qty-control input {
  width: 52px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #dfe3ea;
  border-right: 1px solid #dfe3ea;
  border-radius: 0;
  text-align: center;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  color: #111;
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
}

.product-hpl-summary__qty input::-webkit-outer-spin-button,
.product-hpl-summary__qty input::-webkit-inner-spin-button,
.product-summary__qty input::-webkit-outer-spin-button,
.product-summary__qty input::-webkit-inner-spin-button,
.product-hpl-summary__qty-control input::-webkit-outer-spin-button,
.product-hpl-summary__qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-order-btn--ghost {
  background: transparent;
  border: 0;
}

@media (max-width: 900px) {
  .product-summary__actions,
  .product-hpl-summary__actions,
  .product-hpl-aside--bottom .product-hpl-summary__actions {
    margin-top: 0;
  }

  .product-summary > .product-summary__actions {
    margin-top: 18px;
  }

  .product-summary__actions .product-summary__qty,
  .product-hpl-summary__actions .product-hpl-summary__qty,
  .product-hpl-aside--bottom .product-hpl-summary__qty,
  .product-summary__actions .product-hpl-summary__qty {
    display: flex;
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
  }

  .product-hpl-aside--bottom .product-hpl-summary__qty-control,
  .product-hpl-summary__qty-control {
    width: auto;
  }

  .product-summary__actions .product-summary__price,
  .product-hpl-summary__actions .product-summary__price,
  .product-hpl-aside--bottom .product-hpl-summary__actions .product-summary__price {
    justify-self: end;
    text-align: right;
  }

  .product-hpl-aside--bottom .product-order-btn--ghost .btn-pill-label,
  .product-hpl-aside--bottom .product-order-btn--ghost .btn-pill-arrow {
    background: rgba(112, 3, 42, 0.82);
    color: #fff;
    border: 0;
  }
}

body.tax-product_category .catalog-card-footer {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.tax-product_category .catalog-card-footer__actions {
  flex-wrap: nowrap;
  flex-shrink: 0;
}

body.tax-product_category .catalog-card-btn--view {
  text-decoration: none;
}

.header-cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.header-favorites-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease;
}

.header-cart-toggle:hover,
.header-favorites-toggle:hover {
  opacity: 1;
  transform: scale(1.08);
}

.header-favorites-toggle__badge,
.header-cart-toggle__badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #8f0018;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 600;
  z-index: 1;
}

.header-action-cluster {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.header-action-cluster .header-favorites-toggle__badge,
.header-action-cluster .header-cart-toggle__badge {
  top: -6px;
  right: -10px;
}

.header-favorites-toggle__badge.is-empty,
.header-favorites-toggle__badge[hidden],
.header-cart-toggle__badge.is-empty,
.header-cart-toggle__badge[hidden] {
  display: none;
}

/* Cart modal (AGT-like) */
/* Cart modal: do not lock page scroll */
body.fenomen-cart-open {
  /* intentionally empty — page must keep scrolling while cart is open */
}

.fenomen-cart {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  pointer-events: none;
  overscroll-behavior: none;
}

.fenomen-cart.is-open {
  display: block;
}

.fenomen-cart__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  pointer-events: auto;
  cursor: pointer;
}

.fenomen-cart__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  pointer-events: auto;
  cursor: default;
}

.fenomen-cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid #ececec;
}

.fenomen-cart__title {
  margin: 0;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.fenomen-cart__close {
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.fenomen-cart__body {
  flex: 1 1 auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 16px;
}

.fenomen-cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 8px 28px;
  padding: 28px 16px 36px;
  text-align: center;
  color: #666;
}

.fenomen-cart__empty-image {
  display: block;
  width: min(220px, 70%);
  height: auto;
  margin: 0 0 8px;
}

.fenomen-cart__empty-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111;
}

.fenomen-cart__empty-text {
  margin: 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

.fenomen-cart__empty-cta.btn-dark {
  margin-top: 10px;
  display: inline-flex !important;
  align-items: stretch;
  gap: var(--fenomen-btn-gap, 2px);
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: hidden;
  text-decoration: none;
}

.fenomen-cart__empty-cta.btn-dark .btn-pill-label,
.fenomen-cart__empty-cta.btn-dark .btn-pill-arrow,
body.home .fenomen-cart__empty-cta.btn-dark .btn-pill-label,
body.home .fenomen-cart__empty-cta.btn-dark .btn-pill-arrow,
body:not(.home) .fenomen-cart__empty-cta.btn-dark .btn-pill-label,
body:not(.home) .fenomen-cart__empty-cta.btn-dark .btn-pill-arrow {
  background: #111 !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.fenomen-cart__empty-cta.btn-dark:hover .btn-pill-label,
.fenomen-cart__empty-cta.btn-dark:hover .btn-pill-arrow,
body.home .fenomen-cart__empty-cta.btn-dark:hover .btn-pill-label,
body.home .fenomen-cart__empty-cta.btn-dark:hover .btn-pill-arrow,
body:not(.home) .fenomen-cart__empty-cta.btn-dark:hover .btn-pill-label,
body:not(.home) .fenomen-cart__empty-cta.btn-dark:hover .btn-pill-arrow {
  background: #333 !important;
  color: #fff !important;
}

.fenomen-cart-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 6px;
  border-bottom: 1px solid #eee;
}

.fenomen-cart-item__media {
  display: block;
  width: 88px;
  height: 88px;
  overflow: hidden;
  background: #f2f2f2;
  border-radius: 8px;
}

.fenomen-cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fenomen-cart-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fenomen-cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.fenomen-cart-item__title {
  flex: 1 1 auto;
  min-width: 0;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.fenomen-cart-item__price {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.fenomen-cart-item__price.is-on-sale,
.fenomen-cart-item__price-line--total.is-on-sale span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.fenomen-cart-item__price-regular,
.fenomen-checkout-summary__price-regular {
  color: #8b919c;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: line-through;
}

.fenomen-cart-item__price-current.is-sale,
.fenomen-checkout-summary__price-current.is-sale,
.fenomen-checkout-summary .is-sale {
  color: rgba(112, 3, 42, 0.92);
  font-weight: 700;
}

.fenomen-checkout-summary__price.is-on-sale {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  white-space: nowrap;
}

.fenomen-cart-item__price-break {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  text-align: right;
  min-width: 7.5rem;
}

.fenomen-cart-item__price-line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: #667085;
  white-space: nowrap;
}

.fenomen-cart-item__price-line span {
  color: #344054;
  font-weight: 600;
}

.fenomen-cart-item__price-line--total {
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
}

.fenomen-cart-item__price-line--total span {
  color: #82252f;
  font-weight: 700;
}

.fenomen-cart-item__meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #8a8f98;
}

.fenomen-cart-item__meta--surface {
  margin: 0;
}

.fenomen-cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.fenomen-cart-item__tools {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0;
}

.fenomen-cart-item__fav,
.fenomen-cart-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
}

.fenomen-cart-item__fav:hover,
.fenomen-cart-item__remove:hover {
  color: #111;
}

.fenomen-cart-item__fav.is-active {
  color: #82252f;
}

.fenomen-cart-item__remove-icon,
.fenomen-cart-item__fav .fenomen-fav-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.fenomen-cart-item__qty {
  display: inline-flex;
  align-items: center;
  margin: 0;
  height: 36px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  gap: 2px;
}

.fenomen-cart-item__qty button,
.fenomen-cart-item__qty input {
  border: 0;
  background: transparent;
  height: 36px;
  min-height: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: #111;
  box-sizing: border-box;
}

.fenomen-cart-item__qty button {
  width: 28px;
  padding: 0;
  cursor: pointer;
}

.fenomen-cart-item__qty input {
  width: 36px;
  padding: 0;
  text-align: center;
  border: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.fenomen-cart-item__qty input::-webkit-outer-spin-button,
.fenomen-cart-item__qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.fenomen-cart-item__line,
.fenomen-cart-item__row {
  display: none;
}

.fenomen-cart__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid #ececec;
  background: #fafafa;
}

.fenomen-cart__foot[hidden] {
  display: none !important;
}

.fenomen-cart__continue {
  border: 0;
  background: #ececec;
  color: #222;
  border-radius: 0;
  padding: 12px 16px;
  cursor: pointer;
  font: inherit;
}

.fenomen-cart__foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.fenomen-cart__total {
  font-size: 1.35rem;
  font-weight: 700;
}

.fenomen-cart__total[hidden] {
  display: none !important;
}

.fenomen-cart__checkout.btn-dark {
  display: inline-flex !important;
  align-items: stretch;
  gap: var(--fenomen-btn-gap, 2px);
  flex: 0 0 auto;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  overflow: hidden;
  text-decoration: none;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.fenomen-cart__checkout.btn-dark .btn-pill-label,
.fenomen-cart__checkout.btn-dark .btn-pill-arrow,
body.home .fenomen-cart__checkout.btn-dark .btn-pill-label,
body.home .fenomen-cart__checkout.btn-dark .btn-pill-arrow,
body:not(.home) .fenomen-cart__checkout.btn-dark .btn-pill-label,
body:not(.home) .fenomen-cart__checkout.btn-dark .btn-pill-arrow {
  background: #111 !important;
  color: #fff !important;
  border-radius: 0 !important;
}

.fenomen-cart__checkout.btn-dark:hover .btn-pill-label,
.fenomen-cart__checkout.btn-dark:hover .btn-pill-arrow,
body.home .fenomen-cart__checkout.btn-dark:hover .btn-pill-label,
body.home .fenomen-cart__checkout.btn-dark:hover .btn-pill-arrow,
body:not(.home) .fenomen-cart__checkout.btn-dark:hover .btn-pill-label,
body:not(.home) .fenomen-cart__checkout.btn-dark:hover .btn-pill-arrow {
  background: #333 !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .fenomen-cart__dialog {
    width: 100vw;
    max-height: 100dvh;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transform: none;
    border-radius: 0;
  }

  .fenomen-cart-item {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 4px;
  }

  .fenomen-cart-item__media {
    width: 84px;
    height: 84px;
    border-radius: 10px;
  }

  .fenomen-cart-item__title,
  .fenomen-cart-item__price {
    font-size: 0.9rem;
  }

  .fenomen-cart-item__qty {
    gap: 8px;
  }

  .fenomen-cart-item__qty button {
    width: 32px;
  }

  .fenomen-cart-item__qty input {
    width: 28px;
  }

  .fenomen-cart-item__fav {
    display: none;
  }

  .fenomen-cart__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .fenomen-cart__foot-actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .fenomen-cart__checkout.btn-dark {
    width: auto;
    flex: 1 1 auto;
  }

  .fenomen-cart__checkout.btn-dark .btn-pill-label {
    flex: 1 1 auto;
  }
}

/* Favorites / wishlist page */
.fenomen-favorites-page {
  padding: 28px 0 72px;
  background: transparent;
  color: #111;
}

.fenomen-favorites-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 18px 0 28px;
}

.fenomen-favorites-page__title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111;
}

.fenomen-favorites-clear {
  padding: 0;
  border: 0;
  background: transparent;
  color: #82252f;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.fenomen-favorites-clear:hover {
  color: #5e1a21;
}

.fenomen-favorites-clear.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.fenomen-favorites-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 48px 16px;
}

.fenomen-favorites-empty__image {
  width: min(240px, 70%);
  height: auto;
  margin-bottom: 8px;
}

.fenomen-favorites-empty__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

.fenomen-favorites-empty__text {
  margin: 0;
  max-width: 36rem;
  color: #666;
  line-height: 1.5;
}

.fenomen-favorites-empty__cta {
  margin-top: 12px;
}

.fenomen-favorites-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.fenomen-favorites-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
}

.fenomen-favorites-card__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #82252f;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fenomen-favorites-card__remove:hover {
  background: #fff;
  color: #5e1a21;
}

.fenomen-favorites-card__remove.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.fenomen-favorites-card__remove-icon {
  display: block;
}

.fenomen-favorites-card__media {
  display: block;
  aspect-ratio: 1;
  background: #f2f2f2;
  overflow: hidden;
}

.fenomen-favorites-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fenomen-favorites-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  flex: 1 1 auto;
}

.fenomen-favorites-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.fenomen-favorites-card__title a {
  color: #111;
  text-decoration: none;
}

.fenomen-favorites-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.fenomen-favorites-card__price {
  margin: 0;
  font-weight: 700;
}

.fenomen-favorites-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}

.fenomen-favorites-card__view {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.product-fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #82252f;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.product-fav-btn:hover {
  background: #fff;
}

.product-fav-btn.is-active {
  background: #82252f;
  color: #fff;
}

.product-fav-btn .fenomen-fav-icon {
  width: 20px;
  height: 20px;
}

.fenomen-checkout-page {
  padding: 28px 0 72px;
  background: transparent;
  color: #111;
}

.fenomen-checkout-page__title {
  margin: 18px 0 28px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #111;
}

.fenomen-checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.fenomen-checkout-summary,
.fenomen-checkout-form-wrap {
  background: var(--fenomen-surface, #fff);
  border: 1px solid #e8e8e8;
  border-radius: 0;
  padding: 20px;
  color: #111;
}

.fenomen-checkout-summary h2,
.fenomen-checkout-form-wrap h2 {
  margin: 0 0 16px;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #111;
}

.fenomen-checkout-form .contact-form__field label {
  color: #111;
}

.fenomen-checkout-page .product-breadcrumbs,
.fenomen-checkout-page .product-breadcrumbs a {
  color: #6f7785;
}

.fenomen-checkout-page .product-breadcrumbs a:hover {
  color: #111;
}

.fenomen-checkout-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fenomen-checkout-summary__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #111;
}

.fenomen-checkout-summary__item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: #f2f2f2;
}

.fenomen-checkout-summary__item strong {
  display: block;
  color: #111;
}

.fenomen-checkout-summary__item small {
  display: block;
  margin-top: 4px;
  color: #666;
}

.fenomen-checkout-summary__total {
  display: flex;
  justify-content: space-between;
  margin: 16px 0 0;
  font-size: 1.15rem;
  color: #111;
}

.fenomen-checkout-notice {
  padding: 18px 20px;
  border-radius: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  margin-bottom: 24px;
  color: #111;
}

.fenomen-checkout-notice--ok {
  background: #eef8ef;
}

.fenomen-checkout-notice--err {
  background: #fceeee;
}

@media (max-width: 900px) {
  .fenomen-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.product-hpl-sections {
  padding-bottom: clamp(40px, 6vw, 72px);
}

@media (max-width: 900px) {
  .product-hpl-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "main"
      "summary"
      "viz";
    gap: 20px;
  }

  .product-hpl-aside--top {
    display: contents;
    position: static;
  }

  .product-hpl-summary-heading {
    grid-area: heading;
    margin: 0;
  }

  .product-hpl-summary {
    grid-area: summary;
    display: block;
  }

  .product-hpl-media--main {
    grid-area: main;
  }

  .product-hpl-cut-diagram-slot {
    display: none !important;
  }

  /* Size already shown in buy-meta — drop duplicate head (+ ambient star overlap). */
  .product-hpl-cut-diagram__head {
    display: none;
  }

  .product-hpl-summary > .product-hpl-cut-diagram {
    margin-top: 16px;
    margin-bottom: 8px;
  }

  .product-hpl-media__texture--aside,
  .product-hpl-media__texture--under-buy {
    height: 44px;
    max-height: 44px;
  }

  .product-hpl-layout > .product-hpl-viz .product-interior-gallery {
    grid-template-columns: none;
  }

  .product-hpl-summary__title {
    margin: 0;
  }

  .product-hpl-fullformat--under-gallery .product-hpl-media__fullformat {
    aspect-ratio: 16 / 5;
  }
}

/* Single product page */
.single-product-main {
  padding-bottom: 0;
  background: transparent;
}

.product-hero {
  padding: clamp(18px, 2.5vw, 28px) 0 clamp(36px, 5vw, 64px);
  background: transparent;
}

.product-breadcrumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 clamp(24px, 3vw, 36px);
  font-size: 0.82rem;
  color: #6f7785;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  max-width: 100%;
  padding-bottom: 2px;
}

.product-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.product-breadcrumbs > * {
  flex: 0 0 auto;
  white-space: nowrap;
}

.product-breadcrumbs a {
  color: #6f7785;
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: #111;
}

.product-breadcrumbs span:last-child {
  color: #111;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas: "gallery aside";
  column-gap: clamp(14px, 2vw, 28px);
  row-gap: 12px;
  align-items: start;
}

.product-summary-aside {
  grid-area: aside;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-summary-heading {
  min-width: 0;
}

.product-gallery {
  grid-area: gallery;
  width: 100%;
  max-width: 1000px;
  min-width: 0;
}

.product-summary {
  grid-area: auto;
  min-width: 0;
}

.product-gallery__stage {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eceff4;
}

.product-gallery__slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
}

.product-gallery__slide.is-active {
  display: block;
}

.product-gallery__zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  line-height: 0;
}

.product-gallery__zoom:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.product-gallery__main-image,
.product-gallery__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  object-fit: cover;
  background: #eceff4;
}

.product-gallery__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 6px 10px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-gallery__badge--sale,
.product-hpl-media__main .product-gallery__badge--sale {
  top: 12px;
  left: 12px;
  z-index: 4;
  background: rgba(112, 3, 42, 0.92);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.18);
  pointer-events: none;
}

.product-gallery__stage:has(.product-gallery__badge--sale) .product-gallery__badge:not(.product-gallery__badge--sale),
.product-hpl-media__main:has(.product-gallery__badge--sale) .product-gallery__badge:not(.product-gallery__badge--sale) {
  left: auto;
  right: 12px;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 1.1rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.product-gallery__nav:hover {
  background: #fff;
}

.product-gallery__nav:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.product-gallery__nav--prev {
  left: 12px;
}

.product-gallery__nav--next {
  right: 12px;
}

.product-gallery__counter {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 4;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  pointer-events: none;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.product-lightbox.is-open {
  display: flex;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 12, 16, 0.86);
  cursor: zoom-out;
}

.product-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: min(90vh, 900px);
  display: grid;
  place-items: center;
}

.product-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: min(82vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.product-lightbox__close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 1.15rem;
  cursor: pointer;
}

.product-lightbox__nav--prev {
  left: -8px;
}

.product-lightbox__nav--next {
  right: -8px;
}

.product-lightbox__counter {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

body.product-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .product-lightbox {
    padding: 16px;
  }

  .product-lightbox__nav--prev {
    left: 0;
  }

  .product-lightbox__nav--next {
    right: 0;
  }

  .product-lightbox__close {
    top: 0;
    right: 0;
  }
}

.product-summary__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.12;
  text-transform: uppercase;
  font-weight: 400;
}

.product-summary__title-code {
  font-weight: 700;
}

.product-summary__title-color {
  font-weight: 400;
  margin-left: 0.25em;
}

.product-summary__article {
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
}

.product-summary__article-label {
  color: #8b919c;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary__article-value {
  color: #111;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-surface-variants {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.product-surface-variants__label {
  margin: 0;
  font-size: 0.72rem;
  color: #8b919c;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-surface-variants__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-surface-variants__item {
  margin: 0;
}

.product-surface-variants__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid #d7dbe3;
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  color: #111;
  font-size: 0.92rem;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

a.product-surface-variants__btn:hover,
a.product-surface-variants__btn:focus-visible {
  border-color: #70032a;
  color: #70032a;
  outline: none;
}

.product-surface-variants__btn.is-current {
  border-color: #70032a;
  background: #70032a;
  color: #fff;
  cursor: default;
}

.product-summary__decode {
  display: none;
}

.product-summary__phrase {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  min-height: 52px;
  padding: 12px 24px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  background: rgba(112, 3, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0;
  border-radius: 0;
  overflow: visible;
  pointer-events: none;
}

.product-summary__phrase-text {
  display: block;
  max-width: 100%;
  font-family: "Sweet Mavka Script", cursive;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
  white-space: normal;
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(4px);
  animation: product-phrase-reveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

@keyframes product-phrase-reveal {
  0% {
    opacity: 0;
    transform: translateY(0.55em);
    filter: blur(6px);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-summary__phrase-text {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

.product-single-page.has-product-phrase,
body.single-product:has(.product-summary__phrase) {
  padding-bottom: 72px;
}

@media (max-width: 700px) {
  body.single-product:has(.product-summary__phrase) {
    /* dock + phrase bar */
    padding-bottom: calc(56px + 56px + env(safe-area-inset-bottom, 0px));
  }

  body.single-product:has(.product-summary__phrase) .fenomen-messenger-widget {
    bottom: max(120px, calc(56px + 56px + 16px + env(safe-area-inset-bottom, 0px)));
  }
}

.product-summary__specs {
  margin: clamp(15px, 3vw, 15px) 0 0;
  display: grid;
  gap: 0;
  max-width: 420px;
  align-items: start;
}

.product-summary__spec {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 8px 0;
  border-bottom: 1px solid #e8eaee;
}

.product-summary__spec:first-child {
  padding-top: 0;
}

.product-summary__spec:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 981px) {
  .product-summary__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    max-width: min(100%, 720px);
  }

  .product-summary__spec:last-child {
    border-bottom: 1px solid #e8eaee;
    padding-bottom: 8px;
  }
}

.product-summary__spec dt {
  margin: 0;
  font-size: 0.72rem;
  color: #8b919c;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-summary__spec dd {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.product-summary__surface-kind-note {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 400;
  color: #6b7280;
}

.product-summary__sizes {
  display: grid;
  gap: 4px;
}

.product-summary__sizes span {
  display: block;
}

.product-summary__spec--surfaces {
  gap: 10px;
}

.product-surface-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-surface-swatch {
  display: grid;
  gap: 6px;
  width: 96px;
}

.product-surface-swatch__tile {
  display: block;
  width: 100%;
  height: 52px;
  background: #c8ccd3;
  border: 1px solid #d4d9e1;
}

.product-surface-swatch__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4d5563;
  line-height: 1.2;
}

.product-summary__interior {
  margin-top: clamp(8px, 1.2vw, 12px);
}

.product-summary__purchase + .product-summary__interior {
  margin-top: clamp(14px, 2vw, 18px);
}

.product-summary__interior-head {
  margin: 0 0 10px;
}

.product-summary__interior-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: #6C0000;
  text-transform: uppercase;
}

.product-interior-gallery {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(108, 0, 0, 0.35) transparent;
  padding-bottom: 2px;
}

.product-interior-gallery::-webkit-scrollbar {
  height: 5px;
}

.product-interior-gallery::-webkit-scrollbar-thumb {
  background: rgba(108, 0, 0, 0.28);
  border-radius: 999px;
}

.product-interior-gallery__item {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 18px) / 4);
  width: calc((100% - 18px) / 4);
  max-width: 160px;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  background: #dde1e8;
  overflow: hidden;
  cursor: zoom-in;
  line-height: 0;
}

.product-interior-gallery__item:focus-visible {
  outline: 2px solid var(--fenomen-brand-red);
  outline-offset: 2px;
}

.product-interior-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-interior-gallery__item:hover img,
.product-interior-gallery__item:focus-visible img {
  transform: scale(1.05);
}

.product-interior-gallery__item .fenomen-photo-zoom-badge,
.home-collection-card__photo .fenomen-photo-zoom-badge {
  width: 34px;
  height: 34px;
  right: 8px;
  bottom: 8px;
}

.product-interior-gallery__item .fenomen-photo-zoom-badge svg,
.home-collection-card__photo .fenomen-photo-zoom-badge svg {
  width: 16px;
  height: 16px;
}

.product-interior-thumb {
  display: block;
  width: 140px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #dfe3ea;
}

.product-summary__actions {
  margin-top: 0;
}

.product-summary > .product-summary__actions {
  margin-top: clamp(24px, 3vw, 32px);
}

.product-summary__actions .product-order-btn {
  margin-left: 0;
}

.product-summary__price {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: #111;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.product-summary__price-currency {
  color: #6b7280;
  font-size: 0.9em;
  font-weight: 500;
}

.product-order-btn .btn-pill-label,
.product-order-btn .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.product-order-btn:hover .btn-pill-label,
.product-order-btn:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.92);
}

.product-order-btn.is-in-cart,
.product-order-btn.is-in-cart:hover {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.product-order-btn.is-in-cart .btn-pill-label,
.product-order-btn.is-in-cart .btn-pill-arrow,
.product-order-btn.is-in-cart:hover .btn-pill-label,
.product-order-btn.is-in-cart:hover .btn-pill-arrow {
  background: rgba(112, 3, 42, 0.55);
}

.product-order-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.product-sections {
  padding: 0 0 clamp(24px, 4vw, 40px);
  background: transparent;
}

.product-sections .home-container {
  display: grid;
  gap: 0;
  border-top: 1px solid #d9dde5;
}

.product-panel {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #d9dde5;
  background: transparent;
  overflow: visible;
}

.product-panel__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  color: #151821;
  font: inherit;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.product-panel__icon {
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.product-panel__icon::before,
.product-panel__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-panel__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.product-panel.is-open .product-panel__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.product-panel__body {
  display: none;
  padding: 0 0 18px;
}

.product-panel.is-open .product-panel__body {
  display: block;
}

.product-benefits__intro {
  margin: 0 0 18px;
  max-width: none;
  width: 100%;
  color: #4d5563;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}

.product-benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.product-benefit-tag {
  border: 1px solid #d4d9e1;
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  color: #2f3745;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 7px 12px;
  cursor: pointer;
}

.product-benefit-tag.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.product-benefits-grid {
  --benefit-gap-x: clamp(6px, 0.9vw, 12px);
  --benefit-gap-y: clamp(12px, 1.6vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: var(--benefit-gap-x);
  row-gap: var(--benefit-gap-y);
}

.product-benefit-item {
  flex: 0 0 calc((100% - (var(--benefit-gap-x) * 4)) / 5);
  width: calc((100% - (var(--benefit-gap-x) * 4)) / 5);
  max-width: calc((100% - (var(--benefit-gap-x) * 4)) / 5);
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.product-benefit-item.is-hidden {
  display: none;
}

.product-benefit-item__icon {
  position: relative;
  display: grid;
  place-items: center;
  color: #111;
}

.product-benefit-item__icon svg,
.product-benefit-item__icon img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}

.product-benefit-item__label {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #2f3745;
  max-width: 14ch;
}

.product-tech-specs {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid #e8eaee;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.product-tech-specs__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f3;
}

.product-tech-specs__row:last-child {
  border-bottom: 0;
}

.product-tech-specs__row dt {
  margin: 0;
  flex: 0 1 auto;
  color: #697180;
  font-weight: 600;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.product-tech-specs__row dd {
  margin: 0;
  flex: 0 1 auto;
  color: #111;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  text-align: right;
  white-space: pre-line;
}

.product-surface-props {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.product-surface-text {
  margin: 0;
  color: #111;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.45;
}

.product-surface-text--after {
  margin-top: clamp(18px, 2.4vw, 24px);
}

.product-surface-checks + .product-surface-text {
  margin-top: clamp(18px, 2.4vw, 24px);
}

.product-surface-props__row {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #e6e9ef;
  color: #111;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.5;
}

.product-surface-props__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-surface-props__row:first-child {
  padding-top: 0;
}

.product-surface-props__row--rich p {
  display: inline;
  margin: 0;
}

.product-surface-props__row--rich strong,
.product-surface-props__row--rich b,
.product-surface-props__row--rich .fenomen-tone-bold {
  font-weight: 700;
}

.product-surface-props__row--rich .fenomen-tone-black {
  color: #111;
}

.product-surface-props__row--rich .fenomen-tone-gray {
  color: #6b7280;
}

.product-surface-props__row--rich .fenomen-tone-uppercase {
  text-transform: uppercase;
}

.product-surface-props__row--rich a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.product-surface-checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.product-surface-checks--after-props {
  margin-top: clamp(22px, 3vw, 32px);
  padding-top: clamp(18px, 2.4vw, 24px);
  border-top: 1px solid #e6e9ef;
}

.product-surface-checks__row {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #111;
  line-height: 1.45;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.product-surface-checks__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--fenomen-brand-red, #82252f);
}

.product-surface-checks__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.product-surface-checks__label {
  flex: 1 1 auto;
  min-width: 0;
}

.product-apply-banner {
  position: relative;
  min-height: clamp(280px, 34vw, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    var(--product-apply-image, linear-gradient(135deg, #6f675f, #2f2b28)) center / cover no-repeat;
}

.product-apply-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.product-apply-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
}



@media (max-width: 980px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "gallery"
      "summary";
    gap: 20px;
  }

  .product-summary-aside {
    display: contents;
  }

  .product-summary-heading {
    grid-area: heading;
    margin: 0;
  }

  .product-summary {
    grid-area: summary;
  }

  .product-summary__title {
    margin: 0;
  }

  .product-benefits-grid {
    --benefit-gap-x: 10px;
  }

  .product-benefit-item {
    flex-basis: calc((100% - (var(--benefit-gap-x) * 2)) / 3);
    width: calc((100% - (var(--benefit-gap-x) * 2)) / 3);
    max-width: calc((100% - (var(--benefit-gap-x) * 2)) / 3);
  }
}

@media (max-width: 700px) {
  .product-summary__title {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .product-interior-gallery__item {
    flex-basis: calc((100% - 6px) / 2);
    width: calc((100% - 6px) / 2);
    max-width: none;
  }

  .product-gallery__main-image,
  .product-gallery__placeholder {
    width: 100%;
    height: 100%;
  }

  .product-tech-specs__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .product-tech-specs__row dd {
    text-align: left;
  }

  .product-interior-thumb {
    width: 120px;
    height: 64px;
  }

  .product-benefits-grid {
    --benefit-gap-x: 8px;
  }

  .product-benefit-item {
    flex-basis: calc((100% - var(--benefit-gap-x)) / 2);
    width: calc((100% - var(--benefit-gap-x)) / 2);
    max-width: calc((100% - var(--benefit-gap-x)) / 2);
  }
}

@media (max-width: 420px) {
  .product-surface-swatch {
    width: calc(50% - 5px);
  }
}

/* Floating messenger widget (Telegram / Viber from Contacts admin) */
.fenomen-messenger-widget {
  --fenomen-messenger-fab: #c9787a;
  --fenomen-messenger-fab-hover: #bb6a6c;
  --fenomen-messenger-size: 48px;
  --fenomen-messenger-gap: 10px;
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(28px, env(safe-area-inset-bottom, 0px));
  z-index: 10080;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fenomen-messenger-gap);
  pointer-events: none;
}

.fenomen-messenger-widget__panel,
.fenomen-messenger-widget__toggle {
  pointer-events: auto;
}

.fenomen-messenger-widget__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--fenomen-messenger-gap);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.fenomen-messenger-widget.is-open .fenomen-messenger-widget__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.fenomen-messenger-widget__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6b7280;
}

.fenomen-messenger-widget__name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fenomen-messenger-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--fenomen-messenger-size);
  height: var(--fenomen-messenger-size);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fenomen-messenger-widget__icon svg {
  width: 56%;
  height: 56%;
  display: block;
}

.fenomen-messenger-widget__link:hover .fenomen-messenger-widget__icon,
.fenomen-messenger-widget__link:focus-visible .fenomen-messenger-widget__icon {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(17, 17, 17, 0.2);
  outline: none;
}

.fenomen-messenger-widget__link--telegram .fenomen-messenger-widget__icon {
  background: #47a4da;
  box-shadow: 0 4px 14px rgba(71, 164, 218, 0.32);
  overflow: hidden;
}

.fenomen-messenger-widget__link--viber .fenomen-messenger-widget__icon {
  background: #6d5cae;
  box-shadow: 0 4px 14px rgba(109, 92, 174, 0.32);
  overflow: hidden;
}

.fenomen-messenger-widget__toggle {
  position: relative;
  width: var(--fenomen-messenger-size);
  height: var(--fenomen-messenger-size);
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--fenomen-messenger-fab);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201, 120, 122, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.fenomen-messenger-widget__toggle-halo {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: rgba(201, 120, 122, 0.22);
  pointer-events: none;
  z-index: -1;
}

.fenomen-messenger-widget__toggle:hover,
.fenomen-messenger-widget__toggle:focus-visible {
  background: var(--fenomen-messenger-fab-hover);
  outline: none;
}

.fenomen-messenger-widget__toggle-icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.fenomen-messenger-widget__toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.fenomen-messenger-widget__toggle-icon--close {
  opacity: 0;
  transform: scale(0.7) rotate(-40deg);
}

.fenomen-messenger-widget.is-open .fenomen-messenger-widget__toggle-icon--chat {
  opacity: 0;
  transform: scale(0.7) rotate(40deg);
}

.fenomen-messenger-widget.is-open .fenomen-messenger-widget__toggle-icon--close {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .fenomen-messenger-widget {
    --fenomen-messenger-size: 44px;
    --fenomen-messenger-gap: 8px;
    right: max(12px, env(safe-area-inset-right, 0px));
    /* Above mobile dock (+ product phrase / catalog bars) */
    bottom: max(76px, calc(56px + 16px + env(safe-area-inset-bottom, 0px)));
  }

  body.contacts-template-page .fenomen-messenger-widget,
  body.single-product .fenomen-messenger-widget {
    bottom: max(96px, calc(56px + 36px + env(safe-area-inset-bottom, 0px)));
  }

  .fenomen-messenger-widget__toggle-halo {
    inset: -6px;
  }

  .fenomen-messenger-widget__toggle-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fenomen-messenger-widget__panel,
  .fenomen-messenger-widget__toggle-icon,
  .fenomen-messenger-widget__icon {
    transition: none;
  }
}

/* —— Visualization page —— */
.viz-page-main {
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(130, 37, 47, 0.06), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 20%, rgba(90, 80, 70, 0.07), transparent 50%),
    linear-gradient(180deg, #f7f5f2 0%, #efede8 40%, #f7f5f2 100%);
}

.viz-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 36px);
  text-align: center;
}

.viz-hero__title {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1.12;
  color: #1a1714;
}

.viz-hero__subtitle {
  margin: 14px auto 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.55;
  color: #5c564e;
}

.viz-app {
  padding: 0 0 clamp(56px, 8vw, 96px);
}

.viz-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.viz-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--fenomen-btn-radius);
  background: transparent;
  color: #8a8379;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: default;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.viz-steps__item:not(:disabled) {
  cursor: pointer;
}

.viz-steps__item.is-active,
.viz-steps__item.is-done {
  color: #1a1714;
  border-color: rgba(26, 23, 20, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.viz-steps__item.is-active {
  border-color: rgba(130, 37, 47, 0.35);
  background: #fff;
}

.viz-steps__num {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(26, 23, 20, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
}

.viz-steps__item.is-active .viz-steps__num {
  background: var(--fenomen-brand-red, #82252f);
  color: #fff;
}

.viz-steps__item.is-done .viz-steps__num {
  background: rgba(130, 37, 47, 0.15);
  color: var(--fenomen-brand-red, #82252f);
}

.viz-panel__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-bottom: 20px;
  min-height: 2rem;
  text-align: center;
}

.viz-panel__title {
  margin: 0 0 20px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #1a1714;
  text-align: center;
}

.viz-panel__head .viz-panel__title {
  margin: 0;
  padding-inline: 4.5rem;
}

@media (max-width: 600px) {
  .viz-panel__head .viz-panel__title {
    padding-inline: 0;
    padding-top: 1.6rem;
  }

  .viz-panel__head .viz-back {
    top: 0;
    transform: none;
  }
}

.viz-panel__head .viz-back {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.viz-back {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fenomen-brand-red, #82252f);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.viz-back:hover {
  color: var(--fenomen-brand-red-hover, #6b1e26);
}

.viz-rooms,
.viz-layouts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 920px;
  margin-inline: auto;
}

.viz-room,
.viz-layout {
  flex: 0 1 180px;
  width: 180px;
  max-width: calc(50% - 7px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 16px 18px;
  border: 1px solid rgba(26, 23, 20, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  color: #1a1714;
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 700px) {
  .viz-room {
    flex-basis: 200px;
    width: 200px;
    max-width: 200px;
  }

  .viz-layout {
    flex-basis: 220px;
    width: 220px;
    max-width: 220px;
  }
}

.viz-room:hover,
.viz-layout:hover {
  border-color: rgba(130, 37, 47, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 23, 20, 0.08);
}

.viz-room__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--fenomen-brand-red, #82252f);
}

.viz-room__icon svg {
  width: 48px;
  height: 48px;
}

.viz-room__title,
.viz-layout__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.viz-layout {
  padding: 12px 12px 16px;
}

.viz-layout__thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e4de;
}

.viz-layout__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.viz-layout__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%),
    #ddd8d0;
}

.viz-studio {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .viz-studio {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 32px;
    align-items: start;
  }
}

.viz-preview-wrap {
  display: grid;
  gap: 14px;
}

.viz-preview {
  position: relative;
  min-height: 280px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 23, 20, 0.08);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(26, 23, 20, 0.06);
}

.viz-preview__empty,
.viz-empty {
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  color: #7a736a;
  font-size: 0.95rem;
  line-height: 1.5;
}

.viz-preview__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  overflow: hidden;
}

.viz-preview__fills {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.viz-preview__base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.viz-preview__base--under {
  z-index: 1;
  opacity: 1;
}

.viz-preview__base--lines {
  z-index: 3;
  mix-blend-mode: multiply;
  opacity: 1;
}

.viz-preview__zone {
  position: absolute;
  inset: 0;
  transition: opacity 0.2s ease, background-image 0.25s ease;
  opacity: 0;
}

.viz-preview__zone.is-filled {
  opacity: 0.92;
}

.viz-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.viz-zone-tab {
  appearance: none;
  padding: 8px 14px;
  border: 1px solid rgba(26, 23, 20, 0.12);
  border-radius: var(--fenomen-btn-radius);
  background: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c564e;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.viz-zone-tab:hover {
  border-color: rgba(130, 37, 47, 0.35);
}

.viz-zone-tab.is-active {
  background: var(--fenomen-brand-red, #82252f);
  border-color: var(--fenomen-brand-red, #82252f);
  color: #fff;
}

.viz-preview-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.viz-reset {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: #7a736a;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.viz-reset:hover {
  color: var(--fenomen-brand-red, #82252f);
}

.viz-hint {
  margin: 0;
  font-size: 0.85rem;
  color: #8a8379;
}

.viz-picker {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 23, 20, 0.08);
  max-height: min(70vh, 720px);
}

.viz-search input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(26, 23, 20, 0.14);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: #1a1714;
}

.viz-search input:focus {
  outline: 2px solid rgba(130, 37, 47, 0.35);
  outline-offset: 1px;
  border-color: rgba(130, 37, 47, 0.4);
}

.viz-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  overflow: auto;
  padding-right: 4px;
  max-height: min(58vh, 600px);
}

.viz-swatch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.viz-swatch:hover {
  transform: translateY(-1px);
}

.viz-swatch.is-selected {
  border-color: var(--fenomen-brand-red, #82252f);
}

.viz-swatch__img {
  display: block;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #e8e4de;
  border: 1px solid rgba(26, 23, 20, 0.08);
}

.viz-swatch__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viz-swatch__label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.72rem;
  line-height: 1.25;
  color: #5c564e;
}

@media (max-width: 699px) {
  .viz-steps__label {
    display: none;
  }

  .viz-steps__item.is-active .viz-steps__label {
    display: inline;
  }

  .viz-preview {
    min-height: 220px;
  }

  .viz-picker {
    max-height: none;
  }

  .viz-products {
    max-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .viz-room,
  .viz-layout,
  .viz-swatch,
  .viz-preview__zone {
    transition: none;
  }

  .viz-room:hover,
  .viz-layout:hover,
  .viz-swatch:hover {
    transform: none;
  }
}

/* === FENOMEN BODY TEXT 18PX ===
   Paragraph / body copy = 18px. Headings keep original sizes.
   Exception: product cards (.catalog-card, .home-catalog-card).
   ============================================================ */
main p,
main li,
main .about-rich-text,
main .entry-content,
.home-container p,
.home-container li,
.home-container .about-rich-text,
.entry-content,
.entry-content p,
.entry-content li,
.about-rich-text,
.about-rich-text p,
main [class*="__text"],
main [class*="__copy"],
main [class*="__desc"],
main [class*="__description"],
main [class*="__lead"],
main [class*="__subtitle"],
main [class*="__rich"],
.home-container [class*="__text"],
.home-container [class*="__copy"],
.home-container [class*="__desc"],
.home-container [class*="__description"],
.home-container [class*="__lead"],
.home-container [class*="__subtitle"],
.home-container [class*="__rich"] {
  font-size: 18px !important;
  line-height: 1.45;
}

/* Gallery counter is a <p> but must stay compact — exclude from body 18px. */
main p.product-gallery__counter,
.home-container p.product-gallery__counter,
.product-gallery__counter {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

/* Contacts map directions — compact overlay, not body 18px. */
main .contacts-map__directions,
main .contacts-map__directions p,
main .contacts-map__directions-text,
main .contacts-map__directions-label,
main .contacts-map__directions-place,
.contacts-map__directions p,
.contacts-map__directions-text,
.contacts-map__directions-label,
.contacts-map__directions-place {
  font-size: inherit;
  line-height: inherit;
}

main .contacts-map__directions-label,
.contacts-map__directions-label {
  font-size: 0.8125rem !important;
  line-height: 1.3 !important;
}

main .contacts-map__directions-place,
.contacts-map__directions-place {
  font-size: 0.6875rem !important;
  line-height: 1.35 !important;
}

/* HPL media labels (often <p>) — keep compact eyebrow size, not body 18px. */
main p.product-hpl-media__label,
.home-container p.product-hpl-media__label,
.product-hpl-media__label {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

/* Surface variants eyebrow label — not body 18px. */
main p.product-surface-variants__label,
.home-container p.product-surface-variants__label,
.product-surface-variants__label {
  margin: 0 !important;
  font-size: 0.72rem !important;
  color: #8b919c !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

/* Surface info popover — exclude from body 18px; overlay must not reflow layout. */
.product-hpl-info-popover,
.product-hpl-info-popover p,
.product-hpl-info-popover li,
.product-hpl-info-popover__content,
.product-hpl-info-popover__content p,
.product-hpl-info-popover__content li,
main .product-hpl-info-popover p,
.home-container .product-hpl-info-popover p {
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}

.product-hpl-info-popover__title {
  font-size: 0.9rem !important;
  line-height: 1.3 !important;
}

/* HPL services panel — compact link + done button, not body 18px. */
main p.product-hpl-services__all,
.home-container p.product-hpl-services__all,
.product-hpl-services__all,
.product-hpl-services__all-btn {
  font-size: 0.9rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.product-hpl-services__done {
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

/* Product CTAs: never inherit forced body 18px (clips labels in purchase row). */
.product-summary__purchase .btn-pill-label,
.product-summary__actions .btn-pill-label,
.product-hpl-summary__actions .btn-pill-label,
.product-order-btn .btn-pill-label {
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
}

.product-summary__purchase .btn-pill-arrow,
.product-summary__actions .btn-pill-arrow,
.product-hpl-summary__actions .btn-pill-arrow,
.product-order-btn .btn-pill-arrow {
  font-size: 1.2rem !important;
  line-height: 1 !important;
}

/* Qty inputs: compact number, not body 18px. */
.product-summary__qty input,
.product-hpl-summary__qty input,
.product-hpl-summary__qty-control input,
.fenomen-cart-item__qty input {
  font-size: 0.94rem !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

.product-hpl-summary__qty-btn,
.fenomen-cart-item__qty button {
  font-size: 1rem !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .product-summary__qty input,
  .product-hpl-summary__qty input,
  .product-hpl-summary__qty-control input,
  .fenomen-cart-item__qty input {
    font-size: 0.88rem !important;
  }
}

/* Product accordion titles + body — exclude from forced body 18px. */
.product-panel__toggle {
  font-size: clamp(1rem, 1.15vw, 1.08rem) !important;
  line-height: 1.3 !important;
}

.product-panel__body p,
.product-panel__body li,
.product-panel__body dt,
.product-panel__body dd,
main .product-panel__body p,
main .product-panel__body li,
main .product-panel__body dt,
main .product-panel__body dd,
.product-benefits__intro,
.product-surface-text,
.product-surface-props__row,
.product-surface-props__row p,
.product-surface-checks__row,
.product-surface-checks__label,
.product-tech-specs__row dt,
.product-tech-specs__row dd {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
  line-height: 1.5 !important;
}

.product-benefits__intro {
  line-height: 1.65 !important;
}

.product-benefit-item__label {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

/* Do not force heading tags inside rich text to stay huge — but also don't
   override dedicated section titles (handled by existing heading CSS). */
main .about-rich-text :is(h1, h2, h3, h4),
main .entry-content :is(h1, h2, h3, h4),
.home-container .about-rich-text :is(h1, h2, h3, h4) {
  font-size: inherit;
  line-height: inherit;
}

/* Product cards: keep original type scale */
.catalog-card,
.catalog-card :is(h1, h2, h3, h4),
.catalog-card p,
.catalog-card li,
.catalog-card [class*="__title"],
.catalog-card [class*="-title"],
.catalog-card [class*="__text"],
.catalog-card [class*="__copy"],
.catalog-card [class*="__desc"],
.home-catalog-card,
.home-catalog-card :is(h1, h2, h3, h4),
.home-catalog-card p,
.home-catalog-card li,
.home-catalog-card [class*="__title"],
.home-catalog-card [class*="-title"],
.home-catalog-card [class*="__text"],
.home-catalog-card [class*="__copy"],
.catalog-category-card,
.catalog-category-card :is(h1, h2, h3, h4),
.catalog-category-card p,
.catalog-category-card li,
.catalog-category-card [class*="__title"],
.catalog-category-card [class*="-title"],
.catalog-category-card [class*="__text"],
.catalog-category-card [class*="__copy"] {
  font-size: revert !important;
  line-height: revert !important;
}

.catalog-card .catalog-card-title,
.catalog-card h2.catalog-card-title {
  font-size: 1.05rem !important;
  line-height: 1.25 !important;
}

.catalog-card .catalog-card-attributes {
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

.catalog-card .catalog-card-badge {
  font-size: 0.7rem !important;
  line-height: 1 !important;
}

body.tax-product_category .catalog-card .catalog-card-code {
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
}

body.tax-product_category .catalog-card .catalog-card-title,
body.tax-product_category .catalog-card h2.catalog-card-title {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem) !important;
  line-height: 1.25 !important;
}

body.tax-product_category .catalog-card .catalog-card-surface {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

body.tax-product_category .catalog-card .catalog-card-price {
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
}

body.tax-product_category .catalog-card .catalog-card-cutting,
.catalog-card .catalog-card-cutting {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

body.tax-product_category .catalog-card .catalog-card-cutting__text,
.catalog-card .catalog-card-cutting__text {
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
}

body.tax-product_category .catalog-card .catalog-card-cutting__size,
.catalog-card .catalog-card-cutting__size {
  white-space: nowrap;
}

.home-catalog-card .home-catalog-card__body .home-catalog-card__title,
.home-catalog-card .home-catalog-card__body h2,
.home-catalog-card .home-catalog-card__body h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

.home-catalog-card .home-catalog-card__body p:not(.home-catalog-card__title) {
  font-size: var(--fenomen-text-size, 18px) !important;
  line-height: 1.45 !important;
  min-height: 5lh;
}

.catalog-category-card .catalog-category-card__title {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem) !important;
  line-height: 1.2 !important;
}

.catalog-category-card .catalog-category-card__text {
  font-size: var(--fenomen-text-size, 18px) !important;
  line-height: 1.45 !important;
}

.catalog-partner-cta__subtitle,
main p.catalog-partner-cta__subtitle,
.home-container p.catalog-partner-cta__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  line-height: 1.35 !important;
}

/* Blog cards: excerpt must stay compact — not forced body 18px. */
.home-blog-card__excerpt,
.home-container p.home-blog-card__excerpt,
main p.home-blog-card__excerpt,
.blog-archive-card__excerpt,
main p.blog-archive-card__excerpt {
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
}

.home-blog-card__title,
.home-container .home-blog-card__title,
main .home-blog-card__title,
.blog-archive-card__title,
main .blog-archive-card__title {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

/* Audience cards: shared title/text rows via subgrid (see .partners-audience__grid) */
.partners-audience__title {
  font-size: clamp(1.2rem, 1.85vw, 1.75rem) !important;
  line-height: 1.25 !important;
  min-height: 0 !important;
}

.partners-audience__text {
  margin-top: clamp(16px, 2.2vw, 22px) !important;
  min-height: 0 !important;
}

.partners-audience__text,
.partners-audience__text p,
.partners-audience__text li {
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem) !important;
  line-height: 1.5 !important;
}

@media (max-width: 800px) {
  main p,
  main li,
  main .about-rich-text,
  main .entry-content,
  .home-container p,
  .home-container li,
  .home-container .about-rich-text,
  .entry-content,
  .entry-content p,
  .entry-content li,
  .about-rich-text,
  .about-rich-text p,
  main [class*="__text"],
  main [class*="__copy"],
  main [class*="__desc"],
  main [class*="__description"],
  main [class*="__lead"],
  main [class*="__subtitle"],
  main [class*="__rich"],
  .home-container [class*="__text"],
  .home-container [class*="__copy"],
  .home-container [class*="__desc"],
  .home-container [class*="__description"],
  .home-container [class*="__lead"],
  .home-container [class*="__subtitle"],
  .home-container [class*="__rich"] {
    font-size: var(--fenomen-text-size, 16px) !important;
    line-height: 1.5 !important;
  }

  .home-block-about__copy .home-block-about__rich p,
  .home-block-about__copy .home-block-about__rich > div,
  .home-block-about__copy .home-block-about__rich.about-intro__rich p,
  .home-block-about__copy .home-block-about__rich.about-rich-text p,
  .home-block-about__rich p,
  .home-block-about__rich > div {
    font-size: var(--fenomen-copy-lg-size, 16px) !important;
    line-height: 1.5 !important;
  }

  .home-catalog-card__body .home-catalog-card__title,
  .home-catalog-card__body h2,
  .home-catalog-card__body h4,
  .home-catalog-card .home-catalog-card__body .home-catalog-card__title,
  .home-catalog-card .home-catalog-card__body h2,
  .home-catalog-card .home-catalog-card__body h4,
  .catalog-category-card__title,
  .catalog-category-card .catalog-category-card__title {
    font-size: clamp(1.125rem, 4.8vw, 1.3rem) !important;
    line-height: 1.25 !important;
  }

  .home-catalog-card .home-catalog-card__body p:not(.home-catalog-card__title),
  .catalog-category-card .catalog-category-card__text {
    font-size: var(--fenomen-text-size, 16px) !important;
    line-height: 1.5 !important;
  }

  .partners-audience__text,
  .partners-audience__text p,
  .partners-audience__text li {
    font-size: var(--fenomen-text-size, 16px) !important;
    line-height: 1.5 !important;
  }
}

/* ——— 404 ——— */
.error-404-main {
  min-height: min(70vh, 720px);
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) 20px;
}

.error-404 {
  width: min(720px, 100%);
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.error-404__media {
  width: min(100%, 420px);
  margin: 0 0 4px;
}

.error-404__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vh, 360px);
  object-fit: contain;
  margin: 0 auto;
}

.error-404__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}

.error-404__text {
  margin: 0;
  max-width: 34rem;
  font-size: 1rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .error-404__actions {
    width: 100%;
  }

  .error-404__actions .btn-accent {
    width: 100%;
    justify-content: center;
  }
}

