:root {
  --blue: #0076f6;
  --blue-strong: #005fd1;
  --blue-soft: #e9f6ff;
  --blue-glow: #bfe7ff;
  --ink: #050506;
  --text: #202832;
  --muted: #66717f;
  --line: #d9e4ee;
  --line-strong: #b8ccdf;
  --surface: #ffffff;
  --cloud: #f6fbff;
  --pink: #f58bc1;
  --shadow: 0 24px 70px rgba(0, 91, 177, 0.12);
  --radius: 8px;
  --container: 1440px;
  --display: "Outfit", "Segoe UI", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 85% 4%,
      rgba(0, 118, 246, 0.08),
      transparent 30rem
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 42%, #ffffff 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.search-open,
body.categories-open,
body.gallery-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

/* Wyostrzenie wszystkich zdjęć treści (unsharp mask zdefiniowany w footer.php). */
img:not([src$=".svg"]) {
  filter: url("#florcolor-sharpen");
}

/* Logo zostaje bez wyostrzenia. */
.brand img,
.site-header .brand img {
  filter: none;
}

.leaflet-container img,
.distributors-map img {
  filter: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(0, 118, 246, 0.75);
  outline-offset: 4px;
}

.container {
  width: min(100% - clamp(32px, 5vw, 80px), var(--container));
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 228, 238, 0.65);
}

.header__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  width: 190px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 100%;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.icon-action,
.download-link,
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.icon-action svg,
.download-link svg,
.menu-toggle svg,
.text-link svg,
.button svg,
.resource-link svg,
.feature-item svg,
.catalog-feature svg,
.contact-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-link {
  padding-inline-start: 12px;
  border-left: 1px solid var(--line);
}

.menu-toggle {
  display: none;
}

/* Nagłówek panelu mobilnego — ukryty na desktopie (menu jest inline). */
.primary-nav__head {
  display: none;
}

.search-panel {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.search-panel__inner {
  position: relative;
  padding-block: 26px 30px;
}

.search-panel__main {
  max-width: 760px;
  margin-inline: auto;
}

.search-panel__eyebrow {
  margin: 0 0 14px;
  padding-inline: 48px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue);
}

.search-panel__inner .search-panel__close {
  position: absolute;
  top: 22px;
  right: 0;
  margin-top: 0;
}

/* Product search form ---------------------------------------------------- */
.search-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.search-panel:not([hidden]) .search-form {
  animation: searchReveal 0.4s ease both;
}

@keyframes searchReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-form__field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 91, 177, 0.1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-form__field:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 118, 246, 0.12);
}

.search-form__icon {
  display: inline-flex;
  flex: none;
  color: var(--blue);
}

.search-form__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-form__label {
  flex: 1 1 auto;
  min-width: 0;
}

.search-form .search-field {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0 6px;
  color: var(--ink);
  font-size: 16px;
}

.search-form .search-field:focus {
  outline: 0;
  box-shadow: none;
}

.search-form__submit {
  flex: none;
}

.search-suggest {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.search-suggest__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-suggest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cloud);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.search-chip:hover,
.search-chip:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
  border-color: var(--blue-glow);
}

@media (max-width: 560px) {
  .search-panel__inner {
    padding-block: 22px 26px;
  }

  .search-panel__inner .search-panel__close {
    top: 16px;
  }

  .search-form__submit {
    padding: 0 18px;
  }

  .search-suggest {
    flex-direction: column;
    gap: 8px;
  }

  .search-suggest__chips {
    justify-content: center;
  }
}

/* Search results page (catalog layout) ----------------------------------- */
.catalog-hero--search h1 {
  font-size: clamp(34px, 4.5vw, 64px);
  overflow-wrap: anywhere;
}

.catalog-search {
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: clamp(18px, 2.5vw, 24px);
}

.catalog-search .search-form {
  max-width: none;
}

.search-empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  max-width: 520px;
  margin: clamp(20px, 4vw, 40px) auto 0;
  padding: clamp(36px, 5vw, 56px) 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cloud);
}

.search-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
}

.search-empty__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-empty h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
}

.search-empty p {
  margin: 0;
  color: var(--muted);
}

.search-empty .button {
  margin-top: 10px;
}

.newsletter-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 20px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  padding: 16px 20px;
  border-radius: var(--radius);
  resize: vertical;
}

.newsletter-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 118, 246, 0.12);
  outline: 0;
}

/* Header icon buttons + cart badge --------------------------------------- */
.icon-action {
  position: relative;
  border-radius: 999px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.icon-action:hover,
.icon-action:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
}

.cart-toggle .cart-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0, 118, 246, 0.35);
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-toggle .cart-count.is-empty {
  transform: scale(0);
}

