/* ===============================================
   FLOCKATI - PrestaShop Overrides
   =============================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;600;700&display=swap');

/* Ukryj zduplikowany slider w content (główny jest w header) */
#wrapper .slider-section {
  display: none !important;
}

/* Slider description - styl identyczny do slider-title (.h0 .text-uppercase .fw-400) */
.slider-section .slider-list-item .slider-content .slider-description {
  font-size: 75px;
  line-height: 88px;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
  margin-bottom: 37px;
}

@media (max-width: 991px) {
  .slider-section .slider-list-item .slider-content .slider-description {
    margin: 0;
    font-size: 18px;
    line-height: 44px;
  }
}
/* Ukryj wszystkie Material Icons w filtrach (Font Awesome jest OK) */
#search_filters .material-icons,
#search_filters i.material-icons {
  display: none !important;
}

/* Pokaż Font Awesome icons */
#search_filters .fa {
  display: inline-block !important;
}

/* Facet collapse functionality */
#search_filters .facet .collapse {
  display: none;
  overflow: auto;
  max-height: 200px;

}

#search_filters .facet .collapse.faceted-slider{
  overflow: hidden;
}

#search_filters .facet .collapse.in {
  display: block;
}

/* Toggle icons - only for checkbox/radio facets (not slider/dropdown) */
#search_filters .facet[data-type="radio"] .collapse-icons,
#search_filters .facet[data-type="checkbox"] .collapse-icons {
  float: right;
}

/* Hide slider and dropdown icons */
#search_filters .facet[data-type="slider"] .collapse-icons,
#search_filters .facet[data-type="dropdown"] .collapse-icons {
  display: none !important;
}

/* Show minus when expanded (default), plus when collapsed */
#search_filters .facet-toggle .collapse-icons .add {
  display: none !important;
}
#search_filters .facet-toggle .collapse-icons .remove {
  display: inline-block !important;
}
#search_filters .facet-toggle[aria-expanded="false"] .collapse-icons .add {
  display: inline-block !important;
}
#search_filters .facet-toggle[aria-expanded="false"] .collapse-icons .remove {
  display: none !important;
}

/* Mobile toggle icons */
#search_filters .title[data-toggle="collapse"] .collapse-icons .add {
  display: none !important;
}
#search_filters .title[data-toggle="collapse"] .collapse-icons .remove {
  display: inline-block !important;
}
#search_filters .title[data-toggle="collapse"][aria-expanded="false"] .collapse-icons .add {
  display: inline-block !important;
}
#search_filters .title[data-toggle="collapse"][aria-expanded="false"] .collapse-icons .remove {
  display: none !important;
}

/* Ukryj mobile controls */
#search_filter_controls {
  display: none !important;
}

/* Ukryj responsive klasy które nie działają */
.hidden-md-up,
.hidden-sm-down {
  display: block !important;
}

/* Ukryj duplikaty nagłówków - ukryj tytuły które są w .title (mobile) */
#search_filters .facet .title {
  display: none !important;
}

/* Ukryj sortowanie nad listą produktów - mamy je w sidebarze */
.products-sort-order {
  display: none !important;
}

/* Checkboxy - style ze starego CMS */
aside .check-box-item {
  position: relative;
  padding-left: 30px;
  line-height: 20px;
  margin: 10px 0 0;
}

aside .check-box-item > input {
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  margin: 0;
}

aside .check-box-item > span {
  cursor: pointer;
}

/* Label wrap - style ze starego CMS */
aside .label-wrap {
  padding: 0 11px 0 11px;
  float: none;
  width: auto;
}

/* Selecty w sidebarze - style ze starego CMS */
aside select {
  width: 100%;
  height: 32px;
  outline: none;
  background: #fff;
  color: #57ba47;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
  padding: 0 6px;
}

aside select:disabled {
  background: #ebebe4;
}

/* Inputy tekstowe w sidebarze (cena od/do) */
aside input[type="text"] {
  width: 100%;
  height: 32px;
  padding: 0 6px;
  color: #57ba47;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  border: 1px solid #ccc;
}
aside input {
  width: 20px;
  height: 20px;
  padding: 0;
  display: block;
  margin: 0;
}

/* Input cena-od */
aside #cena-od {
  margin: 0 0 6px 0px;
}

#search_filters .facet .facet-label {
  display: flex;
  gap: 10px;
  padding-bottom: 5px;
}

/* Ukryj sekcję subcategories z main - podkategorie są w sidebarze jako filtry */
#subcategories {
  display: none !important;
}

