/* ============================== */
/* === CUSTOM.CSS - INSTALATOR24.PL === */
/* === Zoptymalizowana wersja === */
/* === Data: 2025-01-18 === */
/* ============================== */

/* ============================== */
/* === GLOBALNE USTAWIENIA === */
/* ============================== */

body {
  font-family: Arial, sans-serif;
  margin: 0;
}

.container {
  max-width: 1300px !important;
}

/* Nagłówki globalne - TYLKO dla podstrony kontaktowej */
.contact-section h2,
.grid h2,
#content.col-xl-10 h2:not(.headline__name) {
  color: #081746;
  font-size: 26px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 3px solid #de982f;
  display: inline-block;
  padding-bottom: 5px;
}

/* ============================== */
/* === PRODUKTY - CENY I STYLE === */
/* ============================== */

.projector_details .projector_oneclick__item {
  background: rgba(255, 255, 255, 0);
}

.projector_prices__price_wrapper .projector_prices__price,
.projector_prices__price_wrapper .price_vat {
  color: #c80007;
}

.projector_shipping__icon:before {
  content: '\E883';
}

/* Sticky sidebar na karcie produktu */
@media (min-width: 992px) {
  .projector_details__wrapper {
    position: sticky;
    top: 20px;
    z-index: 50;
  }
}

/* Zwiększenie nazwy produktów na karcie towaru */
@media (min-width: 757px) {
  .projector_page .product_name__name {
    font-size: 3.0rem;
    line-height: 1.2;
    font-weight: bold;
  }
}

/* ============================== */
/* === POPRAWKA SPÓJNOŚCI MENU === */
/* ============================== */

/* Resetuj font-size dla header na wszystkich podstronach */
header {
  font-size: 1em !important;
}

/* Spójny rozmiar czcionki dla nawigacji */
header .navbar-nav {
  font-size: 1.6rem !important;
}

/* ============================== */
/* === MENU NAWIGACYJNE === */
/* ============================== */

/* Topbar menu - mniejszy font */
#menu_categories3 .nav-link {
  font-size: 12px !important;
  font-weight: bold;
}

/* Rozciągnięcie menu na całą szerokość kontenera */
@media (min-width: 979px) {
  #menu_categories {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
  }
  
  #menu_categories > .navbar-collapse {
    width: 100%;
  }
  
  #menu_categories > .navbar-collapse > .navbar-nav {
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }
  
  #menu_categories > .navbar-collapse > .navbar-nav > .nav-item {
    flex: 1 1 auto;
    text-align: center;
  }
}

/* Główne menu - podstawowe style */
#menu_categories > .navbar-collapse > .navbar-nav > .nav-item > .nav-link {
  font-size: 18px !important;
  font-weight: bold;
  padding: 10px 14px;
  color: #222;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap !important;
  display: block;
  width: 100%;
}

/* Hover efekt dla głównego menu */
#menu_categories > .navbar-collapse > .navbar-nav > .nav-item > .nav-link:hover {
  background-color: #fff3e0;
  color: #de982f;
}

/* Media query dla dużych ekranów (1200px+) */
@media (min-width: 1200px) {
  #menu_categories > .navbar-collapse > .navbar-nav > .nav-item > .nav-link {
    font-size: 18px !important;
  }
}

/* Media query dla średnich ekranów (979-1199px) */
@media (min-width: 979px) and (max-width: 1199px) {
  #menu_categories > .navbar-collapse > .navbar-nav > .nav-item > .nav-link {
    font-size: 18px !important;
  }
}

/* Ikona strzałki dla elementów menu z podmenu */
#menu_categories .navbar-nav > .nav-item:not([data-empty="true"])::after {
  content: '\F107' !important;
  font-family: FontAwesome !important;
  padding-bottom: 0.5rem !important;
  font-size: 14px !important;
  color: #666 !important;
  display: inline-block !important;
  margin-left: 5px !important;
}

/* Etykieta HOT dla pierwszej pozycji menu */
#menu_categories > .navbar-collapse > .navbar-nav > .nav-item:nth-child(1) > .nav-link::after {
  content: "HOT";
  background-color: #c80007;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
  vertical-align: middle;
}