.cart-toggle.is-bump .cart-count {
  animation: cart-bump 0.4s ease;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes navItemIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Add-to-cart buttons ----------------------------------------------------- */
/* Selectors are chained (.button.add-to-cart--*) to outrank WooCommerce's
   default ".woocommerce button.button" greys without resorting to !important. */
.add-to-cart {
  position: relative;
  isolation: isolate;
  cursor: pointer;
}

.add-to-cart svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Full-width primary CTA used on the single product page. */
.button.add-to-cart.add-to-cart--block {
  width: 100%;
  min-height: 62px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(
    135deg,
    #0aa7ff 0%,
    var(--blue) 52%,
    var(--blue-strong) 100%
  );
  box-shadow:
    0 16px 32px rgba(0, 118, 246, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.add-to-cart.add-to-cart--block:hover {
  box-shadow:
    0 24px 44px rgba(0, 118, 246, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.add-to-cart--compact {
  min-height: 42px;
  padding: 0 16px;
  font-size: 11px;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.add-to-cart--compact:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* Icon-only cart button used on catalogue cards when a price is set. */
.button.add-to-cart.add-to-cart--icon {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(
    135deg,
    #0aa7ff 0%,
    var(--blue) 58%,
    var(--blue-strong) 100%
  );
  box-shadow:
    0 10px 22px rgba(0, 118, 246, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.button.add-to-cart.add-to-cart--icon svg {
  width: 20px;
  height: 20px;
}

.button.add-to-cart.add-to-cart--icon:hover {
  transform: scale(1.05);
  box-shadow:
    0 18px 32px rgba(0, 118, 246, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.button.add-to-cart.add-to-cart--icon:hover svg {
  transform: scale(1.14) rotate(-6deg);
}

.button.add-to-cart.add-to-cart--icon:active {
  transform: scale(0.97);
}

/* Loading state: hide the label/icon and spin a ring (JS toggles .is-loading). */
.add-to-cart.is-loading {
  pointer-events: none;
}

.add-to-cart.is-loading > svg,
.add-to-cart.is-loading > span {
  opacity: 0;
}

.add-to-cart.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: add-to-cart-spin 0.7s linear infinite;
}

@keyframes add-to-cart-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .add-to-cart svg,
  .add-to-cart.is-loading::after {
    transition: none;
    animation: none;
  }
}

/* Native WooCommerce buttons (cart / checkout / account pages) ------------- */
/* WooCommerce's default greys are opted out via the body class set in
   functions.php, so these rules give Woo's own buttons the FlorColor look.
   The :not() guards keep them from touching the theme's .button--* and
   .add-to-cart buttons, which carry their own styling. */
.woocommerce
  .button:not(.add-to-cart):not(.button--primary):not(.button--outline):not(
    .button--ghost
  ),
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #place_order {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--blue);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.woocommerce
  .button:not(.add-to-cart):not(.button--primary):not(.button--outline):not(
    .button--ghost
  ):hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  border-color: var(--blue);
  color: var(--blue-strong);
}

/* Primary actions: add to cart (default Woo template), checkout, place order. */
.woocommerce .button.alt,
.woocommerce input.button.alt,
.woocommerce .checkout-button,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(
    135deg,
    #0aa7ff 0%,
    var(--blue) 55%,
    var(--blue-strong) 100%
  );
  box-shadow: 0 16px 32px rgba(0, 118, 246, 0.28);
}

.woocommerce .button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .checkout-button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover {
  color: #fff;
  box-shadow: 0 22px 42px rgba(0, 118, 246, 0.38);
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-summary__buy {
  display: grid;
  gap: 24px;
  margin: 4px 0 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--cloud));
}

.product-summary__price {
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
}

.product-summary__price del {
  margin-right: 8px;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 700;
}

/* Cart drawer ------------------------------------------------------------- */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.cart-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, 0.42);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.cart-drawer.is-open .cart-drawer__overlay {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: -30px 0 80px rgba(0, 60, 120, 0.18);
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__eyebrow {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cart-drawer__title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: opacity 0.2s ease;
}

.cart-drawer.is-busy .cart-drawer__body {
  opacity: 0.5;
  pointer-events: none;
}

.cart-line-list {
  list-style: none;
  margin: 0;
  padding: 8px 28px;
  display: flex;
  flex-direction: column;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cloud);
  border: 1px solid var(--line);
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__title {
  margin: 0 0 2px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

.cart-line__meta {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-line__price {
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.cart-line__remove {
  align-self: flex-start;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.cart-line__remove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-line__remove:hover {
  color: #e2476a;
  background: rgba(226, 71, 106, 0.1);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper__btn {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.qty-stepper__btn:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.qty-stepper__value {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.cart-drawer__summary {
  margin-top: auto;
  padding: 22px 28px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--cloud);
}

.cart-drawer__subtotal {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-drawer__subtotal span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-drawer__subtotal strong {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  padding: 60px 32px;
}

.cart-drawer__empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
}

.cart-drawer__empty-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-drawer__empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.search-form button,
.button {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-2px);
}

.button--primary,
.search-form button {
  background: linear-gradient(
    135deg,
    #0aa7ff 0%,
    var(--blue) 55%,
    var(--blue-strong) 100%
  );
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 118, 246, 0.22);
}

.button--ghost {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
}

.button--outline {
  color: var(--blue);
  background: #fff;
  border-color: var(--line-strong);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.text-link svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.section {
  padding-block: clamp(64px, 8vw, 128px);
}

.section--soft {
  background: linear-gradient(
    180deg,
    rgba(233, 246, 255, 0.65),
    rgba(255, 255, 255, 0.96)
  );
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  line-height: 0.98;
  font-weight: 600;
}

h1 {
  font-size: clamp(56px, 8vw, 84px);
}

h2 {
  font-size: clamp(42px, 5vw, 64px);
}

h3 {
  font-size: clamp(24px, 2vw, 36px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 54px);
}

.section-heading h2 span,
.catalog-hero h1,
.hero h1,
.section-kicker + h2,
.page-hero h1 {
  text-wrap: balance;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(660px, 80vh, 860px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(420px, 1.25fr);
  align-items: center;
  gap: clamp(24px, 5vw, 90px);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--ink);
}

.hero h1 {
  color: var(--blue);
}

.hero__copy p:not(.section-kicker) {
  max-width: 460px;
  margin: 0 0 28px;
  color: var(--text);
  font-size: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: min(100%, 980px);
  margin-left: auto;
  filter: drop-shadow(0 28px 55px rgba(0, 118, 246, 0.18));
}

.front-home .hero {
  min-height: clamp(540px, 54vw, 660px);
  align-items: stretch;
  padding-block: 250px;
  background-size: cover;
  background-position: center;
}

.front-home .container {
  width: min(100% - clamp(48px, 9.6vw, 116px), var(--container));
}

.front-home .hero::before {
  height: 96px;
}

.front-home .hero__grid {
  grid-template-columns: minmax(350px, 0.57fr) minmax(540px, 1.43fr);
  gap: 0;
  align-items: end;
}

.front-home .hero__copy {
  align-self: center;
}

.front-home .hero h1 {
  margin-bottom: 32px;
  font-size: clamp(64px, 7vw, 86px);
  letter-spacing: 0.01em;
  line-height: 0.88;
}

.front-home .hero__copy p:not(.section-kicker) {
  max-width: 330px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 600;
  line-height: 1.45;
}

.front-home .hero__image {
  align-self: end;
  height: 100%;
  margin-left: 0;
  margin-right: clamp(-72px, -4vw, -24px);
  display: flex;
  justify-content: flex-end;
  overflow: visible;
}

.front-home .hero__image img {
  width: auto;
  height: clamp(620px, 61vw, 742px);
  max-width: none;
  margin: 0;
  filter: none;
}

.home-title {
  font-size: clamp(36px, 4.6vw, 48px);
  line-height: 0.98;
  text-transform: uppercase;
}

.home-title span,
.home-title em {
  display: block;
  font-style: normal;
}

.home-title em {
  color: var(--blue);
}

.home-title--inline span,
.home-title--inline em {
  display: inline;
}

.front-home .section-heading {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.front-home .section--collections {
  padding-block: clamp(54px, 6.2vw, 88px) clamp(40px, 5.5vw, 78px);
  background: #fff;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.5vw, 22px);
}

.collection-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.collection-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
}

.collection-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.collection-card:hover .collection-card__media img {
  transform: scale(1.06);
}

.collection-card__body {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 18px;
}

.collection-card__text {
  flex: 1;
  min-width: 0;
}

.collection-card strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-card small {
  display: block;
  min-height: 3em;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.collection-card__arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-glow);
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.collection-card__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.collection-card:hover .collection-card__arrow {
  transform: translateX(3px);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.collection-showcase {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-glow) transparent;
}

.collection-showcase__canvas {
  position: relative;
  width: 100%;
  min-width: 690px;
  aspect-ratio: 690 / 330;
  overflow: hidden;
}

.collection-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.collection-showcase a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--collection-index) * 20%);
  width: 20%;
  border-radius: 10px;
}

.collection-showcase a:focus-visible {
  outline-offset: -6px;
}

.about-band {
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 38%,
    var(--blue-soft) 38%,
    #fff 100%
  );
}

.about-band__grid,
.page-hero__grid,
.split-content,
.form-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: clamp(36px, 7vw, 108px);
}

.about-band p,
.page-hero p,
.split-content p,
.form-panel p {
  max-width: 570px;
}

.about-band img,
.page-hero img {
  width: 100%;
  border-radius: var(--radius);
}

.front-home .about-band {
  padding-block: clamp(80px, 10vw, 140px);
  background-size: cover;
  background-position: center;
}

.front-home .about-band__grid {
  min-height: clamp(480px, 48vw, 640px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(480px, 1.28fr);
}

.front-home .about-band .home-title {
  margin-bottom: 26px;
}

.front-home .about-band p:not(.section-kicker) {
  max-width: 420px;
  margin: 0 0 28px;
  color: var(--ink);
  line-height: 1.65;
}

.front-home .about-band .about-band__visual {
  height: 100%;
  min-height: clamp(400px, 40vw, 560px);
}

.feature-strip {
  padding-block: clamp(44px, 6vw, 76px);
  background: linear-gradient(
    180deg,
    rgba(233, 246, 255, 0.92),
    rgba(255, 255, 255, 0.92)
  );
  border-block: 1px solid rgba(217, 228, 238, 0.8);
}

.front-home .feature-strip {
  padding-block: clamp(42px, 5vw, 66px);
  background: linear-gradient(90deg, #eaf7ff, #f9fdff);
}

.feature-strip__grid,
.catalog-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.feature-item,
.catalog-feature {
  padding: 20px clamp(18px, 2.8vw, 44px);
  border-right: 1px solid var(--line);
  text-align: center;
}

.feature-item:last-child,
.catalog-feature:last-child {
  border-right: 0;
}

.feature-item span,
.catalog-feature span,
.contact-card span {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  color: var(--blue);
}

.feature-item strong,
.catalog-feature strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-item p,
.catalog-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.front-home .feature-item {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 34px);
}

/* Related-products carousel keeps the stacked four-up layout. */
.products-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: grid;
  grid-template-columns: minmax(118px, 40%) 1fr;
  align-items: start;
  gap: 20px;
}

.products-grid--home .product-card,
.products-grid--catalog .product-card {
  grid-template-columns: 1fr;
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(165deg, #ffffff 0%, var(--blue-soft) 100%);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.products-grid--home .product-card__media,
.products-grid--catalog .product-card__media {
  aspect-ratio: 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media {
  box-shadow: inset 0 0 0 1px var(--blue-glow);
}

.product-card:hover .product-card__media img {
  transform: scale(1.06);
}

.color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 999px;
  background: var(--dot-color, var(--blue));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.product-card__swatch {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--dot-color, var(--blue));
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.12);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.product-card__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-card__title a:hover,
.product-card__title a:focus-visible {
  color: var(--blue);
}

.product-card__meta {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.product-card__excerpt {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.product-card__price {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.product-card__price del {
  margin-right: 6px;
  color: var(--muted);
  font-weight: 500;
}

.inspirations__grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
}

.inspirations__collage {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.front-home .inspirations--home {
  padding-block: clamp(70px, 9vw, 132px);
  background: #fff;
}

.inspirations__mosaic {
  position: relative;
  display: block;
  aspect-ratio: 1100 / 442;
}

.inspirations__tile {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--cloud);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.inspirations__tile:hover,
.inspirations__tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}

.inspirations__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.inspirations__tile:hover img,
.inspirations__tile:focus-visible img {
  transform: scale(1.06);
}

/* Editorial scrim: every tile reads as a blog teaser */
.inspirations__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 12, 26, 0.82) 0%,
    rgba(5, 12, 26, 0.4) 32%,
    rgba(5, 12, 26, 0) 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.inspirations__tile:hover::before,
.inspirations__tile:focus-visible::before {
  opacity: 1;
}

.inspirations__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(12px, 1.4vw, 22px);
  color: #fff;
  pointer-events: none;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
}

.inspirations__tile:hover .inspirations__caption,
.inspirations__tile:focus-visible .inspirations__caption {
  transform: translateY(0);
  opacity: 1;
}

.inspirations__caption small {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-glow);
}

.inspirations__caption strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 21px);
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.inspirations__read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
}

.inspirations__read svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.inspirations__tile:hover .inspirations__read svg,
.inspirations__tile:focus-visible .inspirations__read svg {
  transform: translateX(4px);
}

/* Narrow tiles: trim the caption so it never overcrowds */
.inspirations__tile--4 .inspirations__caption small,
.inspirations__tile--5 .inspirations__caption small,
.inspirations__tile--4 .inspirations__read,
.inspirations__tile--5 .inspirations__read {
  display: none;
}

.inspirations__tile--4 .inspirations__caption strong,
.inspirations__tile--5 .inspirations__caption strong {
  -webkit-line-clamp: 4;
  font-size: clamp(14px, 1vw, 17px);
}

/* Touch devices have no hover: keep the teaser caption permanently visible */
@media (hover: none) {
  .inspirations__tile::before,
  .inspirations__caption {
    opacity: 1;
  }

  .inspirations__caption {
    transform: translateY(0);
  }

  .inspirations__tile--4 .inspirations__caption small,
  .inspirations__tile--5 .inspirations__caption small,
  .inspirations__tile--4 .inspirations__read,
  .inspirations__tile--5 .inspirations__read {
    display: inline-flex;
  }
}

.inspirations__tile--1 {
  top: 0.9%;
  left: 0.55%;
  width: 29.3%;
  height: 98.6%;
}

.inspirations__tile--2 {
  top: 0.9%;
  left: 31.8%;
  width: 29.4%;
  height: 41.9%;
}

.inspirations__tile--3 {
  top: 0.9%;
  left: 63.3%;
  width: 36.6%;
  height: 41.9%;
}

.inspirations__tile--4 {
  top: 46.8%;
  left: 31.8%;
  width: 18.6%;
  height: 53.4%;
}

.inspirations__tile--5 {
  top: 46.8%;
  left: 52.2%;
  width: 18.6%;
  height: 53.4%;
}

.inspirations__tile--6 {
  top: 46.8%;
  left: 72.55%;
  width: 27.3%;
  height: 53.4%;
}

.post-teasers {
  display: grid;
  gap: 18px;
}

.post-teaser a,
.blog-card a {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.post-teaser a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.post-teaser img,
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card__media {
  display: block;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
}

.blog-card__media img {
  display: block;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 4px;
}

.blog-card__body > span,
.blog-card__body > h2,
.blog-card__body > p,
.blog-card__body > .text-link {
  margin-left: 0;
  margin-right: 0;
}

.blog-card__body > span {
  margin-top: 0;
}

.blog-card a:hover .blog-card__media img {
  transform: scale(1.06);
}

.post-teaser span,
.blog-card span {
  display: block;
  margin: 16px 18px 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.post-teaser h3,
.blog-card h2 {
  margin: 0 18px 18px;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.35;
}

.newsletter-band {
  padding-block: 100px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.newsletter-band__inner {
  position: relative;
  min-height: 160px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.newsletter-band__inner img {
  align-self: end;
  max-height: 140px;
  object-fit: contain;
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 68px;
  align-items: center;
}

.newsletter-form input {
  padding-right: 78px;
}

.newsletter-form button {
  width: 64px;
  height: 48px;
  margin-left: -68px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0aa7ff, var(--blue));
}

.newsletter-form button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.newsletter-form__status {
  position: absolute;
  top: calc(100% + 8px);
  left: 18px;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 600;
}

/* Back to top ------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  z-index: 150;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0aa7ff, var(--blue));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 91, 177, 0.28);
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Keep the button clear of the sticky cart bar / footer credit on phones. */
@media (max-width: 640px) {
  .back-to-top {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease;
    transform: none;
  }

  .back-to-top.is-visible {
    transform: none;
  }

  .back-to-top:hover,
  .back-to-top:active {
    transform: none;
  }
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(36px, 5vw, 96px);
  padding-block: 96px 64px;
}

.footer__brand {
  max-width: 320px;
}

.footer__tagline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer__grid h3 {
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer__grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__grid li,
.footer__grid a {
  color: var(--muted);
  font-size: 14px;
}

.footer__grid a {
  transition: color 0.2s ease;
}

.footer__grid a:hover {
  color: var(--blue);
}

.footer__grid li + li {
  margin-top: 12px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-glow);
  border-radius: 50%;
  color: var(--blue);
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 28px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer__bottom p {
  margin: 0;
}

.footer__credit a {
  color: var(--ink);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer__credit a:hover {
  color: var(--blue);
}

.catalog-page {
  padding-block: 44px 96px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 295px minmax(0, 1fr);
  gap: 58px;
}

.catalog-filter {
  position: sticky;
  top: 116px;
  height: fit-content;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.catalog-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.catalog-filter h2 {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* Elementy szuflady kategorii — domyślnie ukryte, aktywne dopiero na mobile. */
.catalog-filter__close,
.catalog-categories-trigger,
.catalog-categories-overlay {
  display: none;
}

.catalog-filter section {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.catalog-categories {
  display: grid;
}

.category-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: padding 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile:first-child {
  border-top: 1px solid var(--line);
}

.category-tile:hover,
.category-tile.is-active,
.category-tile:focus-visible {
  padding-left: 12px;
  outline: none;
}

.category-tile.is-active .category-tile__name {
  color: var(--blue);
}

.category-tile__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.category-tile__name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.category-tile__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.category-tile__arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-tile__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-tile:hover .category-tile__arrow,
.category-tile:focus-visible .category-tile__arrow {
  transform: translateX(4px);
}

.filter-heading {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-filter label {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
}

.catalog-filter input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(5, 36px);
  gap: 14px;
}

.swatch-grid button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  background: var(--swatch);
}

.catalog-filter__actions,
.resource-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.resource-link {
  min-height: 66px;
  display: grid;
  grid-template-columns: 30px 1fr 24px;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.resource-link svg {
  color: var(--blue);
}

.resource-link--primary {
  color: #fff;
  background: linear-gradient(135deg, #0aa7ff, var(--blue));
  border-color: transparent;
}

.resource-link--primary svg {
  color: #fff;
}

.catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(260px, 30vw, 340px);
  margin-bottom: 26px;
  padding-block: clamp(28px, 4vw, 56px);
  background: var(--catalog-hero-bg, none) center right / cover no-repeat;
}

/* Biała poświata po lewej stronie, aby teksty byly czytelne na tle zdjęcia. */
.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.82) 34%,
    rgba(255, 255, 255, 0.35) 56%,
    rgba(255, 255, 255, 0) 74%
  );
}

.catalog-hero__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.catalog-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 78px);
  text-transform: uppercase;
}

.catalog-hero h1 span {
  display: block;
  color: var(--blue);
}

.catalog-hero p:not(.section-kicker) {
  max-width: 460px;
  margin: 0;
}

.catalog-features {
  margin-bottom: 38px;
}

.catalog-feature {
  text-align: left;
}

.catalog-feature span {
  margin-inline: 0;
}

.product-section {
  margin-top: 32px;
}

.product-section__heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.product-section__heading h3 {
  color: var(--blue);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.product-section__heading span {
  height: 1px;
  background: var(--line-strong);
}

.catalog-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(26px, 3.4vw, 54px);
  margin-top: 56px;
  padding: clamp(22px, 2.6vw, 34px);
}

/* Miękka poświata w prawym górnym rogu, spinajaca sekcje z resztą strony. */
.catalog-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 118, 246, 0.14), transparent 70%);
  pointer-events: none;
}

.catalog-cta__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  background: var(--catalog-cta-bg, none) center / cover no-repeat;
}

.catalog-cta__body .section-kicker {
  margin-bottom: 10px;
}

.catalog-cta h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 2.4vw, 40px);
}

.catalog-cta p {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.catalog-cta__actions {
  display: grid;
  gap: 14px;
  min-width: 256px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 34px 26px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--ink);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 1fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cloud);
}