#js-active-search-filters .h6 {
  margin: 0 0 8px 0;
}
#js-active-search-filters ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hide {
  display: none !important;
}
/* Ukryj input radio dla kolorów - tekstura/kolor jest klikalny przez label */
.color-square .input-color,
.size-symbol .input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
}
.choice-list.size-list .size-symbol {
  display: inline-flex;
}


.cart-overview .input-group-btn-vertical {
  display: none;
}/* ===============================================
   FLOCKATI - Basket/Checkout Styles from old CMS
   =============================================== */

/* ==================== HEADER CART BOX ==================== */

/* Kontener koszyka w nagłówku */
#main-header .cart-box {
  position: relative;
}

/* Pokazuje podgląd koszyka po najechaniu */
#main-header .cart-box:hover .cart-total {
  display: block !important;
}

/* Ikona koszyka */
#main-header .cart-box .cart-icon {
  font-size: 20px;
  line-height: 22px;
}

/* Cena całkowita w ikonie koszyka */
#main-header .cart-box .cart-icon .cart-total-price {
  font-size: 16px;
  line-height: 22px;
  margin-right: 5px;
}

/* Licznik produktów w koszyku (badge) */
#main-header .cart-box .cart-count {
  background: #57ba47;
  border-radius: 8px;
  color: #111;
  height: 16px;
  min-width: 16px;
  text-align: center;
  line-height: 16px;
  white-space: nowrap;
  font-size: 10px;
  display: block;
  position: absolute;
  top: -10px;
  right: -5px;
}

/* ==================== CART TOTAL DROPDOWN ==================== */

/* Rozwijane okno podglądu koszyka */
.cart-total {
  display: none;
  position: absolute;
  top: 25px;
  left: 0;
  z-index: 99;
  width: 300px;
  height: auto;
  border: 1px solid #000;
  background: #fff;
}

/* Pojedynczy produkt w podglądzie koszyka oraz podsumowanie */
.cart-total .cart-total-item,
.cart-total .cart-total-summary {
  display: block;
  border-bottom: 1px solid #000;
  padding: 5px 10px;
  color: #000 !important;
}

/* Hover na produkcie w podglądzie */
.cart-total .cart-total-item:hover {
  color: #57ba47 !important;
}

/* Ostatni element podsumowania bez dolnej ramki */
.cart-total .cart-total-summary:last-child {
  border-bottom: 0;
}

/* Clearfix dla elementów koszyka */
.cart-total .cart-total-item:after,
.cart-total .cart-total-summary:after {
  display: block;
  clear: both;
  content: " ";
}

/* Obrazek produktu w podglądzie koszyka */
.cart-total .cart-total-item .cart-total-image {
  float: left;
  width: 15%;
}

.cart-total .cart-total-item .cart-total-image img {
  display: block;
}

/* Nazwa produktu w podglądzie koszyka */
.cart-total .cart-total-item .cart-total-name {
  float: left;
  width: 65%;
  text-align: left;
  box-sizing: border-box;
  padding: 0 10px 0 10px;
}

/* Cena produktu w podglądzie koszyka */
.cart-total .cart-total-item .cart-total-price {
  float: left;
  width: 20%;
  text-align: right;
}

/* Etykieta w podsumowaniu koszyka */
.cart-total .cart-total-summary .cart-total-summary-label {
  float: left;
}

/* Cena w podsumowaniu koszyka */
.cart-total .cart-total-summary .cart-total-summary-price {
  float: right;
}

/* Przycisk "Przejdź do koszyka" */
.cart-total .cart-total-button {
  background: #57ba47;
  color: #fff !important;
  text-align: center;
  padding: 5px 10px;
  width: 100%;
  display: block;
  text-transform: uppercase;
}

/* Pogrubienie tekstu w koszyku */
.cart-total strong {
  font-weight: 700;
}

/* ==================== BASKET PAGE - NAVIGATION ==================== */

/* Tytuł strony koszyka */
.basket-title {
  margin-top: 26px;
  margin-bottom: 26px;
  padding: 0 11px;
}

/* Nawigacja kroków koszyka (koszyk -> dane -> płatność -> potwierdzenie) */
.basket-navigation li {
  float: left;
  height: 81px;
  width: 275px;
  position: relative;
}

/* Co drugi element nawigacji ma ciemniejsze tło */
.basket-navigation li:nth-child(even) {
  background-color: #ddd;
}

/* Link w nawigacji koszyka */
.basket-navigation li a {
  padding: 29px 11px;
  display: block;
}

/* Zaznaczony krok w nawigacji */
.basket-navigation li.selected a {
  background-color: #57ba47;
  color: #fff;
}