/* Etykieta TOP dla ósmej pozycji menu (Outlet) */
#menu_categories > .navbar-collapse > .navbar-nav > .nav-item:nth-child(8) > .nav-link::after {
  content: "TOP";
  background-color: #081746;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
  vertical-align: middle;
}

/* Style dla podmenu (dropdown) */
#menu_categories .navbar-subnav .nav-link {
  font-size: 14px !important;
  padding: 8px 12px;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
}

/* Hover efekt dla podmenu */
#menu_categories .navbar-subnav .nav-link:hover {
  background-color: #f6f6f6;
  color: #f29c1f;
  text-decoration: none;
}

/* Sidebar menu kategorii */
@media (min-width: 979px) {
  #menu_categories2 {
    display: block;
    background: none;
    flex: 0 0 250px;
    height: fit-content;
  }

  #menu_categories2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #menu_categories2 li {
    background: #f6f6f6;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.3s;
  }

  #menu_categories2 li:hover,
  #menu_categories2 li.active {
    background-color: #fff3e0;
    border-color: #de982f;
  }

  #menu_categories2 li a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
}

/* ============================== */
/* === STRONA GŁÓWNA === */
/* ============================== */

/* Nagłówki sekcji na głównej - BARDZIEJ SPECYFICZNE */
.hotspot.--slider .headline__name {
  font-size: 28px;
  padding-bottom: 8px;
  border-bottom: 3px solid #DC972F;
  display: inline-block;
}

/* Nagłówki sekcji - TYLKO dla głównej strony, nie dla bloga */
.headline__name:not(#blog-item .headline__name):not(#content h2) {
  font-size: 2.8rem;
  font-weight: 600;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid #DC972F;
  color: #081746;
}

.headline--center {
  text-align: center;
  margin-bottom: 30px;
}

/* Menu kafelkowe główna strona */
.cat-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 15px 5px;
}

.cat-section {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
}

.cat-menu {
  flex: 0 0 250px;
}

.cat-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat-menu li {
  background: #f6f6f6;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 15px;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.3s;
}

.cat-menu li:hover,
.cat-menu li.active {
  background-color: #fff3e0;
  border-color: #de982f;
}

.cat-menu a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cat-container {
  flex: 1;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.cat-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px 5px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  position: relative;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f29c1f;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.cat-card:hover {
  transform: translateY(-3px);
}

.cat-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.cat-card img {
  max-width: 60px;
  height: auto;
  margin-bottom: 6px;
}

.cat-card h3 {
  font-size: 15px;
  margin: 0;
  color: #222;
}

/* Sekcja "Dlaczego instalator24?" */
.banner3__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.banner3__item {
  background: #fff;
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.banner3__img img {
  max-width: 48px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.banner3__item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
  border-color: #de982f;
  background: #fffef9;
}

.banner3__item:hover .banner3__img img {
  transform: scale(1.1);
}

.banner3__title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #222;
}

.banner3__txt {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.5;
}

/* Produkty w sekcji Nowości */
.hotspot.--slider .products .product {
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 15px;
  background-color: #fff;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hotspot.--slider .products .product:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.hotspot.--slider .products .product .product__wrapper {
  padding: 10px 0;
}

/* ============================== */
/* === SEKCJA INFO + FAQ === */
/* ============================== */

.section-info {
  background: #fff;
  padding: 60px 20px;
  margin: 60px auto;
}

.section-info__wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.section-info__content {
  flex: 1 1 60%;
  font-size: 1.5rem;
  color: #333;
}

.section-info__content h1 {
  font-size: 2.6rem;
  font-weight: 600;
  color: #081746;
  border-bottom: 3px solid #DC972F;
  padding-bottom: 12px;
  margin-bottom: 30px;
}

.section-info__content h2 {
  font-size: 1.9rem;
  color: #de982f;
  margin: 40px 0 15px;
}

.section-info__content p {
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
}

.section-info__content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 25px;
}

.section-info__content li {
  margin-bottom: 10px;
  line-height: 1.5;
}

.section-info__faq {
  flex: 1 1 35%;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.section-info__faq-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #de982f;
  margin-bottom: 20px;
}

.faq-accordion__item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.faq-accordion__question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.5rem;
  text-align: left;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  color: #081746;
  position: relative;
}

.faq-accordion__question::after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  color: #de982f;
  transition: transform 0.3s ease;
}