.product-gallery__main {
  grid-column: 1 / -1;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.product-gallery__main img {
  min-height: 650px;
}

.product-gallery__before-after {
  position: relative;
  grid-column: 1 / -1;
  min-height: 420px;
}

.before-after-slider {
  position: absolute;
  inset: 0;
}

.product-gallery .before-after-slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.before-after-slider__image--before {
  clip-path: inset(0 calc(100% - var(--before-after-position, 50%)) 0 0);
}

.before-after-slider__handle {
  position: absolute;
  inset-block: 0;
  left: var(--before-after-position, 50%);
  width: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(5, 5, 6, 0.18);
  transform: translateX(-50%);
}

.before-after-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(0, 118, 246, 0.88);
  box-shadow: 0 12px 24px rgba(0, 91, 177, 0.24);
  transform: translate(-50%, -50%);
}

.product-gallery__before-after input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.product-gallery__before-after figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.product-gallery__before-after figcaption span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-gallery__open {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  position: relative;
  line-height: 0;
  color: var(--ink);
}

.product-gallery__open img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-gallery__open:hover img,
.product-gallery__open:focus-visible img {
  transform: scale(1.05);
}

.product-gallery__open:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.product-gallery__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(0, 60, 120, 0.2);
  opacity: 0;
  transform: translateY(6px) scale(0.92);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-gallery__zoom svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-gallery__open:hover .product-gallery__zoom,