/* Strzałka w prawo między krokami */
.arrow-right {
  position: absolute;
  top: 0;
  right: -30px;
  z-index: 9;
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-bottom: 40px solid transparent;
  border-left: 30px solid #ebebeb;
}

/* Strzałka dla zaznaczonego kroku */
.basket-navigation li.selected div.arrow-right {
  border-left: 30px solid #57ba47;
}

/* Strzałka dla co drugiego elementu nawigacji */
.basket-navigation li:nth-child(even) .arrow-right {
  border-left: 30px solid #ddd;
}

/* ==================== BASKET PRODUCT TABLE ==================== */

/* Nagłówki tabeli produktów */
.basket-product-table th, 
.order-confirmation-table th {
  padding-left: 11px;
  padding-right: 11px;
  padding-bottom: 14px;
  height: 56px;
}

/* Kolumna 1 - obrazek produktu */
.basket-product-table th:first-child, 
.order-confirmation-table th:first-child {
  width: 129px;
}

/* Kolumna 2 - informacje o produkcie */
.basket-product-table th:nth-child(2), 
.order-confirmation-table th:nth-child(2) {
  width: 378px;
}

/* Kolumna 3 - ilość */
.basket-product-table th:nth-child(3) {
  width: 111px;
}

/* Kolumna 4 - cena jednostkowa */
.basket-product-table th:nth-child(4) {
  width: 180px;
}

/* Kolumna 6 - cena całkowita */
.basket-product-table th:nth-child(6) {
  width: 121px;
}

/* Ramka górna dla wierszy produktów */
.basket-product-table tbody tr, 
.order-confirmation-table tbody tr {
  border-top: 1px solid #000;
}

/* Komórki tabeli produktów */
.basket-product-table tr td, 
.order-confirmation-table tr td {
  padding: 0px 11px 44px;
}

/* Obrazek produktu w tabeli */
.basket-product-table tr td.basket-img, 
.order-confirmation-table tr td.basket-img {
  position: relative;
  overflow: hidden;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Pierwsza kolumna (obrazek) - specjalne padding */
.basket-product-table tr td:first-child {
  padding: 22px 6px;
}

/* Druga kolumna (informacje) - specjalne padding */
.basket-product-table tr td:nth-child(2) {
  padding: 22px 10px;
}

/* ==================== BASKET PRODUCT INFO ==================== */

/* Kontener informacji o produkcie */
.basket-product-info div {
  float: left;
  font-size: 14px;
  margin-right: 22px;
}

/* Pierwszy element informacji o produkcie */
.basket-product-info:first-child {
  margin-right: 11px;
  width: 148px;
}

/* Ostatni element informacji */
.basket-product-info div:last-child {
  margin-right: 0px;
}

/* Kwadrat koloru w informacjach o produkcie */
.basket-product-info .color-square-mid {
  height: 18px;
  width: 30px;
  background-color: #06213a;
  float: right;
  margin-left: 11px;
  background-size: cover;
}

/* Nazwa koloru */
.basket-product-info .color-square-name {
  display: block;
}

/* Numer modelu produktu */
.product-model-number {
  font-size: 14px;
  color: #ccc;
}

/* Input ilości w tabeli koszyka */
.basket-product-table input {
  width: 60px;
  text-align: center;
}

/* ==================== BASKET PRICE SUMMARY ==================== */

/* Lewy kontener z formularzem kodu rabatowego */
.basket-price-sumary .col-left {
  margin-top: 77px;
}

/* Etykieta w formularzu rabatu */
.basket-price-sumary label {
  float: left;
  margin-right: 11px;
}

/* Input kodu rabatowego */
.basket-price-sumary .discount-input {
  width: calc(100% - 277px);
  height: 40px;
  float: left;
  outline: 0;
}

/* Przycisk aktywacji kodu rabatowego */
.basket-price-sumary .discount-button {
  width: 177px;
  height: 40px;
  text-align: center;
  float: left;
  margin: 0;
}

/* Tekst informacyjny w formularzu */
.basket-price-sumary .form-info-text {
  text-align: center;
  margin-left: 44px;
  margin-left: 99px;
}

/* Prawy kontener z podsumowaniem cen */
.basket-price-sumary .col-right {
  text-align: right;
}

.basket-price-sumary .col-right > div {
  display: inline-block;
}

/* Wrapper dla cen */
.basket-price-sumary .basket-price-wrap {
  width: 416px;
}

/* Box z cenami */
.basket-price-sumary .basket-price-box {
  padding-top: 14px;
}

/* Cena brutto */
.basket-price-brutto {
  line-height: 56px;
  margin-bottom: 0;
}

/* Cena netto */
.basket-price-netto {
  margin: 0px 77px 0px 0px;
}

/* ==================== BASKET NAVIGATION BUTTONS ==================== */

/* Kontener przycisków nawigacyjnych */
.basket-nav-button-box {
  display: inline-block;
}

/* Przyciski w nawigacji koszyka */
.basket-nav-button-box .button {
  width: 180px;
  text-align: center;
  float: left;
}

/* Przycisk "Wstecz" */
.button-back {
  background: #c2c2c2;
  border-color: #c2c2c2;
  margin: 0 5px 0 0;
  padding: 10px 5px;
}

.button-back:hover,
.button-back:focus {
  background: #fff;
  color: #c2c2c2;
}

/* Przycisk "Dalej" / "Przejdź do zamówienia" */
.button-next {
  width: 180px;
  text-align: center;
  float: left;
  padding: 10px 5px;
  margin: 0 0 0 5px;
}

.button-next.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* Input checkbox i radio - resetowanie rozmiarów (globalne dla checkout) */
input[type="checkbox"],
input[type="radio"] {
  width: auto !important;
  height: auto !important;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Input checkbox i radio - resetowanie rozmiarów w formularzu */
.order-form input[type="checkbox"],
.order-form input[type="radio"] {
  width: auto;
  height: auto;
  margin: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Input checkbox */
.order-form .checkbox-input {
  width: 14px;
  height: 14px;
  margin: 25px 11px;
}

/* Offset dla checkboxa */
.order-form .checkbox-input-offset {
  margin-right: 100px;
}

/* Ukryte sekcje formularza (pokazywane warunkowo) */
.other-address,
.company-details,
.person-details {
  display: none;
}

/* ==================== ORDER TOTAL PRICE ==================== */

/* Całkowita cena zamówienia */
#order-total-price {
  position: relative;
  display: inline-block;
  vertical-align: top;
}

/* Cena z rabatem (przekreślona) */
#order-total-price.discounted {
  color: #ff3d3d;
}

/* Linia przekreślająca cenę */
#order-total-price.discounted:after {
  display: block;
  content: " ";
  position: absolute;
  top: 45%;
  left: -8%;
  width: 116%;
  height: 4px;
  background: #ff3d3d;
  transform: rotate(-18deg);
  -webkit-transform: rotate(-18deg);
}