.faq-accordion__item.active .faq-accordion__question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-accordion__answer {
  max-height: 0;
  overflow: hidden;
  font-size: 1.4rem;
  color: #555;
  transition: max-height 0.3s ease;
}

.faq-accordion__item.active .faq-accordion__answer {
  max-height: 300px;
  margin-top: 10px;
}

/* ============================== */
/* === OPIS KATEGORII === */
/* ============================== */

section.search_description,
.navigation_desc {
  background-color: #f6f6f6;
  border: 1px solid #ddd;
  padding: 24px 24px 24px 50px;
  border-radius: 8px;
  margin-bottom: 30px;
  position: relative;
}

/* Nagłówki H2 w opisach kategorii - bez specjalnego formatowania */
section.search_description h2,
.navigation_desc h2 {
  font-size: 1.6rem !important;
  margin: 0 0 10px 0 !important;
  color: #333 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  display: block !important;
  font-weight: 600 !important;
  text-transform: none !important;
}

section.search_description p,
section.search_description ul,
.navigation_desc p,
.navigation_desc ul {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #444;
}

/* ============================== */
/* === FILTRY === */
/* ============================== */

#Filters {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  margin-top: 30px;
  margin-bottom: 30px;
}

#Filters::before {
  content: "Filtry";
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: #081746;
  margin-bottom: 20px;
}

/* ============================== */
/* === PRODUKTY - PRZYCISK SCHOWKA === */
/* ============================== */

.product_name__action[class*="--shopping-list"] {
  display: flex !important;
  justify-content: center !important;
  margin: 20px auto 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.product_name__action[class*="--shopping-list"] span {
  display: inline-block !important;
  background-color: #de982f !important;
  color: #fff !important;
  font-weight: bold !important;
  font-family: inherit !important;
  padding: 12px 20px !important;
  font-size: 1.6rem !important;
  text-align: center !important;
  border-radius: 6px !important;
  border: none !important;
  text-decoration: none !important;
  transition: background-color 0.3s !important;
  width: 100% !important;
  max-width: 300px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
}

.product_name__action[class*="--shopping-list"] span:hover {
  background-color: #c37c1c !important;
}

.product_name__action[class*="--shopping-list"] span::before {
  display: none !important;
}

.product_name__action[class*="--compare"] {
  display: none !important;
}

/* ============================== */
/* === ETYKIETY PRODUKTÓW === */
/* ============================== */

.product-labels-container {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-label:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zum-label,
.polish-label,
.clean-air-label,
.emission-label {
  background: white;
  padding: 5px;
}

.zum-label {
  padding: 3px;
}

.zum-label img,
.polish-label img,
.clean-air-label img,
.emission-label img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.label-text {
  white-space: nowrap;
  line-height: 1;
}

.product-label::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10000;
  margin-right: 8px;
}

.product-label::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10000;
  margin-right: 3px;
}

.product-label:hover::after,
.product-label:hover::before {
  opacity: 1;
  visibility: visible;
}

/* ============================== */
/* === FORMULARZ REJESTRACJI === */
/* ============================== */

#client_new_social,
#client_new_form .choose_other_form.cn_wrapper {
  display: none !important;
}

#client_new_form {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-top: 30px;
  margin-bottom: 60px;
}

#client_new_form h2.big_label {
  font-size: 2.2rem;
  font-weight: 600;
  color: #081746;
  border-bottom: 3px solid #DC972F;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

#client_new_form .form-group > label,
#client_new_form .has-feedback > label {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  display: inline-block;
  margin-bottom: 6px;
}

#client_new_form input[type="text"],
#client_new_form input[type="email"],
#client_new_form input[type="tel"],
#client_new_form input[type="password"],
#client_new_form input[type="number"],
#client_new_form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1.4rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#client_new_form .checkbox:has(#terms_agree:not(:checked)) {
  background-color: #e55353;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  margin-left: -8px;
}

#client_new_form .checkbox:has(#terms_agree:checked) {
  background-color: rgba(0,0,0,0);
  color: #000;
}

#client_new_form .form-group:has(input[type="file"]) {
  display: none !important;
}

body:has(#client_new_form) #logo img {
  max-height: 70px !important;
  margin: 20px auto !important;
  display: block !important;
}

/* ============================== */
/* === BLOG STYLES === */
/* ============================== */

.table-of-contents {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0 30px 0;
}