.product-gallery__open:focus-visible .product-gallery__zoom {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Pełnoekranowa galeria produktu (lightbox). */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  visibility: hidden;
  pointer-events: none;
}

.gallery-lightbox.is-open {
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-lightbox.is-open .gallery-lightbox__overlay {
  opacity: 1;
}

.gallery-lightbox__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: clamp(16px, 3vw, 36px);
  gap: clamp(14px, 2vw, 24px);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-lightbox.is-open .gallery-lightbox__shell {
  opacity: 1;
  transform: scale(1);
}

.gallery-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.gallery-lightbox__counter {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
}

.gallery-lightbox__close {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.gallery-lightbox__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(90deg);
  outline: none;
}

.gallery-lightbox__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.gallery-lightbox__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-lightbox__track {
  position: absolute;
  inset: 0;
}

/* Przejście między zdjęciami robimy przez zanikanie opacity warstw o rozmiarze
   ekranu (nie przesuwany pas), więc każda warstwa GPU jest mała i animacja
   nie przerysowuje cienia ani nakładki. */
.gallery-lightbox__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-lightbox__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.gallery-lightbox__nav:hover,
.gallery-lightbox__nav:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  outline: none;
}

.gallery-lightbox__nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox__nav--prev {
  left: 4px;
}

.gallery-lightbox__nav--prev svg {
  transform: rotate(180deg);
}

