﻿/* Teker / hekoprint: filtry wyzej, tkanina + Opis, cena przy metrach */

/* Stary pasek Warehouse (język/waluta/wishlist źródło) — ukryty;
   nowy pasek = #dn-shop-topbar (custom.js). Wishlist klonujemy do prawej. */
#header .header-nav,
header#header .header-nav {
  display: none !important;
}

/* ========== Pasek kontaktowy nad logo (DrukNaMetry) ========== */
.dn-shop-topbar {
  background: #fdf8f2 !important;
  border-bottom: 1px solid #ebe6de;
  color: #0c1230;
  font-family: Montserrat, sans-serif;
  font-size: 12.5px;
  line-height: 1.3;
}
.dn-shop-topbar__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  box-sizing: border-box;
}
.dn-shop-topbar__left,
.dn-shop-topbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.dn-shop-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0c1230 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.dn-shop-topbar__item svg {
  color: #00877f;
  flex: 0 0 auto;
}
a.dn-shop-topbar__item:hover {
  color: #00877f !important;
}
.dn-shop-topbar__muted {
  color: #0c1230;
  opacity: 0.92;
}
@media (max-width: 767px) {
  .dn-shop-topbar {
    font-size: 11.5px;
  }
  .dn-shop-topbar__inner {
    padding: 5px 12px;
    gap: 4px 10px;
  }
  .dn-shop-topbar__left,
  .dn-shop-topbar__right {
    gap: 6px 12px;
  }
  .dn-shop-topbar__item {
    white-space: normal;
  }
}

/* ========== HEADER jak szkic DrukNaMetry ========== */
#header,
#header .header-top,
#desktop-header,
#desktop-header.desktop-header-style-1 {
  background: #fdf8f2 !important;
}
#header .header-top {
  border-bottom: none !important;
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}

/* Search — pill + clear × */
#search_widget .form-control,
#search_widget input[type="text"],
#search-widget-mobile .form-control,
#search-widget-mobile input[type="text"] {
  border: 1px solid #d0d5db !important;
  border-radius: 999px !important;
  background: #fff !important;
  height: 44px !important;
  padding-left: 18px !important;
  /* miejsce na × + odstęp + lupę */
  padding-right: 96px !important;
  box-shadow: none !important;
  color: #132033 !important;
}
#search_widget .btn,
#search_widget button:not(.dn-search-clear),
#search-widget-mobile .btn,
#search-widget-mobile button:not(.dn-search-clear) {
  border-radius: 0 999px 999px 0 !important;
  background: transparent !important;
  border: none !important;
  color: #132033 !important;
  box-shadow: none !important;
}
.dn-search-field {
  position: relative !important;
}
.dn-search-clear {
  position: absolute !important;
  /* odstęp od lupy; nad lupą (z-index) */
  right: 52px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 6 !important;
  width: 30px !important;
  height: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #c5ccd4 !important;
  border-radius: 50% !important;
  background: #f3f5f7 !important;
  color: #132033 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
.dn-search-clear[hidden] {
  display: none !important;
}
.dn-search-clear:hover,
.dn-search-clear:focus {
  background: #e2e7ec !important;
  color: #132033 !important;
  outline: none !important;
  border-color: #9aa3ad !important;
}
#search_widget .search-btn,
#search-widget-mobile .search-btn {
  z-index: 4 !important;
  position: absolute !important;
  right: 0 !important;
}
.autocomplete-suggestions .dn-suggest-sku {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #627078;
}
.autocomplete-suggestions .dn-suggest-exact {
  background: #f4faf8;
}
.autocomplete-suggestions .dn-suggest-exact .dn-suggest-sku {
  color: #1f7a6b;
}
.autocomplete-suggestions .dn-suggest-loading {
  pointer-events: none;
  cursor: default;
  color: #627078;
  font-size: 13px;
  padding: 10px 14px;
  min-height: 0;
}
.autocomplete-suggestions .dn-suggest-loading__text {
  display: inline-block;
}
.autocomplete-suggestions .dn-suggest-pending {
  opacity: 0.9;
}
.autocomplete-suggestions .dn-suggest-pending .col-shop,
.autocomplete-suggestions .dn-suggest-opening {
  color: #1f7a6b !important;
  font-weight: 600;
  font-size: 12px;
}
/*
 * v20261122h — status otwierania W liście podpowiedzi.
 * jQuery .hide() ustawia inline display:none — !important trzyma panel widoczny.
 */
.autocomplete-suggestions.dn-opening-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none;
}
.autocomplete-suggestions .dn-suggest-opening-status {
  cursor: default;
  pointer-events: none;
  padding: 14px 16px;
  min-height: 0;
  background: #fff;
}
.autocomplete-suggestions .dn-opening-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #1f7a6b;
}
.autocomplete-suggestions .dn-opening-sub {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #627078;
  font-weight: 400;
}
.autocomplete-suggestions .dn-opening-spinner {
  width: 18px;
  height: 18px;
  margin-top: 10px;
  border: 2px solid #cfe3de;
  border-top-color: #1f7a6b;
  border-radius: 50%;
  animation: dn-opening-spin 0.7s linear infinite;
}
@keyframes dn-opening-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Legacy tip z v20261122g — nie używamy (nachodził na lupę). */
.dn-search-opening {
  display: none !important;
}
.dn-search-field.dn-search-navigating .dn-search-clear {
  pointer-events: none;
  opacity: 0.4;
}
/* Podpowiedzi nad menu mobilnym / drawerem */
#header .autocomplete-suggestions,
.autocomplete-suggestions {
  z-index: 10060 !important;
}
#search-widget-mobile .autocomplete-suggestions,
#mobile-btn-search .autocomplete-suggestions {
  z-index: 10070 !important;
}
/* Mobile: gdy szukamy, nie walczymy z offcanvas menu */
body.dn-search-open #mobile_top_menu_wrapper {
  display: none !important;
}

/* User / wishlist / koszyk — cienkie SVG kontury, równa linia, miękki kolor */
#header .col-header-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 2px 8px;
  flex-wrap: nowrap;
}
/* Warehouse pakuje koszyk i konto w różne wrapery — wyrównaj je razem */
#header #ps-shoppingcart-wrapper,
#header #ps-shoppingcart,
#header #blockcart.blockcart,
#header #blockcart,
#header #user_info,
#header #_desktop_user_info,
#header .col-header-right .user-info {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
#header #blockcart {
  flex-direction: row !important;
  position: relative;
}
#header #_desktop_blockcart-content,
#header .blockcart-content,
#header #blockcart > .cart-dropdown,
#header #blockcart > .dropdown-menu {
  /* dropdown zostaje absolute — nie psuje rzędu ikon */
  flex: 0 0 auto;
}
#header .user-info a,
#header #_desktop_user_info a,
#header .header-login,
#header .col-header-right a[href*="my-account"],
#header .col-header-right a[href*="logowanie"],
#header .col-header-right a[href*="iqitwishlist"],
#header .col-header-right .header-wishlist,
#header .col-header-right a.dn-header-wish,
#header #cart-toogle,
#header .header-cart-btn,
#header .cart-toogle,
#header .dn-header-action {
  color: #6b778a !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  line-height: 1 !important;
  padding: 4px 6px !important;
  min-width: 56px !important;
  height: auto !important;
  text-decoration: none !important;
  position: relative;
  font-size: 0 !important;
}
#header .col-header-right a.dn-header-wish.dn-header-action,
#header #cart-toogle.dn-header-action,
#header .col-header-right a.dn-header-action--user {
  color: #6b778a !important;
}
#header .dn-header-action:hover,
#header .col-header-right a.dn-header-wish:hover,
#header #cart-toogle:hover,
#header .col-header-right a[href*="my-account"]:hover,
#header .col-header-right a[href*="logowanie"]:hover {
  color: #00877f !important;
}
/* Ukryj FA tylko gdy SVG już jest — inaczej zostają same napisy (stary custom.js) */
#header .dn-header-action:has(svg.dn-hdr-svg) i,
#header .col-header-right a.dn-header-wish:has(svg.dn-hdr-svg) i,
#header #cart-toogle:has(svg.dn-hdr-svg) i,
#header .col-header-right a[href*="my-account"]:has(svg.dn-hdr-svg) i,
#header .col-header-right a[href*="logowanie"]:has(svg.dn-hdr-svg) i {
  display: none !important;
}
#header .dn-hdr-svg,
#header #cart-toogle svg.dn-hdr-svg,
#header .dn-header-action svg.dn-hdr-svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-height: 22px;
  color: inherit !important;
  stroke: currentColor !important;
  fill: none !important;
  flex: 0 0 auto;
  margin: 0 auto;
}
#header .dn-header-action__label {
  display: none;
  font-family: Montserrat, sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  color: inherit !important;
  line-height: 1.1 !important;
  text-transform: none !important;
  white-space: nowrap;
}
@media (min-width: 992px) {
  #header .dn-header-action__label {
    display: block;
  }
}
@media (max-width: 991px) {
  #header .col-header-right a.dn-header-wish,
  #header #cart-toogle,
  #header .header-cart-btn,
  #header .dn-header-action,
  #header .col-header-right a[href*="my-account"],
  #header .col-header-right a[href*="logowanie"] {
    min-width: 40px !important;
    padding: 6px 5px !important;
  }
}
/* Schowaj domyślne długie etykiety Warehouse (Empty / Sign in…) */
#header #cart-toogle .info-wrapper,
#header .header-cart-btn .info-wrapper,
#header #cart-toogle .cart-toggle-details,
#header #cart-toogle .cart-products-count:not(.cart-products-count-btn),
#header #cart-toogle .title,
#header #cart-toogle .cart-title,
#header #cart-toogle .cart-label,
#header .col-header-right a[href*="logowanie"] > span:not(.dn-header-action__label):not(#iqitwishlist-nb):not(.cart-products-count-btn),
#header .col-header-right a[href*="my-account"] > span:not(.dn-header-action__label):not(#iqitwishlist-nb):not(.cart-products-count-btn) {
  display: none !important;
}
#header a[href*="iqitwishlist"] #iqitwishlist-nb,
#header #iqitwishlist-nb,
#header .dn-header-action #iqitwishlist-nb {
  font-family: Montserrat, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  position: absolute;
  top: 0;
  right: 2px;
  line-height: 1 !important;
  color: #00877f !important;
  z-index: 2;
}
#header #iqitwishlist-nb:empty {
  display: none !important;
}
/* Licznik koszyka — poza ikoną, czytelny badge */
#header #cart-toogle .cart-products-count-btn,
#header .header-cart-btn .cart-products-count-btn,
#header .dn-header-action--cart .cart-products-count-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #00877f !important;
  color: #fff !important;
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1 !important;
  z-index: 2;
}

