html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
* {
  box-sizing: border-box;
}
body {
  overflow-x: hidden !important;
}
html {
  scroll-behavior: smooth;
}
p {
  margin-block-end: 0 !important;
}
strong{
  font-weight: 700 !important;
}
.elementor-icon-wrapper {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* strzałka nawigacyjna */
.to-top-arrow {
  position: fixed;
  bottom: 0px;
  right: 0px;
  display: flex;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 50;
  cursor: pointer !important;
}

/* Gdy widoczna */
.to-top-arrow.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* menu PC */
.sub-arrow {
  padding: 10px 6px !important;
  margin-left: 4px !important;
}
.menu-top-bar .sub-arrow {
  display: inline-block !important;
  width: 10px !important;
  height: 6px !important;
  background-image: url("/wp-content/uploads/2025/06/Polygon-8.svg") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin-left: 10px !important;
}

/* Ukrycie oryginalnego SVG */
.menu-top-bar .sub-arrow svg {
  display: none;
}
.menu-top-bar .sub-menu {
  min-width: 106px !important;
}
.menu-pc-container .e-n-menu-heading {
  display: flex !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.menu-pc-container .e-n-menu-heading li.e-n-menu-item {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #e25303 !important;
  height: 52px !important;
}
.menu-pc-container .e-n-menu-heading #home-icon {
  padding: 19px 0 !important;
}
.pc-sub-item {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
  cursor: pointer !important;
}
.pc-sub-item div p {
  cursor: pointer !important;
}
.pc-sub-item.active {
  max-height: unset;
  height: min-content;
  opacity: 1;
  pointer-events: auto;
}
.pc-menu-item.active {
  background-color: black !important;
  color: white !important;
  transition: background-color 0.3s ease !important;
}
.sub-inner-item {
  overflow: hidden !important;
}
.sub-inner-item:hover img {
  transition: 0.3s ease-out;
}
.sub-inner-item:hover img {
  transform: scale(1.1);
}

/* mobile menu */
.mobile-menu .trp-ls-language-name {
  display: none !important;
}
.mobile-menu .sub-arrow {
  padding: 0 0 0 4px !important;
  margin: 0 !important;
}
.mobile-menu .trp-flag-image {
  margin: 0 !important;
}
.mobile-menu .sub-menu {
  min-width: 40px !important;
}
.mobile-menu .has-submenu {
  padding: 0 0 0 10px !important;
}

/* header mobile */
body.no-scroll {
  overflow: hidden !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.mobile-dropdown {
  z-index: 98 !important;
  padding-top: 31px;
  position: fixed !important;
  inset: 0;
  width: 100vw !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: block;
  height: auto !important;
  min-height: 100vh !important;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overscroll-behavior: contain !important;
}

.mobile-dropdown.active-drop {
  transform: translateX(0);
}
.mobile-dropdown .e-con-inner {
  display: block;
  height: auto !important;
}
.mobile-dropdown * {
  max-width: 100% !important;
  box-sizing: border-box;
}
.hamburger-toggle-zs {
  width: 25px;
  height: 30px;
  position: relative;
  z-index: 100 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.hamburger-toggle-zs span {
  z-index: 100 !important;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}
.hamburger-toggle-zs.activeMobile span {
  display: block;
  width: 100%;
  height: 2px;
  transition: all 0.3s ease-in-out;
}
.hamburger-toggle-zs.activeMobile span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-toggle-zs.activeMobile span:nth-child(2) {
  opacity: 0;
}
.hamburger-toggle-zs.activeMobile span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.off-canvas-mobile .e-n-menu-heading {
  flex-direction: column !important;
}
.mobile-oferty-container .mobile-oferty-item .elementor-widget-container p {
  cursor: pointer !important;
}
.mobile-oferty {
  display: none !important;
  transition: all 0.3s ease !important;
}
.mobile-oferty.active {
  display: block !important;
}
/* rozwijane elementy mobile submenu (poza ofertą) */
.mobile-sub {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}
.mobile-sub.active {
  height: auto;
}
.mobile-item.rotate {
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
/* oferta submenu 1 kat */
.mobile-dropdown-inner {
  overflow: hidden !important;
}
.sub-oferta-poziom1 {
  position: fixed;
  top: 133px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 133px);
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 99999;
  overflow-y: auto;
  pointer-events: none;
}

.sub-oferta-poziom1.show {
  transform: translateX(0);
  pointer-events: auto;
}

/* mobile kontanty */
.kontakt-header-item {
  transform: translateX(calc(100% - 37px));
  transition: transform 0.25s ease;
}
.kontakt-header-item .kontent-header-inner {
  height: 37px !important;
  transition: height 0.25s ease-in-out;
}

.kontakt-open {
  transform: translateX(0) !important;
}
.kontakt-header-item.kontakt-open .kontent-header-inner {
  height: 100% !important;
}

/* home */
/* slider */
.home-main-slider .swiper-pagination-bullet {
  background-color: rgba(198, 200, 205) !important;
  width: 18px !important;
  border-radius: 0 !important;
}
.home-main-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: rgba(226, 83, 3) !important;
  opacity: 0.9 !important;
}
@media screen and (width < 1025px) {
  .home-main-slider .swiper-pagination-bullet {
    background-color: #fff !important;
    opacity: 1 !important;
  }
  .home-main-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1 !important;
  }
}
.home-sekcja4-item .home-sekcja4-img img {
  transition: 0.3s ease-in-out !important;
}
.home-sekcja4-item:hover .home-sekcja4-img img {
  transform: scale(1.1);
}
/* aktualności pętla */
.home-aktualnosci span.page-numbers.current,
.home-aktualnosci a.page-numbers {
  color: transparent !important;
  z-index: 5 !important;
}
.home-aktualnosci span.page-numbers.current span,
.home-aktualnosci a.page-numbers span {
  display: none !important;
}
/* progres bar home aktualności*/
.paginacja-progress-wrapper {
  position: relative;
  width: 100%;
  height: 3px;
}
.paginacja-progress-background {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: #0e0e10;
}
.paginacja-progress-active {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background-color: #e25303;
  transition: left 0.3s ease, width 0.3s ease;
}

/* do pobrania */
/* specyfikacja taleba */
.tabela-specyfikacje {
  width: 100%;
  border-collapse: collapse;
  border: none !important;
  border-image-width: 0 !important;
  border-spacing: 0 !important;
}
.kat-specyfikacje thead th {
  padding-bottom: 15px;
}
.kat-specyfikacje thead th {
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  font-family: Montserrat;
  color: #000;
  text-align: left;
}
.tabela-specyfikacje-wrapper {
  overflow-x: auto;
  border: none !important;
  border-image-width: 0 !important;
}
.tabela-specyfikacje {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: 1rem;
}
.tabela-specyfikacje tr,
.tabela-specyfikacje th,
.tabela-specyfikacje td {
  border: none !important;
}
.tabela-specyfikacje tbody td {
  padding: 6px 20px;
  vertical-align: middle;
  font-size: 16px;
  line-height: 16px;
  font-weight: 400;
  font-family: Roboto;
  color: #000;
  text-align: left;
}
.tabela-specyfikacje tbody td img {
  transition: 0.3s ease-in-out;
}
.tabela-specyfikacje tbody td a:hover img {
  transform: scale(1.1);
}
.tabela-specyfikacje .kom-spec,
.tabela-specyfikacje .kom-atest {
  padding: 6px 12px;
}
.wiersz-szary {
  background-color: #fff;
}
.wiersz-zwykly {
  background-color: #d9d9d9;
}
.kom-spec img,
.kom-atest img {
  width: 24px;
  height: auto;
  display: inline-block;
}
@media screen and (width < 1025px) {
  .kat-specyfikacje thead th {
    font-size: 14px;
    line-height: 36px;
  }
  .tabela-specyfikacje tbody td a:hover img {
    transform: scale(1);
  }
}
@media (max-width: 768px) {
  .ukryty-wiersz-mobile {
    display: none;
  }
  .przyciski-tabela {
    display: block;
    margin-top: 30px;
  }
}

@media (min-width: 1025px) {
  .ukryty-wiersz-mobile {
    display: table-row; /* wszystkie widoczne na desktopie */
  }
  .przyciski-tabela {
    display: none; /* brak przycisków */
  }
}
@media screen and (width < 400px) {
  .tabela-specyfikacje .kom-atest {
    padding: 4px;
  }
  .tabela-specyfikacje .kom-spec {
    padding: 4px 4px 4px 32px;
  }
  .kat-specyfikacje thead th {
    font-size: 12px;
    line-height: 30px;
  }
  .kat-specyfikacje thead th.kol-spec {
    padding: 0 10px 15px;
  }
}
/* do pobrania pozostałe */
.flex-kontener-do-pobrania {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: flex-start;
  margin-bottom: 53px;
}
.flex-kontener-do-pobrania .flex-item {
  width: 112px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.flex-kontener-do-pobrania .flex-item a{
  width: 100%;
  height: 161px !important;
  transition: 0.3s;
}
.flex-kontener-do-pobrania .flex-item > img {
  max-width: 100%;
  height: 100px !important;
  object-fit: contain !important;
}
.flex-kontener-do-pobrania .flex-item a:hover{
  transform: scale(1.04);
}
.flex-kontener-do-pobrania .flex-inside {
  flex-grow: 1 !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: space-between;
  align-items: center;
  background-color: #d9d9d9;
  min-height: 70px;
  width: 100%;
  padding: 4px !important;
}
.flex-kontener-do-pobrania .nazwa-wpisu {
  font-size: 15px;
  line-height: 15px;
  font-weight: 400;
  font-family: Roboto;
  color: #000;
  text-align: center;
}
.flex-kontener-do-pobrania .mini-ikona {
  width: 23px;
  height: auto;
}
.naglowek-kategorii {
  padding-bottom: 49px;
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  font-family: Montserrat;
  color: #000;
  text-align: left;
}
.przycisk-zobacz-mniej,
.przycisk-zobacz-wiecej {
  display: block;
  text-align: center;
  font-size: 14px;
  line-height: 27px;
  font-weight: 700;
  font-family: Roboto;
  color: #0e0e10;
  text-transform: uppercase;
  cursor: pointer;
}
.ukryty-wiersz {
  display: none;
}

@media (min-width: 769px) {
  .przycisk-zobacz-wiecej {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .flex-kontener-do-pobrania {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
  .flex-kontener-do-pobrania .flex-item {
    width: 100%;
  }
  .flex-kontener-do-pobrania.zwiniety .flex-item:nth-child(n + 7) {
    display: none;
  }
  .flex-kontener-do-pobrania .flex-item a:hover{
    transform: scale(1);
  }
}
/* do pobrania dokumenty stylowanie */
.do-pobrania-dokumenty .flex-kontener-do-pobrania {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-item {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: row;
  gap: 32px;
  justify-content: start;
  align-items: center;
  border-bottom: 1px solid #B0B0A9;
  padding-top: 12px;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-item a{
  width: 112px;
  height: 130px !important;
  display: flex;
  align-items: center !important;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-item img{
  object-fit: contain !important;
  width: 100% !important;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .mini-ikona{
  display: none !important;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-inside {
  flex-grow: 1 !important;
  display: block;
  background-color: transparent !important;
  min-height: 0px;
  height: min-content !important;
  padding: 8px !important;
}
.do-pobrania-dokumenty .flex-kontener-do-pobrania .nazwa-wpisu {
  text-transform: uppercase !important;
  text-align: start;
}
.do-pobrania-dokumenty.do-pobrania-katalogi .flex-kontener-do-pobrania .flex-item a{
  width: 250px;
  height: 130px !important;
}
.do-pobrania-dokumenty.do-pobrania-katalogi .flex-kontener-do-pobrania .flex-item {
  padding: 12px 0;
}
@media (max-width: 768px) {
  .do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-item {
    gap: 12px;
    padding-top: 12px;
  }
  .do-pobrania-dokumenty .flex-kontener-do-pobrania .flex-item a{
    width: 112px;
    height: 112px !important;
  }
}

/* o firmie */
.o-firmie-menu-inside .menu-item {
  border-bottom: 2px solid #d9d9d9;
  transition: 0s !important;
}
.o-firmie-menu-inside .menu-item a {
  transition: 0s !important;
}
.dropdown-ofirmie {
  position: relative;
  display: inline-block;
  z-index: 3 !important;
  width: 100%;
  border: 0.5px solid #a8a9ad;
}
.dropdown-toggle-ofirmie {
  width: 100% !important;
  background: none;
  border: none;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  font-family: Roboto;
  color: #6d6d6d;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 24px;
  text-align: start !important;
}

.dropdown-toggle-ofirmie .dropdown-icon-ofirmie {
  width: 19px;
  height: 19px;
  transition: transform 0.3s ease;
}

.dropdown-menu-ofirmie {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 0 0 1px #a8a9ad;
  padding: 0;
  list-style: none;
}
.dropdown-menu-ofirmie li a {
  display: block;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  font-family: Roboto;
  color: #6d6d6d;
  padding: 10px 24px;
  text-decoration: none;
  text-transform: uppercase;
}
.dropdown-menu-ofirmie li a:hover {
  background: #000;
  color: #fff;
}
.dropdown-ofirmie.open .dropdown-menu-ofirmie {
  display: block;
}
.dropdown-ofirmie.open .dropdown-icon-ofirmie {
  transform: rotate(180deg);
}

/* aktualności */
.petla-aktualnosci .page-numbers {
  padding: 0 9px 5px !important;
  border-bottom: 4px solid #b0b0a9;
}
.petla-aktualnosci .page-numbers:hover {
  border-color: #e25303;
}
.petla-aktualnosci .page-numbers.current {
  border-color: #e25303;
}
.petla-aktualnosci .aktualnosci-item-container {
  height: 100% !important;
}
.single-post-nawigacja .post-navigation__arrow-next span,
.single-post-nawigacja .post-navigation__arrow-prev span {
  display: flex !important;
  align-items: center !important;
  flex-direction: row;
}
.single-post-nawigacja .elementor-post-navigation__prev {
  border-bottom: 4px solid #b0b0a9;
  padding-bottom: 14px;
}
.single-post-nawigacja .elementor-post-navigation__next {
  border-bottom: 4px solid #e25303;
  padding-bottom: 14px;
}
.single-post-nawigacja
  .elementor-post-navigation__next:hover
  .post-navigation__next--label {
  color: #b0b0a9;
}
.single-post-nawigacja
  .elementor-post-navigation__next:hover
  .post-navigation__next--label {
  color: #e25303;
}

/* wzornik kolorów ral - akordeon */
.akordeon-item {
  margin-bottom: 22px;
}
.akordeon-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  cursor: pointer;
  background: #d5d8dc;
  border: 1px solid #d5d8dc;
}
.akordeon-item:hover .akordeon-header,
.akordeon-item.active .akordeon-header{
  background-color: #000;
}
.akordeon-title {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 20px;
  color: #000;
  font-weight: 500;
  padding-right: 10px !important;
  border-right: 1px solid #e25303 !important;
}
.akordeon-item:hover .akordeon-title,
.akordeon-item.active .akordeon-title{
  color: #FFF;
}
.akordeon-icon {
  width: 20px;
  height: 20px;
}
.akordeon-item.active .akordeon-icon {
  transform: rotate(180deg);
}

.kolory-flex {
  display: flex;
  flex-wrap: wrap;
  column-gap: 100px;
  row-gap: 32px;
  padding: 24px;
}
.kolor-item {
  flex: 1 1 calc(33.333% - 100px);
  display: flex;
  flex-direction: column;
}
.kolory-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.kolor-box {
  width: 100%;
  height: 80px;
  margin-bottom: 10px;
}
.kolor-info {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  line-height: 27px;
  color: #000;
}
.kolor-info .kolor-excerpt{
  font-weight: 500;
  text-align: right;
}
.akordeon-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s ease;
}

.akordeon-item.active .akordeon-content {
  max-height: 4000px; /* większa niż przewidywana wysokość, np. 1000px */
}
@media screen and (width < 1366px) {
  .kolory-flex {
    column-gap: 40px;
    row-gap: 32px;
  }
}

@media screen and (width < 768px) {
  .kolory-flex {
    flex-direction: column;
    padding: 24px 0;
  }
  .kolor-item {
    flex: 1 1 100%;
  }
}



/* kontakt */
.kontakt-akordeon div.e-n-accordion-item-title-text {
  padding-right: 10px !important;
  border-right: 1px solid #e25303 !important;
}

/* NEWSLETTER - stopka */
.news-container .news-mail .forminator-field {
  margin-right: 174px !important;
  z-index: 10 !important;
  position: relative !important;
}
.news-container .news-mail .forminator-error-message {
  position: absolute !important;
  left: 20px !important;
  font-family: Roboto !important;
}
.news-container .forminator-field input {
  width: 384px !important;
  padding: 20px !important;
  background-color: #fff !important;
}
.news-container .forminator-field input,
.news-container .forminator-field input::placeholder {
  font-size: 16px !important;
  line-height: 23px !important;
  font-family: Roboto !important;
  font-weight: 500 !important;
  color: #c5c0bc !important;
}
.news-container .forminator-row-last {
  transform: translateY(-146px);
}
.news-container .forminator-row-last .forminator-field {
  display: flex !important;
  justify-content: end !important;
  flex-direction: row !important;
}
.news-container .forminator-row-last .forminator-field .forminator-button {
  padding: 20px 59px !important;
  font-size: 16px !important;
  line-height: 23px !important;
  font-weight: 600 !important;
  font-family: Roboto !important;
  text-transform: uppercase !important;
  background-color: #e25303;
  color: #fff;
}
.news-container
  .forminator-row-last
  .forminator-field
  .forminator-button:hover {
  box-shadow: none !important;
  background-color: black !important;
}
.news-container .forminator-custom-form .forminator-row:nth-child(2) {
  margin-bottom: 30px !important;
}
/* checkbox */
.news-container .forminator-custom-form .forminator-row:nth-child(3) {
  justify-content: start !important;
}
.news-container .forminator-row .news-zgoda .forminator-field {
  display: grid !important;
  grid-template-columns: 20px 1fr !important;
  gap: 10px !important;
  position: relative !important;
  height: 23px !important;
}
.news-container
  .forminator-row
  .news-zgoda
  .forminator-field
  .forminator-description {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-weight: 400 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  color: #000 !important;
  font-family: Montserrat !important;
}
.news-container
  .forminator-row
  .news-zgoda
  .forminator-field
  .forminator-checkbox {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin-top: 0px !important;
}
.news-container
  .forminator-row
  .news-zgoda
  .forminator-field.forminator-has_error
  .forminator-error-message {
  position: absolute !important;
  margin: 0 !important;
  top: 110%;
  left: 20px;
  font-family: Roboto !important;
}
.news-container .news-zgoda {
  margin-top: 0px !important;
}
.news-container .news-zgoda .forminator-checkbox-box {
  margin-top: 0px !important;
  background-color: #fff !important;
  border: 1px solid #e25303 !important;
  border-radius: 0 !important;
}
.news-container .news-zgoda .forminator-checkbox-label {
  font-weight: 400 !important;
}
.forminator-success {
  max-width: 557px !important;
  padding: 20px !important;
}
.forminator-success p {
  font-family: Roboto !important;
}
.news-container .forminator-custom-form {
  margin: 0px !important;
}
@media screen and (width < 1025px) {
  .news-container {
    width: 450px !important;
  }
  .news-container .news-mail .forminator-field {
    margin-right: 126px !important;
    z-index: 10 !important;
    position: relative !important;
  }
  .news-container .forminator-field input {
    width: 324px !important;
  }
  .news-container .forminator-row-last {
    transform: translateY(-136px);
  }
  .news-container .forminator-row-last .forminator-field .forminator-button {
    padding: 20px 36px !important;
  }
  .news-container
    .forminator-row
    .news-zgoda
    .forminator-field.forminator-has_error
    .forminator-error-message {
    top: 180%;
  }
}
@media screen and (width < 783px) {
  .news-container .news-mail .forminator-field {
    margin-right: 100px !important;
    z-index: 10 !important;
    position: relative !important;
  }
  .news-container .news-mail .forminator-error-message {
    position: absolute !important;
    left: 20px !important;
  }
  .news-container .forminator-field input {
    width: 100% !important;
    max-width: 350px !important;
    padding: 13px 20px !important;
  }
  .news-container .forminator-row-last {
    transform: translateY(-130px);
  }
  .news-container .forminator-row-last .forminator-field {
    display: flex !important;
    justify-content: end !important;
    flex-direction: row !important;
  }
  .news-container .forminator-row-last .forminator-field .forminator-button {
    padding: 13px 0px !important;
    width: 100px !important;
    margin: 0 !important;
  }
  .news-container .forminator-custom-form .forminator-row:nth-child(2) {
    margin-bottom: 38px !important;
  }
  .news-container .forminator-custom-form .forminator-row:nth-child(3) {
    display: flex !important;
    justify-content: center !important;
    flex-direction: row !important;
  }
}
@media screen and (width < 521px) {
  .news-container {
    width: 100% !important;
  }
  .news-container .news-mail .forminator-field {
    margin-right: 130px !important;
  }
  .news-container .forminator-field input {
    width: 100% !important;
  }
  .news-container .forminator-row-last {
    transform: translateY(-130px);
  }
  .news-container .forminator-row-last .forminator-field .forminator-button {
    width: 130px !important;
  }
}
@media screen and (width < 400px) {
  .news-container {
    width: 100% !important;
  }
  .news-container .news-mail .forminator-field {
    margin-right: 100px !important;
  }
  .news-container .forminator-field input {
    width: 100% !important;
  }
  .news-container .forminator-row-last {
    transform: translateY(-130px);
  }
  .news-container .forminator-row-last .forminator-field .forminator-button {
    width: 100px !important;
  }
}

/* signle produkt */
.single-podobne-item {
  max-width: 360px !important;
  margin: 0 !important;
}
.rey-breadcrumbs {
  margin: 0 !important;
  row-gap: 0 !important;
}
.rey-breadcrumbs div,
.rey-breadcrumbs a {
  text-transform: none !important;
  line-height: 26px;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  height: 436px !important;
}
html .woocommerce-product-gallery img.__img.--gallery-img.no-lazy {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
html
  .woocommerce-product-gallery--horizontal.--main-img-height
  .woocommerce-product-gallery__image
  a
  img {
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
}
.woocommerce-product-gallery .__thumbItem::before {
  border-radius: 0 !important;
}
.woocommerce-product-gallery .__thumbItem.--active::before {
  box-shadow: inset 0 0 0 var(--nav-item-bs, 1px) #e25303 !important;
  opacity: 1 !important;
  border-radius: 0 !important;
}
.produkt-single-details .rey-wishlistBtn-wrapper {
  display: none !important;
}
.produkt-single-details .e-n-tabs-heading .e-n-tab-title-text {
  padding-right: 10px !important;
  border-right: 1px solid #e25303 !important;
}
.produkt-single-details
  .elementor-widget-woocommerce-product-additional-information
  h2 {
  display: none !important;
}
.produkt-single-details .woocommerce-product-attributes.shop_attributes tr {
  border-bottom: 1px solid #6d6d6d7c;
}
.produkt-single-details .woocommerce-product-attributes.shop_attributes th {
  font-size: 16px !important;
  line-height: 27px !important;
  font-family: "Roboto Condensed" !important;
  font-weight: 400 !important;
  padding: 12px 0 !important;
}
.produkt-single-details .woocommerce-product-attributes.shop_attributes td p {
  font-size: 16px !important;
  line-height: 27px !important;
  font-family: "Roboto Condensed" !important;
  font-weight: 500 !important;
  padding: 12px 0 !important;
}

.swiper-pagination-bullet {
  background-color: #b0b0a9 !important;
  width: 18px !important;
  border-radius: 0 !important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: rgba(226, 83, 3) !important;
  opacity: 1 !important;
}
@media screen and (width < 1025px) {
  .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    height: 383px !important;
  }
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
    opacity: 1 !important;
  }
  .single-podobne-item {
    max-width: 100% !important;
    margin: 0 !important;
  }
  .woocommerce-product-gallery .dotsNav.--nav-circle {
    bottom: -46px !important;
  }
  .woocommerce-product-gallery .dotsNav.--nav-circle .__nav {
    background-color: transparent !important;
    backdrop-filter: none !important;
  }
  .woocommerce-product-gallery .dotsNav.--nav-circle .__nav .__navItem {
    border-radius: 0 !important;
    width: 13px !important;
    height: 4px !important;
    background-color: #b0b0a9 !important;
  }
  .woocommerce-product-gallery
    .dotsNav.--nav-circle
    .__nav
    .__navItem.--active {
    background-color: #e25303 !important;
    transform: scale(1) !important;
  }
}

/* Kalkulator ceny za m² */
.price-per-m2-container {
  margin-top: 5px;
  font-size: 0.9em;
  color: #666;
  font-weight: normal;
}

.price-per-m2-amount {
  font-weight: 600;
  color: #e25303;
}

/* Dopasowanie do istniejących stylów cen WooCommerce */
.woocommerce .price-per-m2-container,
.woocommerce-page .price-per-m2-container {
  display: block;
  margin-top: 3px;
}

/* Responsywność */
@media (max-width: 768px) {
  .price-per-m2-container {
    font-size: 0.85em;
    margin-top: 3px;
  }
}

.woocommerce-Price-amount {
  font-weight: 700;
}

.price-with-tax-container {
  margin-top: 10px;
}

.ostatni-produkt-item .price-with-tax-container {
  margin-top: 0px;
}

.price-with-tax-container .woocommerce-Price-amount {
  font-weight: 400;
}

.price-per-m2-amount {
  font-size: 18px;
}

.rey-swatchList .rey-swatchList-item--regular.--selected,
.rey-swatchList .rey-swatchList-item--regular.--selected:hover {
  box-shadow: 0 0 0 var(--item-border-size-selected) #e25303;
}

/* Dane produktu shortcode */
.dane-produktu-kontener {
  width: 100%;
  margin: 20px 0;
}

.dane-produktu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 10px 15px;
  min-height: 40px;
}

/* Parzyste wiersze (2, 4, 6...) */
.dane-produktu-item:nth-child(even) {
  background-color: #d9d9d9;
}

/* Nieparzyste wiersze (1, 3, 5...) */
.dane-produktu-item:nth-child(odd) {
  background-color: #f9f9f9;
}

.dane-produktu-tytul {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0px;
  color: #000;
  width: 50%;
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.dane-produktu-wartosc {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 19px;
  letter-spacing: 0px;
  color: #000;
  width: 50%;
  vertical-align: middle;
  display: flex;
  align-items: center;
}

/* Kategorie hierarchiczne shortcode */
.kategorie-hierarchiczne-kontener {
  width: 100%;
  margin: 20px 0;
}

.kategorie-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kategoria-item {
  margin: 0;
  padding: 0;
}

.kategoria-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
}

/* Główne kategorie */
.kategoria-glowna .kategoria-link {
  color: #000;
  text-align: left;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 27px;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  flex: 1;
}

/* Podkategorie */
.kategoria-podrzedna .kategoria-link {
  color: #6d6d6d;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  text-decoration: none;
  display: block;
  flex: 1;
  padding-left: 0; /* bez wcięcia - wszystkie wyrównane */
}

/* Aktywna kategoria - tylko ta gdzie dokładnie jesteśmy */
.kategoria-aktywna .kategoria-link {
  color: #e25303 !important;
}

/* Kategoria w hierarchii - główna kategoria gdy jesteśmy w podkategorii */
.kategoria-w-hierarchii .kategoria-link {
  color: #000; /* pozostaje czarna */
}

/* Hover efekty */
.kategoria-link:hover {
  color: #e25303;
}

/* Ikona rozwijania */
.kategoria-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.kategoria-toggle:hover {
  opacity: 0.8;
}

/* Obrót ikony gdy rozwinięte */
.kategoria-item.rozwiniety .kategoria-toggle {
  transform: rotate(180deg);
}

/* Dzieci kategorii */
.kategorie-dzieci {
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Wszystkie kategorie wyrównane - bez wcięć */
.kategorie-poziom-1 .kategoria-podrzedna .kategoria-link,
.kategorie-poziom-2 .kategoria-podrzedna .kategoria-link,
.kategorie-poziom-3 .kategoria-podrzedna .kategoria-link,
.kategorie-poziom-4 .kategoria-podrzedna .kategoria-link {
  padding-left: 0;
}

/* Responsywność */
@media screen and (max-width: 768px) {
  .kategoria-header {
    padding: 3px 0;
  }

  .kategoria-glowna .kategoria-link,
  .kategoria-podrzedna .kategoria-link {
    font-size: 13px;
    line-height: 24px;
  }

  .kategorie-poziom-1 .kategoria-podrzedna .kategoria-link,
  .kategorie-poziom-2 .kategoria-podrzedna .kategoria-link,
  .kategorie-poziom-3 .kategoria-podrzedna .kategoria-link,
  .kategorie-poziom-4 .kategoria-podrzedna .kategoria-link {
    padding-left: 0; /* bez wcięć na mobile */
  }
}

.single-product .product .woocommerce-variation {
  display: none;
}

.sako-price-per-m2 .sako-price-label {
  margin-right: 5px;
  margin-left: 0px;
}

.sako-price-per-m2 .sako-price-label:last-of-type {
  margin-right: 0px;
  margin-left: 5px;
}

.sako-price-netto .sako-price-amount,
.sako-price-netto .sako-price-label {
  color: #e25303;
  font-family: Montserrat;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px; /* 63.333% */
}

.sako-price-per-m2 .sako-price-label {
  color: #e25303;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px; /* 63.333% */
}

.sako-price-per-m2 .sako-price-amount {
  color: #e25303;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 19px; /* 63.333% */
}

/* Style dla cen w archiwach i gridach produktowych */
.woocommerce ul.products li.product .price-with-tax-container,
.woocommerce-page ul.products li.product .price-with-tax-container {
  margin-top: 5px;
  font-size: 0.9em;
}

.woocommerce ul.products li.product .price-per-m2-container,
.woocommerce-page ul.products li.product .price-per-m2-container {
  margin-top: 3px;
  font-size: 0.85em;
}

/* Cena za m² w archiwach - mniejsza i subtelniejsza */
.woocommerce ul.products li.product .price-per-m2-label,
.woocommerce-page ul.products li.product .price-per-m2-label {
  color: #666;
  font-weight: normal;
}

.woocommerce ul.products li.product .price-per-m2-amount,
.woocommerce-page ul.products li.product .price-per-m2-amount {
  color: #e25303;
  font-weight: 600;
  font-size: 14px;
}

/* Responsywność dla archiwów */
@media (max-width: 768px) {
  .woocommerce ul.products li.product .price-with-tax-container,
  .woocommerce-page ul.products li.product .price-with-tax-container {
    font-size: 0.8em;
    margin-top: 3px;
  }

  .woocommerce ul.products li.product .price-per-m2-container,
  .woocommerce-page ul.products li.product .price-per-m2-container {
    font-size: 0.75em;
    margin-top: 2px;
  }

  .woocommerce ul.products li.product .price-per-m2-amount,
  .woocommerce-page ul.products li.product .price-per-m2-amount {
    font-size: 12px;
  }
}

.archive .price {
  flex-direction: column;
}

.archive .price-with-tax-container {
  font-size: 16px !important;
  color: #000;
  font-weight: 400 !important;
}

.archive .woocommerce-Price-currencySymbol {
  text-transform: lowercase;
}

/* Ukryj zakres cen w Elementor gridach - pokaż tylko pierwszą cenę */
.elementor-loop-container .price .woocommerce-Price-amount:nth-of-type(2),
.elementor-loop-container .price .woocommerce-Price-amount:nth-of-type(2) ~ *,
.elementor-grid .price .woocommerce-Price-amount:nth-of-type(2),
.elementor-grid .price .woocommerce-Price-amount:nth-of-type(2) ~ * {
  display: none !important;
}

/* Ukryj " - " między cenami w Elementor */
.elementor-loop-container
  .price
  .woocommerce-Price-amount:first-of-type
  + *:not(.price-per-m2-container):not(.price-with-tax-container),
.elementor-grid
  .price
  .woocommerce-Price-amount:first-of-type
  + *:not(.price-per-m2-container):not(.price-with-tax-container) {
  display: none !important;
}

.archive .price-per-m2-container .price-per-m2-label {
  font-size: 14px;
  text-transform: lowercase;
  color: #e25303 !important;
}

.archive .price-per-m2-container {
  flex-direction: row;
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.elementor-loop-container .price-per-m2-container {
  flex-direction: row;
  justify-content: center;
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.elementor-loop-container .price-per-m2-container .price-per-m2-label {
  font-size: 14px;
  text-transform: lowercase;
  color: #e25303 !important;
}

.elementor-loop-container .price {
  display: flex;
  text-align: center;
  width: 100%;
  justify-content: center;
}

@media (max-width: 767px) {
  .--dnone-sm {
    display: block !important;
  }
}

/* ===== MENU KATEGORII Z KOLUMNAMI ===== */
.menu-kategorii-kolumny {
  display: flex;
  width: 100%;
  max-width: 100%;
  background: white;
  box-sizing: border-box;
}

.kategorie-glowne-lista {
  display: flex;
  flex-direction: column;
  width: 250px;
  min-width: 250px;
  background-color: #f8f9fa;
  border-right: 1px solid #ddd;
}

.kategoria-glowna-item {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.kategoria-glowna-item:last-child {
  border-bottom: none;
}

.kategoria-glowna-item:hover,
.kategoria-glowna-item.active {
  background-color: #e25303;
}

.kategoria-glowna-item:hover .kategoria-glowna-link,
.kategoria-glowna-item.active .kategoria-glowna-link {
  color: white;
}

.kategoria-row-wrapper {
  display: block;
}

/* Ukryj strzałki na desktop */
@media screen and (min-width: 769px) {
  .mobile-category-arrow {
    display: none !important;
  }
}

.kategoria-glowna-link {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.kategorie-rozwijane-container {
  flex: 1;
  position: relative;
}

.kategoria-dropdown {
  display: none;
  padding: 30px;
  min-height: 400px;
}

.kategoria-dropdown-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
}

.kolumna {
  flex: 1;
  min-width: 200px;
  vertical-align: top;
}

.kolumna h4 {
  margin: 0 0 15px 0;
  padding: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #e25303;
  border-bottom: 2px solid #e25303;
}

/* Kolumna podkategorie */
.podkategorie-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}

.podkategorie-lista li {
  margin-bottom: 8px;
}

.podkategoria-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.podkategoria-link:hover {
  background-color: #f8f8f8;
  color: #e25303;
  transform: translateX(5px);
}

.podkategoria-link .count {
  font-size: 12px;
  color: #888;
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.podkategoria-link:hover .count {
  background-color: #e25303;
  color: white;
}

/* Kolumna ostatni produkt */
.ostatni-produkt-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.produkt-obraz {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.produkt-obraz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.produkt-obraz:hover img {
  transform: scale(1.1);
}

.produkt-info {
  flex: 1;
}

.produkt-link {
  text-decoration: none;
  color: #333;
}

.produkt-link h5 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.produkt-link:hover h5 {
  color: #e25303;
}

.produkt-cena {
  font-size: 16px;
  font-weight: 600;
  color: #e25303;
}

/* Kolumna zdjęcie kategorii */
.kategoria-obraz-kolumna {
  max-width: 200px;
}

.kategoria-obraz {
  width: 100%;
  height: 150px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.kategoria-obraz img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kategoria-obraz:hover img {
  transform: scale(1.05);
}

/* Responsive design */
@media screen and (max-width: 1200px) {
  .kategoria-dropdown-row {
    gap: 25px;
  }
  
  .kategoria-dropdown {
    padding: 20px;
  }
  
  .kolumna {
    min-width: 150px;
  }
}

/* Mobile strzałka rozwijania */
.mobile-category-arrow {
  display: none;
  margin-left: auto;
  cursor: pointer !important;
  transition: transform 0.3s ease;
	padding: 20px 10px;
  z-index: 999 !important;
  position: relative;

  pointer-events: auto !important;
}

.mobile-category-arrow * {
  pointer-events: none !important; /* SVG nie blokuje kliknięć */
}

.mobile-category-arrow.expanded {
  transform: rotate(90deg);
}

.mobile-subcategories {
  display: none;
  width: 100%;
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.mobile-subcategories.expanded {
  display: block !important;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}



.mobile-subcategory-item {
  padding: 12px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-subcategory-item:last-child {
  border-bottom: none;
}

.mobile-subcategory-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #555;
  font-size: 14px;
  width: 100%;
}

.mobile-subcategory-link:hover {
  color: #e25303;
}

.mobile-subcategory-link .count {
  color: #888;
  font-size: 12px;
}

@media screen and (max-width: 1024px) {
  .menu-kategorii-kolumny {
    flex-direction: column;
    display: block;
    width: 100% !important;
  }
  
  .kategorie-glowne-lista {
    width: 100%;
    flex-direction: column;
    border-right: none;
    background-color: #fff;
  }
  
  .kategoria-glowna-item {
    border-bottom: 1px solid #ddd;
    border-right: none;
    width: 100%;
  }
  
  /* WYŁĄCZ HOVER NA MOBILE */
  .kategoria-glowna-item:hover {
    background-color: transparent !important;
  }
  
  .kategoria-glowna-item.active {
    background-color: transparent !important;
  }
  
  .kategoria-glowna-item:last-child {
    border-bottom: 1px solid #ddd;
  }
  
  .kategoria-row-wrapper {
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .kategoria-glowna-link {
    text-align: left;
    white-space: nowrap;
    color: #333 !important;
    flex: 1;
    text-decoration: none;
    max-width: 280px !important;
  }
  
  .kategoria-glowna-link:hover {
    color: #333 !important;
    background-color: transparent !important;
  }
  
  .mobile-category-arrow {
    display: flex !important;
  }
  
  .kategorie-rozwijane-container {
    display: none;
  }
  
  /* Ukryj kolumnę z produktem i zdjęciem na mobile */
  .ostatni-produkt-kolumna,
  .kategoria-obraz-kolumna {
    display: none !important;
  }
  
  .kolumna {
    min-width: auto;
  }
  
  /* Pełna szerokość dla wszystkich elementów */
  .kategoria-glowna-item,
  .mobile-subcategories,
  .mobile-subcategory-item {
    width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Pełna szerokość dla wszystkich elementów */
  .kategoria-glowna-item,
  .mobile-subcategories,
  .mobile-subcategory-item {
    width: 100% !important;
    box-sizing: border-box;
  }
}


/* ================================================================================================
   ELEMENTOR CAROUSEL CATEGORY FILTER - CSS
   ================================================================================================ */

.elementor-carousel-filter {
  margin-bottom: 30px;
  position: relative;
}

.elementor-carousel-filter .filter-loading {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
}

/* Przyciski filtra */
.carousel-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: left;
  margin-bottom: 20px;
}

.category-filter-btn {
  background-color: #f5f5f5;
  border: 2px solid #e0e0e0;
  padding: 12px 24px;
  border-radius: 25px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  outline: none;
  font-weight: 400;
}

.category-filter-btn:hover {
  font-weight: 700;
color: var(--e-global-color-accent);
  
}

.category-filter-btn.active {
  font-weight: 700;
  color: var(--e-global-color-accent);
  
}

.category-filter-btn.active:hover {
 font-weight: 700;
  color: var(--e-global-color-accent);
  transform: translateY(-1px);
}

/* Dropdown filtra */
.carousel-category-dropdown {
  width: 100%;
  max-width: 300px;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  margin: 0 auto;
  display: block;
}

.carousel-category-dropdown:focus {
  border-color: #007cba;
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Loader karuzeli */
.carousel-filter-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-filter-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.carousel-filter-loader p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  .carousel-category-buttons {
    justify-content: flex-start;
	  align-items:start !important;
    gap: 8px;
  }
  
  .category-filter-btn {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 20px;
  }
  
  .carousel-category-dropdown {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .carousel-category-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .category-filter-btn {
    text-align: center;
    border-radius: 8px;
  }
}

/* Integracja z Rey theme */
.rey-theme .elementor-carousel-filter {
  font-family: inherit;
}

.rey-theme .category-filter-btn {
  font-family: inherit;
}

.rey-theme .carousel-category-dropdown {
  font-family: inherit;
}

/* Animacje przejść */
.elementor-carousel-filter .filter-container {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.elementor-carousel-filter .filter-container[style*="block"] {
  opacity: 1;
  transform: translateY(0);
}

/* Dostosowania dla różnych layoutów Elementor */
.elementor-widget-wrap .elementor-carousel-filter {
  width: 100%;
}

.elementor-carousel-filter[data-layout="dropdown"] .filter-container {
  text-align: center;
}

.elementor-carousel-filter[data-layout="buttons"] .filter-container {
  text-align: center;
}

/* Fallback styling dla produktów gdy karuzela się nie załaduje */
.swiper-slide {
  display: block !important;
  margin-bottom: 20px;
}

.swiper-slide .product {
  border: 1px solid #e0e0e0;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
}

.swiper-slide .product-image img {
  max-width: 100%;
  height: auto;
}

.swiper-slide .woocommerce-loop-product__title {
  font-size: 16px;
  margin: 10px 0;
}

.swiper-slide .price {
  font-weight: bold;
  color: #007cba;
}

.no-products-found {
  text-align: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

/* Debug info */
.carousel-filter-debug {
  background: #f0f0f0;
  padding: 10px;
  margin: 10px 0;
  font-family: monospace;
  font-size: 12px;
  border-radius: 4px;
}


.mc_filter_loop .woocommerce-Price-amount{
  color: var(--e-global-color-accent);
    font-family: "Roboto", Sans-serif;
    font-size: 24px;
  
    line-height: 27px;

}

.sako-technical-icon{
width: 38px;
height: 44px;

}

.sako-technical-docs{
display: flex
;
    flex-direction: column;
    gap: 20px;

}

.sako-technical-docs a{
  display: flex;
  flex-direction: column;
  align-items:center;
  max-width:88px;
  gap:5px;
}

.sako-doc-title{
    text-align:center;
color: #000;
text-align: center;
font-family: Roboto;
font-size: 12px;
font-style: normal;
font-weight: 600;
line-height: 15px; /* 125% */
text-transform: uppercase;
}

@media (max-width: 1367px) {
.sako-technical-docs{
display: flex;
    flex-direction: row;
    gap: 20px;

}

.sako-technical-docs a{
  display: flex;
  flex-direction: column;
  align-items:center;
  max-width:150px;
  gap:5px;
}
}


.kategorie-rozwijane-container .price-per-m2-container{
  display:none;
}

.ostatni-produkt-kolumna bdi{
  font-size: 22px;;
}


.mc_top_slider .swiper-pagination {
display: flex;
    justify-content: center;
    width: auto !important;
    margin: auto;
    align-items: center;
    position: absolute;
    left: 50% !important;
    bottom: 15% !important;
}

.mc_filter_loop .product_title a{
	    min-height: 54px;
    display: flex
;
}

.mc_filter_loop  .swiper-pagination {
display: flex;
    justify-content: center;
    width: auto !important;
    margin: auto;
    align-items: center;
    position: absolute;
    left: 50% !important;
  
}


.mc_text_style {
  line-height: 1.6; /* lepsza czytelność tekstu */
  margin-bottom: 1.5em; /* odstęp na dole */
}

/* Odstępy dla akapitów */
.mc_text_style p {
  margin: 0 0 1em 0;
}

/* Nagłówki – odsunięcie od tekstu powyżej i poniżej */
.mc_text_style h1,
.mc_text_style h2,
.mc_text_style h3,
.mc_text_style h4,
.mc_text_style h5,
.mc_text_style h6 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3; /* trochę ciaśniej niż akapit, ale czytelnie */
}

/* Listy – wcięcie i odstępy */
.mc_text_style ul,
.mc_text_style ol {
  padding-left: 1.5em;
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.mc_text_style li {
  margin-bottom: 0.4em;
}

/* Pogrubienia – delikatne podkreślenie w czytelności */
.mc_text_style strong,
.mc_text_style b {
  font-weight: 600; /* nie maksymalne pogrubienie, ale wyraźne */
}


/* === TABELA (bez dodatkowych klas) === */
.mc_text_style table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0 0 1em 0;
}
.mc_text_style th,
.mc_text_style td {
  padding: 0.75em 0.9em;
  vertical-align: top;
  word-break: normal;
}
.mc_text_style tbody th,
.mc_text_style tbody td {
  border-bottom: 1px solid currentColor; /* linie w kolorze tekstu */
}

/* Nagłówki tabeli – zgodnie z życzeniem */
.mc_text_style thead th {
  background: #E25303;
  color: #fff;
  font-weight: 600;
  /* delikatne odcięcie nagłówka od treści */
  border-bottom: 1px solid currentColor; /* będzie białe – subtelne, bez nowych kolorów */
}

/* Podpis tabeli (opcjonalny <caption>) */
.mc_text_style caption {
  caption-side: bottom;
  padding-top: 0.5em;
  line-height: 1.4;
}

/* — RWD — */
/* Tablet i mniejsze: ciaśniejsze odstępy, lepsze zawijanie */
@media (max-width: 768px) {
  .mc_text_style h1,
  .mc_text_style h2,
  .mc_text_style h3,
  .mc_text_style h4,
  .mc_text_style h5,
  .mc_text_style h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }
  .mc_text_style ul,
  .mc_text_style ol { padding-left: 1.25em; }

  .mc_text_style th,
  .mc_text_style td { padding: 0.65em 0.7em; }
}

/* Małe telefony: stabilny poziomy scroll + ochrona przed „rozsypką” */
@media (max-width: 640px) {
  /* Tabela staje się poziomym scrollerem bez wrapperów */
  .mc_text_style table {
    display: block;
    overflow-x: auto;                  /* przewijanie w poziomie */
    -webkit-overflow-scrolling: touch; /* płynny scroll iOS */
    width: max-content;                /* szerokość wg zawartości kolumn */
    min-width: 100%;                   /* ale nie mniej niż ekran */
  }

  /* Zapobiegaj „puchnięciu” przez bardzo długie słowa / linki */
  .mc_text_style th,
  .mc_text_style td {
    word-break: break-word;            /* łam długie ciągi */
    hyphens: auto;                     /* miękkie dzielenie wyrazów (jeśli możliwe) */
    padding: 0.6em 0.6em;
  }

  /* Minimalna czytelność przy gęstych tabelach */
  .mc_text_style thead th {
    position: relative;                /* bez sticky – trzyma prostotę i kompatybilność */
  }
}

/* Bardzo małe telefony */
@media (max-width: 380px) {
  .mc_text_style th,
  .mc_text_style td { padding: 0.5em 0.55em; }
}

.table-responsive{
	overflow:auto;
}


/* ================================================================================================ */
/* FOOTER CATEGORIES SHORTCODE - DWUKOLUMNOWY UKŁAD KATEGORII */
/* ================================================================================================ */

/* Kontener główny */
.footercat_container {
  width: 100%;
}

/* Wiersz z dwoma kolumnami */
.footercat_row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #B0B0A9;
  position: relative;
}

/* Pierwsza kolumna - główna kategoria (max 306px) */
.footercat_main_column {
  flex: 0 0 306px;
  max-width: 306px;
  position: relative;
}

/* Linia pomarańczowa pod główną kategorią */
.footercat_main_column::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #E25303;
}

/* Druga kolumna - podkategorie (reszta szerokości) */
.footercat_sub_column {
  flex: 1;
  padding-left: 20px;
}

/* Kontener podkategorii z zawijaniem */
.footercat_subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Główna kategoria - stylizacja */
.footercat_main_category {
  display: block;
  padding: 15px;
  color: #000;
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 27px; /* 168.75% */
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footercat_main_category:hover {
  color: #E25303;
}

/* Podkategorie - stylizacja */
.footercat_subcategory {
  display: inline-block;
  padding: 15px 0;
  color: #6D6D6D;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px; /* 192.857% */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footercat_subcategory:hover {
  color: #E25303;
}

/* Responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
  .footercat_row {
    flex-direction: column;
  }
  
  .footercat_main_column {
    flex: none;
    max-width: 100%;
  }
  
  .footercat_sub_column {
    padding-left: 0;
    padding-top: 10px;
  }
  
  .footercat_main_category {
    text-align: left;
    padding: 10px 15px;
  }
  
  .footercat_subcategories {
    padding: 0 15px 15px;
  }
}

.woocommerce-checkout .woocommerce-billing-fields h3{
	margin-bottom:20px;
}

.woocommerce-checkout #order_review_heading{
margin-bottom:20px;
}

@media (max-width: 446px) {

	.single-product .single_add_to_cart_button{
		margin:0 !important;
		height:50px !important;
	}

	.single-product  .rey-cartBtnQty{
		flex-direction:column;
	}
	
	.single-product .woocommerce-variation-add-to-cart  .qty,.single-product .woocommerce-variation-add-to-cart .cartBtnQty-controls{
		max-width:150px;
		
	}

	.single-product .woocommerce-variation-add-to-cart .quantity{
		margin-top:15px;
	}

}

.woocommerce-cart .cart_totals h2{
	margin-bottom:20px;
}

.woocommerce-cart .wc-proceed-to-checkout a{
	height: 64px;
	display:flex;
	justify-content:center;
	align-items:center;
	width:100%;
	background:#E25303;
	color: #FFF;
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 23px; /* 143.75% */
text-transform: uppercase;
text-align:center;
}


.woocommerce-cart .wc-proceed-to-checkout a:hover{
	
	background:#000;
}

/* FIX: Jedna gwiazdka dla pól required w checkout - usuń WSZYSTKIE duplikaty */
/* Ukryj gwiazdki dodawane przez pseudo-elementy ::after i ::before */
.woocommerce-checkout label.required_field::after,
.woocommerce-checkout label.required_field::before,
.woocommerce-checkout .required::after,
.woocommerce-checkout .required::before,
.woocommerce-checkout abbr.required::after,
.woocommerce-checkout abbr.required::before,
.woocommerce-billing-fields label.required_field::after,
.woocommerce-billing-fields label.required_field::before,
.woocommerce-billing-fields .required::after,
.woocommerce-billing-fields .required::before,
.woocommerce-billing-fields abbr.required::after,
.woocommerce-billing-fields abbr.required::before,
.woocommerce-shipping-fields label.required_field::after,
.woocommerce-shipping-fields label.required_field::before,
.woocommerce-shipping-fields .required::after,
.woocommerce-shipping-fields .required::before,
.woocommerce-shipping-fields abbr.required::after,
.woocommerce-shipping-fields abbr.required::before,
.woocommerce-account-fields label.required_field::after,
.woocommerce-account-fields label.required_field::before,
.woocommerce-account-fields .required::after,
.woocommerce-account-fields .required::before,
.woocommerce-account-fields abbr.required::after,
.woocommerce-account-fields abbr.required::before,
.woocommerce form .form-row label.required_field::after,
.woocommerce form .form-row label.required_field::before,
.woocommerce form .form-row .required::after,
.woocommerce form .form-row .required::before,
.woocommerce form .form-row abbr.required::after,
.woocommerce form .form-row abbr.required::before {
	content: "" !important;
	display: none !important;
	visibility: hidden !important;
}

/* Upewnij się że HTML required ma tylko jedną gwiazdkę (usuń dekoracje) */
.woocommerce form .form-row abbr.required,
.woocommerce form .form-row span.required,
.woocommerce-checkout abbr.required,
.woocommerce-checkout span.required {
	text-decoration: none;
	border: none;
}


    .woocommerce table.shop_table.woocommerce-cart-form__contents tbody tr td:first-child {
        border-top-left-radius: var(--cart-table-border-radius);
        max-width: 350px;
    }