.gallery-lightbox__nav--next {
  right: 4px;
}

.gallery-lightbox__thumbs {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.gallery-lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-lightbox__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.25s ease,
    border-color 0.25s ease;
}

.gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-lightbox__thumb:hover {
  opacity: 0.85;
}

.gallery-lightbox__thumb.is-active {
  opacity: 1;
  border-color: var(--blue);
}

.product-summary {
  position: sticky;
  top: 116px;
  padding-left: 24px;
}

.product-summary h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 5vw, 72px);
  text-transform: uppercase;
}

.product-summary__volume {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 20px;
}

.product-summary__code {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--ink);
  font-weight: 700;
}

.product-summary__text {
  padding-bottom: 30px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--line);
}

.summary-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.summary-features div {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.summary-features span {
  color: var(--blue);
}

.summary-features svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.product-tags {
  margin-block: 28px;
}

.product-tags h2 {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.product-tags div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
}

.accordion {
  margin-top: 30px;
}

.accordion__item {
  border-top: 1px solid var(--line);
}

.accordion__item:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion__item button {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
}

.accordion__item > div {
  padding: 0 0 18px;
}

.accordion__content > *:first-child {
  margin-top: 0;
}

.accordion__content > *:last-child {
  margin-bottom: 0;
}

.accordion__item p,
.accordion__content li {
  margin: 0;
  color: var(--muted);
}

.accordion__content p + p,
.accordion__content p + ul,
.accordion__content p + ol {
  margin-top: 12px;
}

.product-faq {
  display: grid;
  gap: 16px;
}

.product-faq__item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.product-faq__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.product-faq__item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.tip-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--blue-soft);
}

.tip-box span {
  color: var(--blue);
}

.tip-box svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.tip-box strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tip-box p {
  margin: 4px 0 0;
}

.page-hero {
  padding-block: clamp(64px, 8vw, 120px);
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--cloud));
}

.page-hero--brand,
.page-hero--contact,
.page-hero--blog,
.page-hero--distributors {
  position: relative;
  min-height: clamp(420px, 42vw, 560px);
  display: flex;
  align-items: center;
  padding-block: clamp(86px, 10vw, 146px);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.92) 42%,
      rgba(246, 251, 255, 0.55) 66%,
      rgba(246, 251, 255, 0.2) 100%
    ),
    var(--page-hero-bg, none) center right / cover no-repeat,
    var(--cloud);
}

.page-hero--brand::before,
.page-hero--contact::before,
.page-hero--blog::before,
.page-hero--distributors::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 118, 246, 0.08), rgba(0, 118, 246, 0)),
    radial-gradient(
      circle at 8% 100%,
      rgba(191, 231, 255, 0.58),
      transparent 28rem
    );
  pointer-events: none;
}