/*
  Mega menu desktop (DrukNaMetry): belka full-width #FDF8F2,
  linki wyśrodkowane. Padding TYLKO na .nav-link — NIE na .cbp-tab-title
  (wcześniej oba miały 8px 22px → podwójny odstęp + zawijanie „Tkaniny Drukowane”).
*/
.iqit-megamenu-container.container,
.container.iqit-megamenu-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #fdf8f2 !important;
  border-top: 1px solid #ebe6de !important;
}
.sticky-desktop-wrapper {
  width: 100% !important;
  max-width: none !important;
  background: #fdf8f2 !important;
}
#iqitmegamenu-wrapper,
#iqitmegamenu-horizontal,
#iqitmegamenu-horizontal.iqitmegamenu {
  width: 100% !important;
  max-width: none !important;
  background: #fdf8f2 !important;
  border: none !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu,
#iqitmegamenu-horizontal .cbp-hrmenu.cbp-horizontal,
#cbp-hrmenu.cbp-hrmenu {
  max-width: 1160px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  background: transparent !important;
  float: none !important;
  box-sizing: border-box !important;
}
#iqitmegamenu-horizontal .cbp-hrmenu > ul,
#cbp-hrmenu > ul {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  gap: 4px;
  list-style: none !important;
}
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li,
#cbp-hrmenu > ul > li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
/* Padding wyłącznie na linku — nie na wewnętrznym spanie */
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li > a.nav-link,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li > a,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a.nav-link,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a,
#cbp-hrmenu.cbp-hrmenu > ul > li > a.nav-link,
#cbp-hrmenu > ul > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #0c1230 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
#iqitmegamenu-horizontal #cbp-hrmenu .cbp-tab-title,
#iqitmegamenu-horizontal .cbp-tab-title,
#cbp-hrmenu .cbp-tab-title {
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  white-space: nowrap !important;
  line-height: inherit !important;
  background: transparent !important;
}
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li > a.nav-link:hover,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li:hover > a.nav-link,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a:hover,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li:hover > a,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a:hover .cbp-tab-title,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li:hover > a .cbp-tab-title {
  color: #00877f !important;
  background: transparent !important;
}
/* Promocje — koral; selektor musi przebić
   #iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li > a (#0c1230) */
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a.nav-link,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a .cbp-tab-title,
#iqitmegamenu-horizontal #cbp-hrmenu > ul > li.dn-menu-promocje-li > a,
#iqitmegamenu-horizontal #cbp-hrmenu > ul > li.dn-menu-promocje-li > a .cbp-tab-title,
#cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a,
#cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a .cbp-tab-title {
  color: #c94a4a !important;
  font-weight: 700 !important;
}
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a:hover,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li:hover > a,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li > a:hover .cbp-tab-title,
#iqitmegamenu-horizontal #cbp-hrmenu.cbp-hrmenu > ul > li.dn-menu-promocje-li:hover > a .cbp-tab-title {
  color: #a83737 !important;
}
/* Zero pionowych kresek */
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li + li::before,
#cbp-hrmenu > ul > li + li::before,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a::before,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li > a::after,
#iqitmegamenu-horizontal .cbp-hrmenu > ul > li + li > a::before {
  content: none !important;
  display: none !important;
  border: none !important;
  width: 0 !important;
  background: none !important;
}
/* Ukryj ikonę domu w menu (na szkicu jej nie ma) */
#iqitmegamenu-horizontal .cbp-hrmenu-tab a .fa-home,
#iqitmegamenu-horizontal .cbp-mainlink-icon.fa-home {
  display: none !important;
}
#iqitmegamenu-horizontal .cbp-hrmenu-tab:has(.fa-home) {
  display: none !important;
}

/* Góra headera — ten sam tor co baner/karty (~1160) */
#desktop-header-container.container {
  max-width: 1160px !important;
}

/* Logo większe + baner Allegro obok */
#desktop_logo,
#header #desktop_logo {
  display: flex !important;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
#desktop_logo > a:first-child,
#header #desktop_logo > a:first-child {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
/* Logo +~25% vs poprzednie 72/84 — czytelniejsze, bez zbędnej wysokości belki */
#header .logo.img-fluid,
#desktop_logo .logo,
#header #desktop_logo img.logo {
  width: auto !important;
  max-width: none !important;
  height: 90px !important;
  max-height: 90px !important;
}
@media (min-width: 992px) {
  #header .logo.img-fluid,
  #desktop_logo .logo,
  #header #desktop_logo img.logo {
    height: 105px !important;
    max-height: 105px !important;
  }
}
a.dn-allegro-banner {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
  border: none;
  margin-left: 4px;
}
a.dn-allegro-banner img {
  display: block;
  height: 58px !important;
  width: auto !important;
  max-width: 210px;
  object-fit: contain;
}
@media (min-width: 992px) {
  a.dn-allegro-banner img {
    height: 68px !important;
    max-width: 250px;
  }
}
@media (max-width: 767px) {
  #header .logo.img-fluid,
  #desktop_logo .logo {
    height: 58px !important;
    max-height: 58px !important;
  }
  a.dn-allegro-banner img {
    height: 40px !important;
    max-width: 140px;
  }
}

/* Pasek porównania na dole — większe miniatury (domyślnie 30px) */
#iqitcompare-floating {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 16px !important;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  border-radius: 10px 10px 0 0;
}
#iqitcompare-floating img {
  max-width: 72px !important;
  max-height: 72px !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  padding: 0 4px !important;
  border-radius: 6px;
}
#iqitcompare-floating span,
#iqitcompare-floating a {
  font-size: 15px;
  font-weight: 600;
}

/* Classic domyslnie 1140px — katalog ma byc szeroki jak hekoprint */
@media (min-width: 1200px) {
  .container {
    max-width: 1560px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1680px;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1800px;
  }
}
@media (min-width: 992px) {
  /* Warehouse bywa col-md-3 (25% ≈ 450px) — wymuś wąski panel filtrów */
  #left-column.col-md-3,
  #left-column.col-md-4,
  #left-column.col-lg-3 {
    flex: 0 0 280px;
    max-width: 280px;
    width: 280px;
  }
  #content-wrapper.left-column.col-md-9,
  #content-wrapper.left-column.col-md-8,
  #content-wrapper.left-column.col-lg-9 {
    flex: 1 1 auto;
    max-width: calc(100% - 280px);
    width: calc(100% - 280px);
  }
}

#left-column {
  display: flex;
  flex-direction: column;
  position: static !important;
  max-height: none !important;
  overflow: visible !important;
}
#left-column #search_filters_wrapper {
  order: -1;
}
#search_filters_wrapper,
#search_filters {
  overflow: visible !important;
  max-height: none !important;
}

/* Cena w heko-buy = .js-product-prices (aktualizowane przez Prestę). Ukryj śmieci, pokaż kwotę. */
#product .heko-buy .product-prices .tax-shipping-delivery-label,
#product .heko-buy .product-prices .product-discount,
#product .heko-buy .product-prices .product-without-taxes,
#product .heko-buy .product-prices .product-pack-price,
#product .heko-buy .product-prices .price-ecotax,
#product .heko-buy .product-prices .product-unit-price {
  display: none !important;
}
#product .heko-buy .product-prices {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#product .heko-buy .product-prices .product-price.h5 {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
#product .heko-buy .product-prices .current-price {
  display: inline;
}
#product .heko-buy .product-prices .current-price-value {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: #111;
}
.heko-sku-src[hidden] {
  display: none !important;
}
.heko-buy .heko-sku-dest {
  display: block;
  margin: 6px 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #111;
}

.heko-fabrics-label {
  display: block;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #132033;
}
.heko-fabric-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 8px;
}
.heko-fabric-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 10px 8px 8px 10px;
  border: 2px solid #e1e6ec;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}
.heko-fabric-row:has(.heko-fabric-input:checked),
.heko-fabric-row.is-active {
  border-color: #1f9d55 !important;
  background: #d9f5e4 !important;
  box-shadow: inset 4px 0 0 #1f9d55 !important;
}
.heko-fabric-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  margin: 0;
  cursor: pointer;
}
.heko-fabric-input {
  position: absolute;
  left: 10px;
  top: 50%;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.heko-swatch {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
  border-radius: 6px;
  background: #d7dee6;
  flex-shrink: 0;
}
.heko-swatch img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}
.heko-fabrics,
.heko-fabric-list,
.heko-fabric-pick {
  overflow: visible;
}
.heko-swatch::after {
  display: none !important;
  content: none !important;
}
.heko-fabric-mark {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #22a45a;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}
.heko-fabric-input:checked ~ .heko-fabric-mark,
.heko-fabric-row:has(.heko-fabric-input:checked) .heko-fabric-mark,
.heko-fabric-row.is-active .heko-fabric-mark {
  display: inline-flex !important;
}
.heko-fabric-name {
  font-size: 14px;
  font-weight: 700;
  color: #132033;
}
.heko-fabric-price {
  display: none !important;
}
.heko-fabric-row:has(.heko-fabric-input:checked) .heko-fabric-name,
.heko-fabric-row.is-active .heko-fabric-name {
  color: #146c3a;
}
.heko-opis-btn {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #d7dee6;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #132033;
  cursor: pointer;
  flex-shrink: 0;
}
.heko-opis-btn:hover {
  background: #f3f5f8;
}

.heko-buy {
  margin: 8px 0 12px;
  padding: 14px 16px 16px;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fafbfc;
}
.heko-buy-price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.heko-buy-fabric-tag {
  font-size: 15px;
  font-weight: 700;
  color: #2ea3ce;
}
.heko-buy-price {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #111;
}
.heko-buy-unit {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}
.heko-buy-hint {
  margin: 4px 0 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #5b6570;
}
.heko-buy-width {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0c1230;
  line-height: 1.35;
}
.heko-buy-width:empty {
  display: none;
}
.heko-buy .product-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.heko-qty-label {
  display: block;
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #132033;
}
.heko-buy .qty {
  float: none;
}
.heko-buy .add {
  float: none;
  margin-top: 0;
}
.heko-buy .add .add-to-cart,
#product .heko-buy .add-to-cart {
  min-height: 48px;
  padding: 12px 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: #0f766e !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.heko-buy .add .add-to-cart:hover,
#product .heko-buy .add-to-cart:hover {
  background: #0b5f59 !important;
  color: #fff !important;
}
.heko-buy .add .add-to-cart .material-icons,
.heko-buy .add .add-to-cart .dn-cart-svg {
  color: #fff !important;
  fill: currentColor;
  width: 1.15em;
  height: 1.15em;
  margin-right: 0.35em;
  vertical-align: -0.15em;
  display: inline-block;
  flex: 0 0 auto;
}
/* Material Icons nie jest ładowany na sklepie — nie polegaj na font-family */
.heko-buy .add .add-to-cart .material-icons {
  font-family: inherit !important;
}