/* ==================== DISCOUNT CODE INPUT ==================== */

/* Input kodu rabatowego (wersja alternatywna) */
input.discount-code {
  height: 46px;
  display: inline-block;
  vertical-align: middle;
  margin: 22px 0;
  padding: 0 10px;
  line-height: 46px;
}

/* Etykieta kodu rabatowego */
.discount-label {
  line-height: 46px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  font-size: 130%;
}

/* ==================== ORDER CONFIRMATION PAGE ==================== */

/* Lista szczegółów zamówienia */
.order-details-list {
  list-style: none;
  padding: 0;
}

.order-details-list li {
  padding: 8px 0;
  border-bottom: 1px solid #ebebeb;
}

.order-details-list li:last-child {
  border-bottom: none;
}

/* Ikona potwierdzenia zamówienia */
.basket-title .fa-check-circle {
  font-size: 1.2em;
  margin-right: 10px;
}

/* ==================== CART SUMMARY COLLAPSE ==================== */

/* Ukryj ikonę chevron-down gdy jest rozwinięte */
.js-show-details[aria-expanded="true"] .fa-chevron-down {
  display: none;
}

/* Ukryj ikonę chevron-up gdy jest zwinięte */
.js-show-details[aria-expanded="false"] .fa-chevron-up,
.js-show-details.collapsed .fa-chevron-up {
  display: none;
}

/* Pokaż ikonę chevron-up gdy jest rozwinięte */
.js-show-details[aria-expanded="true"] .fa-chevron-up {
  display: inline;
}

/* ==================== RESPONSIVE STYLES ==================== */


/* Gray background section - full width trick */
.contact-section .gray-bg {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw - 8px); /* +8px kompensacja scrollbara (17px / 2) */
  margin-right: calc(50% - 50vw - 8px);
  max-width: calc(100vw - 17px); /* -17px szerokość scrollbara */
}

/* Map wrapper - full width trick */
.map-wrap-fullwidth {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw - 8px); /* +8px kompensacja scrollbara (17px / 2) */
  margin-right: calc(50% - 50vw - 8px);
  max-width: calc(100vw - 17px); /* -17px szerokość scrollbara */
}

