/* Variant A — Editorial (nie WoodMart) */
/* ── Header — zwarty układ UI/UX ── */
.fm-site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 300;
  isolation: isolate;
}
.fm-site-header .va-container {
  padding-bottom: 0;
}
.fm-site-header__strip {
  background: var(--fm-red);
  color: #fff;
}
.fm-site-header__strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.fm-site-header__strip a { color: #fff; }
.fm-site-header__strip a:hover { opacity: .88; }
.fm-site-header__strip-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fm-site-header__social {
  display: inline-flex;
  align-items: center;
}
.fm-site-header__core {
  padding: 28px 20px 0;
}
.fm-site-header__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 28px;
  padding-bottom: 20px;
}
.fm-site-header__logo img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 220px;
  object-fit: contain;
}
.fm-site-header__search {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.fm-site-header__search input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--fm-gray-200);
  border-radius: 12px;
  padding: 0 48px 0 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--fm-gray-900);
  background: var(--fm-gray-100);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.fm-site-header__search input:focus {
  outline: none;
  border-color: var(--fm-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, .08);
}
.fm-site-header__search input::placeholder { color: var(--fm-gray-400); }
.fm-site-header__search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--fm-gray-600);
}
.fm-site-header__search button svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.fm-site-header__nav-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 18px 0 16px;
  min-width: 0;
}
.fm-site-header__categories {
  position: relative;
  flex-shrink: 0;
}
.fm-site-header__cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--fm-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fm-site-header__cat-btn svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.fm-site-header__chevron { opacity: .85; transition: transform .2s; }
.fm-site-header__cat-btn[aria-expanded="true"] .fm-site-header__chevron {
  transform: rotate(180deg);
}