/* Metody dostawy — krótki blok pod zakupem / na CMS */
.dn-ship-methods {
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid #ebe6de;
  border-radius: 8px;
  background: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: #132033;
  max-width: 420px;
}
.dn-ship-methods__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}
.dn-ship-methods__list {
  font-weight: 600;
  color: #0c1230;
}
#product .dn-ship-methods {
  margin-top: 12px;
}
.page-cms .dn-ship-methods,
#cms .dn-ship-methods {
  max-width: 520px;
  margin: 16px 0;
}
@media (max-width: 575px) {
  .heko-buy .add .add-to-cart,
  #product .heko-buy .add-to-cart {
    width: 100%;
    min-height: 50px;
  }
  #product .heko-buy .product-quantity {
    flex-wrap: wrap !important;
  }
  #product .heko-buy .add {
    flex: 1 1 100%;
  }
}

/* Bramka HekoPrint — modal 2×2 (ChatGPT HTML + custom.js) */
.dn-heko-gate-overlay[hidden] {
  display: none !important;
}
.dn-heko-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(12, 18, 48, 0.58);
}
.dn-heko-gate-dialog,
.dn-heko-gate-dialog * {
  box-sizing: border-box;
}
.dn-heko-gate-dialog {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 42px 40px 32px;
  border: 1px solid #e8ded4;
  border-radius: 18px;
  background: #fdf8f2;
  color: #0c1230;
  box-shadow: 0 20px 60px rgba(12, 18, 48, 0.22);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  text-align: left;
}
.dn-heko-gate-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0c1230;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.dn-heko-gate-close:hover {
  background: #f0e9e1;
}
.dn-heko-gate-title {
  margin: 0 30px 12px 0;
  color: #0c1230;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.12;
}
.dn-heko-gate-lead {
  margin: 0;
  color: #0c1230;
  font-size: 16px;
  line-height: 1.55;
}
.dn-heko-gate-divider {
  width: 64px;
  height: 3px;
  margin: 20px 0 24px;
  border-radius: 2px;
  background: #168c86;
}
.dn-heko-gate-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
}
.dn-heko-gate-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.dn-heko-gate-icon {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid #168c86;
  border-radius: 50%;
  background: #e8f2ee;
  color: #168c86;
}
.dn-heko-gate-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dn-heko-gate-step h3 {
  margin: 1px 0 5px;
  color: #b44e3d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.dn-heko-gate-step p {
  margin: 0;
  color: #0c1230;
  font-size: 14px;
  line-height: 1.45;
}
.dn-heko-gate-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}
.dn-heko-gate-primary,
.dn-heko-gate-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.dn-heko-gate-primary {
  border: 1px solid #087f78;
  background: #087f78;
  color: #fff !important;
}
.dn-heko-gate-primary:hover {
  border-color: #066861;
  background: #066861;
  color: #fff !important;
  text-decoration: none !important;
}
.dn-heko-gate-primary span {
  margin-left: 7px;
}
.dn-heko-gate-secondary {
  border: 1px solid #b8c9c5;
  background: transparent;
  color: #0c1230;
}
.dn-heko-gate-secondary:hover {
  background: #edf3f0;
}
.dn-heko-gate-note {
  margin: 15px 0 0;
  color: #59616d;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 600px) {
  .dn-heko-gate-dialog {
    padding: 38px 22px 24px;
    border-radius: 14px;
  }
  .dn-heko-gate-title {
    font-size: 28px;
  }
  .dn-heko-gate-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dn-heko-gate-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }
  .dn-heko-gate-primary,
  .dn-heko-gate-secondary {
    width: 100%;
  }
}
.heko-modal-root[hidden] {
  display: none !important;
}
.heko-modal-root {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 17, 31, 0.58);
  padding: 0;
}
@media (min-width: 576px) {
  .heko-modal-root {
    align-items: center;
    padding: 16px;
  }
}
.heko-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 980px;
  max-height: 96vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 28px 80px rgba(6, 17, 31, 0.38);
}
@media (min-width: 576px) {
  .heko-modal {
    border-radius: 16px;
  }
}
.heko-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 16px;
  border-bottom: 1px solid #e8edf2;
  background: rgba(255, 255, 255, 0.96);
}
.heko-modal-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7380;
}
.heko-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #132033;
}
.heko-modal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f3f5f8;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.heko-modal-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
}
@media (min-width: 768px) {
  .heko-modal-body {
    grid-template-columns: 1fr 1fr;
  }
}
.heko-modal-stage img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f3f5f8;
  border-radius: 10px;
  cursor: zoom-in;
}
.heko-modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.heko-modal-thumbs button {
  width: 88px;
  height: 88px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  cursor: zoom-in;
}
.heko-modal-thumbs button.is-on {
  border-color: #132033;
}
.heko-modal-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heko-modal-short {
  margin: 0 0 10px;
  font-size: 15px;
  color: #132033;
}
.heko-modal-params {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.heko-modal-params th,
.heko-modal-params td {
  padding: 5px 8px 5px 0;
  border-bottom: 1px solid #eef1f4;
  text-align: left;
  vertical-align: top;
}
.heko-modal-params th {
  width: 42%;
  color: #5b6570;
  font-weight: 600;
}
.heko-modal-feat {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.heko-modal-feat li {
  margin: 0 0 8px;
}
.heko-modal-feat b {
  display: block;
  color: #132033;
}
.heko-modal-desc {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.45;
  color: #243040;
}
.heko-modal-note {
  margin: 8px 0 0;
  font-size: 13px;
  color: #5b6570;
}
.heko-modal-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.heko-modal-uses li {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f5f8;
  font-size: 12px;
}
.heko-modal-media h3 {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 800;
}
.heko-modal-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.heko-modal-videos a {
  display: block;
  text-decoration: none;
  color: #132033;
  font-size: 12px;
  font-weight: 600;
}
.heko-modal-videos img {
  display: block;
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
  background: #111;
}
.heko-zoom {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  cursor: zoom-out;
}
.heko-zoom[hidden] {
  display: none !important;
}
.heko-zoom img {
  max-width: 96vw;
  max-height: 96vh;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Lista Druki: filtry — Kategoria otwarta, reszta schowana (hidden) */
#search_filters_suppliers {
  display: none !important;
}
#search_filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#search_filters > .h6 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: #132033;
}
#search_filters .facet,
#search_filters .facet:first-child {
  margin: 0;
  padding: 10px !important;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fff;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}
#search_filters .facet-title {
  margin: 0 0 6px;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
  color: #132033;
}
#search_filters .facet .facet-type-checkbox,
#search_filters .facet .facet-type-radio,
#search_filters .facet ul {
  max-width: 100%;
  max-height: 220px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding-left: 0 !important;
  margin: 8px 0 0;
}
.heko-facet-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: #132033;
}
.heko-facet-toggle .heko-facet-ico {
  font-size: 22px;
  line-height: 1;
  color: #7b8796;
  transition: transform 0.15s ease;
}
.heko-facet-toggle[aria-expanded="true"] .heko-facet-ico,
.heko-facet-toggle.is-open .heko-facet-ico {
  transform: rotate(180deg);
}
#search_filters .heko-facet-list {
  list-style: none;
  max-height: 220px;
  overflow: auto;
  margin: 8px 0 0;
  padding: 0;
}
#search_filters .heko-facet-list[hidden] {
  display: none !important;
}
#search_filters .facet-label,
#search_filters .facet-label a {
  font-size: 13px;
  text-transform: capitalize;
  color: #243040;
}
#search_filters .magnitude {
  color: #8a93a0;
  font-size: 12px;
}
.heko-facet-q {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 8px 0 6px;
  padding: 6px 8px;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  font-size: 13px;
}