.page-hero--brand::after,
.page-hero--contact::after,
.page-hero--blog::after,
.page-hero--distributors::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 74px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 62px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-breadcrumbs a {
  color: var(--ink);
}

.page-breadcrumbs a:hover {
  color: var(--blue);
}

.page-breadcrumbs span[aria-current="page"] {
  color: var(--blue);
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 22px;
}

.page-hero--brand h1,
.page-hero--contact h1,
.page-hero--blog h1,
.page-hero--distributors h1 {
  max-width: 11ch;
  text-transform: uppercase;
}

.page-hero--brand p:not(.section-kicker),
.page-hero--contact p:not(.section-kicker),
.page-hero--blog p:not(.section-kicker),
.page-hero--distributors p:not(.section-kicker) {
  margin: 0;
  color: var(--text);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
}

.page-hero img {
  max-height: 470px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Prose: readable long-form copy for posts/inspirations -------------------- */
.rich-copy {
  color: var(--text);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.75;
}

.rich-copy > :first-child {
  margin-top: 0;
}

.rich-copy > :last-child {
  margin-bottom: 0;
}

.rich-copy p,
.rich-copy ul,
.rich-copy ol {
  margin-top: 0;
  margin-bottom: 1.4em;
  text-wrap: pretty;
}

.rich-copy h2,
.rich-copy h3,
.rich-copy h4 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.rich-copy h2 {
  margin: 1.5em 0 0.5em;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
}

.rich-copy h3 {
  margin: 1.3em 0 0.4em;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
}

.rich-copy h4 {
  margin: 1.1em 0 0.4em;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.35;
}

.rich-copy ul,
.rich-copy ol {
  padding-left: 1.3em;
}

.rich-copy li {
  margin-bottom: 0.5em;
}

.rich-copy li::marker {
  color: var(--blue);
}

.rich-copy a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue-glow);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.rich-copy a:hover {
  text-decoration-color: var(--blue);
}

.contact-grid,
.distributor-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.contact-card,
.distributor-card {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card span {
  margin-inline: 0;
}

.contact-card h2,
.distributor-card h2 {
  margin: 18px 0 10px;
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.25;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.contact-map {
  margin-top: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 7;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.distributor-card > span {
  color: var(--blue);
  font-family: var(--display);
  font-size: 54px;
  font-weight: 700;
}

.distributors-section {
  background: #fff;
}

.distributors-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
}

.distributors-panel,
.distributors-map-card {
  min-width: 0;
}

.distributors-panel__head {
  margin-bottom: 24px;
}

.distributors-panel__head h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 54px);
}

.distributors-panel__head p:not(.section-kicker),
.distributors-map-card__head p:not(.section-kicker),
.distributors-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.distributor-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.distributor-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 91, 177, 0.09);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.distributor-item.has-map-point:hover,
.distributor-item.is-active {
  border-color: var(--blue);
  box-shadow: 0 22px 50px rgba(0, 118, 246, 0.16);
  transform: translateY(-2px);
}

.distributor-item__main {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 22px 22px 14px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.distributor-item__main:disabled {
  cursor: default;
}

.distributor-item__eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.distributor-item strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.08;
}

.distributor-item__address,
.distributor-item__description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.distributor-item em {
  color: var(--blue-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.distributor-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 22px;
}

.distributor-item__links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cloud);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.distributor-item__links a:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.distributors-empty {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--cloud);
}

.distributors-empty span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
}

.distributors-empty svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.distributors-empty h3 {
  font-size: 24px;
  line-height: 1.15;
}

.distributors-empty p {
  margin: 0;
  color: var(--muted);
}

.distributors-map-card {
  position: sticky;
  top: 118px;
}

.distributors-map-card__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.distributors-map {
  position: relative;
  min-height: clamp(460px, 54vw, 720px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 118, 246, 0.1), transparent 16rem),
    linear-gradient(135deg, #edf2f6, #f8fafc);
  box-shadow: var(--shadow);
}

.distributors-map .leaflet-tile-pane {
  background: #edf2f6;
}

.distributors-map .florcolor-map-tiles {
  filter: grayscale(1) sepia(0.25) hue-rotate(166deg) saturate(2.8) brightness(1.03) contrast(0.94);
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.distributors-map.is-empty {
  display: grid;
  place-items: center;
}

.distributors-map__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  text-wrap: balance;
}

.distributors-map .leaflet-control-attribution {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
}

.distributors-map .leaflet-control-attribution a {
  color: var(--blue);
}

.florcolor-map-marker {
  border: 0 !important;
  background: transparent !important;
}

.florcolor-map-marker span {
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 32px;
  height: 32px;
  margin-left: -16px;
  border: 4px solid #fff;
  border-radius: 20px 20px 20px 5px;
  background: linear-gradient(135deg, #14b8ff, var(--blue) 54%, #004da8);
  box-shadow:
    0 14px 30px rgba(0, 68, 154, 0.38),
    0 0 0 8px rgba(0, 118, 246, 0.13);
  transform: rotate(-45deg);
}

.florcolor-map-marker span::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 3px rgba(0, 118, 246, 0.16);
}

.distributors-map .leaflet-popup-content-wrapper {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 60, 120, 0.2);
}

.distributors-map .leaflet-popup-content {
  width: auto !important;
  min-width: 235px;
  margin: 0;
}

.distributor-popup {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.distributor-popup p {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.distributor-popup h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.12;
}

.distributor-popup address {
  color: var(--text);
  font-style: normal;
  line-height: 1.45;
  white-space: pre-line;
}

.distributor-popup > span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.distributor-popup div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.distributor-popup a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.distributors-cta__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 96px);
}

.distributors-cta h2 {
  font-size: clamp(36px, 4.4vw, 58px);
}

.distributors-cta .button {
  margin-top: 24px;
}

.form-panel {
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-strong);
  font-weight: 700;
}