.map-wrap-fullwidth .map-wrap {
  width: 100%;
}

.map-wrap-fullwidth .map-wrap iframe {
  width: 100%;
  display: block;
}


/* Popover container */
.popover {
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  padding: 0 15px 10px !important;
}

/* Popover arrow */
.popover .arrow::after,
.popover .arrow::before {
  border-top-color: #fff !important;
  border-bottom-color: #fff !important;
}

.popover .arrow::before {
  border-top-color: #ccc !important;
  border-bottom-color: #ccc !important;
}

/* Popover content */
.popover-body {
  background-color: #fff !important;
  color: #333 !important;
  padding: 10px 15px !important;
}

/* Checkout tabs - ukryj nieaktywne zakładki */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Checkout step title styling */
.checkout-step .step-title {
  cursor: pointer;
}

.checkout-step.-current .step-title {
  cursor: default;
}

.form-control-comment {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 5px;
}

/* Address form - dostosowanie szerokości inputów */
#delivery-address .col-md-8,
#invoice-address .col-md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

/* Address form - inputy */
#delivery-address .form-control,
#invoice-address .form-control {
  font-size: 16px;
  color: #333;
  padding: 8px 12px;
  height: auto;
}

#delivery-address .form-control:focus,
#invoice-address .form-control:focus {
  border-color: #57ba47;
  outline: none;
}

/* Address form - selecty */
#delivery-address .form-control-select,
#invoice-address .form-control-select {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  color: #57ba47;
  background-color: #fff;
}

/* Address form - label wymagany */
#delivery-address .label.required::after,
#invoice-address .label.required::after,
#delivery-address label.required::after,
#invoice-address label.required::after {
  content: " *";
  color: #f00;
}

/* Address form - footer button */
#delivery-address .form-footer .continue,
#invoice-address .form-footer .continue {
  background-color: #57ba47;
  border-color: #57ba47;
  color: #fff;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 0;
}

#delivery-address .form-footer .continue:hover,
#invoice-address .form-footer .continue:hover {
  background-color: #fff;
  color: #57ba47;
}

/* Checkbox "Użyj tego adresu także do faktury" */
#delivery-address input[type="checkbox"],
#invoice-address input[type="checkbox"] {
  margin-right: 10px;
}

#delivery-address label[for="use_same_address"],
#invoice-address label[for="use_same_address"] {
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  color: #333;
  font-weight: normal;
}

#js-delivery .delivery-options .delivery-option {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}
#js-delivery .order-options textarea {
  width: 100%;
  min-height: 100px;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #57ba47;
}

/* Checkout tabs navigation - inline */
.nav-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.nav-inline .nav-item {
  display: inline-block;
  margin: 0 10px;
}

.nav-inline .nav-link {
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-inline .nav-link:hover {
  background-color: #f5f5f5;
}

.nav-inline .nav-link.active {
  background-color: #57ba47;
  color: #fff;
  border-color: #57ba47;
}

.nav-separator {
  color: #999;
}

/* Collapse dla cart summary */
.collapse {
  display: none;
}

.collapse.show {
  display: block;
}

/* Ikony chevron w collapse button */
.js-show-details .fa-chevron-up {
  display: none;
}

.js-show-details[aria-expanded="true"] .fa-chevron-down {
  display: none;
}

.js-show-details[aria-expanded="true"] .fa-chevron-up {
  display: inline-block;
}

/* Cart summary - lista produktów */
.media-list .media {
  display: block;
  padding: 10px;
  border: 1px solid #eee;
  background-color: #f5f5f5;
}

.media-list .media .media-body {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

/* Checkout - ukryj treść ukończonych kroków */
body#checkout section.checkout-step {
  border-bottom: 1px solid #57ba47;
}
.js-payment-binary,
.js-payment-binary .accept-cgv,
body#checkout section.checkout-step.-reachable.-complete .content {
  display: none;
}
body#checkout section.checkout-step .content, 
body#checkout section.checkout-step .done, 
body#checkout section.checkout-step .step-edit, 
body#checkout section.checkout-step.-current.-reachable.-complete .done, 
body#checkout section.checkout-step.-current.-reachable.-complete .step-edit {
  display: none;
}
.js-payment-binary.disabled .accept-cgv, 
body#checkout section.checkout-step.-current .content, 
body#checkout section.checkout-step.-current.-reachable.-complete .content {
  display: block;
}
body#checkout section.checkout-step .not-allowed, 
body#checkout section.checkout-step.-unreachable .step-title {
  cursor: not-allowed;
  opacity: .5;
}
body#checkout section.checkout-step.-reachable.-complete p.h4 .step-edit {
  display: block;
  float: right;
}