/* Katalog wzorów — niski poziomy panel wyboru tkaniny */
.dn-katalog-title {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}
.dn-listing-fabric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 100%;
  width: 100%;
  margin: 0 0 10px;
  padding: 6px 10px 8px;
  border: 1px solid #dce4e1;
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
}
#js-product-list.dn-fabric-switching {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.dn-listing-fabric__side {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.dn-listing-fabric__kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #101b35;
  line-height: 1.25;
}
.dn-listing-fabric__chosen {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #627078;
  line-height: 1.25;
}
.dn-listing-fabric__chosen strong {
  color: #101b35;
  font-weight: 800;
}
.dn-listing-fabric__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.dn-listing-fabric__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 6px 6px 8px;
  border: 1px solid #dce4e1;
  border-radius: 10px;
  background: #ffffff;
  min-width: 0;
  min-height: 64px;
  box-sizing: border-box;
  transition: border-color 0.12s ease, background-color 0.12s ease;
}
.dn-listing-fabric__row.is-active {
  background: #e2f3ef;
  border: 2px solid #00857f;
  padding: 5px 5px 5px 7px; /* kompensata grubości ramki — bez przeskoku */
}
.dn-listing-fabric__pick {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #101b35;
}
.dn-listing-fabric__pick:focus-visible,
.dn-listing-fabric__opis:focus-visible,
.dn-listing-fabric .heko-opis-btn:focus-visible {
  outline: 2px solid #00857f;
  outline-offset: 2px;
}
.dn-listing-fabric__radio {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #849793;
  background: #ffffff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dn-listing-fabric__check {
  display: none;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.dn-listing-fabric__row.is-active .dn-listing-fabric__radio {
  border-color: #00857f;
  background: #00857f;
}
.dn-listing-fabric__row.is-active .dn-listing-fabric__check {
  display: inline;
}
.dn-listing-fabric__swatch {
  flex: 0 0 auto;
  width: 72px;
  height: 58px;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f5;
  border: 1px solid #dce4e1;
}
.dn-listing-fabric__swatch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.dn-listing-fabric__row[data-dn-fabric="Softshell"] .dn-listing-fabric__swatch img {
  object-position: 80% 15%;
}
.dn-listing-fabric__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}
.dn-listing-fabric__name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  color: #101b35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dn-listing-fabric__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #627078;
  overflow: hidden;
  max-height: 2.4em;
}
.dn-listing-fabric__opis,
.dn-listing-fabric .heko-opis-btn {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 28px;
  margin: 0 !important;
  padding: 5px 9px;
  border: 1px solid #bdd4ce;
  border-radius: 7px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 700;
  color: #007f79;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}
.dn-listing-fabric__opis:hover,
.dn-listing-fabric .heko-opis-btn:hover {
  background: #e2f3ef;
  color: #006b67;
  border-color: #bdd4ce;
}
@media (max-width: 1500px) {
  .dn-listing-fabric__swatch {
    width: 56px;
    height: 52px;
  }
  .dn-listing-fabric__name {
    font-size: 12px;
  }
  .dn-listing-fabric__sub {
    font-size: 10px;
  }
  .dn-listing-fabric__pick {
    gap: 6px;
  }
}
@media (max-width: 1100px) {
  .dn-listing-fabric__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dn-listing-fabric__swatch {
    width: 64px;
    height: 52px;
  }
  .dn-listing-fabric__sub {
    font-size: 11px;
  }
}
@media (max-width: 991px) {
  .dn-listing-fabric__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Telefon / wąski ekran: zawsze 2×2 — nie 4 wysokie kafelki w kolumnie */
@media (max-width: 480px) {
  .dn-listing-fabric {
    padding: 5px 6px 6px;
    gap: 4px;
  }
  .dn-listing-fabric__side {
    gap: 2px 10px;
  }
  .dn-listing-fabric__kicker {
    font-size: 12px;
  }
  .dn-listing-fabric__chosen {
    font-size: 11px;
  }
  .dn-listing-fabric__list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px;
  }
  .dn-listing-fabric__row {
    display: grid;
    grid-template-columns: 16px 44px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 5px;
    row-gap: 1px;
    align-items: center;
    min-height: 0;
    padding: 5px;
  }
  .dn-listing-fabric__row.is-active {
    padding: 4px;
  }
  .dn-listing-fabric__pick {
    display: contents;
  }
  .dn-listing-fabric__radio {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex: none;
    width: 16px;
    height: 16px;
  }
  .dn-listing-fabric__check {
    font-size: 10px;
  }
  .dn-listing-fabric__swatch {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
  }
  .dn-listing-fabric__text {
    grid-column: 3;
    grid-row: 1;
  }
  .dn-listing-fabric__opis,
  .dn-listing-fabric .heko-opis-btn {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    min-height: 28px;
    min-width: 44px;
    padding: 4px 8px;
    font-size: 11px;
  }
  .dn-listing-fabric__name {
    font-size: 12px;
  }
  .dn-listing-fabric__sub {
    font-size: 10px;
    max-height: 1.2em;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}
@media (max-width: 360px) {
  .dn-listing-fabric {
    padding: 4px 5px 5px;
    gap: 3px;
  }
  .dn-listing-fabric__list {
    gap: 4px;
  }
  .dn-listing-fabric__row {
    grid-template-columns: 15px 40px minmax(0, 1fr);
    column-gap: 4px;
    padding: 4px;
  }
  .dn-listing-fabric__row.is-active {
    padding: 3px;
  }
  .dn-listing-fabric__swatch {
    width: 40px;
    height: 40px;
  }
  .dn-listing-fabric__name {
    font-size: 11px;
  }
  .dn-listing-fabric__opis,
  .dn-listing-fabric .heko-opis-btn {
    min-height: 26px;
    padding: 3px 7px;
  }
}

/* Siatka: zawsze na liscie produktow (dziala tez bez heko-products) */
#js-product-list .products,
#products .products,
.featured-products .products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 8px !important;
  margin: 0 !important;
  width: 100% !important;
}
@media (min-width: 576px) {
  #js-product-list .products,
  #products .products,
  .featured-products .products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 768px) {
  #js-product-list .products,
  #products .products,
  .featured-products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 992px) {
  #js-product-list .products,
  #products .products,
  .featured-products .products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1200px) {
  #js-product-list .products,
  #products .products,
  .featured-products .products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
  }
}
#js-product-list .products > *,
#products .products > *,
.featured-products .products > *,
.heko-tile {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
.heko-products .product-miniature .thumbnail-container {
  margin: 0;
  box-shadow: none;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: auto !important;
  min-height: 0 !important;
}
.heko-products .product-miniature .thumbnail-top,
.heko-products .product-miniature .product-thumbnail {
  margin: 0;
}
.heko-products .product-miniature .product-thumbnail {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f6f8;
}
.heko-products .product-miniature .product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.heko-products .product-miniature .product-description {
  padding: 6px 8px 8px;
  position: static !important;
  height: auto !important;
  background: #fff;
}
.heko-products .product-miniature .product-title,
.heko-products .product-miniature .product-title a {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 4px;
  text-align: left;
  min-height: 0;
}
.heko-products .product-miniature .product-price-and-shipping {
  margin: 0;
  justify-content: flex-start;
}
.heko-products .product-miniature .price,
.heko-products .heko-tile-from,
.heko-products .heko-tile-unit {
  font-size: 12px;
}
.heko-products .product-miniature .price {
  font-weight: 700;
  color: #132033;
}

.product-miniature .highlighted-informations,
.product-miniature .product-list-reviews,
.product-miniature .product-flag.new,
#product .product-flags .product-flag.new,
#block-reassurance,
.blockreassurance,
.social-sharing {
  display: none !important;
}
/* Katalog + „inne w kategorii”: bez Ulubione / Porównaj / Szybki podgląd na kafelkach */
#js-product-list .product-functional-buttons,
#js-product-list .product-functional-buttons-links,
#js-product-list .btn-iqitwishlist-add,
#js-product-list .js-iqitwishlist-add,
#js-product-list .btn-iqitcompare-add,
#js-product-list .js-iqitcompare-add,
#js-product-list .js-quick-view-iqit,
#js-product-list .js-quick-view,
#products .product-functional-buttons,
#products .product-functional-buttons-links,
#products .btn-iqitwishlist-add,
#products .js-iqitwishlist-add,
#products .btn-iqitcompare-add,
#products .js-iqitcompare-add,
#products .js-quick-view-iqit,
#products .js-quick-view,
.products .product-miniature .product-functional-buttons,
.products .product-miniature .js-quick-view-iqit,
.category-products .product-functional-buttons,
.category-products .product-functional-buttons-links,
.category-products .btn-iqitwishlist-add,
.category-products .js-iqitwishlist-add,
.category-products .btn-iqitcompare-add,
.category-products .js-iqitcompare-add,
.category-products .js-quick-view-iqit,
.category-products .js-quick-view {
  display: none !important;
}
.heko-tile-sku {
  display: none !important;
}
.product-miniature .product-price-and-shipping {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
}
/* Katalog Druki: SKU w tej samej linii co cena, po prawej */
#js-product-list .product-price-and-shipping > a {
  flex: 0 1 auto;
  min-width: 0;
}
#js-product-list .product-reference.dn-ref-moved {
  display: none !important;
}
#js-product-list .dn-listing-sku,
.dn-listing-sku,
.category-products .dn-related-sku {
  display: inline-block;
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #627078;
  line-height: 1.2;
  white-space: nowrap;
  text-align: right;
}
/* „4 innych”: miniatury ~160px, nie kafle ~350×450 jak listing/swiper */
.category-products .dn-related-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 8px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 680px;
}
@media (min-width: 576px) {
  .category-products .dn-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
.category-products .dn-related-grid > .dn-related-card {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  float: none !important;
  flex: none !important;
}
.category-products .dn-related-card .thumbnail-container {
  margin: 0;
  box-shadow: none;
  border: 1px solid #e8edf2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: auto !important;
  min-height: 0 !important;
}
.category-products .dn-related-card .product-thumbnail {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f6f8;
  margin: 0;
}
.category-products .dn-related-card .product-thumbnail img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.category-products .dn-related-card .product-description {
  padding: 6px 8px 8px;
  position: static !important;
  height: auto !important;
  background: #fff;
}
.category-products .dn-related-card .product-title,
.category-products .dn-related-card .product-title a {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 4px;
  text-align: left;
  min-height: 0;
}
.category-products .dn-related-card .product-price,
.category-products .dn-related-card .dn-related-price {
  font-size: 12px;
  font-weight: 700;
  color: #132033;
}
.category-products .dn-related-card .product-price-and-shipping {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
}
.category-products .dn-related-sku {
  font-size: 11px;
}
.heko-tile-from {
  font-size: 13px;
  font-weight: 700;
  color: #5b6570;
}
.product-miniature .price::before {
  content: "od ";
  font-size: 13px;
  font-weight: 700;
  color: #5b6570;
}
.heko-tile-unit {
  font-size: 13px;
  font-weight: 600;
  color: #5b6570;
}
.heko-collections {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  margin: 0 0 12px;
}
.heko-collections-label {
  font-size: 14px;
  font-weight: 600;
  color: #5b6570;
}
.heko-col-name,
a.heko-col-name {
  font-size: 14px;
  font-weight: 700;
  color: #0c1230 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  text-decoration-color: rgba(12, 18, 48, 0.35) !important;
}
.heko-sku-inline {
  font-size: 14px;
  font-weight: 700;
  color: #132033;
  letter-spacing: 0.02em;
}
.heko-collections .heko-sku-inline::before {
  content: "·";
  margin: 0 6px 0 2px;
  font-weight: 600;
  color: #9aa3ad;
}
.heko-collections > .heko-sku-inline:first-child::before {
  content: none;
  margin: 0;
}
a.heko-col-name:hover {
  color: #00877f !important;
  text-decoration-color: #00877f !important;
}
/* Stare chipy Motyw — ukryte, jeśli jeszcze w cache HTML */
#product .heko-col-chip {
  display: none !important;
}
/* Zdublowany tytuł w description_short */
#product .product-description.heko-dup-title,
#product [id^="product-description-short"].heko-dup-title {
  display: none !important;
}