/* ── Mega menu kategorii ── */
.fm-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 280;
}
.fm-mega-menu[hidden] {
  display: none;
}
.fm-mega-menu__backdrop {
  position: fixed;
  inset: 0;
  top: 0;
  background: rgba(17, 17, 17, .32);
  backdrop-filter: blur(2px);
  animation: fm-mega-fade-in .2s ease;
}
.fm-mega-menu__panel {
  position: relative;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
  animation: fm-mega-slide-in .22s ease;
  max-height: min(480px, calc(100vh - 140px));
  overflow-y: auto;
}
.fm-mega-menu__inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  min-height: 360px;
  padding: 0 !important;
}
.fm-mega-menu__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;
  background: var(--fm-gray-100);
  border-right: 1px solid var(--fm-gray-200);
}
.fm-mega-menu__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-gray-900);
  text-align: left;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.fm-mega-menu__cat:hover {
  background: rgba(255, 255, 255, .7);
}
.fm-mega-menu__cat.is-active {
  background: #fff;
  color: var(--fm-red);
  box-shadow: var(--fm-shadow-sm);
}
.fm-mega-menu__cat-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--fm-gray-600);
}
.fm-mega-menu__cat.is-active .fm-mega-menu__cat-icon {
  background: var(--fm-red-soft);
  color: var(--fm-red);
}
.fm-mega-menu__cat-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fm-mega-menu__content {
  padding: 24px 28px;
  min-width: 0;
}
.fm-mega-menu__view {
  display: none;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  align-items: start;
}
.fm-mega-menu__view.is-active {
  display: grid;
}
.fm-mega-menu__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}
.fm-mega-menu__cols--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fm-mega-menu__col h3 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fm-gray-600);
}
.fm-mega-menu__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fm-mega-menu__col li + li {
  margin-top: 2px;
}
.fm-mega-menu__col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--fm-gray-900);
  transition: color .15s;
}
.fm-mega-menu__col a:hover {
  color: var(--fm-red);
}
.fm-mega-menu__all {
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--fm-red) !important;
}
.fm-mega-menu__promo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, #fafafa 0%, #f3f4f6 100%);
  border: 1px solid var(--fm-gray-200);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.fm-mega-menu__promo:hover {
  border-color: var(--fm-red);
  transform: translateY(-2px);
  box-shadow: var(--fm-shadow-sm);
}
.fm-mega-menu__promo img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.fm-mega-menu__promo--alt {
  justify-content: center;
  min-height: 140px;
  background: linear-gradient(135deg, var(--fm-red-soft) 0%, #fff 100%);
}
.fm-mega-menu__promo-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fm-red);
}
.fm-mega-menu__promo-text strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fm-gray-900);
  line-height: 1.3;
}
.fm-mega-menu__promo-price {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fm-gray-600);
}
body.is-mega-open {
  overflow: hidden;
}
@keyframes fm-mega-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fm-mega-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fm-site-header__cat-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 400;
  min-width: 220px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--fm-gray-200);
  border-radius: 10px;
  box-shadow: var(--fm-shadow);
}
.fm-site-header__cat-panel a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fm-gray-900);
}
.fm-site-header__cat-panel a:hover {
  background: var(--fm-gray-100);
  color: var(--fm-red);
}
.fm-site-header__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, #000 92%, transparent);
}
.fm-site-header__menu::-webkit-scrollbar { display: none; }
.fm-site-header__menu a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fm-gray-900);
  white-space: nowrap;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.fm-site-header__menu a:hover {
  color: var(--fm-red);
  background: var(--fm-gray-100);
}
.fm-site-header__menu a.is-active { color: var(--fm-red); }
.fm-site-header__menu a.has-pill span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--fm-red);
  border-radius: 4px;
  padding: 2px 5px;
  line-height: 1.2;
}
.fm-site-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.fm-site-header__tool {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-gray-900);
  font-size: 12px;
  font-weight: 600;
}
.fm-site-header__tool svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fm-site-header__tool:hover { color: var(--fm-red); }
.fm-site-header__tool--text { white-space: nowrap; }
.fm-site-header__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--fm-red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.fm-site-header__tool--cart .fm-site-header__badge {
  right: auto;
  left: 12px;
}
.fm-site-header__cart-val {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.va-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--fm-black);
  white-space: nowrap;
  text-decoration: none;
}
.va-logo span { color: var(--fm-red); }
.va-breadcrumb {
  margin-top: 0;
  padding: 20px 0 12px;
  font-size: 12px;
  color: var(--fm-gray-600);
  background: transparent;
}
.va-main {
  padding-top: 0;
}
.va-container {
  max-width: var(--fm-page-max, var(--fm-max, 1440px));
  margin: 0 auto;
  /* Same gutter token as header `.fm-container` — padding-block only + inline gutter */
  padding-block: 0 80px;
  padding-inline: var(--fm-gutter, 24px);
  width: 100%;
  box-sizing: border-box;
}
/* ── Hero: galeria + konfigurator | panel zakupu ── */
.va-hero--editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: start;
  padding: 8px 0 20px;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.va-hero__media {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  height: 100%;
}
.va-left-stack {
  flex: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
}
.va-variants--left {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.va-variants--left .fm-fabric-swatches__label {
  margin-bottom: 10px;
}
.va-gallery {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.va-gallery__nav-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 72px;
  min-height: 0;
}
.va-gallery__nav-btn {
  flex: 0 0 28px;
  width: 72px;
  height: 28px;
  border: 1px solid var(--fm-gray-200);
  border-radius: 8px;
  background: #fff;
  color: var(--fm-gray-600);
  font-size: 11px;
  line-height: 1;
  transition: border-color .15s, color .15s, background .15s;
}
.va-gallery__nav-btn:hover:not(:disabled) {
  border-color: var(--fm-gray-400);
  color: var(--fm-gray-900);
  background: var(--fm-gray-100);
}
.va-gallery__nav-btn:disabled {
  opacity: .35;
  cursor: default;
}
.va-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  max-height: min(520px, 72vh);
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}
.va-gallery__thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.va-gallery__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  min-height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: .6;
  transition: opacity .15s, border-color .15s;
  background: #fff;
}
.va-gallery__thumb.is-active,
.va-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--fm-red);
}
.va-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.va-gallery__main {
  position: relative;
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fm-gray-200);
  aspect-ratio: 1;
  min-width: 0;
}
.va-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.va-gallery__actions {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 8px;
  width: 118px;
}
.va-gallery__actions .fm-gallery-zoom,
.va-gallery__actions .fm-video-trigger {
  position: static;
  transform: none;
  width: 100%;
  min-height: 40px;
  justify-content: center;
  box-sizing: border-box;
}
.va-gallery__actions .fm-gallery-zoom:hover,
.va-gallery__actions .fm-video-trigger:hover {
  transform: translateY(-1px);
}
.fm-gallery-zoom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--fm-gray-200);
  background: rgba(255, 255, 255, .94);
  color: var(--fm-gray-900);
  font-size: 12px;
  font-weight: 600;
  box-shadow: var(--fm-shadow-sm);
  transition: border-color .15s, color .15s, transform .15s;
}
.fm-gallery-zoom:hover {
  border-color: var(--fm-red);
  color: var(--fm-red);
}
.fm-gallery-zoom__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fm-red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}
/* Konfigurator dodatków — pełna szerokość 2×2 */
.va-configurator--wide {
  margin-top: 16px;
  padding: 28px;
  border: 1px solid var(--fm-gray-200);
  border-radius: var(--fm-radius-lg);
  background: var(--fm-white);
  box-shadow: var(--fm-shadow-sm);
}
.va-configurator__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.va-configurator__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--fm-black);
}
.va-configurator__savings {
  margin: 0;
  font-size: var(--fm-text-base);
  font-weight: 600;
  color: var(--fm-gray-900);
}
.va-configurator__savings strong {
  font-size: var(--fm-text-xl);
  font-weight: 800;
  color: #166534;
}
.va-addons--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.va-configurator__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-top: 14px;
  padding-top: 0;
  border-top: none;
}
.va-configurator__total {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.va-configurator__total-label {
  font-size: var(--fm-text-base);
  font-weight: 500;
  color: var(--fm-gray-600);
}
.va-configurator__total-price {
  font-size: var(--fm-text-3xl);
  font-weight: 800;
  color: var(--fm-red);
}
.va-addons--grid .fm-addon-card {
  grid-template-columns: 20px 64px 1fr auto;
  gap: 16px;
  padding: 16px 18px;
  min-height: 88px;
  align-items: center;
}
.va-addons--grid .fm-addon-card__thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}
.va-addons--grid .fm-addon-card__name {
  font-size: 14px;
  line-height: 1.35;
}
.va-addons--grid .fm-addon-card__meta {
  font-size: 12px;
  margin-top: 2px;
}
.va-addons--grid .fm-addon-card__price {
  font-size: 14px;
  white-space: nowrap;
}
/* Stary konfigurator (layout B) */
.va-configurator {
  border: 1px solid var(--fm-gray-200);
  border-radius: var(--fm-radius-lg);
  padding: 20px;
  background: var(--fm-white);
  box-shadow: var(--fm-shadow-sm);
  position: relative;
  z-index: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.va-addons--list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.fm-addon-card {
  display: grid;
  grid-template-columns: 18px 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--fm-gray-200);
  border-radius: var(--fm-radius);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.fm-addon-card:hover {
  border-color: var(--fm-gray-400);
  box-shadow: var(--fm-shadow-sm);
}
.fm-addon-card:has(input:checked) {
  border-color: var(--fm-gray-200);
  border-width: 1px;
  background: #fff;
  box-shadow: inset 3px 0 0 var(--fm-red);
}
.fm-addon-card--main:has(input:checked) {
  border-color: var(--fm-gray-200);
  border-width: 1px;
  background: var(--fm-red-soft);
  box-shadow: inset 3px 0 0 var(--fm-red);
}
.fm-addon-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--fm-red);
  flex-shrink: 0;
  cursor: pointer;
}
.fm-addon-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--fm-red-soft);
  color: var(--fm-red);
  flex-shrink: 0;
}
.fm-addon-card__icon svg {
  width: 22px;
  height: 22px;
}
.fm-addon-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.fm-addon-card__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fm-gray-900);
}
.fm-addon-card__meta {
  font-size: 11px;
  color: var(--fm-gray-600);
}
.fm-addon-card__price {
  font-size: 12px;
  font-weight: 700;
  color: var(--fm-red);
  text-align: right;
  white-space: nowrap;
}
.fm-addon-card__price del {
  display: block;
  color: var(--fm-gray-400);
  font-weight: 400;
  font-size: 11px;
}
.fm-addon-card--deal .fm-addon-card__meta {
  color: var(--fm-red);
  font-weight: 700;
}
.fm-addon-card--deal .fm-addon-card__now {
  color: var(--fm-red);
}
/* Panel zakupu */
.va-buybox--panel {
  padding: 24px;
  border: 1px solid var(--fm-gray-200);
  border-radius: var(--fm-radius-lg);
  background: var(--fm-white);
  box-shadow: var(--fm-shadow-sm);
}
.va-cart-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  border-radius: var(--fm-radius);
  background: var(--fm-gray-100);
  border: 1px solid var(--fm-gray-200);
}
.va-cart-summary__label {
  font-size: 13px;
  color: var(--fm-gray-600);
}
.va-cart-summary__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--fm-red);
}
.va-promo-banner--buybox {
  display: block;
  margin: 18px 0 20px;
  line-height: 0;
  text-decoration: none;
  border: none !important;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none !important;
}
.va-promo-banner--buybox:hover {
  box-shadow: none !important;
}
.va-promo-banner--buybox img {
  width: 100%;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 12px;
  border: none;
}
.va-product-head {
  margin-bottom: 0;
}
/* Znak kolekcji — monogram + motyw (skalowalne na ~30 marek) */
.fm-collection-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.fm-collection-mark:hover { opacity: .85; }
.fm-collection-mark__sigil {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 21px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--fm-gray-900);
  border: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.fm-collection-mark--print .fm-collection-mark__sigil {
  background:
    linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%) padding-box,
    repeating-linear-gradient(
      -45deg,
      rgba(0, 0, 0, .12) 0 1px,
      transparent 1px 5px
    ) border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.fm-collection-mark--eco .fm-collection-mark__sigil {
  border-style: double;
  border-width: 3px;
}
.fm-collection-mark--classic .fm-collection-mark__sigil {
  border-radius: 50%;
}
.fm-collection-mark--kids .fm-collection-mark__sigil {
  border-radius: 10px;
  transform: rotate(-3deg);
}
.fm-collection-mark__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.fm-collection-mark__kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fm-gray-600);
}
.fm-collection-mark__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--fm-gray-900);
  line-height: 1.2;
}
.va-buybox__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 0;
  color: var(--fm-black);
}
.va-rating {
  font-size: 14px;
  color: var(--fm-red);
  margin-bottom: 12px;
}
.va-rating span { color: var(--fm-gray-600); }
.va-promo-banner {
  display: block;
  margin: 14px 0 12px;
  border-radius: var(--fm-radius);
  overflow: hidden;
  border: 1px solid var(--fm-gray-200);
  transition: box-shadow .15s;
}
.va-promo-banner:hover {
  box-shadow: var(--fm-shadow-sm);
}
.va-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.va-atc-row {
  display: flex;
  gap: 12px;
  margin: 16px 0 12px;
}
.va-atc-row .fm-btn-atc { flex: 1; }
.va-buybox__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 14px 0 0;
}
.va-buybox__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  font-family: var(--fm-font);
  font-size: var(--fm-text-sm);
  font-weight: 500;
  line-height: 1.2;
  color: var(--fm-gray-600);
  text-align: center;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}