.table-of-contents h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.table-of-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.table-of-contents li {
  margin-bottom: 8px;
}

.table-of-contents a {
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: text-decoration 0.2s;
}

.table-of-contents a:hover {
  text-decoration: underline;
}

.power-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.power-table th,
.power-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.power-table th {
  background: #dc972f;
  color: white;
  font-weight: bold;
}

.power-table tr:nth-child(even) {
  background: #f8f9fa;
}

.power-table tr:hover {
  background: #e9ecef;
}

.btn {
  background: 0;
  padding: 0;
  border: 1px solid transparent;
  font-family: 'Roboto', "Arial", sans-serif;
  display: inline-block;
  text-decoration: none;
  color: #dc972f;
  text-align: center;
  cursor: pointer;
  font-size: 1.2rem;
  padding: .9rem 1rem;
  font-weight: normal;
  transition: background-color .2s, color .2s, border-color .2s;
  border-radius: 25px;
}

.btn.--solid {
  background: #dc972f;
  border: 1px solid #dc972f;
  color: #fff;
}

.btn.--solid:hover {
  background: #c8851a;
  border-color: #c8851a;
}

.product-button {
  margin-top: 15px;
  display: block;
  margin-bottom: 20px;
}

.cta-section {
  background: linear-gradient(135deg, #dc972f 0%, #c8851a 100%);
  color: white;
  padding: 30px;
  margin: 40px 0 20px 0;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(220, 151, 47, 0.3);
}

.cta-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.cta-section p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  opacity: 0.95;
}

.cta-section .btn {
  background: white;
  color: #dc972f;
  border: 2px solid white;
  font-weight: bold;
  padding: 12px 25px;
}

.cta-section .btn:hover {
  background: #081746;
  color: white;
  border-color: white;
}

img.blog_image {
  display: none !important;
}

/* ============================== */
/* === BANNERY === */
/* ============================== */

.fullwidth-banner {
  margin: 10px 0;
}

.fullwidth-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

/* ============================== */
/* === SLIDER DOTS === */
/* ============================== */

.slick-dots {
  display: none !important;
}

/* ============================== */
/* === PODSTRONA KONTAKTOWA === */
/* ============================== */

.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-form,
.info-faq {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #de982f;
}

.contact-form h3,
.info-faq h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #081746;
}

.contact-form label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  margin-top: 15px;
  background: #de982f;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.contact-form button:hover {
  background: #c4781f;
}

.info-box p,
.faq-box p {
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
}

.info-box i,
.faq-box i {
  margin-right: 8px;
  color: #de982f;
}