/* Filtry: ukryj zbędne + wyczyść na desktopie */
#search_filters .facet.heko-facet-hidden,
#search_filters aside.facet.heko-facet-hidden,
#search_filters .facet[hidden],
#search_filters aside.facet[hidden] {
  display: none !important;
}
#search_filter_controls.heko-filter-controls-visible,
#search_filters_wrapper #search_filter_controls.hidden-md-up.heko-filter-controls-visible {
  display: flex !important;
  visibility: visible !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
}
#search_filter_controls .ok {
  display: none !important;
}
.heko-filters-clear,
a.heko-filters-clear,
button.heko-filters-clear,
.js-search-filters-clear-all.heko-filters-clear {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  margin: 0 0 10px;
  box-sizing: border-box;
}

/* Karta: Wróć do wzorów (z zapamiętanym listingiem / filtrami) */
.heko-product-back-wrap {
  margin: 0 0 12px;
}
.heko-product-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #2ea3ce;
  text-decoration: none;
}
.heko-product-back:hover {
  color: #1f7fa0;
  text-decoration: underline;
}

/* Karta: bez zoomu przy najechaniu (EasyZoom flyout miga) — powiększenie = klik → modal */
#product .easyzoom-flyout {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#product .easyzoom-product a.js-easyzoom-trigger {
  cursor: zoom-in;
}
#product .product-cover img,
#product .col-product-image img {
  cursor: zoom-in;
}

/* Stary Warehouse #product-modal = wielka biała pustka — wyłączony; używamy #dn-photo-lb */
#product-modal,
#product-modal.show,
#product-modal .modal-dialog,
#product-modal .modal-content,
.js-product-images-modal {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}
#product .product-cover,
#product .product-cover img,
#product #product-images-large,
#product .js-easyzoom-trigger {
  cursor: zoom-in !important;
}

/* Karta produktu — zdjęcie ~6–7/12, heko-buy ~400–420px, #main ~1100 (nie „mikrokompakt”) */
#product #main-product-wrapper {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
#product #main-product-wrapper > .row {
  --bs-gutter-x: 1.25rem;
  align-items: flex-start;
}
#product .col-product-image .product-cover img,
#product .col-product-image .js-qv-product-cover,
#product .col-product-image .swiper-slide-active img,
#product .col-product-image .swiper-slide img,
#product .col-product-image img.img-fluid {
  width: auto !important;
  max-width: 100% !important;
  max-height: min(62vh, 560px) !important;
  height: auto !important;
  object-fit: contain !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
#product .product_header_container .h1.page-title,
#product h1.h1.page-title {
  font-size: 1.45rem !important;
  line-height: 1.25 !important;
  margin-bottom: 0.4rem !important;
}
#product .heko-collections {
  margin-bottom: 8px !important;
  font-size: 14px;
}
#product .heko-fabrics-label {
  font-size: 15px !important;
  margin-bottom: 8px !important;
}
#product #col-product-info,
#product .col-product-info {
  position: sticky;
  top: 10px;
  align-self: flex-start;
}
#product #col-product-info .heko-fabrics,
#product #col-product-info .heko-fabric-list,
#product #col-product-info .heko-buy {
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
}
#product .heko-fabric-list {
  gap: 8px !important;
}
#product .heko-fabric-row {
  min-height: 52px !important;
  padding: 8px 8px 8px 10px !important;
  gap: 8px !important;
  border-radius: 10px;
}
#product .heko-swatch,
#product .heko-swatch img {
  width: 40px !important;
  height: 40px !important;
}
#product .heko-fabric-mark {
  width: 22px;
  height: 22px;
  font-size: 14px;
}
#product .heko-fabric-name {
  font-size: 14px !important;
}
#product .heko-opis-btn {
  height: 32px !important;
  font-size: 12px !important;
  padding: 0 10px !important;
}
#product .heko-buy {
  margin-top: 10px;
  padding: 14px 16px 16px;
  border: 1px solid #e1e6ec;
  border-radius: 10px;
  background: #fafbfc;
}
#product .heko-buy-price,
#product .heko-buy .current-price-value {
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: 800;
}
#product .heko-buy-fabric-tag {
  font-size: 15px;
}
#product .heko-buy-hint,
#product .heko-buy .heko-sku {
  font-size: 13px !important;
}
#product .heko-buy .product-quantity {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 8px;
}
#product .heko-buy .add-to-cart {
  white-space: nowrap;
}
#product .heko-qty-wrap {
  margin: 0;
  flex: 0 0 auto;
}
#product .heko-qty-label {
  font-size: 12px !important;
}
#product #quantity_wanted {
  max-width: 72px;
}
/* Niski ekran (14" 768p): lekko ciaśniej, bez mikro-kafelków */
@media (min-width: 992px) and (max-height: 860px) {
  #product .col-product-image .product-cover img,
  #product .col-product-image .js-qv-product-cover,
  #product .col-product-image .swiper-slide img,
  #product .col-product-image img.img-fluid {
    max-height: min(54vh, 480px) !important;
  }
  #product .product_header_container .h1.page-title,
  #product h1.h1.page-title {
    font-size: 1.3rem !important;
  }
  #product .heko-fabric-row {
    min-height: 48px !important;
  }
}
/* Mobile: zdjęcie może być wyższe w kolumnie */
@media (max-width: 991px) {
  #product .col-product-image .product-cover img,
  #product .col-product-image .js-qv-product-cover,
  #product .col-product-image .swiper-slide img,
  #product .col-product-image img.img-fluid {
    max-height: min(70vh, 520px) !important;
    width: 100% !important;
  }
  #product #col-product-info,
  #product .col-product-info {
    position: static;
  }
  #product #col-product-info .heko-fabrics,
  #product #col-product-info .heko-fabric-list,
  #product #col-product-info .heko-buy {
    max-width: 100%;
  }
}

/* Zakładki Opis / Szczegóły = karta wybranej tkaniny */
#product .heko-tab-opis,
#product .heko-tab-details {
  max-width: 720px;
  margin: 0 0 1.25rem;
}
#product .heko-tab-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7b8796;
}
#product .heko-tab-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #132033;
}
#product .heko-tab-short {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.45;
  color: #243040;
}
#product .heko-tab-feat,
#product .heko-tab-uses {
  margin: 0 0 14px;
  padding-left: 1.1rem;
}
#product .heko-tab-feat li,
#product .heko-tab-uses li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.4;
}
#product .heko-tab-desc p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #243040;
}
#product .heko-tab-note {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6b7785;
}
#product .heko-tab-params {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 14px;
}
#product .heko-tab-params th,
#product .heko-tab-params td {
  padding: 8px 10px;
  border-bottom: 1px solid #e8edf2;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
#product .heko-tab-params th {
  width: 42%;
  font-weight: 700;
  color: #132033;
  background: #f7f8fa;
}
#product .heko-tab-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #8a93a0;
}

/* Listing: filtry zawsze rozwinięte + stickują przy scrollu */
@media (min-width: 992px) {
  #left-column #search_filters_wrapper {
    position: sticky;
    top: 72px;
    z-index: 5;
    max-height: calc(100vh - 88px);
    overflow: auto;
  }
}
#search_filters .collapse,
#search_filters .facet .collapse,
#search_filters .js-product-filter-collapse {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
}
#search_filters .title[data-bs-toggle="collapse"],
#search_filters .facet-title,
#search_filters .navbar-toggler {
  cursor: default;
}
#search_filters .collapse:not(.show) {
  display: block !important;
}

/* Homepage A: nagłówki kart (Image + klasa dn-card-img w Elementorze) */
.dn-card-img img,
img.dn-card-img {
  max-height: 170px !important;
  width: 100% !important;
  height: 170px !important;
  object-fit: cover !important;
  display: block;
}

/* ========== Homepage: baner + karty w torze ~1160 (wyśrodkowane) ========== */
/*
  Baner był ~1920; karty 520px w kolumnach ~945 → dziura między kartami.
  margin:auto na pojedynczej sekcji w flexie Elementora pchało w prawo.
  Rozwiązanie: ograniczyć cały blok .elementor, nie poszczególne sekcje.
*/
#index,
#index #wrapper,
#index #content-wrapper {
  overflow-x: hidden !important;
}