.blog-card h2 {
  letter-spacing: -1px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.blog-card a:hover h2 {
  color: var(--blue);
}

.blog-card p {
  margin: 0 18px 18px;
  color: var(--muted);
}

.blog-card .text-link {
  margin: 0 18px 22px;
}

.pagination-wrap {
  margin-top: 42px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 700;
}

.page-numbers.current {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.single-post-page {
  padding-bottom: clamp(64px, 8vw, 96px);
}

.post-hero {
  padding-top: 64px;
}

.post-hero .narrow {
  position: relative;
  z-index: 2;
  margin-bottom: 38px;
}

.post-hero .section-kicker {
  display: inline-block;
  margin-bottom: 16px;
}

.post-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.08;
}

.post-hero .narrow > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.post-hero > img {
  width: min(100% - clamp(32px, 5vw, 80px), 1180px);
  max-height: 560px;
  margin: 0 auto 72px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden-by-filter {
  display: none;
}

@media (max-width: 1240px) {
  .header__inner {
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
  }

  .primary-nav .menu {
    gap: 24px;
  }

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

  .catalog-layout {
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 34px;
  }

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

  .catalog-cta__visual {
    grid-column: 1 / -1;
    aspect-ratio: 20 / 7;
  }
}

@media (max-width: 980px) {
  /* Bez backdrop-filter na mobile — inaczej staje się kontenerem dla
     position:fixed i pełnoekranowy panel menu rozciąga się tylko na header. */
  .site-header {
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header__inner {
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 160px;
  }

  /* Hamburger na samym prawym brzegu (strefa kciuka). */
  .menu-toggle {
    display: inline-flex;
    order: 3;
    margin-inline-start: 2px;
  }

  .header-actions {
    order: 2;
  }

  /* --- Pełnoekranowe menu wysuwane z prawej strony --- */
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.4s;
  }

  .menu-open .primary-nav {
    transform: translateX(0);
    visibility: visible;
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .primary-nav__sheet {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .primary-nav__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding-inline: clamp(20px, 6vw, 32px);
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav__label {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--ink);
  }

  .primary-nav .menu {
    display: block;
    margin: 0;
    padding-inline: clamp(20px, 6vw, 32px);
    list-style: none;
  }

  .primary-nav .menu li {
    border-top: 1px solid var(--line);
  }

  .primary-nav .menu li:first-child {
    border-top: 0;
  }

  .primary-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding-block: 6px;
    border: 0;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--ink);
  }

  /* Chevron tylko dla pozycji z podmenu. */
  .primary-nav .menu-item-has-children > a::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--line-strong);
    border-top: 2px solid var(--line-strong);
    transform: rotate(45deg);
    transition:
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .primary-nav a:hover,
  .primary-nav .current-menu-item > a,
  .primary-nav .current_page_item > a {
    color: var(--blue);
  }

  .primary-nav .menu-item-has-children > a:hover::after,
  .primary-nav .menu-item-has-children.current-menu-item > a::after,
  .primary-nav .menu-item-has-children.current_page_item > a::after {
    border-color: var(--blue);
    transform: translateX(3px) rotate(45deg);
  }

  .menu-open .primary-nav .menu li {
    animation: navItemIn 0.45s ease both;
  }
  .menu-open .primary-nav .menu li:nth-child(1) {
    animation-delay: 0.08s;
  }
  .menu-open .primary-nav .menu li:nth-child(2) {
    animation-delay: 0.13s;
  }
  .menu-open .primary-nav .menu li:nth-child(3) {
    animation-delay: 0.18s;
  }
  .menu-open .primary-nav .menu li:nth-child(4) {
    animation-delay: 0.23s;
  }
  .menu-open .primary-nav .menu li:nth-child(5) {
    animation-delay: 0.28s;
  }
  .menu-open .primary-nav .menu li:nth-child(6) {
    animation-delay: 0.33s;
  }

  .header-actions .download-link span,
  .header-actions .search-toggle span {
    display: none;
  }

  .hero__grid,
  .about-band__grid,
  .page-hero__grid,
  .split-content,
  .form-panel,
  .product-detail,
  .inspirations__grid,
  .distributors-layout,
  .distributors-cta__inner {
    grid-template-columns: 1fr;
  }

  .distributors-map-card {
    position: relative;
    top: auto;
  }

  .distributors-map {
    min-height: 460px;
  }

  .catalog-hero {
    min-height: clamp(220px, 56vw, 280px);
    background-size: 150% auto;
    background-position: top right;
  }

  .catalog-hero::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.9) 52%,
      rgba(255, 255, 255, 0.55) 78%,
      rgba(255, 255, 255, 0.2) 100%
    );
  }

  .page-hero--brand,
  .page-hero--contact,
  .page-hero--blog,
  .page-hero--distributors {
    min-height: clamp(360px, 62vw, 470px);
    padding-block: 72px 88px;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 58%,
        rgba(246, 251, 255, 0.62) 100%
      ),
      var(--page-hero-bg, none) center right 24% / cover no-repeat,
      var(--cloud);
  }

  .hero {
    min-height: auto;
    padding-block: 52px;
  }

  .hero__image {
    order: -1;
  }

  .front-home .hero {
    padding-block: 44px 0;
  }

  .front-home .hero__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .front-home .hero__copy {
    max-width: 560px;
    padding-bottom: 0;
  }

  .front-home .hero__image {
    order: 0;
    height: auto;
    display: block;
    margin-inline: 0;
  }

  .front-home .hero__image img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .front-home .about-band {
    padding-block: 56px 0;
    background: linear-gradient(
      180deg,
      #fff 0%,
      #fff 44%,
      var(--blue-soft) 44%,
      #fff 100%
    );
  }

  .front-home .about-band__grid {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .feature-strip__grid,
  .contact-grid,
  .distributor-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-item:nth-child(2) {
    border-right: 0;
  }

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

  /* Belka korzyści zabiera ekran przed produktami — chowamy ją na mobile. */
  .catalog-features {
    display: none;
  }

  /* Przycisk otwierający szufladę z kategoriami, tuż pod heroem. */
  .catalog-categories-trigger {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 26px;
    padding: 14px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      transform 0.2s ease;
  }

  .catalog-categories-trigger:active {
    transform: scale(0.99);
  }

  .catalog-categories-trigger:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .catalog-categories-trigger__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cloud, #eef6fe);
    color: var(--blue);
  }

  .catalog-categories-trigger__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .catalog-categories-trigger__text {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .catalog-categories-trigger__label {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--ink);
  }

  .catalog-categories-trigger__meta {
    overflow: hidden;
    font-size: 13px;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .catalog-categories-trigger__arrow {
    display: grid;
    place-items: center;
    color: var(--blue);
  }

  .catalog-categories-trigger__arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: rotate(90deg);
  }

  /* Aside zamienia się w wysuwaną od dołu szufladę. */
  .catalog-filter {
    position: fixed;
    inset: auto 0 0;
    top: auto;
    z-index: 200;
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: min(82vh, 640px);
    padding: 14px 22px calc(26px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 22px 22px 0 0;
    background: var(--surface);
    box-shadow: 0 -30px 80px rgba(0, 60, 120, 0.18);
    overflow: hidden;
    transform: translateY(100%);
    visibility: hidden;
    transition:
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.42s linear;
  }

  /* Uchwyt szuflady — nieprzewijalny. */
  .catalog-filter::before {
    content: "";
    flex: none;
    display: block;
    width: 44px;
    height: 4px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: var(--line-strong);
  }

  /* Nagłówek pozostaje przyklejony, przewija się tylko lista kategorii. */
  .catalog-filter__head {
    flex: none;
  }

  .catalog-categories {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Margines wyrównuje cień obcięcia do krawędzi szuflady. */
    margin: 0 -22px;
    padding: 0 22px calc(8px + env(safe-area-inset-bottom));
    scrollbar-width: thin;
  }

  /* Delikatny gradient sygnalizujący, że lista jest przewijalna. */
  .catalog-categories::after {
    content: "";
    position: sticky;
    bottom: 0;
    display: block;
    height: 24px;
    margin-top: -24px;
    pointer-events: none;
    background: linear-gradient(to top, var(--surface), transparent);
  }

  body.categories-open .catalog-filter {
    transform: translateY(0);
    visibility: visible;
  }

  .catalog-filter__head {
    margin-bottom: 22px;
  }

  .catalog-filter__close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: -6px -6px -6px 0;
    border: 0;
    border-radius: 50%;
    background: var(--cloud, #eef6fe);
    color: var(--ink);
    cursor: pointer;
  }

  .catalog-filter__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .catalog-categories-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(5, 5, 6, 0.42);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.35s ease,
      visibility 0.35s linear;
  }

  body.categories-open .catalog-categories-overlay {
    opacity: 1;
    visibility: visible;
  }

  .product-summary {
    position: relative;
    top: auto;
    padding-left: 0;
    border-left: 0;
  }

  .product-gallery__main img {
    min-height: 440px;
  }

  .newsletter-band__inner,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-band__inner img {
    display: none;
  }

  .inspirations__mosaic {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    aspect-ratio: auto;
  }

  .inspirations__tile,
  .inspirations__tile--1,
  .inspirations__tile--2,
  .inspirations__tile--3,
  .inspirations__tile--4,
  .inspirations__tile--5,
  .inspirations__tile--6 {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .inspirations__tile--1 {
    grid-row: span 2;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-actions {
    gap: 4px;
  }

  .download-link {
    display: none;
  }

  .section {
    padding-block: 56px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 68px);
  }

  h2 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .home-title {
    font-size: clamp(36px, 11vw, 52px);
  }

  .front-home .hero h1 {
    font-size: clamp(56px, 16vw, 82px);
  }

  .front-home .hero__copy p:not(.section-kicker) {
    font-size: 18px;
  }

  .page-hero--brand,
  .page-hero--contact,
  .page-hero--blog,
  .page-hero--distributors {
    min-height: 0;
    padding-block: 46px 72px;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.97) 54%,
        rgba(246, 251, 255, 0.98) 100%
      ),
      var(--page-hero-bg, none) top right 18% / auto 72% no-repeat,
      var(--cloud);
  }

  .page-hero__inner {
    max-width: 100%;
  }

  .page-breadcrumbs {
    margin-bottom: 86px;
    font-size: 12px;
  }

  .page-hero--brand h1,
  .page-hero--contact h1,
  .page-hero--blog h1,
  .page-hero--distributors h1 {
    max-width: 100%;
    font-size: clamp(42px, 13vw, 58px);
  }

  .page-hero--brand p:not(.section-kicker),
  .page-hero--contact p:not(.section-kicker),
  .page-hero--blog p:not(.section-kicker),
  .page-hero--distributors p:not(.section-kicker) {
    font-size: 16px;
  }

  .collection-showcase {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .collection-grid,
  .products-grid,
  .feature-strip__grid,
  .catalog-features,
  .contact-grid,
  .distributor-grid,
  .blog-grid,
  .newsletter-band__inner,
  .footer__grid,
  .catalog-cta,
  .summary-features {
    grid-template-columns: 1fr;
  }

  .contact-map {
    aspect-ratio: 4 / 5;
  }

  .collection-grid--home,
  .collection-grid--home .collection-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .collection-card__arrow {
    display: none !important;
  }

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

  .inspirations__tile--1,
  .inspirations__tile {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .products-grid--home .product-card__media,
  .product-card__media {
    aspect-ratio: 1;
  }

  .feature-item,
  .catalog-feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-item:last-child,
  .catalog-feature:last-child {
    border-bottom: 0;
  }

  .catalog-page {
    padding-top: 22px;
  }

  .swatch-grid {
    grid-template-columns: repeat(5, 34px);
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-gallery img,
  .product-gallery__main img {
    min-height: 300px;
  }

  .product-gallery__zoom {
    opacity: 1;
    transform: none;
    width: 38px;
    height: 38px;
  }

  .gallery-lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .gallery-lightbox__nav svg {
    width: 20px;
    height: 20px;
  }

  .gallery-lightbox__thumbs {
    justify-content: flex-start;
  }

  .gallery-lightbox__thumb {
    width: 56px;
    height: 56px;
  }

  .product-summary h1 {
    font-size: 42px;
  }

  .resource-link {
    min-height: 60px;
  }

  .distributor-item__main {
    padding: 20px 18px 12px;
  }

  .distributor-item__links {
    padding: 0 18px 20px;
  }

  .distributors-map {
    min-height: 360px;
  }

  .tip-box {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
    margin-left: 0;
  }

  .newsletter-form input {
    padding-right: 20px;
  }

  .newsletter-form__status {
    position: static;
    grid-column: 1 / -1;
    margin-top: 8px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