.va-buybox__link:hover { color: var(--fm-red); }
.va-buybox__link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  color: var(--fm-gray-700);
}
.va-buybox__link-icon svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.va-buybox__link:hover .va-buybox__link-icon {
  color: var(--fm-red);
}
.va-link-btn {
  font: inherit;
  font-size: 13px;
  color: var(--fm-gray-600);
  padding: 0;
  text-align: center;
}
.va-link-btn:hover { color: var(--fm-red); }
/* Zakładki opis / parametry / dostawa */
.va-tabs {
  margin-top: 32px;
  border: 1px solid var(--fm-gray-200);
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  background: var(--fm-white);
  position: relative;
  z-index: 2;
  clear: both;
}
.va-tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--fm-gray-200);
  background: var(--fm-gray-100);
}
.va-tabs__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fm-gray-600);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s, background .15s;
}
.va-tabs__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.va-tabs__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.va-tabs__btn:hover {
  color: var(--fm-gray-900);
  background: rgba(255, 255, 255, .6);
}
.va-tabs__btn.is-active {
  color: var(--fm-red);
  background: var(--fm-white);
  border-bottom-color: var(--fm-red);
}
.va-tabs__panel {
  display: none;
  padding: 40px 48px 48px;
}
.va-tabs__panel[hidden] {
  display: none !important;
}
.va-tabs__panel.is-active:not([hidden]) {
  display: block;
}
.va-tabs__panel .va-story__inner {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}
.fm-params-table--tab th { width: 38%; }
.va-shipping-copy {
  max-width: var(--fm-story);
  margin: 0 auto;
  font-size: 15px;
  color: var(--fm-gray-600);
  line-height: 1.7;
}
.va-shipping-copy p { margin: 0 0 12px; }
/* Mobile sticky */
.va-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 72px;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--fm-gray-200);
  padding: 12px 20px;
  gap: 12px;
  align-items: center;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.va-sticky-mobile__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--fm-red);
  white-space: nowrap;
}
.va-sticky-mobile .fm-btn-atc {
  flex: 1;
  padding: 14px;
}
@media (max-width: 900px) {
  .va-hero--editorial {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .va-gallery {
    position: static;
    grid-template-columns: 1fr;
  }
  .va-gallery__nav-col {
    order: 2;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .va-gallery__nav-btn {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }
  .va-gallery__nav-btn[data-gallery-prev] {
    transform: rotate(-90deg);
  }
  .va-gallery__nav-btn[data-gallery-next] {
    transform: rotate(-90deg);
  }
  .va-gallery__thumbs {
    order: 0;
    flex: 1;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .va-gallery__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    min-height: 64px;
  }
  .fm-gallery-zoom {
    bottom: 12px;
  }
  .va-buybox__links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .va-gallery__main { order: 1; }
  .va-buybox--panel {
    padding: 20px;
  }
  .va-buybox__title { font-size: 22px; }
  .va-addons--grid { grid-template-columns: 1fr; }
  .va-configurator__head { flex-direction: column; align-items: flex-start; }
  .va-tabs__btn { padding: 14px 12px; font-size: 13px; }
  .va-tabs__panel { padding: 24px 20px; }
  .va-sticky-mobile { display: flex; }
  .va-container { padding-bottom: 140px; }
}
@media (max-width: 900px) {
  .fm-site-header__core {
    padding: 20px 16px 0;
  }
  .fm-site-header__top {
    padding-bottom: 16px;
  }
  .fm-site-header__nav-row {
    padding: 16px 0 14px;
  }
  .fm-site-header__menu a {
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 600px) {
  .fm-site-header__strip-inner {
    min-height: 34px;
    padding: 7px 0;
    font-size: 10px;
  }
  .fm-site-header__strip-links { gap: 12px; }
  .fm-site-header__core {
    padding: 16px 14px 0;
  }
  .fm-site-header__top {
    padding-bottom: 14px;
  }
  .fm-site-header__top {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
  }
  .fm-site-header__logo img {
    width: auto;
    height: 32px;
    max-width: 180px;
  }
  .fm-site-header__search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin: 0;
  }
  .fm-site-header__search input {
    height: 40px;
    font-size: 13px;
  }
  .fm-site-header__tools {
    grid-column: 3;
    grid-row: 1;
    gap: 10px;
  }
  .fm-site-header__tool--text { display: none; }
  .fm-site-header__cart-val { display: none; }
  .fm-site-header__tool svg {
    width: 22px;
    height: 22px;
  }
  .fm-site-header__nav-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
    padding-top: 0;
  }
  .fm-mega-menu__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .fm-mega-menu__sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    border-right: none;
    border-bottom: 1px solid var(--fm-gray-200);
    scrollbar-width: none;
  }
  .fm-mega-menu__sidebar::-webkit-scrollbar { display: none; }
  .fm-mega-menu__cat {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }
  .fm-mega-menu__view.is-active {
    grid-template-columns: 1fr;
  }
  .fm-mega-menu__cols,
  .fm-mega-menu__cols--two {
    grid-template-columns: 1fr 1fr;
  }
  .fm-mega-menu__promo {
    flex-direction: row;
    align-items: center;
  }
  .fm-mega-menu__promo img {
    width: 100px;
    height: 72px;
    flex-shrink: 0;
  }
  .fm-site-header__categories {
    align-self: flex-start;
  }
  .fm-site-header__menu {
    width: 100%;
    mask-image: linear-gradient(to right, #000 88%, transparent);
    padding-bottom: 2px;
  }
  .fm-site-header__menu a {
    padding: 8px 10px;
    font-size: 12px;
  }
  .fm-site-header__cat-btn {
    height: 36px;
    padding: 0 14px;
  }
  .va-atc-row { flex-direction: column; }
  .va-atc-row .fm-qty { align-self: flex-start; }
}

@media (max-width: 380px) {
  .fm-site-header__tools { gap: 8px; }
  .fm-site-header__menu a.has-pill span { display: none; }
}