/*
  Elementor lightbox — zasłania homepage.
  NIE ukrywać tu #iqitpopup: wcześniejszy selektor
  #iqitpopup + .iqitpopup-overlay (klasa!) zostawiał #iqitpopup-overlay (id)
  z klasą showed-iqitpopupo przy display:none na treści popupu → overlay
  przejmował mysz i odpalał blur.autocomplete (znikające wyniki).
  Cykl open/close iqitpopup wraca do CSS/JS modułu; sync w custom.js.
*/
body .dialog-widget,
body .dialog-lightbox-widget,
body .dialog-type-lightbox {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#index .elementor {
  max-width: 1160px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* IqitElementor „stretched” = width:100vw + ujemny margin — rozpycha karty.
   Wymuszamy zwykły boxed w torze .elementor. */
#index .elementor .elementor-section,
#index .elementor .elementor-top-section,
#index .elementor .elementor-inner-section {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}
#index .elementor .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

/* Baner 1920×500 — skaluj proporcjonalnie, BEZ crop (tekst w JPG) */
#index .elementor > .elementor-section:first-child {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
#index .elementor > .elementor-section:first-child .elementor-widget-image img,
#index .elementor img[src*="01b-do-domu"],
#index .elementor img[src*="do-domu-i-ogrodu"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

#index .elementor-widget-heading .elementor-heading-title {
  color: #132033 !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
}
#index .elementor-section:has(.elementor-heading-title):not(:has(.dn-home-card)) {
  padding-top: 12px !important;
  padding-bottom: 4px !important;
}

/* Karty: wypełnij kolumny, gap ~28px */
.elementor-section:has(.dn-home-card) {
  padding-top: 6px !important;
  padding-bottom: 12px !important;
}
.elementor-section:has(.dn-home-card) > .elementor-container {
  width: 100% !important;
  max-width: 100% !important;
  gap: 28px !important;
  column-gap: 28px !important;
}
.elementor-section:has(.dn-home-card) > .elementor-container > .elementor-column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.dn-home-card {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fdf8f2; /* krem strony — część tekstowa */
  border: 1px solid #2a9d8f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}
.dn-home-card > summary {
  list-style: none;
  cursor: pointer;
}
.dn-home-card > summary::-webkit-details-marker {
  display: none;
}
.dn-home-card__toggle {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

/* Pas zdjęcia u góry — bez zmiany wysokości/kadru */
.elementor img.dn-home-card__hero,
.elementor .dn-home-card__hero,
.dn-home-card img.dn-home-card__hero,
.dn-home-card__hero {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 120px !important;
  max-height: 120px !important;
  min-height: 120px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.dn-home-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #f7f1e8;
  color: #0c1230 !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}
.dn-home-card__chev {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-right: 3px solid #2a9d8f;
  border-bottom: 3px solid #2a9d8f;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: 0 0 auto;
  margin-right: 2px;
}
.dn-home-card[open] .dn-home-card__chev {
  transform: rotate(-135deg);
}

/* Tapicerka — na razie zablokowany rozwijacz + „dostępne wkrótce” */
.dn-home-card--soon > summary {
  cursor: default;
}
.dn-home-card--soon .dn-home-card__body {
  display: none !important;
}
.dn-home-card--soon .dn-home-card__chev {
  display: none !important;
}
.dn-home-card__title-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  min-width: 0;
}
.dn-home-card__soon {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 135, 127, 0.12);
  color: #00877f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

/* Strona z menu: /?tapicerka=wkrotce */
.dn-soon-page {
  max-width: 560px;
  margin: 48px auto 72px;
  padding: 0 16px;
  text-align: center;
}
.dn-soon-page__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00877f;
}
.dn-soon-page h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.15;
  color: #0c1230;
}
.dn-soon-page p {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.5;
  color: #5b6570;
}
.dn-soon-page__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-weight: 700;
}

.dn-home-card__body {
  padding: 12px 14px 14px;
  background: #fdf8f2;
}
.dn-home-card__sub {
  margin: 0 0 10px;
  color: #5a6570 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* Wiersze: większe próbki + czytelne nazwy, bez zbędnej wysokości */
.dn-home-card__row {
  display: flex !important;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  height: auto;
  box-sizing: border-box;
  padding: 7px 14px !important;
  margin: 0 0 8px !important;
  background: #ffffff !important;
  border: 1px solid #e4ddd3 !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  color: #0c1230 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: none;
}
.dn-home-card__row:hover {
  border-color: #2a9d8f !important;
}

/* Overlay: przejście home → listing Druki (zimny TTFB 5–8 s) */
.dn-nav-loading {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(19, 32, 51, 0.45) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.dn-nav-loading__box {
  background: #fff !important;
  color: #132033 !important;
  border-radius: 16px !important;
  padding: 28px 32px !important;
  min-width: 260px;
  max-width: 90vw;
  text-align: center !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18) !important;
}
.dn-nav-loading__box p {
  margin: 14px 0 4px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}
.dn-nav-loading__box span {
  display: block !important;
  font-size: 13px !important;
  color: #627078 !important;
}
.dn-nav-loading__spin {
  width: 36px !important;
  height: 36px !important;
  margin: 0 auto !important;
  border: 3px solid #e2e7ec !important;
  border-top-color: #1f7a6b !important;
  border-radius: 50% !important;
  animation: dn-nav-spin 0.7s linear infinite !important;
}
@keyframes dn-nav-spin {
  to {
    transform: rotate(360deg);
  }
}
body.dn-nav-loading-on {
  cursor: progress !important;
}

/* Szkic: wyraźniejsza próbka pozioma (obecne grafiki, bez podmiany) */
.elementor .dn-home-card__row img,
.dn-home-card__row img {
  width: 78px !important;
  height: 44px !important;
  max-width: 78px !important;
  max-height: 44px !important;
  border-radius: 7px !important;
  object-fit: cover !important;
  flex: 0 0 78px !important;
}
.dn-home-card__row span {
  flex: 1;
  min-width: 0;
  color: #0c1230 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}
.dn-home-card__row i {
  color: #2a9d8f !important;
  font-style: normal;
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}

.dn-home-card__all {
  display: inline-block;
  margin-top: 2px;
  color: #2a9d8f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.dn-home-card__all:hover {
  text-decoration: underline !important;
}

@media (max-width: 991px) {
  #index {
    overflow-x: hidden !important;
  }
  #index .elementor-widget-heading .elementor-heading-title {
    font-size: 26px !important;
  }
  .dn-home-card__title {
    font-size: 22px !important;
  }
  .dn-home-card__row {
    gap: 12px;
    padding: 8px 12px !important;
  }
  .dn-home-card__row,
  .dn-home-card__row span {
    font-size: 18px !important;
  }
  .elementor .dn-home-card__row img,
  .dn-home-card__row img {
    width: 68px !important;
    height: 40px !important;
    max-width: 68px !important;
    max-height: 40px !important;
    flex: 0 0 68px !important;
  }
  .dn-home-card__row i {
    font-size: 20px !important;
  }
  .dn-home-card {
    max-width: 100%;
    margin-bottom: 12px;
  }
  .elementor-section:has(.dn-home-card) > .elementor-container {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .elementor-section:has(.dn-home-card) > .elementor-container > .elementor-column {
    width: 100% !important;
    max-width: 100% !important;
  }
  .elementor img.dn-home-card__hero,
  .dn-home-card__hero {
    height: 100px !important;
    max-height: 100px !important;
    min-height: 100px !important;
  }
  #iqitmegamenu-horizontal .cbp-hrmenu > ul,
  #cbp-hrmenu > ul {
    flex-wrap: wrap !important;
  }
}

/* ========== LOOK polish v1 — mniej „pusto / Warehouse default” ========== */
body,
#wrapper,
#content-wrapper,
#main {
  background: #fdf9f3 !important;
}
#index #content-wrapper,
#index #main,
#index .page-home {
  background: #fdf9f3 !important;
}

/* Header: gęstszy rząd, ikony razem */
#header .header-top {
  padding-top: 14px !important;
  padding-bottom: 10px !important;
}
#desktop-header-container .row.align-items-center {
  min-height: 88px;
}
#header .col-header-right > * {
  margin-left: 0 !important;
}

/* Search — pełna szerokość środkowej kolumny */
#header .col-header-center #search_widget,
#header .col-header-center .search-widget {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Popularne wzory — nagłówek granat + czystsze kafle */
#index .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title,
#index h2:not(.dn-home-card__title) {
  color: #132033 !important;
}
#index .products .product-miniature,
.page-home .products .product-miniature {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ebe6de;
}
#index .products .product-title a,
.page-home .products .product-title a {
  color: #132033 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
#index .products .product-price-and-shipping,
.page-home .products .product-price-and-shipping {
  color: #2a9d8f !important;
  font-weight: 700 !important;
}
/* Sekcja Popularne — tytuł Elementora / warehouse */
#index .featured-products .products-section-title,
#index .products-section-title,
#index .elementor ~ .featured-products h2,
#index section .h2,
#index .page-heading {
  color: #132033 !important;
  font-weight: 800 !important;
}

/* ========== Stopka DrukNaMetry (#111E35) ==========
   Widoczne: Informacje + Kontakt. Social / Newsletter ukryte w stopce
   (zapis newslettera = karty hero → CMS, NIE stopka).
*/
#footer,
#footer .footer-container,
#footer #footer-container-main,
#footer #footer-copyrights {
  background: #111e35 !important;
  color: #fdf8f2 !important;
}

/* Tor ~1160 jak reszta strony */
#footer .footer-container > .container,
#footer #footer-container-main > .container,
#footer #footer-copyrights > .container {
  max-width: 1160px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

/* DN-FOOTER-HIDE-SOCIAL-NEWS — stopka bez social/newsletter */
#footer .block-social-links,
#footer .block-newsletter,
#footer .ps-emailsubscription-block,
#footer #footer-container-main .col-md-auto:has(.block-social-links),
#footer #footer-container-main .col-md-auto:has(.block-newsletter) {
  display: none !important;
}


/* Dwie kolumny wyśrodkowane, bez rozciągania tekstu na cały monitor */
#footer #footer-container-main > .container > .row {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 28px 56px;
}
#footer .block-iqitlinksmanager,
#footer .block-iqitcontactpage {
  flex: 1 1 280px !important;
  max-width: 420px !important;
  width: auto !important;
  float: none !important;
}