#conditions-to-approve ul li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
}
#checkout-payment-step .payment-options .payment-option {
margin-bottom: 10px;
}
#checkout-payment-step .payment-options .additional-information {
  padding: 10px 20px 5px;
  background-color: #f5f5f5;
  margin-bottom: 10px;
}

.social-box .block-social ul {
  display: flex;
}


.custom-file-wrapper {
  position: relative;
  display: inline-block;
  margin: 10px 0;
}

.custom-file-label {
  cursor: pointer;
  margin: 0;
}

.custom-file-label .js-file-name {
  margin-right: 10px;
  font-weight: normal;
}


/* Remove image link - red styling for clarity */
.remove-image {
  color: #d9534f !important;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 10px;
  border: 1px solid #d9534f;
  border-radius: 3px;
  display: inline-block;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.remove-image:hover {
  background-color: #d9534f;
  color: #fff !important;
  text-decoration: none;
}

.remove-image:before {
  content: "✕ ";
  font-weight: bold;
}

/* Active product image - green border */
.product-slider-nav-list-item.selected, 
.product-slider-nav-list-item.slick-current.slick-active {
  border: 2px solid #57ba47;
}


/* Swipebox close button - white cross without image */
#swipebox-close {
  position: relative;
  width: 50px;
  height: 50px;
  background: none !important;
  border: none;
  cursor: pointer;
}

#swipebox-close:before,
#swipebox-close:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 4px;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

#swipebox-close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#swipebox-close:hover:before,
#swipebox-close:hover:after {
  background-color: #57ba47;
}

/* Cart customization modal */
.customization-modal.modal {
  display: none;
}

.customization-modal.modal.show {
  display: block;
  background: rgba(0, 0, 0, 0.5);
}

.customization-modal .modal-dialog {
  margin: 50px auto;
  max-width: 600px;
}

.customization-modal .modal-content {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
}

.customization-modal .modal-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.customization-modal .close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  opacity: 0.5;
  background: none;
  border: none;
  cursor: pointer;
}

.customization-modal .close:hover {
  opacity: 1;
}

.customization-modal .product-customization-line img {
  max-width: 100%;
  height: auto;
}

/* Order confirmation table styling */
.order-confirmation-table .table {
  margin-top: 20px;
}