.accordion-btn {
  background-color: #fff;
  color: #081746;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}

.accordion-btn:hover {
  background-color: #f2f2f2;
}

.accordion-panel {
  padding: 0 12px 12px 12px;
  display: none;
  background-color: white;
  font-size: 14px;
  color: #444;
}

.accordion-item.active .accordion-panel {
  display: block;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #de982f;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #081746;
  font-size: 18px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: #444;
  margin: 5px 0;
}

.card i {
  margin-right: 8px;
  color: #de982f;
}

.card a {
  text-decoration: none;
  color: #081746;
  font-weight: bold;
}

.highlight {
  border-top: 5px solid red;
}

.highlight h3 {
  color: red;
}

.kontakt-typ-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.kontakt-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

/* ============================== */
/* === RESPONSYWNOŚĆ === */
/* ============================== */

@media (max-width: 992px) {
  .banner3__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-info__wrapper {
    flex-direction: column;
  }

  .section-info__faq {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .cat-section {
    flex-direction: column;
  }

  .cat-container {
    order: 1;
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 8px;
  }

  .cat-card {
    aspect-ratio: 1 / 1;
    padding: 8px;
    overflow: hidden;
    min-height: unset;
  }

  .cat-card img {
    max-width: 50px;
    margin-bottom: 4px;
  }

  .cat-card h3 {
    font-size: 9px;
    margin: 0;
    line-height: 1.1em;
    text-align: center;
  }

  .cat-menu {
    display: none;
  }

  .contact-section {
    flex-direction: column;
  }

  .product-label {
    width: 35px;
    height: 35px;
  }
  
  .zum-label img,
  .polish-label img,
  .clean-air-label img,
  .emission-label img {
    width: 28px;
    height: 28px;
  }
  
  .zum-label,
  .polish-label,
  .clean-air-label,
  .emission-label {
    padding: 3px;
  }
  
  .product-label::after {
    font-size: 10px;
    padding: 4px 8px;
  }
}

@media (max-width: 600px) {
  .banner3__wrapper {
    grid-template-columns: 1fr;
  }

  .banner3__item {
    padding: 16px 12px;
  }

  .banner3__img img {
    max-width: 42px;
  }
}




/* ======================= */
/* === ZDJĘCIE NA CAŁĄ SZEROKOŚĆ === */
/* ======================= */
.product-image-full {
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 40px 0;
  text-align: center;
}
.product-image-full img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

/* ======================= */
/* === SEKCJA 30/70 === */
/* ======================= */
.section-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.image-part {
  flex: 30%;
}
.text-part {
  flex: 70%;
}
.image-background {
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.image-background img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

/* Mobile – kolumnowy układ */
@media (max-width: 768px) {
  .section-row {
    flex-direction: column;
  }
  .image-part,
  .text-part {
    width: 100%;
  }
}

/* Desktop – wymuszony układ poziomy 30/70 */
@media (min-width: 769px) {
  .section-row {
    flex-direction: row;
  }
}

/* ======================= */
/* === FAQ (accordion) === */
/* ======================= */
.faq-box {
  margin-top: 60px;
}
.accordion-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #ddd;
}
.accordion-btn {
  background-color: #f7f7f7;
  color: #081746;
  cursor: pointer;
  padding: 12px 20px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 10px;
  transition: background 0.3s;
}
.accordion-btn:hover {
  background-color: #ebebeb;
}
.accordion-panel {
  background-color: #fffef9;
  padding: 15px 20px;
  border-radius: 10px;
  display: none;
}
.accordion-item.active .accordion-panel {
  display: block;
}

/* ======================= */
/* === CTA - 4 przyciski === */
/* ======================= */
.cta-section {
  background-color: #f7f7f7;
  border-radius: 20px;
  padding: 30px;
  margin-top: 60px;
  text-align: center;
}
.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 25px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.cta-buttons .btn {
  font-size: 1.3rem;
  padding: 14px 25px;
  border-radius: 10px;
  min-width: 260px;
}

/* CTA – układ 2x2 na mobile */
@media (max-width: 768px) {
  .cta-buttons {
    gap: 12px;
  }
  .cta-buttons .btn {
    width: 48%;
    padding: 16px 14px;
    font-size: 1.3rem;
  }
}


/* ============================== */
/* === FORMULARZ KONTAKTOWY - RESPONSYWNOŚĆ === */
/* ============================== */

/* Kontener dla radio buttons */
.contact-type-container {
  display: flex;
  gap: 30px;
  margin: 10px 0;
}

/* Etykiety radio */
.contact-type-label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Media query dla tabletów */
@media (max-width: 768px) {
  .contact-type-container {
    gap: 20px;
  }
}

/* Media query dla małych telefonów */
@media (max-width: 480px) {
  .contact-type-container {
    gap: 15px;
  }
  
  .contact-type-label {
    font-size: 14px;
  }
}

/* Media query dla bardzo małych telefonów */
@media (max-width: 360px) {
  .contact-type-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-type-label {
    width: 100%;
  }
}

/* Poprawka dla formularza z inline styles */
@media (max-width: 480px) {
  /* Nadpisanie inline styles */
  .contact-form div[style*="display: flex"][style*="gap: 30px"] {
    gap: 15px !important;
  }
  
  .contact-form label[style*="display: flex"][style*="white-space: nowrap"] {
    font-size: 14px !important;
  }
}

/* Ekstra małe ekrany - układ pionowy */
@media (max-width: 350px) {
  .contact-form div[style*="display: flex"][style*="gap: 30px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .contact-form label[style*="display: flex"] {
    width: 100% !important;
  }
}



/* ===== Kontakt: drobne dopiski ===== */
.dept-title {
  margin: 18px 0 10px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #081746;
}

.triggers {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.triggers li { display: inline-flex; align-items: center; gap: 8px; }

.card p i,
.info-box p i { color: #de982f; margin-right: 8px; }

/* Podrasowanie karteczki „oferta indywidualna” */
.card.highlight {
  border-top-color: #de982f;
}
.card.highlight h3 {
  color: #081746;
}

/* Select „Rodzaj kontaktu” – spójny z pozostałymi */
#typ_kontaktu_select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Tytuły działów i listy korzyści (jeśli nie masz) */
.dept-title {
  margin: 18px 0 10px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #081746;
}
.triggers {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.triggers li { display: inline-flex; align-items: center; gap: 8px; }

/* Podpis stanowiska pod imieniem i nazwiskiem */
.card .role {
  margin-top: -4px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

/* Podrasowanie kafelka highlight (zgodne z Twoją paletą) */
.card.highlight { border-top-color: #de982f; }
.card.highlight h3 { color: #081746; }

/* Ikony przy danych kontaktowych – spójna kolorystyka */
.card p i,
.info-box p i { color: #de982f; margin-right: 8px; }

/* Bezpośredni kontakt w kafelku oferty */
.card .direct { font-weight: 600; margin-top: 6px; }

/* ===== Popup (modal) – lekkie, mobile-first ===== */
.modal { position: fixed; inset: 0; display: none; z-index: 1000; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal__dialog {
  position: relative; background: #fff; border-radius: 12px;
  width: min(92vw, 720px); max-height: 90vh; overflow: auto;
  margin: 32px auto; padding: 18px 18px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.modal__close {
  position: absolute; top: 10px; right: 10px; background: none; border: 0;
  font-size: 22px; cursor: pointer; color: #081746;
}
.modal__actions {
  display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px;
}
.modal__success {
  background: #d4edda; color: #155724; padding: 10px; border: 1px solid #c3e6cb; border-radius: 6px; margin-top: 10px;
}

/* Formularz wewnątrz modala – reuse Twoich styli */
#contactFormModal label { font-weight: bold; margin-top: 10px; display: block; }
#contactFormModal input, #contactFormModal textarea, #contactFormModal select {
  width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 5px;
}

/* Układ przycisku w honorowym kafelku */
.cta-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-bottom: 8px;
}
@media (max-width: 600px) {
  .cta-row { grid-template-columns: 1fr; }
  .cta-offer-btn { width: 100%; }
}

/* Delikatne doprawienie highlight */
.card.highlight { border-top-color: #de982f; }
.card.highlight h3 { color: #081746; }
.card .direct { font-weight: 600; margin-top: 6px; }

/* ===== Strona: Metody i koszty dostawy ===== */

/* Nagłówek sekcji (spójny z Twoją paletą) */
h2 {
  color: #081746;
  font-size: 26px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom: 3px solid #de982f;
  display: inline-block;
  padding-bottom: 5px;
}

/* Box informacji */
.delivery-info {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #de982f;
  border-radius: 8px;
  margin-bottom: 20px;
  color: #333;
}
.delivery-info p { margin: 6px 0; }

/* Siatka kart (kafelki kontaktowe i inne) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Karta */
.card {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  border-top: 5px solid #de982f;
  transition: transform .2s ease-in-out;
}
.card:hover { transform: translateY(-5px); }
.card h3 { color: #081746; font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: #444; margin: 6px 0; }
.card p i { color: #de982f; margin-right: 8px; }
.card .role { font-weight: 600; color: #555; margin-top: -2px; }

/* Tabele dostaw */
.table-container { display: flex; gap: 20px; flex-wrap: wrap; }
.table-box {
  flex: 1;
  min-width: 300px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  background: #fff;
}
.delivery-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.delivery-table th, .delivery-table td { padding: 10px; text-align: left; border-bottom: 1px solid #eee; }
.delivery-table th { background: #081746; color: #fff; }
.icon { margin-right: 8px; } /* dla ikon FA w kolumnie „Forma dostawy” */
.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 10px;
  background: #f1f1f1;
  color: #333;
  margin-left: 8px;
  vertical-align: middle;
}
.badge--prepaid { background: #fff3e0; color: #de982f; border: 1px solid #ffd8a6; }
.gratis { font-weight: 700; color: #de982f; }
.note { font-size: 13px; color: #555; margin-top: 10px; }

/* Sekcja formularza i FAQ (reuse ze strony kontaktowej) */
.contact-section { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 50px; }
.contact-form, .info-faq {
  flex: 1; min-width: 300px; background: #fff; padding: 25px; border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08); border-top: 5px solid #de982f;
}
.contact-form h3, .info-faq h3 { margin-bottom: 12px; font-size: 22px; color: #081746; }
.contact-form label { display: block; margin-top: 10px; font-weight: 700; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 10px; margin-top: 5px; border: 1px solid #ccc; border-radius: 5px;
}
.contact-form button {
  margin-top: 15px; background: #de982f; color: #fff; border: none;
  padding: 10px 15px; cursor: pointer; border-radius: 6px; font-weight: 700;
}
.contact-form button:hover { background: #c4781f; }
.success-box {
  background: #d4edda; color: #155724; padding: 10px; margin-top: 20px; border: 1px solid #c3e6cb; border-radius: 6px;
}

.checkbox-inline { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0; }

.faq-box { margin-top: 8px; }
.accordion-item { border-bottom: 1px solid #ddd; margin-bottom: 10px; }
.accordion-btn {
  background: #fff; color: #081746; cursor: pointer; padding: 12px; width: 100%;
  text-align: left; border: none; font-size: 15px; font-weight: 700; transition: background .2s;
}
.accordion-btn:hover { background: #f7f7f7; }
.accordion-panel { display: none; padding: 0 12px 12px; color: #444; font-size: 14px; }
.accordion-item.active .accordion-panel { display: block; }

/* Responsywność */
@media (max-width: 768px) {
  .table-container { flex-direction: column; }
  .contact-section { flex-direction: column; }
}


/* Spójny układ siatki */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Kafelki z cieniem i estetyką */
.card {
  background: white;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #de982f;
  transition: transform 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #081746;
  font-size: 18px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: #444;
  margin: 5px 0;
}

.card i {
  margin-right: 8px;
  color: #de982f;
}

.card a {
  text-decoration: none;
  color: #081746;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

/* Wyróżniony baner/kafelek */
.card.highlight {
  border-top: 5px solid red;
  color: red;
}

/* Responsywność na mobile */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

body {
  font-family: Arial, sans-serif;
}
h2 {
  color: #081746;
  font-size: 26px;
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 3px solid #de982f;
  display: inline-block;
  padding-bottom: 5px;
}
.delivery-info {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid #de982f;
  border-radius: 5px;
  margin-bottom: 20px;
  color: #333;
}
.delivery-info p { margin: 5px 0; }

.table-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.table-box {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
th {
  background: #081746;
  color: white;
}
.icon {
  width: 30px;
  vertical-align: middle;
  margin-right: 8px;
}
.gratis {
  font-weight: bold;
  color: #de982f;
}
.note {
  font-size: 13px;
  color: #555;
  margin-top: 10px;
}

/* Formularz/FAQ – spójne ze stroną kontaktową */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 50px;
}
.contact-form,
.info-faq {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #de982f;
}
.contact-form h3,
.info-faq h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #081746;
}
.contact-form label {
  font-weight: bold;
  margin-top: 10px;
  display: block;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  margin-top: 15px;
  background: #de982f;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}
.contact-form button:hover {
  background: #c4781f;
}
.info-box p,
.faq-box p {
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
}
.info-box i,
.faq-box i {
  margin-right: 8px;
  color: #de982f;
}
.accordion-btn {
  background-color: #fff;
  color: #081746;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  transition: background 0.3s ease;
}
.accordion-btn:hover { background-color: #f2f2f2; }
.accordion-panel {
  padding: 0 12px 12px 12px;
  display: none;
  background-color: white;
  font-size: 14px;
  color: #444;
}
.accordion-item.active .accordion-panel { display: block; }

@media (max-width: 768px) {
  .contact-section { flex-direction: column; }
}

        body {
            font-family: Arial, sans-serif;
        }
        h2 {
            color: #081746;
            font-size: 26px;
            margin-bottom: 15px;
            text-transform: uppercase;
            border-bottom: 3px solid #de982f;
            display: inline-block;
            padding-bottom: 5px;
        }
        .payment-box {
            display: flex;
            align-items: center;
            background: #f9f9f9;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            margin-bottom: 20px;
            border-left: 4px solid #de982f;
        }
        .payment-box img {
            width: 60px;
            margin-right: 15px;
        }
        .payment-box h3 {
            margin: 0;
            color: #081746;
            font-size: 20px;
        }
        .payment-box p {
            margin: 5px 0;
            color: #333;
        }