#footer,
#footer .block,
#footer .block-content,
#footer .contact-rich,
#footer .contact-rich .data,
#footer .contact-rich .part,
#footer .contact-rich .email,
#footer .contact-rich strong,
#footer .contact-rich b,
#footer .block-links li,
#footer li,
#footer p {
  color: #fdf8f2 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
}
#footer .block-links li::before,
#footer .block-links li::after,
#footer .block-links a::before,
#footer .block-links a::after {
  color: #d3dce1 !important;
}

#footer .block-title,
#footer h5.block-title,
#footer h5,
#footer .h5,
#footer .block-title span,
#footer .block-title a {
  color: #ffffff !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  border-bottom: 1px solid rgba(253, 248, 242, 0.22) !important;
  padding-bottom: 10px !important;
  margin-bottom: 14px !important;
}

#footer .contact-rich .icon,
#footer .contact-rich .fa,
#footer .contact-rich i {
  color: #d3dce1 !important;
}

#footer a,
#footer a:link,
#footer a:visited,
#footer .block-links a,
#footer .contact-rich a {
  color: #fdf8f2 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
#footer a:hover,
#footer a:hover .fa,
#footer a:hover i {
  color: #53c3b6 !important;
}
#footer a:focus-visible {
  outline: 2px solid #53c3b6 !important;
  outline-offset: 3px !important;
  border-radius: 2px;
}

/* Copyrights + ikony płatności — zostają */
#footer #footer-copyrights,
#footer #footer-copyrights a,
#footer #footer-copyrights p {
  color: #d3dce1 !important;
  font-size: 13px !important;
  background: #111e35 !important;
}
#footer #footer-copyrights {
  border-top: 1px solid rgba(253, 248, 242, 0.12) !important;
}
#footer #footer-copyrights .copyright-img img {
  max-height: 28px;
  width: auto;
  opacity: 0.95;
}

@media (max-width: 767px) {
  #footer #footer-container-main > .container > .row {
    flex-direction: column !important;
    gap: 8px;
  }
  #footer .block-iqitlinksmanager,
  #footer .block-iqitcontactpage,
  #footer .footer-container .row > [class*="col"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  #footer {
    overflow-x: hidden !important;
  }
}

/* ========== Przyciski: nie czarne — teal sklepu ========== */
body,
:root {
  --bs-primary: #0f766e;
  --bs-btn-bg: #0f766e;
  --bs-btn-border-color: #0f766e;
  --bs-btn-hover-bg: #0b5f59;
  --bs-btn-hover-border-color: #0b5f59;
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #0b5f59;
  --bs-btn-active-border-color: #0b5f59;
  --bs-btn-active-color: #fff;
}
body .btn-primary,
body a.btn-primary,
body button.btn-primary,
body input.btn-primary,
body .btn.btn-primary,
body .btn-primary.disabled,
body .btn-primary:disabled,
#wrapper .btn-primary,
#blockcart .btn-primary,
.blockcart .btn-primary,
.cart-preview .btn-primary,
body.page-contact input.btn.btn-primary[name="submitMessage"],
body .btn-primary.form-control-submit {
  --bs-btn-bg: #0f766e !important;
  --bs-btn-border-color: #0f766e !important;
  --bs-btn-hover-bg: #0b5f59 !important;
  --bs-btn-hover-border-color: #0b5f59 !important;
  --bs-btn-color: #fff !important;
  --bs-btn-hover-color: #fff !important;
  background: #0f766e !important;
  background-color: #0f766e !important;
  border-color: #0f766e !important;
  color: #fff !important;
  box-shadow: none !important;
}
body .btn-primary:hover,
body a.btn-primary:hover,
body button.btn-primary:hover,
body input.btn-primary:hover,
body .btn.btn-primary:hover,
body.page-contact input.btn.btn-primary[name="submitMessage"]:hover,
body .btn-primary.form-control-submit:hover {
  background: #0b5f59 !important;
  background-color: #0b5f59 !important;
  border-color: #0b5f59 !important;
  color: #fff !important;
}

/* Kontakt — jaśniejsze ikony / mniej czerni */
.page-contact .contact-rich .icon,
.page-contact .contact-rich i,
.page-contact .contact-rich .fa,
.page-contact .contact-rich .material-icons {
  color: #00877f !important;
}
.page-contact h1,
.page-contact .page-header h1,
.page-contact .contact-rich h4,
.page-contact .contact-form h3 {
  color: #132033 !important;
}
.page-contact .contact-rich,
.page-contact .contact-rich a {
  color: #3d4a5c !important;
}
.page-contact .contact-rich a:hover {
  color: #00877f !important;
}

/*
  Home: zostaw sekcję #1 (hero + karty + Popularne wzory).
  Ukryj śmieci Elementora #2–#8 (dawne 7–13) — display:none = bez dziur.
  W przyszłości można odpalić / przebudować w Elementorze.
*/
body#index .elementor-element-5w81tvp,   /* duplikat listy produktów */
body#index .elementor-element-d35wn4r,
body#index .elementor-element-0dc5jms,
body#index .elementor-element-1soji82,
body#index .elementor-element-hmnf35n,  /* testimonials / people demo */
body#index .elementor-element-eaidrmp,  /* pusta animowana dziura */
body#index .elementor-element-rpka77n {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  min-height: 0 !important;
}

/* Brak podglądu ilości „W magazynie 99 Przedmioty” */
#product .product-quantities,
.page-product .product-quantities,
#product-details .product-quantities {
  display: none !important;
}

/* Facet Dostępność — JS oznacza .heko-facet-hidden; w BO wyłącz też w module */
#search_filters .facet.heko-facet-hidden,
#search_filters aside.facet.heko-facet-hidden,
#search_filters .facet[hidden] {
  display: none !important;
}
/* Inspiracje = ph_simpleblog (galeria) — scoped, bez wpływu na header/menu/home */
body#module-ph_simpleblog-list #wrapper .container,
body#module-ph_simpleblog-category #wrapper .container,
body#module-ph_simpleblog-single #wrapper .container,
body#module-ph_simpleblog-list #content-wrapper,
body#module-ph_simpleblog-category #content-wrapper,
body#module-ph_simpleblog-single #content-wrapper {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
body#module-ph_simpleblog-list #content,
body#module-ph_simpleblog-category #content {
  padding-top: 12px;
  padding-bottom: 40px;
}
body#module-ph_simpleblog-list h1.page-title,
body#module-ph_simpleblog-list .page-header h1,
body#module-ph_simpleblog-list #main .page-title,
body#module-ph_simpleblog-category h1.page-title,
body#module-ph_simpleblog-category .page-header h1 {
  color: #0c1230 !important;
  font-size: clamp(28px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  margin: 8px 0 18px !important;
}
body#module-ph_simpleblog-list .breadcrumb li:last-child span,
body#module-ph_simpleblog-list .breadcrumb li:last-child a,
body#module-ph_simpleblog-list ol.breadcrumb li:last-child,
body#module-ph_simpleblog-category .breadcrumb li:last-child span,
body#module-ph_simpleblog-category .breadcrumb li:last-child a {
  /* JS podmienia „Blog” → „Inspiracje” */
}

.dn-insp-blog {
  max-width: 1160px;
  margin: 0 auto 40px;
  padding: 0 4px 8px;
}
.dn-insp-blog__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid #eadfce;
  border-radius: 14px;
  background: #fdf8f2;
  text-align: left;
}
.dn-insp-blog__intro-text {
  flex: 1 1 280px;
  min-width: 0;
}
.dn-insp-blog__kicker {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #0c1230;
}
.dn-insp-blog__lead {
  margin: 0 0 10px;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.5;
  color: #2a3340;
  font-weight: 500;
}
.dn-insp-blog__hint {
  margin: 0;
  max-width: 54ch;
  font-size: 14px;
  line-height: 1.5;
  color: #3d4a5c;
}
.dn-insp-blog__cta-wrap {
  margin: 0;
  flex: 0 0 auto;
}
.dn-insp-blog__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  background: #00877f !important;
  border-color: #00877f !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.dn-insp-blog__cta:hover {
  background: #00746d !important;
  border-color: #00746d !important;
  color: #fff !important;
}

.dn-insp-blog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.dn-insp-blog__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d7dde5;
  border-radius: 999px;
  background: #fff;
  color: #132033 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
}
.dn-insp-blog__chip:hover,
.dn-insp-blog__chip.is-active {
  border-color: #00877f;
  color: #00877f !important;
  background: rgba(0, 135, 127, 0.08);
}

.dn-insp-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  justify-content: start;
}
.dn-insp-blog--single .dn-insp-blog__grid {
  grid-template-columns: minmax(0, 240px);
}
@media (max-width: 991px) {
  .dn-insp-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 240px));
  }
  .dn-insp-blog--single .dn-insp-blog__grid {
    grid-template-columns: minmax(0, 220px);
  }
}
@media (max-width: 575px) {
  .dn-insp-blog__grid,
  .dn-insp-blog--single .dn-insp-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.dn-insp-blog__card {
  width: 100%;
  max-width: 240px;
  margin: 0;
}
.dn-insp-blog__card-inner {
  margin: 0;
  background: #fff;
  border: 1px solid #e6ebf0;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}
.dn-insp-blog__open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #efe8dc;
  cursor: zoom-in;
  text-align: left;
}
.dn-insp-blog__media {
  display: block;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #efe8dc;
  overflow: hidden;
  pointer-events: none;
}
.dn-insp-blog__media img,
.dn-insp-blog__media .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0 !important;
}
.dn-insp-blog__zoomhint {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(12, 18, 48, 0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.dn-insp-blog__open:hover .dn-insp-blog__zoomhint,
.dn-insp-blog__open:focus .dn-insp-blog__zoomhint {
  opacity: 1;
}
.dn-insp-blog__who {
  margin: 0;
  padding: 12px 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: #0c1230;
}
.dn-insp-blog__caption {
  margin: 0;
  padding: 8px 14px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #2a3340;
}
.dn-insp-blog__skus {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}
.dn-insp-blog__skus-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00877f;
}
.dn-insp-blog__sku {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid #e6ebf0;
  border-radius: 10px;
  background: #fdf8f2;
  color: #0c1230 !important;
  text-decoration: none !important;
}
.dn-insp-blog__sku:hover {
  border-color: #00877f;
}
.dn-insp-blog__sku img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 44px;
  background: #fff;
}
.dn-insp-blog__sku-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dn-insp-blog__sku-txt strong {
  font-size: 13px;
  font-weight: 800;
  color: #0c1230;
}
.dn-insp-blog__sku-txt em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.3;
  color: #3d4a5c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dn-insp-blog__empty {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 22px 18px;
  border: 1px dashed #cfd6de;
  border-radius: 12px;
  background: #fff;
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.45;
}
.dn-insp-blog__empty strong {
  color: #0c1230;
  font-size: 15px;
}