.order-confirmation-table .basket-img {
  width: 100px;
  height: 100px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.order-confirmation-table .basket-img-th {
  width: 100px;
}

.order-confirmation-table .product-title {
  margin-bottom: 5px;
}

.order-confirmation-table .product-model-number {
  font-size: 0.9em;
  color: #666;
}

.order-confirmation-table .customizations {
  margin-top: 10px;
}

.order-confirmation-table .customizations .btn {
  font-size: 0.85em;
  padding: 4px 10px;
}

/* Cart summary totals styling */
.cart-summary-totals {
  max-width: 400px;
  margin-top: 20px;
}

.cart-summary-totals .table {
  margin-bottom: 0;
  width: auto;
}

@media (max-width: 767px) {
  .cart-summary-totals,
  .cart-summary-totals .table {
    width: 100%;
    max-width: 100%;
  }
}

.cart-summary-totals .table td {
  padding: 8px 12px;
  border: none;
  border-top: 1px solid #ddd;
}

.cart-summary-totals .total-value td {
  font-size: 1.2em;
  border-top: 2px solid #333;
  padding-top: 15px;
}

.cart-summary-totals .discount td {
  color: #57ba47;
}

/* Modal improvements */
.customization-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.customization-modal.show,
.customization-modal.in {
  display: block !important;
}

.customization-modal.in .modal-dialog {
  transform: translate(0, 0);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.customization-modal .modal-dialog {
  position: relative;
  width: auto;
  margin: 100px auto;
  max-width: 600px;
}

.customization-modal .modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
  outline: 0;
  box-shadow: 0 3px 9px rgba(0,0,0,.5);
}

.customization-modal .modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.customization-modal .modal-header .close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  opacity: .2;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.customization-modal .modal-header .close:hover {
  opacity: .5;
}

.customization-modal .modal-title {
  margin: 0;
  line-height: 1.42857143;
}

.customization-modal .modal-body {
  position: relative;
  padding: 15px;
}

.customization-modal .product-customization-line {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.customization-modal .product-customization-line:last-child {
  border-bottom: none;
}

.customization-modal .product-customization-line .label {
  font-weight: 600;
}

/* Featured products, cross-selling, related products styling */
.featured-products {
  margin-top: 30px;
  margin-bottom: 30px;
}

.featured-products h2,
.featured-products .h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 15px 20px;
  background-color: #ddd;
  color: #232323;
}

.featured-products .products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.featured-products .product-miniature {
  margin-bottom: 4px;
  padding-left: 5px;
  padding-right: 5px;
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  .featured-products .product-miniature {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .featured-products .product-miniature {
    width: 33.33333%;
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
}

@media (min-width: 1200px) {
  .featured-products .product-miniature {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.featured-products .product-miniature > a {
  display: block;
  padding: 11px 0 7px;
  transition: background-color 0.2s;
  border: 1px solid #eee;
  text-decoration: none;
}

.featured-products .product-miniature > a:hover,
.featured-products .product-miniature > a:focus {
  background-color: #ebebeb;
}

.featured-products .product-title {
  padding: 0 10px;
  margin-bottom: 10px;
}

.featured-products .product-title .product-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.featured-products .product-title .product-model-number {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-top: 3px;
}

.featured-products .manufacturer-image {
  text-align: center;
  height: 40px;
  margin-bottom: 10px;
  padding: 0 10px;
}

.featured-products .manufacturer-image img {
  max-height: 40px;
  max-width: 100%;
  height: auto;
  width: auto;
}

.featured-products .product-image-wrap {
  position: relative;
  margin: 0 auto 10px;
  max-width: 210px;
}

.featured-products .product-label-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
}

.featured-products .product-label {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin: 5px;
}

.featured-products .product-label.discount {
  background-color: #e74c3c;
}

.featured-products .product-label.new {
  background-color: #3498db;
}

.featured-products .product-label.pack {
  background-color: #f39c12;
}

.featured-products .product-image {
  width: 100%;
  padding-top: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
}

.featured-products .product-price {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 10px 5px;
  margin-bottom: 0;
}

.featured-products .product-price .regular-price {
  display: block;
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 3px;
}

/* My Account Menu - Grid Layout */
#my-account-menu.row {
  margin-left: -5px;
  margin-right: -5px;
}

#my-account-menu .my-account-link {
  display: block;
  padding: 20px 15px;
  margin: 5px;
  background-color: #fff;
  border: 1px solid #ddd;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

#my-account-menu .my-account-link:hover,
#my-account-menu .my-account-link:focus {
  background-color: #f5f5f5;
  border-color: #999;
  text-decoration: none;
  color: #000;
}

#my-account-menu .my-account-link i {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
  color: #57ba47;
}

#my-account-menu .my-account-link span {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Customer Addresses Styling */
.address {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 3px;
}

.address h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.address-body address {
  font-style: normal;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
}

.address-footer {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.address-footer a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.addresses-footer {
  margin-top: 30px;
  text-align: center;
}

.addresses-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Order History Table Styling */
.order-history-table {
  background-color: #fff;
}

.order-history-table thead {
  background-color: #f5f5f5;
}

.order-history-table thead th {
  font-weight: bold;
  color: #333;
  padding: 12px 15px;
  border-bottom: 2px solid #ddd;
}

.order-history-table tbody td {
  padding: 12px 15px;
  vertical-align: middle;
}

.order-history-table tbody tr {
  border-bottom: 1px solid #eee;
}

.order-history-table tbody tr:hover {
  background-color: #f9f9f9;
}

.order-history-table .order-actions {
  white-space: nowrap;
}

.order-history-table .order-actions .btn {
  margin: 2px;
}

.order-history-table .label-pill {
  font-size: 0.85rem;
  font-weight: normal;
}

/* ===============================================
   Szczegóły zamówienia — konto klienta
   =============================================== */

#order-infos .box,
#order-history,
.order-items,
.order-totals,
.addresses article {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  margin-bottom: 15px;
}

/* Tabela produktów — styl jak basket-product-table */
#order-products {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 0;
}
#order-products th {
  background: #f0f0f0;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 2px solid #ddd;
  text-align: left;
}
#order-products td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  font-size: 13px;
}
#order-products tbody tr:hover td {
  background: #fafafa;
}
#order-products tfoot td {
  font-weight: 600;
  padding: 8px 12px;
  border-top: 2px solid #ddd;
  background: #f9f9f9;
}
#order-products .text-xs-right {
  text-align: right;
}

/* Historia statusów */
#order-history table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
#order-history table th {
  background: #f0f0f0;
  padding: 8px 12px;
  text-align: left;
  border-bottom: 2px solid #ddd;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
}
#order-history table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
#order-history .label-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
  color: #fff;
}