body#module-ph_simpleblog-list .post-miniature-footer,
body#module-ph_simpleblog-category .post-miniature-footer,
body#module-ph_simpleblog-list .simpleblog__listing__post__wrapper__content__bottomline,
body#module-ph_simpleblog-category .simpleblog__listing__post__wrapper__content__bottomline,
body#module-ph_simpleblog-list .simpleblog__listing__post__wrapper__content__headline,
body#module-ph_simpleblog-category .simpleblog__listing__post__wrapper__content__headline {
  display: none !important;
}

/* Lightbox: całe zdjęcie (object-fit: contain), bez przycinania */
body.dn-insp-lb-open {
  overflow: hidden;
}
.dn-insp-lb {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(10, 16, 28, 0.78);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.dn-insp-lb[hidden] {
  display: none !important;
}
.dn-insp-lb__dialog {
  position: relative;
  width: min(1100px, 100%);
  max-height: none;
  margin: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.dn-insp-lb__x {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0c1230;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.dn-insp-lb__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 0;
  max-height: min(92vh, 920px);
}
.dn-insp-lb__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: min(88vh, 720px);
  margin: 0 auto;
  padding: 16px;
  background: #1a1f2b;
  overflow: hidden;
}
.dn-insp-lb__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.dn-insp-lb__side {
  padding: 48px 18px 20px;
  overflow: auto;
  max-height: min(92vh, 920px);
  background: #fff;
}
.dn-insp-lb__caption {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  color: #0c1230;
  font-weight: 700;
}
.dn-insp-lb__h {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00877f;
}
.dn-insp-lb__fabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dn-insp-lb__fab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e6ebf0;
  border-radius: 10px;
  text-decoration: none !important;
  color: #0c1230 !important;
  background: #fdf8f2;
}
.dn-insp-lb__fab:hover {
  border-color: #00877f;
}
.dn-insp-lb__fab-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.dn-insp-lb__fab-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dn-insp-lb__fab-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dn-insp-lb__fab-sku {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0c1230;
}
.dn-insp-lb__fab-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #3d4a5c;
}
.dn-insp-lb__fab-go {
  margin-top: 4px;
  font-size: 12px;
  color: #00877f;
  font-weight: 700;
}
.dn-insp-lb__empty {
  margin: 0;
  font-size: 14px;
  color: #3d4a5c;
}
@media (max-width: 767px) {
  .dn-insp-lb {
    align-items: flex-start;
    padding: 8px;
  }
  .dn-insp-lb__grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .dn-insp-lb__photo {
    max-height: 55vh;
    min-height: 180px;
  }
  .dn-insp-lb__photo img {
    max-height: 52vh;
  }
  .dn-insp-lb__side {
    max-height: none;
    padding: 18px 16px 22px;
  }
  .dn-insp-blog__intro {
    padding: 16px;
  }
  .dn-insp-blog__cta {
    width: 100%;
  }
  .dn-insp-blog__cta-wrap {
    width: 100%;
  }
}

/* Strona pojedynczej inspiracji */
.dn-insp-single {
  max-width: 1160px;
  margin: 0 auto 40px;
}
.dn-insp-single__back {
  margin: 0 0 14px;
}
.dn-insp-single__back a {
  color: #00877f !important;
  font-weight: 600;
  text-decoration: none !important;
}
.dn-insp-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 899px) {
  .dn-insp-single__layout {
    grid-template-columns: 1fr;
  }
}
.dn-insp-single__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  background: #efe8dc;
}
.dn-insp-single__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.dn-insp-single__gitem img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.dn-insp-single__caption {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.45;
  color: #0c1230;
  font-weight: 600;
}
.dn-insp-single__content {
  margin-top: 18px;
  font-size: 14px;
  color: #3d4a5c;
}
.dn-insp-used__title {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #00877f;
}
.dn-insp-used__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dn-insp-used__item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #e6ebf0;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit !important;
  background: #fdf8f2;
}
.dn-insp-used__item:hover {
  border-color: #00877f;
}
.dn-insp-used__thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.dn-insp-used__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dn-insp-used__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dn-insp-used__name {
  font-weight: 700;
  font-size: 14px;
  color: #0c1230;
}
.dn-insp-used__sku {
  font-size: 12px;
  color: #3d4a5c;
}
.dn-insp-used__cta {
  font-size: 12px;
  font-weight: 700;
  color: #00877f;
}
.dn-insp-used--empty p {
  margin: 0;
  color: #3d4a5c;
  font-size: 14px;
}
body#module-ph_simpleblog-single .simpleblog__postInfo,
body#module-ph_simpleblog-single .simpleblog__share {
  display: none !important;
}

/* Koszyk / checkout: logo kurierów w jednej skali (InPost ≈ GLS) */
body#checkout .delivery-option img,
body#checkout .carrier-logo img,
body#checkout .shippings img,
body#checkout .delivery-options img,
#checkout .delivery-option img,
.delivery-option .carrier-logo img,
.delivery-option img.carrier-logo,
.delivery-option label img {
  max-height: 36px !important;
  max-width: 110px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/*
  Etykieta „brutto” / tax_long tylko zajmuje miejsce (ceny i tak z VAT).
  Zostawiamy info o dostawie (.delivery-information).
  Trwale w BO: Kraje → Polska → „Wyświetl etykietę podatku” = Nie
*/
.tax-shipping-delivery-label {
  font-size: 0 !important;
  line-height: 0 !important;
}
.tax-shipping-delivery-label .delivery-information,
.tax-shipping-delivery-label span.delivery-information {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.product-discount .regular-price + .tax-shipping-delivery-label,
#product .tax-shipping-delivery-label:not(:has(.delivery-information)) {
  display: none !important;
}

/* Newsletter −20% — modal (jak HekoPrint), nie strona CMS */
.dn-nl-gate-overlay[hidden] {
  display: none !important;
}
.dn-nl-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(12, 18, 48, 0.58);
}
.dn-nl-gate-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 40px 32px 28px;
  border: 1px solid #e8ded4;
  border-radius: 18px;
  background: #fdf8f2;
  color: #0c1230;
  box-shadow: 0 20px 60px rgba(12, 18, 48, 0.22);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  text-align: left;
  box-sizing: border-box;
}
.dn-nl-gate-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #0c1230;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.dn-nl-gate-close:hover {
  background: #f0e9e1;
}
.dn-nl-gate-title {
  margin: 0 28px 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.15;
}
.dn-nl-gate-lead {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
}
.dn-nl-gate-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
}
.dn-nl-gate-input {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #b8c9c5;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}
.dn-nl-gate-primary,
.dn-nl-gate-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}
.dn-nl-gate-primary {
  border: 1px solid #087f78;
  background: #087f78;
  color: #fff;
}
.dn-nl-gate-primary:hover {
  background: #066861;
  border-color: #066861;
}
.dn-nl-gate-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}
.dn-nl-gate-secondary {
  margin-top: 12px;
  border: 1px solid #b8c9c5;
  background: transparent;
  color: #0c1230;
}
.dn-nl-gate-code {
  margin: 8px 0 12px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #e8f2ee;
  color: #087f78;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.dn-nl-gate-ok {
  margin: 0;
  font-weight: 700;
}
.dn-nl-gate-hint {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}
.dn-nl-gate-note,
.dn-nl-gate-msg {
  margin: 14px 0 0;
  color: #59616d;
  font-size: 12px;
  line-height: 1.45;
}
.dn-nl-gate-msg {
  color: #b44e3d;
}

/*
  Home mobile — hero + zes3/zes4:
  1) Elementor Width ~280px na zes → biały pas (width:100%).
  2) Hero miał padding 11px na widget-container → węższy niż zes.
  3) Grafiki zes są „lewe” (puste tło z prawej) → crop object-position:left.
*/
@media (max-width: 991px) {
  body#index .elementor-element-gewn72p,
  body#index .elementor-element-exf0fkc,
  body#index .elementor-element-bnuw97j,
  body#index .elementor-element-y68kdun,
  body#index .elementor-element-1j0x998 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  body#index .elementor-element-bnuw97j .elementor-widget-container,
  body#index .elementor-element-y68kdun .elementor-widget-container,
  body#index .elementor-element-1j0x998 .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  body#index .elementor-element-bnuw97j .elementor-image,
  body#index .elementor-element-bnuw97j img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 !important;
  }
  body#index .elementor-element-1j0x998 a {
    display: block;
    width: 100% !important;
  }
  body#index .elementor-element-y68kdun .elementor-image,
  body#index .elementor-element-1j0x998 .elementor-image {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    margin: 0 !important;
  }
  body#index .elementor-element-y68kdun img,
  body#index .elementor-element-1j0x998 img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: left center;
    display: block;
  }
}

/* Galeria karty: miniatury ZAWSZE 72×72 (rolka nie rozjeżdża rzędu) — v20261125b */
#product #product-images-thumbs .swiper-slide,
#product #product-images-thumbs .thumb-container,
#product .product-images .thumb-container,
#product #product-images-thumbs .js-thumb,
#product #product-images-thumbs .thumb {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  flex: 0 0 72px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
#product #product-images-thumbs img,
#product .product-images .thumb-container img,
#product #product-images-thumbs .js-thumb img,
#product #product-images-thumbs .swiper-slide img {
  width: 72px !important;
  height: 72px !important;
  max-width: 72px !important;
  max-height: 72px !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