/* Adresy */
.addresses article h4 {
  font-size: 14px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

/* Mobile */
.order-item { border-bottom: 1px solid #eee; padding: 10px 0; }
.order-item:last-child { border-bottom: none; }
.order-total { padding: 5px 0; font-size: 14px; }

/* Tabela przewoźnika i inne tabele w szczegółach zamówienia */
.page-order-detail .box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 15px 20px;
  margin-bottom: 15px;
}
.page-order-detail .table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.page-order-detail .table th {
  background: #f0f0f0;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 2px solid #ddd;
  text-align: left;
}
.page-order-detail .table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

/* Formularz wiadomości do zamówienia */
.order-message-form.box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin-top: 15px;
}
.order-message-form header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.order-message-form header p {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}
.order-message-form .form-group label {
  font-weight: 600;
  font-size: 13px;
}
.order-message-form textarea,
.order-message-form select {
  width: 100%;
  border: 1px solid #ddd;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 2px;
}

/* Koszyk - scroll tabeli w bok, nadpisanie fixed 1170px z style.css */
.basket-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.basket-table-wrap table,
.basket-table-wrap .basket-product-table {
  table-layout: auto;
  width: 100%;
  min-width: 600px;
}

@media (min-width: 1200px) {
  .basket-table-wrap {
    overflow-x: visible;
  }
}

/* Scroll tabeli potwierdzenia zamówienia — tabela ma fixed 1170px z style.css */
.order-confirmation-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.order-confirmation-table table,
.order-confirmation-table .cart-detailed-product-table {
  table-layout: auto;
  width: 100%;
  min-width: 600px;
}

@media (min-width: 1200px) {
  .order-confirmation-table {
    overflow-x: visible;
  }
}

/* Bootstrap 4 col-xl-* — brakujące w global.css (PS8 generuje te klasy) */
@media (min-width: 1200px) {
  .col-xl-1  { float: left; width: 8.33333333%; }
  .col-xl-2  { float: left; width: 16.66666667%; }
  .col-xl-3  { float: left; width: 25%; }
  .col-xl-4  { float: left; width: 33.33333333%; }
  .col-xl-6  { float: left; width: 50%; }
  .col-xl-8  { float: left; width: 66.66666667%; }
  .col-xl-9  { float: left; width: 75%; }
  .col-xl-12 { float: left; width: 100%; }
}


/* ===============================================
   MENU — poziomy 3 i 4 (sub-dropdown w mega menu)
   =============================================== */

/* Poziom 2 li — relative do pozycjonowania dzieci */
#main-header .nav-list-item ul > li {
  position: relative;
}

/* Ukryj wszystkie zagnieżdżone ul (nadpisuje display:block z style.css) */
#main-header .nav-list-item ul li ul {
  display: none !important;
  position: absolute;
  list-style: none;
  padding: 10px 0;
}

/* Level 3 — po prawej stronie kolumny level2 */
#main-header .nav-list-item ul > li:hover > ul {
  display: block !important;
  top: 100%;
  left: 5px;
  background: #333;
  z-index: 12;
  float: none;
  width: auto;
  min-width: 100%;
  padding: 0;
}

#main-header .nav-list-item ul > li > ul > li {
  float: none;
  width: 100%;
  display: block;
  position: relative;
}

#main-header .nav-list-item ul > li > ul > li > a {
  display: block;
  padding: 5px 12px;
  font-size: 12px;
  color: #fbfbfb;
  text-transform: uppercase;
  white-space: nowrap;
}

#main-header .nav-list-item ul > li > ul > li > a:hover,
#main-header .nav-list-item ul > li > ul > li.active > a {
  background: #57ba47;
  color: #fff;
}

/* Level 4 — po prawej stronie level3 */
#main-header .nav-list-item ul > li > ul > li:hover > ul {
  display: block !important;
  top: 0;
  left: 100%;
  background: #555;
  width: auto;
  min-width: 100%;
  z-index: 13;
}

#main-header .nav-list-item ul > li > ul > li > ul > li {
  float: none;
  width: 100%;
  display: block;
}

#main-header .nav-list-item ul > li > ul > li > ul > li > a {
  display: block;
  padding: 5px 12px;
  font-size: 12px;
  color: #fbfbfb;
  text-transform: uppercase;
  white-space: nowrap;
}

#main-header .nav-list-item ul > li > ul > li > ul > li > a:hover,
#main-header .nav-list-item ul > li > ul > li > ul > li.active > a {
  background: #57ba47;
  color: #fff;
}
