.seal-configurator #seal-profile-types-module > .card-header {
  background-color: #fff !important;
}

/* ===================================================================
   DOBRE USZCZELKI - Industrial Design System
   Version: 4.0 - Cleaned & Optimized
   Bootstrap 4 Compatible
   Autor: Adrian Bechta
   =================================================================== */

/* === Open Sans: lokalne WOFF2 (łacina + latin-ext), wagi 400 / 500 / 600 / 700 === */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/open-sans/open-sans-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === CSS Variables === */
.dobreuszczelki-theme {
  --industrial-red: 0 65% 45%;
  --industrial-red-light: 0 65% 55%;
  --industrial-red-dark: 0 65% 35%;
  --industrial-gray: 220 15% 20%;
  --industrial-gray-light: 220 10% 50%;
  --industrial-yellow: 45 95% 50%;
  --industrial-surface: 0 0% 98%;
  --industrial-border: 220 15% 85%;
  --shadow-industrial: 0 10px 30px -10px hsl(var(--industrial-red) / 0.2);
  --shadow-card-custom: 0 4px 20px -4px hsl(var(--industrial-gray) / 0.1);
}

/* === Container fluid - max-width === */
.container-fluid {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* === Global - zapobieganie scrollowi poziomemu (100vw) === */
html,
body {
  overflow-x: hidden;
}

body {
  line-height: 1.5;
}

#main .page-content,
#main .page-footer,
#main .page-header {
  margin-bottom: 0;
  padding: 0;
}

/* === Global === */
.dobreuszczelki-theme {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: white;
  color: hsl(var(--industrial-gray));
  -webkit-font-smoothing: antialiased;
}

/* === Linki - dopasowanie kolorów do motywu (bez niebieskiego) === */
.dobreuszczelki-theme a {
  color: hsl(var(--industrial-red));
}

a:hover, a:focus {
  color: #b82323;
}

.dobreuszczelki-theme a:active {
  color: #b82323 !important;
}
.dobreuszczelki-theme a:focus {
  outline-color: hsl(var(--industrial-red));
}

/* === Top Bars === */
/* Desktop top bar */
.dobreuszczelki-theme .top-bar {
  background: hsl(var(--industrial-surface)) !important;
  font-size: 0.813rem;
  color: hsl(var(--industrial-gray-light)) !important;
}

.dobreuszczelki-theme .top-bar__contact a {
  transition: color 0.2s ease;
}

.dobreuszczelki-theme .top-bar__contact a:hover,
.dobreuszczelki-theme .top-bar__contact a:focus {
  color: hsl(var(--industrial-red)) !important;
}

/* Mobile top icons bar - NIE nadpisuj Bootstrap! */
.dobreuszczelki-theme .mobile-top-icons {
  background: hsl(var(--industrial-surface)) !important;
  border-bottom: 1px solid hsl(var(--industrial-border)) !important;
}

.dobreuszczelki-theme .header-mobile-phone:hover {
  color: hsl(var(--industrial-red)) !important;
}

/* Respektuj Bootstrap responsive classes */
@media (min-width: 768px) {
  .dobreuszczelki-theme .mobile-top-icons.d-md-none {
    display: none !important;
  }
  
  .dobreuszczelki-theme .top-bar.d-none.d-md-block {
    display: block !important;
  }
}

/* === Header === */
.dobreuszczelki-theme #header {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--industrial-border)) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 !important;
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}

.dobreuszczelki-theme .header-mobile-strip {
  padding: 0.5rem 0;
  transition: padding 0.28s ease, font-size 0.28s ease;
}

.dobreuszczelki-theme .header-main__row {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  transition: padding 0.3s ease;
}

/* Pasek po scrollu: mniejsze logo, menu, ikonki + mniej paddingu */
.dobreuszczelki-theme #header.is-scrolled {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08) !important;
}

.dobreuszczelki-theme #header.is-scrolled .header-mobile-strip {
  padding: 0.3rem 0;
}

.dobreuszczelki-theme #header.is-scrolled .header-main__row {
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* Wyśrodkowanie wszystkich elementów w pionie - Bootstrap */
.dobreuszczelki-theme #header .row {
  align-items: center !important;
}

/* Menu główne: zwarte, wyrównane do prawej (kolumna obok logo) */
.dobreuszczelki-theme #header .header-nav {
  justify-content: flex-end !important;
}

.dobreuszczelki-theme .header-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.dobreuszczelki-theme .header-logo:hover {
  opacity: 0.9;
  text-decoration: none;
}

.dobreuszczelki-theme .header-logo img {
  max-height: 2.75rem;
  width: auto;
  height: auto;
  display: block;
  transition: max-height 0.3s ease;
}

@media (min-width: 768px) {
  .dobreuszczelki-theme .header-logo img {
    max-height: 3.25rem;
  }
}

.dobreuszczelki-theme #header.is-scrolled .header-logo img {
  max-height: 2.25rem !important;
}

/* Navigation */
.dobreuszczelki-theme .header-nav {
  border-bottom: none !important;
}

.dobreuszczelki-theme .header-nav a {
  padding: 0.4rem 0.65rem !important;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--industrial-gray)) !important;
  text-decoration: none;
  transition: padding 0.3s ease, font-size 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  border: none !important;
}

.dobreuszczelki-theme #header.is-scrolled .header-nav a {
  font-size: 0.7rem;
  padding: 0.28rem 0.5rem !important;
}

.dobreuszczelki-theme .header-nav a:hover {
  background: hsl(var(--industrial-surface)) !important;
  color: hsl(var(--industrial-red)) !important;
  text-decoration: none;
}

.dobreuszczelki-theme .header-nav a.active {
  background: hsl(var(--industrial-red)) !important;
  color: white !important;
  text-decoration: none;
}

/* Pasek górny: konto + koszyk (displayNav2) */
.dobreuszczelki-theme .top-bar .user-info,
.dobreuszczelki-theme .top-bar #blockcart-wrapper {
  display: inline-flex !important;
  align-items: center;
  margin: 0 0.1rem !important;
}

.dobreuszczelki-theme .top-bar .user-info a,
.dobreuszczelki-theme .top-bar .blockcart a {
  color: hsl(var(--industrial-gray)) !important;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  position: relative;
  padding: 0.2rem 0.35rem !important;
  border-radius: 0.375rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.dobreuszczelki-theme .top-bar .user-info a:hover,
.dobreuszczelki-theme .top-bar .blockcart a:hover {
  color: hsl(var(--industrial-red)) !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

.dobreuszczelki-theme .top-bar .user-info a .material-icons,
.dobreuszczelki-theme .top-bar .blockcart a .material-icons {
  font-size: 24px !important;
}

.dobreuszczelki-theme .top-bar .blockcart .header {
  margin: 0 !important;
  padding: 0 !important;
}

/* User Section & Cart w sticky #header (np. wąskie layouty) — głównie pasek mobilny */
.dobreuszczelki-theme .user-info,
.dobreuszczelki-theme #blockcart-wrapper {
  display: inline-flex !important;
  align-items: center;
  margin: 0 0.25rem !important;
}

.dobreuszczelki-theme .user-info a,
.dobreuszczelki-theme .blockcart a {
  color: hsl(var(--industrial-gray)) !important;
  text-decoration: none;
  transition: padding 0.3s ease, background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  display: inline-flex !important;
  align-items: center;
  position: relative;
  padding: 0.5rem !important;
  border-radius: 0.375rem;
}

.dobreuszczelki-theme .user-info a:hover,
.dobreuszczelki-theme .blockcart a:hover {
  color: hsl(var(--industrial-red)) !important;
  background: hsl(var(--industrial-surface)) !important;
}

.dobreuszczelki-theme .user-info a .material-icons,
.dobreuszczelki-theme .blockcart a .material-icons {
  font-size: 28px !important;
  transition: font-size 0.3s ease;
}

.dobreuszczelki-theme #header.is-scrolled .user-info a,
.dobreuszczelki-theme #header.is-scrolled .blockcart a {
  padding: 0.3rem !important;
}

.dobreuszczelki-theme #header.is-scrolled .user-info a .material-icons,
.dobreuszczelki-theme #header.is-scrolled .blockcart a .material-icons {
  font-size: 23px !important;
}

.dobreuszczelki-theme .blockcart,
.dobreuszczelki-theme .cart-preview {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

.dobreuszczelki-theme .blockcart .header {
  margin: 0 !important;
  padding: 0 !important;
}

.dobreuszczelki-theme .blockcart .cart-products-count {
  background: hsl(var(--industrial-red)) !important;
  color: white !important;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

/* Hide cart body dropdown */
.dobreuszczelki-theme .blockcart .body {
  display: none !important;
}

/* Cart page grid */
.dobreuszczelki-theme .cart-grid {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* === Buttons === */
.dobreuszczelki-theme .btn {
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dobreuszczelki-theme .btn-primary,
.dobreuszczelki-theme .btn-secondary {
  text-transform: none;
}

.dobreuszczelki-theme .btn-primary {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
  color: white !important;
  box-shadow: var(--shadow-card-custom);
}

.dobreuszczelki-theme .btn-primary:hover,
.dobreuszczelki-theme .btn-primary:focus {
  background: #b82323 !important;
  border-color: #b82323 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-industrial);
  text-decoration: none;
}

.dobreuszczelki-theme .btn-secondary {
  background: white !important;
  border: 2px solid hsl(var(--industrial-red)) !important;
  color: hsl(var(--industrial-red)) !important;
}

.dobreuszczelki-theme .btn-secondary:hover,
.dobreuszczelki-theme .btn-secondary:focus {
  background: #b82323 !important;
  border-color: #b82323 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.dobreuszczelki-theme .btn-outline-light {
  color: #fff;
  border-color: #fff;
}

/* === Hero Section - BEZ nakładki koloru === */
.dobreuszczelki-theme .hero-section {
  background: linear-gradient(135deg, hsl(var(--industrial-gray)) 0%, hsl(var(--industrial-red-dark)) 100%);
  color: white;
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  width: 100%;
}

.dobreuszczelki-theme .hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/hero/hero-manufacturing.jpg');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
}

/* Ciemna nakładka TYLKO dla czytelności tekstu */
.dobreuszczelki-theme .hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.dobreuszczelki-theme .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.dobreuszczelki-theme .hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.dobreuszczelki-theme .hero-section h1 .highlight {
  color: hsl(var(--industrial-red));
}

.dobreuszczelki-theme .hero-section p {
  font-size: 15px;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

/* === Cards === */
.dobreuszczelki-theme .card {
  background: white !important;
  border: none !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.dobreuszczelki-theme .service-card {
  border: 1px solid hsl(220 10% 92%) !important;
  box-shadow: 0 1px 3px hsl(var(--industrial-gray) / 0.05);
  overflow: visible;
}

.dobreuszczelki-theme a.service-card {
  color: inherit;
}

.dobreuszczelki-theme .service-card .card-img-top {
  border-radius: 0.75rem 0.75rem 0 0;
  object-fit: contain;
  width: 100%;
  background: hsl(0 0% 97%);
}

.dobreuszczelki-theme .service-cards-row {
  padding-top: 0.5rem;
  overflow: visible;
}

.dobreuszczelki-theme .service-card:hover {
  box-shadow: 0 4px 12px hsl(var(--industrial-gray) / 0.06);
}

.dobreuszczelki-theme .service-card .card-title {
  color: hsl(var(--industrial-gray));
  transition: color 0.3s ease;
}

.dobreuszczelki-theme .service-card:hover .card-title {
  color: hsl(var(--industrial-red));
}

.dobreuszczelki-theme .service-card ul li .text-danger {
  color: hsl(var(--industrial-red)) !important;
  font-weight: bold;
  margin-right: 0.75rem;
}

/* === Stats === */
.dobreuszczelki-theme .stat-item {
  background: white !important;
  border-radius: 0.75rem !important;
  box-shadow: var(--shadow-card-custom) !important;
  border: none !important;
  transition: all 0.3s ease;
}

.dobreuszczelki-theme .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-industrial) !important;
}

.dobreuszczelki-theme .stat-number {
  color: hsl(var(--industrial-red)) !important;
  font-weight: 700;
  font-size: 3rem;
}

/* === Section Materials - List styling === */
.section-materials ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.section-materials ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #6c757d;
}

.section-materials ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background-color: hsl(var(--industrial-red));
  border-radius: 50%;
}

/* === Footer === */
.dobreuszczelki-theme #footer {
  background: hsl(var(--industrial-gray)) !important;
  color: white !important;
  padding: 3rem 0 1rem !important;
}

.dobreuszczelki-theme #footer .footer-logo-white {
  display: block;
  height: 3.5rem;
  max-height: none;
  width: auto;
  /* pełnobarwne logo → biała wersja na ciemnym tle */
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.dobreuszczelki-theme #footer a:hover .footer-logo-white,
.dobreuszczelki-theme .js-footer a:hover .footer-logo-white {
  opacity: 1;
}

.dobreuszczelki-theme #footer h3,
.dobreuszczelki-theme #footer .h6,
.dobreuszczelki-theme .js-footer h3,
.dobreuszczelki-theme .js-footer .h6 {
  color: white !important;
  font-weight: 600;
}

.dobreuszczelki-theme #footer .footer-col-title,
.dobreuszczelki-theme .js-footer .footer-col-title {
  margin-top: 0;
  margin-bottom: 13px;
}

.dobreuszczelki-theme #footer .footer-col-logo,
.dobreuszczelki-theme .js-footer .footer-col-logo {
  margin-bottom: 0.3rem;
}

.dobreuszczelki-theme #footer .row > [class^="col-"] > p:first-of-type,
.dobreuszczelki-theme .js-footer .row > [class^="col-"] > p:first-of-type {
  margin-top: 0.15rem;
  margin-bottom: 0;
  line-height: 1.45;
}

.dobreuszczelki-theme #footer a {
  opacity: 0.8;
  transition: all 0.3s ease;
  text-decoration: none;
}

.dobreuszczelki-theme #footer a:hover {
  opacity: 1;
  color: #bd2828 !important;
}

/* Stopca — ciasne odstępy w listach, kontakcie, całym #footer / .js-footer */
.dobreuszczelki-theme #footer .list-unstyled,
.dobreuszczelki-theme .js-footer .list-unstyled {
  margin-bottom: 0;
}

.dobreuszczelki-theme #footer .list-unstyled li,
.dobreuszczelki-theme .js-footer .list-unstyled li {
  margin-bottom: 3px;
  line-height: 1.35;
}

.dobreuszczelki-theme #footer .list-unstyled li:last-child,
.dobreuszczelki-theme .js-footer .list-unstyled li:last-child {
  margin-bottom: 0;
}

.dobreuszczelki-theme #footer .footer-contact p,
.dobreuszczelki-theme .js-footer .footer-contact p {
  margin-top: 0;
  margin-bottom: 3px;
  line-height: 1.35;
}

.dobreuszczelki-theme #footer .footer-contact p:last-child,
.dobreuszczelki-theme .js-footer .footer-contact p:last-child {
  margin-bottom: 0;
}

.js-footer a {
  color: #fff;
}

.dobreuszczelki-theme #footer a:visited,
.dobreuszczelki-theme .js-footer a:visited {
  color: #fff;
  opacity: 0.8;
}

.dobreuszczelki-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  opacity: 0.7;
}

.dobreuszczelki-theme .footer-bottom .footer-credit {
  color: #7a7a7a !important;
}

/* Footer - Opacity styles */
.dobreuszczelki-theme #footer .small {
  opacity: 0.8;
  color: #7a7a7a !important;
}

.dobreuszczelki-theme #footer ul.list-unstyled.small {
  opacity: 0.8;
}

/* Footer - Font Awesome ikonki */
.dobreuszczelki-theme #footer .footer-contact .footer-icon {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.dobreuszczelki-theme #footer .footer-contact .fa-map-marker-alt {
  color: hsl(var(--industrial-red)) !important;
}

.dobreuszczelki-theme #footer .footer-contact .fa-phone,
.dobreuszczelki-theme #footer .footer-contact .fa-envelope {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* === CTA Section === */
.dobreuszczelki-theme .cta-section {
  background: linear-gradient(135deg, hsl(var(--industrial-red)), hsl(var(--industrial-red-dark))) !important;
  color: white !important;
}

.dobreuszczelki-theme .cta-section h2,
.dobreuszczelki-theme .cta-section p {
  color: white !important;
}

/* === Typography === */
.dobreuszczelki-theme .text-muted {
  color: hsl(var(--industrial-gray-light)) !important;
}

.dobreuszczelki-theme .text-danger {
  color: hsl(var(--industrial-red)) !important;
}

/* === Backgrounds === */
.dobreuszczelki-theme .bg-light {
  background-color: hsl(var(--industrial-surface)) !important;
}

/* === Wrapper Override === */
.dobreuszczelki-theme #wrapper {
  background: white !important;
  padding-top: 0 !important;
}

/* Breadcrumb - pod paskiem (header), widoczny wszędzie */
.dobreuszczelki-theme .breadcrumb-row {
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Ukryj breadcrumb na stronie głównej */
#index .breadcrumb-row {
  display: none !important;
}

.dobreuszczelki-theme .breadcrumb {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0.5rem 0;
  background: transparent;
}

/* === Strona 404 === */
/* Brak poziomego scrolla - ukryj overflow */
body#pagenotfound {
  overflow-x: hidden;
}

/* Treść nie może wychodzić poza viewport */
#pagenotfound .page-not-found,
#pagenotfound .page-content,
#pagenotfound #content-wrapper,
#products .page-not-found {
  max-width: 100%;
  overflow: visible;
  overflow-x: visible;
  min-width: 0;
}

#pagenotfound #main .page-content,
#products #main .page-content {
  margin-bottom: 3rem;
}

/* Wrapper hero - breakout na 100% szerokości przeglądarki */
.page-not-found-hero-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Hero na 100% szerokości przeglądarki */
.page-not-found-hero,
#pagenotfound .page-not-found-hero,
#products .page-not-found-hero {
  background: linear-gradient(to right, #3D3949, #661D24) !important;
  padding: 4rem 0 !important;
  text-align: center;
  color: white !important;
  width: 100%;
  box-sizing: border-box;
}

.page-not-found-code {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-not-found-title {
  font-size: 2rem;
  font-weight: 700;
  color: white !important;
  margin-bottom: 1rem;
}

.page-not-found-description {
  font-size: 1.125rem;
  color: white;
  opacity: 0.95;
  max-width: 500px;
  margin: 0 auto;
}

.page-not-found-content {
  background: white;
}

/* Wyszukiwarka na 404 - margines pod spodem, bez float */
.page-not-found-search {
  margin-bottom: 3rem !important;
}

/* Wyłączenie float:right z modułu ps_searchbar */
.page-not-found-search-wrapper .page-not-found-search-inner {
  overflow: hidden;
  text-align: center;
}

.page-not-found-search-wrapper #search_widget,
.page-not-found-search-wrapper .search-widgets,
#pagenotfound .page-not-found-search #search_widget,
#products .page-not-found-search #search_widget {
  float: none !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-not-found-search .search-widget,
.page-not-found-search #search_widget {
  max-width: 400px;
}

.page-not-found-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: hsl(var(--industrial-surface));
  border: 1px solid hsl(var(--industrial-border));
  border-radius: 0.5rem;
  text-decoration: none !important;
  color: hsl(var(--industrial-gray)) !important;
  transition: all 0.3s ease;
  min-height: 120px;
}

.page-not-found-link-card:hover {
  background: white;
  border-color: hsl(var(--industrial-red));
  color: hsl(var(--industrial-red)) !important;
  box-shadow: var(--shadow-card-custom);
  transform: translateY(-2px);
}

.page-not-found-link-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-not-found-link-text {
  font-weight: 600;
  font-size: 1rem;
}

@media (max-width: 767px) {
  .page-not-found-code {
    font-size: 4rem;
  }
  .page-not-found-title {
    font-size: 1.5rem;
  }
  .page-not-found-hero {
    padding: 2.5rem 0 !important;
  }
}

/* === Product Pages === */
.dobreuszczelki-theme .product-price {
  color: hsl(var(--industrial-red)) !important;
  font-weight: 700;
}

.dobreuszczelki-theme .add-to-cart {
  background: hsl(var(--industrial-red)) !important;
  color: white !important;
  font-weight: 600 !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease;
}

.dobreuszczelki-theme .add-to-cart:hover {
  background: hsl(var(--industrial-red-light)) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-industrial) !important;
}

/* === Forms === */
/* Jedna klasa .dobreuszczelki-theme + :where() – bez powtarzania selektorów */
.dobreuszczelki-theme :where(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  select,
  textarea,
  .form-control
) {
  border: 1px solid hsl(var(--industrial-border));
  border-radius: 0;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: hsl(var(--industrial-gray));
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dobreuszczelki-theme :where(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  select,
  textarea,
  .form-control
):hover {
  border-color: hsl(var(--industrial-gray-light));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.dobreuszczelki-theme :where(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  select,
  textarea,
  .form-control
):focus {
  border-color: hsl(var(--industrial-red));
  box-shadow: 0 0 0 0.2rem hsla(var(--industrial-red), 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  outline: none;
  background-color: #fff;
}

.dobreuszczelki-theme :where(
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  input[type="password"],
  input[type="search"],
  textarea
)::placeholder {
  color: hsl(var(--industrial-gray-light));
  opacity: 0.7;
}

.dobreuszczelki-theme select {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 12px !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

.dobreuszczelki-theme textarea {
  resize: vertical !important;
  min-height: 120px !important;
  line-height: 1.5 !important;
}

.dobreuszczelki-theme label {
  font-weight: 500 !important;
  color: hsl(var(--industrial-gray)) !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.9375rem !important;
}

.dobreuszczelki-theme .form-group {
  margin-bottom: 0.25rem !important;
}

/* Pola wymagane - gwiazdka (*) wyróżniona */
.dobreuszczelki-theme label.required::after,
.dobreuszczelki-theme .form-control-label.required::after {
  content: " *";
  color: hsl(var(--industrial-red));
  font-weight: 700;
}

/* === Mobile Specific Styles === */
@media (max-width: 767px) {
  /* Ukryj desktop top bar */
  .dobreuszczelki-theme .top-bar.d-none.d-md-block {
    display: none !important;
  }
  
  /* Pokaż mobile top icons bar */
  .dobreuszczelki-theme .mobile-top-icons {
    display: block !important;
  }
  
  /* Mobile user & cart icons */
  .dobreuszczelki-theme #_mobile_user_info,
  .dobreuszczelki-theme #_mobile_cart {
    display: inline-flex !important;
  }
  
  .dobreuszczelki-theme #_mobile_user_info .user-info,
  .dobreuszczelki-theme #_mobile_cart .blockcart,
  .dobreuszczelki-theme #_mobile_cart #blockcart-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
  }
  
  .dobreuszczelki-theme #_mobile_user_info a,
  .dobreuszczelki-theme #_mobile_cart a {
    padding: 0.5rem !important;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    color: hsl(var(--industrial-gray)) !important;
  }
  
  .dobreuszczelki-theme #_mobile_user_info a:hover,
  .dobreuszczelki-theme #_mobile_cart a:hover {
    background: white !important;
    color: hsl(var(--industrial-red)) !important;
  }
  
  .dobreuszczelki-theme #_mobile_user_info a .material-icons,
  .dobreuszczelki-theme #_mobile_cart a .material-icons {
    font-size: 24px !important;
    color: hsl(var(--industrial-gray)) !important;
  }
  
  .dobreuszczelki-theme #_mobile_cart .cart-products-count {
    top: 2px !important;
    right: 2px !important;
  }
  
}

/* === Mobile Menu === */
/* Hamburger button - nadpisz transparent color */
.dobreuszczelki-theme #mobile-menu-toggle.btn-outline-secondary {
  color: hsl(var(--industrial-gray)) !important;
  border-color: hsl(var(--industrial-border)) !important;
  background: transparent !important;
}

.dobreuszczelki-theme #mobile-menu-toggle.btn-outline-secondary:hover {
  background: hsl(var(--industrial-surface)) !important;
  color: hsl(var(--industrial-red)) !important;
}

.dobreuszczelki-theme #header.is-scrolled #mobile-menu-toggle.btn-outline-secondary {
  padding: 0.4rem 0.6rem !important;
  transition: padding 0.3s ease;
}

.dobreuszczelki-theme #header.is-scrolled #mobile-menu-toggle svg {
  width: 22px;
  height: 22px;
  transition: width 0.3s ease, height 0.3s ease;
}

.dobreuszczelki-theme #mobile-menu {
  border-top: 1px solid hsl(var(--industrial-border));
}

.dobreuszczelki-theme #mobile-menu .col-12 {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

.dobreuszczelki-theme #mobile-menu nav {
  text-align: center;
}

.dobreuszczelki-theme #mobile-menu a {
  color: hsl(var(--industrial-gray));
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 7px !important;
  margin-bottom: 5px !important;
}

.dobreuszczelki-theme #mobile-menu a:hover {
  background: hsl(var(--industrial-surface));
  color: hsl(var(--industrial-red));
}

.dobreuszczelki-theme #mobile-menu a.active {
  background: hsl(var(--industrial-red));
  color: white !important;
}

/* === Responsive === */
@media (min-width: 768px) {
  .dobreuszczelki-theme #mobile-menu,
  .dobreuszczelki-theme #mobile-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .dobreuszczelki-theme .header-nav {
    display: none !important;
  }
  
  .dobreuszczelki-theme .hero-section {
    padding: 4rem 0;
    min-height: 350px;
  }
  
  .dobreuszczelki-theme .hero-section h1 {
    font-size: 2rem;
  }
  
  .dobreuszczelki-theme .stat-number {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 991px) {
  .dobreuszczelki-theme .hero-section {
    padding: 5rem 0;
  }
}

.input-group .input-group-btn {
  margin-top: 3px;
}

.input-group .input-group-btn > .btn {
  background-color: #000;
  border-radius: 4px !important;
  text-transform: none;
}

.input-group .input-group-btn > .btn[data-action="show-password"] {
  padding: 0.48rem 1rem;
  background: #7a7a7a;
}

.group-span-filestyle {
  margin-top: 0.5rem !important;
}

/* === Product Images Thumbnails === */
.dobreuszczelki-theme .product-images .thumb {
  border: 2px solid transparent !important;
  transition: all 0.3s ease !important;
  border-radius: 0.25rem !important;
}

.dobreuszczelki-theme .product-images .thumb:hover {
  border-color: transparent !important;
  box-shadow: none !important;
  transform: scale(1.05) !important;
}

.dobreuszczelki-theme .product-images .thumb.selected,
.dobreuszczelki-theme .product-images .thumb.js-thumb-selected {
  border-color: hsl(var(--industrial-red)) !important;
  box-shadow: 0 0 0 2px hsla(var(--industrial-red), 0.2) !important;
}

.dobreuszczelki-theme .product-cover img {
}
.dobreuszczelki-theme .group-span-filestyle.input-group-btn label{
  color: #fff !important;
  font-size: 12px;
}

/* === Subcategories cards – styl custom-seal-solutions (preview) === */
.subcategories-cards-custom {
  background-color: #f8fafc;
}

.subcategories-cards-custom__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.subcategories-cards-custom__lead {
  color: #64748b;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
}

.subcategories-cards-custom__card {
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
}

.subcategories-cards-custom__card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.subcategories-cards-custom__card-img {
  height: 300px;
  background: #f1f5f9;
}

.subcategories-cards-custom__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subcategories-cards-custom__card-body {
  color: #334155;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  flex-grow: 1;
  height: 100%;
}

.subcategories-cards-custom__card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.subcategories-cards-custom__subtitle {
  font-size: 0.875rem;
  color: #0891b2;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.subcategories-cards-custom__text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
  min-height: 5.5em; /* wyrównanie krótkich wstępów (~4 wiersze przy tym kroju pisma) */
  flex-shrink: 0;
}

/* Równe wysokości kart w rzędzie: kolumny rozciągają, treść w kolumnie flex, przycisk na dół */
.subcategories-cards-custom .row {
  align-items: stretch !important;
}
.subcategories-cards-custom .row > [class*='col-'] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
}
.subcategories-cards-custom__specs {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.875rem;
  min-height: 7rem; /* stała „szafka” parametrów (3 pola + ewent. 2. wiersz w opisie) */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.subcategories-cards-custom__spec-label {
  color: #0891b2;
  font-size: 0.75rem;
}

.subcategories-cards-custom__heading {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.subcategories-cards-custom__features {
  color: #475569;
  font-size: 0.875rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.subcategories-cards-custom__card-body a.subcategories-cards-custom__btn,
.subcategories-cards-custom__card-body .subcategories-cards-custom__btn,
.subcategories-cards-custom__card-body a.btn.subcategories-cards-custom__btn {
  margin-top: auto;
  align-self: stretch;
  text-align: center;
  box-sizing: border-box;
}

.subcategories-cards-custom__bullet {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0891b2;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.subcategories-cards-custom__badges {
  gap: 0.35rem;
}

.subcategories-cards-custom__badges .badge {
  background: #e2e8f0;
  color: #475569;
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
}

.badge-secondary {
  background-color: rgb(243, 244, 246);
  color: rgb(43, 48, 59);
  padding: 7px;
}

.subcategories-cards-custom__btn {
  background: #0891b2;
  color: #fff;
  border: 0;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.subcategories-cards-custom__btn:hover {
  background: #0e7490;
  color: #fff;
}

/* === Strona pojedynczej podkategorii (Oferta) – opis z dużym zdjęciem === */
.category-header-custom__hero {
  background: #f1f5f9;
  overflow: hidden;
}

.category-header-custom__title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.category-header-custom__description {
  color: #334155;
  line-height: 1.65;
}

.category-header-custom__description .subtitle {
  font-size: 1rem;
  color: #0891b2;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.category-header-custom__description .specs-box {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  border-left: 4px solid #0891b2;
}

.category-header-custom__description h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.category-header-custom__description ul {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
}

.category-header-custom__description ul li {
  margin-bottom: 0.35rem;
}

/* Dodatkowy opis kategorii (stopka) */
.category-additional-description {
  padding: 1.25rem !important;
}

.category-additional-description h3,
.category-additional-description h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

/* === Product List Hero Section (Screen 1) === */
.product-list-hero {
  background: linear-gradient(to right, #3D3949, #661D24) !important;
  padding: 3rem 0 !important;
  text-align: center;
  color: white !important;
  margin-bottom: 1rem;
  width: 100%;
  position: relative;
  display: block;
}

/* Upewnij się, że sekcja hero jest pełnej szerokości nawet wewnątrz container */
#wrapper .product-list-hero,
#main .product-list-hero,
section .product-list-hero,
.container .product-list-hero {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 4rem 0;
  position: relative;
  box-sizing: border-box;
}

/* Container wewnątrz hero - przywróć normalne marginesy */
.product-list-hero .container {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1140px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

.product-list-hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1rem;
}

.product-list-hero-description {
  font-size: 1.125rem;
  color: white;
  opacity: 0.95;
  margin-bottom: 0;
}

/* === Category Header Section (Screen 2) === */
.category-header-section {
  background: white;
  padding: 2rem 0;
}

.category-header-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.category-header-description {
  font-size: 1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* === Category Specs Section (kategoria ID 2) - pełna szerokość === */
.category-full-width {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
}

/* === About - Nasze Wartości - pełna szerokość, delikatny szary === */
.about-values-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  box-sizing: border-box;
  background-color: #f8f9fa;
}

.about-values-section .card,
.about-values-section .about-value-card {
  border: 1px solid #d3d7de !important;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-values-section .about-value-card .card-body {
  text-align: left;
}

.about-values-section .about-value-card .card-title {
  position: relative;
  padding-left: 1.25rem;
}

.about-values-section .about-value-card .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--industrial-red));
  border-radius: 50%;
}

/* === About - Nowoczesne Technologie === */
.about-tech-section .about-tech-card {
  border: 1px solid #d3d7de !important;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

.about-tech-section .about-tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: hsl(var(--industrial-red));
  color: white;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.category-additional-section .category-additional-description {
  max-width: 800px;
  margin: 0 auto;
}

.category-specs-section .category-spec-card {
  border: none;
  border-radius: 0.75rem;
  background: white;
}

.category-specs-section .category-spec-value {
  font-size: 2.5rem;
  color: hsl(var(--industrial-red)) !important;
}

/* CTA section - screenie 2: pełna szerokość, przestronny układ */
.category-cta-section {
  background: hsl(var(--industrial-red)) !important;
  color: white !important;
  padding: 4rem 0;
  text-align: center;
}

.category-cta-section h2,
.category-cta-section .category-cta-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: white !important;
  margin-bottom: 1rem;
}

.category-cta-section p,
.category-cta-section .category-cta-desc,
.category-cta-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.125rem;
  margin: 0 auto;
  margin-bottom: 30px;
  max-width: 700px;
}

.category-cta-section .category-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.category-cta-section .category-cta-buttons .btn {
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.category-cta-section .btn-light {
  background: white !important;
  color: hsl(var(--industrial-gray)) !important;
  border-color: white !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
}

.category-cta-section .btn-light:hover {
  background: hsl(var(--industrial-red-dark)) !important;
  border-color: hsl(var(--industrial-red-dark)) !important;
  color: white !important;
}

/* === Karty cech: nazwa (etykieta) + wartość — layout 2+1 na md+, Bootstrap row === */
.product-specs .product-specs-row {
  margin-left: -8px;
  margin-right: -8px;
}
.product-specs .product-specs-col {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: .5rem;
  margin-right: 0;
}

/* Stabilny układ kart specyfikacji: 2 w rzędzie, 3. na pełną szerokość */
.product-specs .product-specs-row > .product-specs-col:nth-child(1),
.product-specs .product-specs-row > .product-specs-col:nth-child(2) {
  flex: 0 0 50%;
  max-width: 50%;
}

.product-specs .product-specs-row > .product-specs-col:nth-child(3) {
  flex: 0 0 100%;
  max-width: 100%;
}
.product-specs .product-specs-col:last-child,
.product-specs--compact .product-specs-col:last-child {
  margin-bottom: 0;
}
.product-spec-item {
  background: #f1f3f5;
  border: none;
  border-radius: 4px;
  padding: 1.05rem 1.2rem 1.15rem;
  min-width: 0;
  min-height: 100%;
  text-align: left;
  box-sizing: border-box;
}
.product-specs--compact .product-spec-item {
  padding: 0.7rem 0.85rem 0.8rem;
  border-radius: 10px;
}
.product-spec-label {
  display: block;
  font-size: 0.8rem;
  line-height: 1.3;
  color: #802020;
  font-weight: 500;
  margin: 0 0 0.4rem 0;
  letter-spacing: 0.01em;
}
.product-specs--compact .product-spec-label {
  font-size: 0.72rem;
  margin-bottom: 0.28rem;
}
.product-spec-value {
  display: block;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #2c3e50;
  font-weight: 700;
  margin: 0;
  flex: 1 0 auto;
}
.product-specs--compact .product-spec-value {
  font-size: 0.88rem;
  font-weight: 700;
}
/* Strona produktu: odstęp pod H3 */
.product-description-content .product-specs:not(.product-specs--compact) {
  margin-bottom: 1.25rem !important;
}

/* === Product Card Styling === */
.product-card .card {
  border: 1px solid #d3d7de !important;
  border-radius: 0.75rem;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* Jednakowa wysokość wiersza „Materiał:” (nawet gdy różna długość opisu albo pusto) */
.product-card .card-body .product-card__material-line {
  min-height: 6.5em; /* ~3–4 wiersze .small; zwiększ jeśli w gridzie jest wąsko */
  line-height: 1.45;
  flex-shrink: 0;
  display: block;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}

.product-card .card-body .mt-auto {
  margin-top: auto;
  padding-top: 1rem;
}

.product-card .card:hover {
  box-shadow: none;
}

.product-card .card-img-top {
  border-radius: 0;
  flex-shrink: 0;
}

.product-card .product-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

.product-card .product-features ul li {
  font-size: 0.875rem;
  color: #475569;
}

/* Cecha wiodąca (np. odporność DOT) – osobno od listy z check_circle; pod specyfikacją, nad listą */
.product-card .product-feature-lead,
.product-advantage-lead {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #1e293b;
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.65rem 0.55rem 0.75rem;
  border-left: 3px solid hsl(var(--industrial-red));
  background: #f1f5f9;
  border-radius: 0.375rem;
}

.product-card .product-applications .badge {
  background: #e2e8f0 !important;
  color: #475569 !important;
  font-weight: 500;
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
  margin: 4px;
}

.product-card .btn-danger {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
  color: white !important;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  transition: background 0.2s ease;
}

.product-card .btn-danger:hover {
  background: hsl(var(--industrial-red-dark)) !important;
  border-color: hsl(var(--industrial-red-dark)) !important;
  color: white !important;
}

/* Responsive dla Product List Hero */
@media (max-width: 767px) {
  .product-list-hero {
    padding: 2rem 0;
  }
  
  .product-list-hero-title {
    font-size: 1.75rem;
  }
  
  .product-list-hero-description {
    font-size: 1rem;
  }
  
  .category-header-title {
    font-size: 1.5rem;
  }
  
  .category-header-description {
    font-size: 0.9375rem;
  }
  
  .product-specs--compact .product-spec-item {
    min-height: 0;
  }
}

/* === Product Hero - góra strony produktu (jak Oferta) === */
.product-hero {
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden;
  background: linear-gradient(to right, #3D3949, #661D24) !important;
  padding: 3rem 2rem !important;
  color: white;
}

.product-hero-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 280px;
}

.product-hero-left {
  padding: 3rem 2rem !important;
  color: white;
}

.product-hero-right {
  background: transparent !important;
  padding: 2rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-content {
  max-width: 500px;
}

.product-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: white !important;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-hero-description {
  font-size: 1rem;
  color: white !important;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-hero-description p {
  color: white !important;
  margin-bottom: 0.5rem;
}

.product-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-product-hero-primary,
.btn-product-hero-secondary {
  padding: 0.625rem 1.25rem !important;
  border-radius: 0.5rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.btn-product-hero-primary {
  background: rgba(255,255,255,0.95) !important;
  color: #333 !important;
}

.btn-product-hero-primary:hover {
  background: white !important;
  color: #333 !important;
  transform: translateY(-1px);
}

.btn-product-hero-secondary {
  background: #661D24 !important;
  color: white !important;
  border-color: rgba(255,255,255,0.2) !important;
}

.btn-product-hero-secondary:hover {
  background: #7a232b !important;
  color: white !important;
  transform: translateY(-1px);
}

.product-hero-image {
  border-radius: 0.5rem;
  overflow: visible;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.product-hero-image:hover {
  opacity: 0.95;
}

.product-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  object-fit: contain;
}

@media (max-width: 991px) {
  .product-hero-left {
    padding: 2rem 1.5rem !important;
    text-align: center;
  }
  .product-hero-content {
    max-width: none;
    margin: 0 auto;
  }
  .product-hero-buttons {
    justify-content: center;
  }
  .product-hero-right {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .product-hero-title {
    font-size: 1.5rem;
  }
  .product-hero-description {
    font-size: 0.9375rem;
  }
}

/* === Galeria produktu - wyśrodkowana na stronie === */
#product-gallery {
  scroll-margin-top: 2rem;
  justify-content: center;
}
.product-gallery-wrapper {
  width: 100%;
  max-width: 100%;
  padding-top: 0;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.product-gallery-wrapper .page-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.product-gallery-wrapper .images-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-gallery-wrapper .product-cover {
  text-align: center;
  overflow: visible;
}
.product-gallery-wrapper .product-cover img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.product-gallery-wrapper .images-container {
  overflow: visible;
  min-height: auto;
}
.product-gallery-wrapper .js-qv-mask,
.js-qv-mask.mask {
  display: none;
}
.product-gallery-wrapper .product-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* === Proces Produkcji — tło i obramowanie na całą szerokość (jak .slogan-measure-cta) === */
.dobreuszczelki-theme .product-production-process {
  /* breakout z kolumny strony: identyczne wycentrowanie jak sekcja pomiar/profil */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
  background: #f4f6f8;
  border-top: 1px solid hsl(220 12% 88%);
  border-bottom: 1px solid hsl(220 12% 88%);
}
.dobreuszczelki-theme .product-production-process__kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--industrial-red));
  margin: 0 0 0.4rem 0;
}
.dobreuszczelki-theme .product-production-process__title {
  position: relative;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(var(--industrial-gray));
  margin: 0 0 0.2rem 0;
  padding-bottom: 0.6rem;
}
.dobreuszczelki-theme .product-production-process__title::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: hsl(var(--industrial-red));
  opacity: 0.9;
}
.dobreuszczelki-theme .product-production-process__intro {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 1.1rem 0 1.5rem 0;
  max-width: 32rem;
  padding-top: 0.35rem;
  border-top: 1px solid transparent;
}
.dobreuszczelki-theme .product-production-process__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dobreuszczelki-theme .product-production-process__step {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.35rem 0;
}
.dobreuszczelki-theme .product-production-process__step:last-child {
  margin-bottom: 0;
}
.dobreuszczelki-theme .product-production-process__step-num {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--industrial-red));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1;
  border-radius: 50%;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}
.dobreuszczelki-theme .product-production-process__step-body {
  min-width: 0;
  flex: 1 1 auto;
  padding-top: 0.05rem;
}
.dobreuszczelki-theme .product-production-process__step-title {
  display: block;
  color: #1e293b;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.2rem 0;
}
.dobreuszczelki-theme .product-production-process__step-text {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 28rem;
}
.dobreuszczelki-theme .product-production-process__media {
  margin: 0;
  line-height: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 20px 45px -20px rgba(15, 23, 42, 0.22);
  background: #e2e8f0;
  aspect-ratio: 4 / 3;
  max-width: 100%;
}
.dobreuszczelki-theme .product-production-process__media-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  vertical-align: top;
}
@media (max-width: 991.98px) {
  .dobreuszczelki-theme .product-production-process__step-num {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.85rem;
  }
  .dobreuszczelki-theme .product-production-process__title {
    font-size: 1.45rem;
  }
  .dobreuszczelki-theme .product-production-process__media {
    max-height: 52vh;
  }
  .dobreuszczelki-theme .product-production-process__media-img {
    height: auto;
    min-height: 12rem;
    object-fit: cover;
  }
}

/* === Product Description + Configurator (opis lewa, konfigurator prawa) === */
.product-description-configurator {
  background: white;
}

/* === Product page visual uplift (bardziej nowoczesny wyglad) === */
#product [id^="section-"] {
  scroll-margin-top: 92px;
}

#product .product-hero-title {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

#product .product-hero-description {
  max-width: 56ch;
}

#product .product-hero-image img {
  transition: transform 0.28s ease, filter 0.28s ease;
}

#product .product-hero-image:hover img {
  transform: translateY(-3px) scale(1.012);
  filter: drop-shadow(0 14px 24px rgba(15, 23, 42, 0.2));
}

#product .product-gallery-wrapper,
#product .product-available-profiles {
  background: #fff;
  border: 1px solid #e5e9ef;
  border-radius: 14px;
  box-shadow: 0 8px 28px -20px rgba(15, 23, 42, 0.28);
}

#product .product-gallery-wrapper {
  padding: 1rem 1rem 1.4rem;
}

#product .product-available-profiles {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

#product .product-description-content {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

#product .product-description-section {
  margin-bottom: 0;
  border: none;
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  box-shadow: none;
}

#product .product-description-content h3,
#product .product-description-content h4 {
  margin-bottom: 0.8rem;
}

#product .product-advantages-grid {
  gap: 0.8rem;
}

#product .product-advantage-item {
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem 0.75rem 0.75rem 1.2rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#product .product-advantage-item:hover {
  border-color: rgba(194, 70, 65, 0.36);
  box-shadow: 0 8px 18px -18px rgba(194, 70, 65, 0.7);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #product .product-gallery-wrapper,
  #product .product-available-profiles,
  #product .product-description-section {
    border-radius: 10px;
  }
}

.product-description-section {
  margin-bottom: 2rem;
}

/* Dane techniczne - osadzone w opisie produktu */
.product-details-embed {
  margin-bottom: 2rem;
}
.product-details-embed .tab-pane,
.product-details-embed .js-product-details {
  display: block !important;
}
.product-details-embed .product-features {
  margin-top: 0;
  margin-left: 0;
}

.product-details-embed .product-features--sheet .value--applications {
  padding-top: 0.2rem;
}

.product-feature-applications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-feature-applications-list li {
  margin: 0;
  padding: 0 !important;
  position: static;
}

.product-feature-applications-list li::before {
  content: none !important;
  display: none !important;
}

.product-feature-application-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.7rem;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
}

.product-features > dl.data-sheet dd.value,
.product-features > dl.data-sheet dt.name {
  background: #f1f3f5;
  border-radius: 4px;
  padding: 1.05rem 1.2rem 1.15rem;
}

.definition-list dl dd:nth-of-type(2n),
.definition-list dl dt:nth-of-type(2n),
.product-features > dl.data-sheet dd.value:nth-of-type(2n),
.product-features > dl.data-sheet dt.name:nth-of-type(2n) {
  background: #f1f3f5;
}

.product-description-section:last-child {
  margin-bottom: 0;
}

#product .product-configurator-cta-fullwidth {
  margin: 0.8rem 0 1.4rem;
}

#product .product-configurator-cta-fullwidth__inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(194, 70, 65, 0.18);
  border-radius: 14px;
  background: linear-gradient(120deg, #1f2937 0%, #263244 55%, #2f3a4c 100%);
  color: #f8fafc;
  padding: 1.25rem 1.2rem;
}

#product .product-configurator-cta-fullwidth__inner::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 70, 65, 0.35) 0%, rgba(194, 70, 65, 0) 70%);
  pointer-events: none;
}

#product .product-configurator-cta-fullwidth__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #cbd5e1;
  font-weight: 700;
}

#product .product-configurator-cta-fullwidth__title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.2rem, 2.1vw, 1.6rem);
  line-height: 1.28;
}

#product .product-configurator-cta-fullwidth__desc {
  margin: 0 0 0.7rem;
  color: #e2e8f0;
  line-height: 1.5;
}

#product .product-configurator-cta-fullwidth__benefits li {
  position: relative;
  padding-left: 1.05rem;
  margin-bottom: 0.3rem;
  color: #f1f5f9;
}

#product .product-configurator-cta-fullwidth__benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f87171;
}

#product .product-configurator-cta-fullwidth__btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 16px 28px -20px rgba(194, 70, 65, 0.8);
}

#product .product-configurator-cta-fullwidth .col-lg-4 {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  #product .product-configurator-cta-fullwidth__inner {
    padding: 1.05rem 0.95rem;
    border-radius: 10px;
  }
}

.product-description-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--industrial-gray));
  margin-bottom: 1rem;
}

.product-description-content h3,
.product-description-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--industrial-gray));
  margin-bottom: 1rem;
}

.product-description-full {
  color: hsl(var(--industrial-gray-light));
  line-height: 1.6;
}

.product-description-full p {
  margin-bottom: 1rem;
}

.product-description-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.product-description-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: hsl(var(--industrial-gray-light));
  line-height: 1.5;
}

.product-description-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: hsl(var(--industrial-red));
  border-radius: 50%;
}

.product-description-content ul {
  list-style: none;
  padding-left: 0;
}

.product-description-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 3px;
}

.product-description-content ul li::before {
  content: none;
  display: none;
}

/* Zalety: auto-fit = wiele pól obok siebie (m.in. zastosowania z ikonami) */
.product-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem 1.25rem;
  margin-bottom: 0;
  align-items: start;
}
@media (min-width: 1200px) {
  .product-advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
.product-advantage-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.25rem;
  position: relative;
  color: hsl(var(--industrial-gray-light));
  line-height: 1.5;
}
.product-advantage-item strong {
  color: hsl(var(--industrial-gray));
  font-weight: 700;
}
.product-advantage-desc {
  font-size: 0.9em;
  font-weight: 400;
  color: hsl(var(--industrial-gray-light));
  margin-left: 0;
  opacity: 0.95;
}
.product-advantage-item--zast {
  padding-left: 0;
}
.product-advantage-item--zast::before {
  display: none;
}
.product-advantage-item__zast-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
}
.product-advantage-item--zast .product-zast-ico-wrap {
  flex-shrink: 0;
  margin-top: 0.1em;
  color: hsl(var(--industrial-red));
}
.product-advantage-item__zast-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
/* Karta katalogu: zastosowania obok siebie, zawijają w wiele wierszy */
ul.product-zastosowania-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  column-gap: 0.75rem;
  row-gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.product-zastosowania-row .product-zastosowanie-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  max-width: 100%;
  flex: 0 1 auto;
}
ul.product-zastosowania-row .product-zastosowanie-line > span {
  line-height: 1.3;
  font-size: 0.875rem;
  color: #475569;
  white-space: normal;
}
.product-zastosowanie-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.product-zastosowanie-line .product-zast-ico-wrap {
  flex-shrink: 0;
  color: hsl(var(--industrial-red));
}
.product-zast-ico--svg {
  display: block;
  color: inherit;
}
a.product-zastosowanie-link {
  color: hsl(var(--industrial-gray)) !important;
  text-decoration: none !important;
  align-items: center;
}
a.product-zastosowanie-link .product-zastosowanie-txt {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 500;
}
a.product-zastosowanie-link .product-zast-ico-wrap {
  margin-right: 0;
}
a.product-zastosowanie-link:hover .product-zastosowanie-txt,
a.product-zastosowanie-link:hover .product-zastosowanie-link-title,
a.product-zastosowanie-link:focus .product-zastosowanie-txt,
a.product-zastosowanie-link:focus .product-zastosowanie-link-title {
  text-decoration: underline;
  color: hsl(var(--industrial-red)) !important;
}
.product-advantage-item__zast-row--linked a.product-zastosowanie-link {
  width: 100%;
}
.product-advantage-item__zast-desc-below {
  margin-top: 0.4rem;
  padding-left: calc(20px + 0.5rem);
  box-sizing: border-box;
}
/* Strona produktu: wiersz zastosowania w komórce nie rozcina się w pionie dziwacznie */
.product-advantage-item--zast {
  min-width: 0;
}

/* Strona produktu: stabilny układ kafli zalet i zastosowań */
#product .product-advantages-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

#product .product-advantages-grid--features {
  display: block;
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 0.9rem;
}

#product .product-advantages-grid--applications {
  padding-top: 0.9rem;
  border-top: none;
}

#product .product-advantage-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 0.75rem 0.85rem 0.75rem 1.15rem;
}

#product .product-advantages-grid--features .product-advantage-item {
  display: list-item;
  min-height: 0;
  padding: 0;
  margin: 0 0 0.35rem 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

#product .product-advantages-grid--features .product-advantage-item:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

#product .product-advantage-item strong {
  display: block;
  line-height: 1.35;
  font-size: 0.97rem;
}

#product .product-advantage-item--zast {
  padding-left: 0.75rem;
}

#product .product-advantage-item--zast::before {
  left: 0.35rem;
}

#product .product-advantage-item--zast .product-advantage-item__zast-row {
  align-items: center;
}

#product .product-advantage-item__zast-row--linked a.product-zastosowanie-link {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
}

#product .product-zastosowanie-link .product-zast-ico-wrap {
  width: 20px;
  min-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

#product .product-zastosowanie-link-title {
  line-height: 1.3;
}

/* Zastosowania - dwie kolumny z podsekcjami */
.product-applications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}
@media (max-width: 767px) {
  .product-applications-grid {
    grid-template-columns: 1fr;
  }
}
.product-application-block {
  margin-bottom: 0;
}
.product-application-title {
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--industrial-gray));
  margin-bottom: 0.75rem;
}
.product-application-block .product-description-list {
  margin-top: 0;
}

/* Prawa kolumna - białe boxy z szarym obramowaniem */
.product-spec-box,
.product-profiles-box,
.product-help-cta {
  background: white;
  border-color: hsl(var(--industrial-border)) !important;
  border-radius: 0.5rem;
}

.product-spec-box .card-body,
.product-profiles-box .card-body,
.product-help-cta .card-body {
  padding: 1.25rem;
}

/* Konfigurator wewnątrz Specyfikacji Technicznej */
.product-spec-configurator {
  padding-top: 1.25rem;
  border-top: 1px solid hsl(var(--industrial-border));
}

.product-spec-configurator .seal-configurator {
  margin-bottom: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.seal-configurator .card-header {
  background-color: transparent;
  border-bottom: none;
}

#seal-configurator.seal-configurator .seal-configurator-header-subtitle {
  margin-top: 0.32rem;
  color: #f5f7fa;
  font-size: 0.84rem;
}

#seal-configurator.seal-configurator .seal-profile-types-subtitle {
  margin-top: 0.32rem;
  font-size: 0.84rem;
}

#seal-configurator .seal-is-hidden {
  display: none;
}

#seal-configurator .seal-is-hidden-important {
  display: none !important;
}

#seal-configurator .seal-display-none {
  display: none;
}

#seal-configurator .seal-unit-price {
  font-size: 1.25rem;
}

#seal-configurator .seal-total-price {
  font-size: 1.5rem;
}

.seal-icon-middle {
  vertical-align: middle;
}

.seal-icon-middle-small {
  vertical-align: middle;
  font-size: 1.1rem;
}

.seal-modal-header-primary {
  background: #f1f3f5;
  color: #333;
}

.seal-close-visible {
  opacity: 1;
}

#seal-inquiry-modal .seal-inquiry-success-icon {
  font-size: 4rem;
  color: hsl(var(--industrial-red));
}

#seal-inquiry-modal .seal-inquiry-params-display {
  min-height: 2.5rem;
}

#seal-add-to-cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1060;
  overflow-y: auto;
}

#seal-add-to-cart-modal .modal-dialog {
  margin: 0.85rem auto;
  transform: none !important;
  top: 0;
}

#seal-add-to-cart-modal .modal-content {
  max-height: calc(100vh - 1.7rem);
  overflow: hidden;
}

#seal-add-to-cart-modal.fade .modal-dialog,
#seal-add-to-cart-modal.show .modal-dialog {
  transform: none !important;
}

#seal-add-to-cart-modal .modal-body {
  overflow-y: auto;
}

#seal-add-to-cart-modal .seal-modal-profile-preview {
  display: flex;
  justify-content: center;
}

#seal-add-to-cart-modal .seal-modal-profile-thumb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c24641;
}

#seal-add-to-cart-modal .seal-modal-profile-thumb img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

#seal-add-to-cart-modal .seal-modal-profile-preview--scheme-red .seal-modal-profile-thumb {
  background: #c24641;
}

#seal-add-to-cart-modal .seal-modal-profile-preview--scheme-red .seal-modal-profile-thumb img {
  filter: brightness(0) invert(1);
}

#seal-add-to-cart-modal .seal-modal-profile-preview--scheme-white .seal-modal-profile-thumb {
  background: #fff;
  border: 1px solid #d6d9dd;
}

#seal-add-to-cart-modal .seal-modal-profile-preview--scheme-black .seal-modal-profile-thumb {
  background: #111;
}

#seal-add-to-cart-modal .seal-modal-profile-preview--scheme-black .seal-modal-profile-thumb img {
  filter: brightness(0) invert(1);
}

.cart-item .seal-cart-material-thumb {
  width: 74px;
  height: 74px;
  border: 1px solid #d9dee5;
  border-radius: 6px;
  background: #f8fafc;
  color: #333;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6px;
}

.cart-item .product-line-grid {
  align-items: flex-start;
}

.cart-item .product-line-grid-left {
  max-width: 96px;
  flex: 0 0 96px;
  padding-left: 0;
  padding-right: 0.35rem;
}

.cart-item .product-line-grid-body {
  padding-left: 0.35rem;
}

.cart-grid-body .card-block,
.cart-grid-body .cart-overview {
  padding: 0;
}

.cart-container hr.separator {
  display: none;
}

/* Chipy w koszyku / SuperCheckout – ten sam rytm co w konfiguratorze (#calculation-info-main) */
/* Uwaga: tabela w prawej kolumnie (Koszyk / #complete_cart_summary) nie leży w #confirmCheckout – osobne selektory. */
.cart-item .seal-config-summary.seal-calculation-summary,
.cart-item .product-line-info.seal-calculation-summary,
#confirmCheckout .seal-config-summary.seal-calculation-summary,
#velsof_supercheckout_form #complete_cart_summary .seal-config-summary.seal-calculation-summary,
#velsof_supercheckout_form .opc_shoppingcart .seal-config-summary.seal-calculation-summary {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.45rem;
  margin-top: 0.25rem;
}

#confirmCheckout .seal-config-summary,
#velsof_supercheckout_form #complete_cart_summary .seal-config-summary,
#velsof_supercheckout_form .opc_shoppingcart .seal-config-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.45rem;
  margin: 0.35rem 0 0.25rem;
}

.cart-item .seal-config-summary .seal-config-summary-item,
#confirmCheckout .seal-config-summary .seal-config-summary-item,
#velsof_supercheckout_form #complete_cart_summary .seal-config-summary .seal-config-summary-item,
#velsof_supercheckout_form .opc_shoppingcart .seal-config-summary .seal-config-summary-item {
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid #c5d0e0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  max-width: 100%;
}
/* Z cart-item / #confirmCheckout: bez inline-flex; flex zachowuje odstęp label–wartość w chipie */
.cart-item .seal-config-summary .seal-config-summary-item,
#confirmCheckout .seal-config-summary .seal-config-summary-item {
  display: flex;
}
#velsof_supercheckout_form #complete_cart_summary .seal-config-summary .seal-config-summary-item,
#velsof_supercheckout_form .opc_shoppingcart .seal-config-summary .seal-config-summary-item {
  display: inline-flex;
}

.cart-item .seal-config-summary .seal-config-summary-item strong,
#confirmCheckout .seal-config-summary .seal-config-summary-item strong,
#velsof_supercheckout_form #complete_cart_summary .seal-config-summary .seal-config-summary-item strong,
#velsof_supercheckout_form .opc_shoppingcart .seal-config-summary .seal-config-summary-item strong {
  font-weight: 600;
  color: #1e3a4c;
}

/* SuperCheckout: supercheckout_cart.css daje .product-title span { width:100% } – trafia w chipy i układa je w kolumnie; tutaj tylko chipy */
#confirmCheckout .shopping-cart-description .product-title .seal-config-summary,
#velsof_supercheckout_form .shopping-cart-description .product-title .seal-config-summary {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.45rem;
  width: 100%;
  box-sizing: border-box;
}
#confirmCheckout .shopping-cart-description .product-title .seal-config-summary .seal-config-summary-item,
#velsof_supercheckout_form .shopping-cart-description .product-title .seal-config-summary .seal-config-summary-item {
  width: auto !important;
  max-width: 100%;
  flex: 0 1 auto;
  font-size: 12px !important;
  line-height: 1.2;
}

.cart-item .seal-cart-note-chips,
#confirmCheckout .seal-cart-note-chips {
  margin-top: 0.35rem;
}

/* SuperCheckout: tytuł linii (np. „Typ: Uszczelka…”) – większa czytelność */
#confirmCheckout .shopping-cart-description .product-title,
#confirmCheckout .shopping-cart-description .product-title span,
#confirmCheckout .shopping-cart-description .product-title a {
  font-size: 16px !important;
  line-height: 1.35;
}

#confirmCheckout .quantity-section .input-group.bootstrap-touchspin {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

#confirmCheckout .quantity-section .input-group.bootstrap-touchspin > .input-group {
  display: inline-flex !important;
  align-items: stretch;
  flex-wrap: nowrap;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  height: 30px;
}

#confirmCheckout .quantity-section .input-group-btn {
  display: inline-flex !important;
  position: static !important;
  float: none !important;
  flex: 0 0 auto;
}

#confirmCheckout .quantity-section .input-group-btn .btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: #f8fafc !important;
  color: #334155 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  line-height: 1;
}

#confirmCheckout .quantity-section .input-group-btn:first-child .btn {
  border-right: 1px solid #e2e8f0 !important;
}

#confirmCheckout .quantity-section .input-group-btn:last-child .btn {
  border-left: 1px solid #e2e8f0 !important;
}

#confirmCheckout .quantity-section .input-group-btn .btn .fas {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
}

#confirmCheckout .quantity-section .quantitybox.form-control {
  width: 42px !important;
  min-width: 42px;
  flex: 0 0 42px;
  height: 30px !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
  padding: 0 6px !important;
  line-height: 30px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  background: #fff !important;
}

#confirmCheckout .quantity-section .remove-from-cart {
  margin-left: 0.25rem;
  color: #333 !important;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 30px;
}

#supercheckout-fieldset .bootstrap-touchspin {
  max-width: 134px;
}

#confirmCheckout .input-group.bootstrap-touchspin span.input-group-btn {
  margin-top: 0;
}

.opc_shipping_method li.alert-info,
.opc_payment_method li.alert-info {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Bootstrap .alert-info – bez tła i obramowania (nadpisuje #d9edf7 / #bcdff1) */
.alert-info {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

label[for="use_for_invoice"] {
  margin-bottom: 0 !important;
}

.cart-item .bootstrap-touchspin input.form-control,
.cart-item .bootstrap-touchspin input.input-group {
  box-shadow: none !important;
  border: none !important;
}

.cart-item .input-group.bootstrap-touchspin {
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.bootstrap-touchspin .input-group-btn-vertical > .btn {
  margin-left: 0;
}

.seal-config-cart {
  margin-top: 15px;
  width: 100%;
}

.seal-config-cart-table {
  margin-bottom: 0;
  width: 100%;
  table-layout: auto;
}

.seal-config-cart-head-row {
  background: #f8f9fa;
}

.seal-config-cart-foot-row {
  background: #e9ecef;
  font-weight: 700;
}

.seal-config-cart-th,
.seal-config-cart-td {
  padding: 10px;
}

.seal-config-cart-th-param {
  text-align: left;
  width: auto;
}

.seal-config-cart-th-qty {
  text-align: center;
  width: 100px;
}

.seal-config-cart-th-price {
  text-align: right;
  width: 120px;
}

.seal-config-cart-th-total {
  text-align: right;
  width: 150px;
}

.seal-config-cart-th-action {
  text-align: center;
  width: 80px;
}

.seal-config-cart-param-line {
  margin: 3px 0;
  font-size: 0.9em;
}

.seal-config-cart-param-line--small {
  font-size: 0.85em;
}

.seal-config-cart-align-center {
  text-align: center;
}

.seal-config-cart-align-right {
  text-align: right;
}

.seal-config-cart-align-middle {
  vertical-align: middle;
}

.seal-config-cart-total-cell {
  font-weight: 700;
}

.seal-config-cart-quantity-input {
  width: 70px;
  text-align: center;
  padding: 5px;
}

/* Moved from modules/sealconfigurator/views/templates/hook/configurator.tpl */
/* Premium look */
#seal-configurator.seal-configurator {
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: none;
  overflow: hidden;
}

#seal-configurator.seal-configurator .card-header {
  position: relative;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  background: #1f2a3f;
}

#seal-configurator.seal-configurator .card-header h2 {
  color: #f8fafc;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.seal-configurator #seal-configurator-form > .row {
  padding: 0.35rem 0.45rem;
  border-radius: 4px;
}

.seal-configurator #seal-configurator-form > .row + .row {
  margin-top: 0.4rem;
}

.seal-configurator .seal-section-title {
  position: relative;
  margin-top: 0.7rem;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.38rem;
  color: #1f2937;
  letter-spacing: 0.01em;
}

.seal-configurator .seal-section-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(194, 70, 65, 0.9), rgba(194, 70, 65, 0.2));
}

.seal-configurator .seal-section-title--soft {
  margin-top: 1rem;
}

.seal-configurator .seal-primary-dimensions-row > [class*="col-"] {
  margin-bottom: 0.85rem !important;
}

.seal-configurator .seal-metric-col .seal-metric-card {
  height: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: none;
  padding: 0.78rem 0.82rem 0.62rem;
  box-shadow: none;
}

.seal-configurator .seal-metric-col .seal-metric-card > label {
  margin-bottom: 0.45rem !important;
}

.seal-configurator .seal-primary-dimensions-row > [class*="col-"] > label,
.seal-configurator .seal-extra-params-grid > [class*="col-"] > label {
  font-weight: 700;
  color: #334155;
  font-size: 0.94rem;
}

.seal-configurator .seal-primary-dimensions-row > [class*="col-"] .form-text,
.seal-configurator .seal-extra-params-grid > [class*="col-"] .form-text {
  color: #7b8796 !important;
}

.seal-configurator .seal-metric-col .form-text {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #64748b !important;
}

.seal-configurator .seal-extra-params-grid {
  margin: 0;
  padding: 0.85rem 0 0.3rem;
  border-radius: 4px;
  border: none;
  background: none;
  box-shadow: none;
}

.seal-configurator .seal-extra-params-grid > [class*="col-"] {
  margin-bottom: 0.85rem !important;
}

.seal-configurator .seal-extra-params-grid .form-control {
  border: 1px solid #d9e2ec;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82), 0 4px 10px -10px rgba(15, 23, 42, 0.4);
}

.seal-configurator .seal-extra-params-grid textarea.form-control {
  min-height: 96px;
}

.seal-configurator .seal-extra-params-grid .form-control::placeholder {
  color: #94a3b8;
}

.seal-configurator .seal-component-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.45rem !important;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(194, 70, 65, 0.24);
  background: linear-gradient(180deg, rgba(194, 70, 65, 0.12), rgba(194, 70, 65, 0.06));
  color: #7f1d1d;
  font-size: 0.86rem;
}

.seal-configurator .form-control {
  border-radius: 10px;
}

.seal-configurator .form-control:not(textarea) {
  min-height: 42px;
}

.seal-configurator .seal-touchspin,
.seal-configurator .seal-quantity-touchspin {
  border-radius: 10px;
  border-color: #d8dde6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.seal-configurator .seal-extra-dimensions {
  border-color: #e1e7ef;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 6px 18px -16px rgba(15, 23, 42, 0.42);
}

.seal-configurator #price-result {
  border: 1px solid #e5d6d5 !important;
  border-radius: 4px !important;
  background: none !important;
}

.seal-configurator #price-result h5 {
  letter-spacing: 0.02em;
}

.seal-configurator #unit-price {
  text-shadow: 0 2px 10px rgba(127, 29, 29, 0.22);
}

.seal-configurator #total-price {
  text-shadow: none;
}

.seal-configurator .btn.btn-lg {
  border-radius: 10px;
  min-height: 48px;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seal-configurator .btn.btn-lg:hover {
  transform: translateY(-1px);
}

.seal-configurator .btn-danger.btn-lg {
  box-shadow: 0 14px 28px -20px rgba(127, 29, 29, 0.72);
}

.seal-configurator .seal-btn-inquiry.btn-lg {
  box-shadow: 0 14px 28px -20px rgba(15, 23, 42, 0.62);
}

/* Premium styles for embedded profile types module */
.seal-configurator #seal-profile-types-module {
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.seal-configurator #seal-profile-types-module > .card-header {
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.seal-configurator #seal-profile-types-module .seal-profile-types-step-title {
  font-weight: 700;
  color: #334155;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-step {
  margin-bottom: 10px;
}

.seal-configurator #seal-profile-types-module .seal-profile-group-tab {
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #334155;
  font-weight: 600;
  transition: all 0.2s ease;
}

.seal-configurator #seal-profile-types-module .seal-profile-group-tab:hover {
  border-color: rgba(194, 70, 65, 0.42);
  color: #9f1239;
}

.seal-configurator #seal-profile-types-module .seal-profile-group-tab.is-selected {
  border-color: rgba(194, 70, 65, 0.55);
  background: none;
  color: #7f1d1d;
  box-shadow: none;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-card {
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-card:hover {
  border-color: rgba(194, 70, 65, 0.4);
}

.seal-configurator #seal-profile-types-module .seal-profile-types-card.is-selected {
  border-color: rgba(194, 70, 65, 0.68);
  background: none;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-load-more {
  border-radius: 999px;
  border: 1px solid rgba(194, 70, 65, 0.45);
  background: none;
  color: #7f1d1d;
  font-weight: 700;
}

.seal-configurator #seal-profile-types-module .seal-profile-types-load-more:hover {
  background: linear-gradient(180deg, rgba(194, 70, 65, 0.22), rgba(194, 70, 65, 0.14));
}

/* Ukryj natywne strzałki input[type=number] - używamy własnych touchspin */
.seal-configurator input[type="number"]::-webkit-inner-spin-button,
.seal-configurator input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  appearance: none !important;
  margin: 0 !important;
  display: none !important;
}

.seal-configurator input[type="number"] {
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.seal-configurator input:focus,
.seal-configurator select:focus,
.seal-configurator textarea:focus {
  border-color: hsl(var(--industrial-red)) !important;
  box-shadow: 0 0 0 0.2rem hsla(var(--industrial-red), 0.25) !important;
}

.seal-configurator .text-danger {
  color: hsl(var(--industrial-red)) !important;
}

#seal-configurator-form label {
  text-align: left;
}

.seal-configurator .btn-danger {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
}

.seal-configurator .btn-danger:hover {
  background: hsl(var(--industrial-red-dark)) !important;
  border-color: hsl(var(--industrial-red-dark)) !important;
}

/* Przycisk "Zapytaj o ten produkt" - odrębny kolor (szaro-granatowy) */
.seal-configurator .seal-btn-inquiry {
  background: hsl(220, 15%, 25%) !important;
  border: 2px solid hsl(220, 15%, 25%) !important;
  color: #fff !important;
}

.seal-configurator .seal-btn-inquiry:hover {
  background: hsl(220, 15%, 18%) !important;
  border-color: hsl(220, 15%, 18%) !important;
  color: #fff !important;
}

/* Średnice i wysokość - label nad inputem, nie w jednej linii */
.seal-configurator .col-md-4 label[for="seal-diameter"],
.seal-configurator .col-md-4 label[for="seal-inner-diameter"],
.seal-configurator .col-md-4 label[for="seal-thickness"] {
  display: block !important;
  margin-bottom: 0.5rem;
}

/* Blok ilości - czytelny układ */
.seal-configurator .seal-quantity-block {
  min-width: 120px;
}

.seal-configurator .seal-quantity-block label {
  white-space: nowrap;
  overflow: visible;
  text-align: left;
}

/* Touchspin - średnice, wysokość, ilość - jeden spójny blok */
.seal-configurator .seal-touchspin,
.seal-configurator .seal-quantity-touchspin {
  width: auto;
  display: inline-flex;
  float: none;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.seal-configurator .seal-touchspin input.form-control,
.seal-configurator .seal-quantity-touchspin input.form-control {
  border: none !important;
  border-right: none !important;
  border-radius: 0;
  box-shadow: none !important;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 30px;
  min-width: 30px;
  height: 42px;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .btn,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn {
  padding: 0 6px;
  border: 0;
  border-radius: 0;
  background: #fff;
  min-width: 30px;
  height: 21px;
  min-height: 21px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#seal-configurator.seal-configurator .seal-touchspin .input-group-btn-vertical .btn,
#seal-configurator.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn {
  min-height: 0 !important;
  line-height: 1;
  border: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .btn:hover,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn:hover {
  background: #e9ecef;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .bootstrap-touchspin-up,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
  border-bottom: 1px solid #ced4da;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .bootstrap-touchspin-down,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  margin-top: 0;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .btn i,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn i {
  font-size: 18px;
  color: #495057;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .btn i.touchspin-up::after,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn i.touchspin-up::after {
  content: none;
  display: none;
}

.seal-configurator .seal-touchspin .input-group-btn-vertical .btn i.touchspin-down::after,
.seal-configurator .seal-quantity-touchspin .input-group-btn-vertical .btn i.touchspin-down::after {
  content: none;
  display: none;
}

.seal-configurator .seal-touchspin input.form-control {
  width: 75px;
  min-width: 75px;
  text-align: center;
}

.seal-configurator .seal-quantity-touchspin input.form-control {
  width: 86px;
  min-width: 86px;
  padding: 0.3rem 0.5rem;
  text-align: center;
}

.seal-configurator #price-result .seal-quantity-block {
  min-width: 138px;
}

.seal-configurator .seal-touchspin:focus-within,
.seal-configurator .seal-quantity-touchspin:focus-within {
  border-color: hsl(var(--industrial-red)) !important;
  box-shadow: 0 0 0 0.2rem hsla(var(--industrial-red), 0.25) !important;
}

/* Final overrides for premium metric row */
.seal-configurator .seal-metric-col .seal-touchspin {
  border-radius: 10px !important;
  border-color: #d6dde8 !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
}

.seal-configurator .seal-metric-col .seal-touchspin input.form-control {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 0.22rem 0.5rem !important;
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.seal-configurator .seal-metric-col .seal-touchspin .input-group-btn-vertical {
  width: 26px;
  flex: 0 0 26px;
  height: 34px;
}

.seal-configurator .seal-metric-col .seal-touchspin .input-group-btn-vertical .btn {
  min-width: 26px;
  height: 17px;
  min-height: 17px;
  padding: 0;
}

.seal-configurator .seal-metric-col .seal-touchspin .input-group-btn-vertical .btn i {
  font-size: 15px;
  color: #334155;
}

/* Parametry wyceny - czytelne wyświetlanie */
.seal-configurator #calculation-info-main,
.seal-configurator #calculation-info-extra {
  word-wrap: break-word;
  line-height: 1.5;
}

/* Tagi parametrów (konfigurator, modal dodany do koszyka) */
.seal-calculation-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  line-height: 1.2;
  align-items: center;
}

/* Konfigurator: wiersz pod ceną – odstępy między chipami */
.seal-configurator #calculation-info-main.seal-calculation-summary {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.55rem 0.45rem;
  align-items: center;
}

.seal-calculation-summary .seal-calculation-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid #c5d0e0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
}

.seal-calculation-summary .seal-calculation-chip strong {
  font-weight: 600;
  color: #1e3a4c;
}

/* Materiał - klikalne karty zamiast select */
.seal-configurator .seal-material-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.seal-configurator .seal-material-card {
  padding: 0.5rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seal-configurator .seal-material-card:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
}

.seal-configurator .seal-material-card.selected {
  border-color: #C24641;
  background: rgba(196, 70, 65, 0.08);
  color: #C24641;
}

/* Profile - miniatury */
.seal-configurator .seal-profile-dropdown {
  display: none;
}

.seal-configurator .seal-profile-dropdown.is-open {
  display: block;
}

.seal-configurator .seal-profile-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.seal-configurator .seal-profile-group {
  border: 1px solid #e6e9ed;
  border-radius: 0.55rem;
  padding: 0.35rem;
  background: #fff;
}

.seal-configurator .seal-profile-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6c757d;
  text-align: center;
  margin-bottom: 0.35rem;
}

.seal-configurator .seal-profile-card {
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seal-configurator .seal-profile-card:hover {
  border-color: #adb5bd;
  background: #f8f9fa;
}

.seal-configurator .seal-profile-card.selected {
  border-color: #C24641;
  background: rgba(196, 70, 65, 0.08);
}

.seal-configurator .seal-profile-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9ecef;
  color: #495057;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.seal-configurator .seal-profile-thumb img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.seal-configurator .seal-profile-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.seal-configurator .seal-component-type {
  font-size: 0.9rem;
}

.seal-configurator .seal-profile-cards.scheme-red .seal-profile-card {
  border-color: rgba(194, 70, 65, 0.45);
  background: rgba(194, 70, 65, 0.07);
}

.seal-configurator .seal-profile-cards.scheme-red .seal-profile-group {
  border-color: rgba(194, 70, 65, 0.25);
  background: rgba(194, 70, 65, 0.04);
}

.seal-configurator .seal-profile-cards.scheme-red .seal-profile-thumb {
  background: #c24641;
  color: #fff;
}

.seal-configurator .seal-profile-cards.scheme-white .seal-profile-card {
  border-color: #d8d8d8;
  background: #fff;
}

.seal-configurator .seal-profile-cards.scheme-white .seal-profile-group {
  border-color: #d8d8d8;
  background: #fff;
}

.seal-configurator .seal-profile-cards.scheme-white .seal-profile-thumb {
  background: #fff;
  color: #5b5b5b;
  border: 1px solid #cfd4da;
}

.seal-configurator .seal-profile-cards.scheme-black .seal-profile-card {
  border-color: #212529;
  background: #1f2327;
}

.seal-configurator .seal-profile-cards.scheme-black .seal-profile-group {
  border-color: #212529;
  background: #1f2327;
}

.seal-configurator .seal-profile-cards.scheme-black .seal-profile-thumb {
  background: #000;
  color: #fff;
}

.seal-configurator .seal-profile-cards.scheme-black .seal-profile-label {
  color: #fff;
}

.seal-configurator .seal-profile-cards.scheme-black .seal-profile-group-title {
  color: #f3f3f3;
}

/* Przyciski obok siebie - gap dla starszych przeglądarek */
.seal-configurator .d-flex.gap-2 > * + * {
  margin-left: 0.5rem;
}

.seal-configurator .seal-extra-dimensions {
  border: 1px solid #e9ecef;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.9rem 0.9rem 0.2rem;
}

.seal-configurator .is-invalid,
.seal-configurator input.is-invalid,
.seal-configurator select.is-invalid,
.seal-configurator textarea.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.18) !important;
}

.seal-configurator .is-valid,
.seal-configurator input.is-valid,
.seal-configurator select.is-valid,
.seal-configurator textarea.is-valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.12rem rgba(40, 167, 69, 0.15) !important;
}

.seal-configurator .seal-profile-types-embed-target.is-invalid-block {
  border-radius: 0.5rem;
  outline: 2px solid rgba(220, 53, 69, 0.35);
  outline-offset: 2px;
}

.seal-configurator .seal-profile-types-embed-target.is-valid-block {
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

@media (max-width: 767px) {
  #seal-configurator .card-body {
    padding: 0 !important;
  }

  #seal-configurator.seal-configurator .card-header {
    padding: 1rem 0.75rem;
  }

  #seal-configurator.seal-configurator .card-header h2 {
    font-size: 1.08rem;
  }

  .seal-configurator .d-flex.gap-2 {
    flex-direction: column;
  }

  .seal-configurator .seal-extra-params-grid {
    padding: 0.75rem 0.15rem 0.15rem;
  }

  .seal-configurator .d-flex.gap-2 > * + * {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .seal-configurator .seal-profile-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Wycena - mobilka: wyśrodkowanie i przyciski na całą szerokość */
  #price-result h5 {
    text-align: center;
  }

  #price-result .row > .col-md-6,
  #price-result .row > .col-12 {
    width: 100%;
    max-width: 100%;
  }

  #price-result .d-flex.gap-2 {
    width: 100%;
    flex-direction: column;
  }

  #price-result .d-flex.gap-2 .btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.96rem;
  }
}

/* Modal zapytania - układ jak contactform */
#seal-inquiry-modal .modal-header .close {
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 10px;
}

#seal-inquiry-modal .contact-form .form-control {
  border-radius: 0.5rem;
  border-color: hsl(var(--industrial-border, #dee2e6));
}

#seal-inquiry-modal .contact-form .btn-primary {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
  border-radius: 0.5rem;
}

#seal-inquiry-modal .seal-inquiry-contact-box {
  padding: 1rem 1.25rem;
  background: linear-gradient(145deg, #f8fafc 0%, #eef2f6 100%);
  border-radius: 0.6rem;
  border-left: 4px solid hsl(var(--industrial-red));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#seal-inquiry-modal .seal-contact-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
}

#seal-inquiry-modal .seal-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 140px;
}

#seal-inquiry-modal .seal-contact-item:hover {
  border-color: hsl(var(--industrial-red));
  color: hsl(var(--industrial-red));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

#seal-inquiry-modal .seal-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, hsl(var(--industrial-red)) 0%, #c62828 100%);
  color: #fff;
  border-radius: 0.45rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}

#seal-inquiry-modal .seal-contact-icon .material-icons {
  font-size: 1.1rem;
}

#seal-inquiry-modal .seal-contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  min-width: 0;
}

#seal-inquiry-modal .seal-contact-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

#seal-inquiry-modal .seal-contact-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: inherit;
  word-break: break-all;
}

@media (max-width: 480px) {
  #seal-inquiry-modal .seal-contact-item {
    min-width: 100%;
  }
}

#seal-inquiry-modal #inquiry-params-display {
  border-left: 3px solid hsl(var(--industrial-red));
  background: #f8f9fa;
}

/* Globalna standaryzacja narożników w konfiguratorze */
#seal-configurator.seal-configurator {
  --seal-minimal-radius: 6px;
}

#seal-configurator.seal-configurator .card,
#seal-configurator.seal-configurator .card-header,
#seal-configurator.seal-configurator .card-body,
#seal-configurator.seal-configurator .btn,
#seal-configurator.seal-configurator .form-control,
#seal-configurator.seal-configurator .custom-select,
#seal-configurator.seal-configurator .input-group,
#seal-configurator.seal-configurator .input-group-text,
#seal-configurator.seal-configurator .seal-touchspin,
#seal-configurator.seal-configurator .seal-profile-types-embed-target,
#seal-configurator.seal-configurator .seal-profile-group-tab,
#seal-configurator.seal-configurator .seal-profile-types-load-more,
#seal-configurator.seal-configurator .seal-component-type,
#seal-configurator.seal-configurator .seal-group-btn,
#seal-configurator.seal-configurator .seal-profile-btn,
#seal-configurator.seal-configurator .seal-preview-card,
#seal-configurator.seal-configurator .alert,
#seal-configurator.seal-configurator .badge,
#seal-configurator.seal-configurator .modal-content,
#seal-configurator.seal-configurator button[style*="border-radius"],
#seal-configurator.seal-configurator a[style*="border-radius"],
#seal-configurator.seal-configurator input[style*="border-radius"],
#seal-configurator.seal-configurator select[style*="border-radius"],
#seal-configurator.seal-configurator textarea[style*="border-radius"] {
  border-radius: 4px;
}

/* UX: wyraźny focus i wygodniejsze cele kliknięcia */
#seal-configurator.seal-configurator .btn:focus-visible,
#seal-configurator.seal-configurator .form-control:focus-visible,
#seal-configurator.seal-configurator .custom-select:focus-visible,
#seal-configurator.seal-configurator .seal-profile-group-tab:focus-visible,
#seal-configurator.seal-configurator .seal-profile-types-card:focus-visible {
  outline: none;
  border: 1px solid hsl(var(--industrial-red) / 0.35);
}

#seal-configurator.seal-configurator .btn,
#seal-configurator.seal-configurator .form-control,
#seal-configurator.seal-configurator .custom-select,
#seal-configurator.seal-configurator .seal-profile-group-tab {
  min-height: 42px;
}

.product-spec-list .product-spec-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--industrial-border));
}

.product-spec-list .product-spec-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.product-spec-list dt {
  font-weight: 600;
  color: hsl(var(--industrial-gray));
  margin-right: 0.5rem;
  flex: 0 0 140px;
}

.product-spec-list dd {
  margin: 0;
  color: hsl(var(--industrial-gray-light));
  flex: 1;
}

/* Dostępne Profile - biała karta z tagami pill */
.product-available-profiles {
  background: white;
  border: 1px solid hsl(var(--industrial-border));
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.product-available-profiles-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--industrial-gray));
  margin-bottom: 1rem;
}

.product-profile-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-profile-thumb-item {
  border: 1px solid #dee2e6;
  border-radius: 0.55rem;
  padding: 0.6rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f8f9fa;
}

.product-profile-thumb-item__mini {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e9ecef;
  color: #495057;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}
.product-profile-thumb-item__mini img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.product-profile-thumb-item__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
}

.product-profile-thumb-item.is-red {
  border-color: rgba(194, 70, 65, 0.45);
  background: rgba(194, 70, 65, 0.08);
}
.product-profile-thumb-item.is-red .product-profile-thumb-item__mini {
  background: #c24641;
  color: #fff;
}

.product-profile-thumb-item.is-white {
  border-color: #d8d8d8;
  background: #fff;
}
.product-profile-thumb-item.is-white .product-profile-thumb-item__mini {
  background: #fff;
  color: #4f4f4f;
  border: 1px solid #cfd4da;
}

.product-profile-thumb-item.is-black {
  border-color: #212529;
  background: #1f2327;
}
.product-profile-thumb-item.is-black .product-profile-thumb-item__mini {
  background: #000;
  color: #fff;
}
.product-profile-thumb-item.is-black .product-profile-thumb-item__name {
  color: #fff;
}

.product-help-cta .btn-danger {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
}

.product-help-cta .btn-danger:hover {
  background: hsl(var(--industrial-red-light)) !important;
  border-color: hsl(var(--industrial-red-light)) !important;
}

/* === Product page - Zamów Wycenę bar (legacy, ukryty gdy jest product-hero) === */
.product-order-quote-bar {
  padding: 0.75rem 0;
  background: hsl(var(--industrial-surface));
  border-bottom: 1px solid hsl(var(--industrial-border));
}

.product-order-quote-bar .btn-order-quote {
  background: #e9ecef !important;
  color: #333 !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-order-quote-bar .btn-order-quote:hover {
  background: #dee2e6 !important;
  color: #333 !important;
  border-color: #ced4da !important;
  text-decoration: none;
}

.product-order-quote-bar .btn-back-to-offer {
  background: white !important;
  color: #333 !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.product-order-quote-bar .btn-back-to-offer:hover {
  background: #f8f9fa !important;
  color: #333 !important;
  border-color: #ced4da !important;
  text-decoration: none;
}

/* === Remove max-width from #product #content === */
#product #content {
  max-width: none !important;
}

/* === Contact Form === */
.contact-form input[name="url"] {
  display: none !important;
}

/* === Contact Page === */
.page-contact1 {
  margin: 20px 0;
}

/* === FAQ Accordion === */
.faq-accordion .btn-link {
  padding: 1rem;
}

.faq-accordion .btn-link:hover {
  text-decoration: none !important;
  background: hsl(var(--industrial-surface));
}

.faq-accordion .btn-link[aria-expanded="true"] .material-icons {
  transform: rotate(180deg);
}

.faq-accordion .material-icons {
  transition: transform 0.3s ease;
}

.faq-accordion .card {
  border-radius: 0.5rem;
  overflow: hidden;
}

#faq .card-header {
  padding-left: 0;
}

/* === Contact Modal (nowszy layout) === */
.contact-modal .contact-modal__sheet,
#contactModal .contact-modal__sheet {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 20px 50px -10px rgba(15, 23, 42, 0.18);
}

.contact-modal .contact-modal__head,
#contactModal .contact-modal__head {
  position: relative;
  display: block;
  background: linear-gradient(135deg, hsl(var(--industrial-red)) 0%, hsl(0, 50%, 38%) 100%);
  color: #fff;
  border: none;
  /* Duży padding w prawym górnym rogu, żeby tytuł zjeżdżał obok nieruchomego kółka zamknięcia */
  padding: 1.1rem 2.8rem 1.1rem 1.1rem;
}

.contact-modal .contact-modal__head .modal-title,
#contactModal .contact-modal__head .modal-title {
  margin: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  padding-right: 0.25rem;
  box-sizing: border-box;
}

.contact-modal__head-text {
  flex: 1;
  min-width: 0;
}

.contact-modal__head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.contact-modal__head-icon .material-icons {
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.95;
}

.contact-modal .contact-modal__close,
#contactModal .contact-modal__close {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  left: auto;
  z-index: 2;
  color: #fff;
  opacity: 0.92;
  text-shadow: none;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transform: translateY(-50%);
  transform-origin: center;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}

.contact-modal__close span {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 300;
}

.contact-modal .contact-modal__close:hover,
#contactModal .contact-modal__close:hover,
.contact-modal .contact-modal__close:focus,
#contactModal .contact-modal__close:focus {
  opacity: 1;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

#contactModal .contact-modal__body,
.contact-modal .contact-modal__body {
  background: #fafbfc;
  padding: 1.35rem 1.35rem 1.5rem;
}

#contactModal .seal-inquiry-contact-box,
.contact-modal .seal-inquiry-contact-box {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#contactModal .seal-contact-items,
.contact-modal .seal-contact-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

#contactModal .seal-contact-item,
.contact-modal .seal-contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 0.6rem 0.95rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.9rem;
  color: #1e293b !important;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
  min-width: 0;
  flex: initial;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

#contactModal .seal-contact-item:hover,
.contact-modal .seal-contact-item:hover {
  border-color: rgba(200, 70, 65, 0.45);
  color: #0f172a !important;
}

#contactModal .seal-contact-item:hover .seal-contact-icon,
.contact-modal .seal-contact-item:hover .seal-contact-icon {
  background: rgba(200, 70, 65, 0.14);
  color: hsl(0, 50%, 38%) !important;
  transform: scale(1.04);
}

#contactModal .seal-contact-icon,
.contact-modal .seal-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: #f1f5f9;
  color: hsl(0, 50%, 38%) !important;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

#contactModal .seal-contact-icon .material-icons,
.contact-modal .seal-contact-icon .material-icons {
  font-size: 1.3rem;
}

#contactModal .seal-contact-body,
.contact-modal .seal-contact-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  min-width: 0;
  width: 100%;
  gap: 0.2rem;
}

#contactModal .seal-contact-label,
.contact-modal .seal-contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

#contactModal .seal-contact-value,
.contact-modal .seal-contact-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  word-break: break-word;
  hyphens: auto;
}

#contactModal .contact-modal__form-wrap,
.contact-modal .contact-modal__form-wrap {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e5e7eb;
}

#contactModal .contact-form .alert,
.contact-modal .contact-form .alert {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 1rem 0;
  border: none;
  border-radius: 0.7rem;
  font-size: 0.9rem;
}

#contactModal .contact-form .alert ul,
.contact-modal .contact-form .alert ul {
  margin: 0.35rem 0 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

#contactModal .contact-form .alert li,
.contact-modal .contact-form .alert li {
  margin-bottom: 0.2rem;
}

#contactModal .contact-form,
.contact-modal .contact-form {
  margin: 0;
}

#contactModal .contact-form .form-fields,
.contact-modal .contact-form .form-fields {
  max-width: 100%;
}

#contactModal .contact-form .form-group.row,
.contact-modal .contact-form .form-group.row {
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.1rem;
}

#contactModal .contact-form .form-group [class^="col-"],
.contact-modal .contact-form .form-group [class^="col-"] {
  max-width: 100% !important;
  flex: none !important;
  width: 100% !important;
  padding-left: 0;
  padding-right: 0;
}

#contactModal .contact-form label.form-control-label,
.contact-modal .contact-form label.form-control-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
  padding: 0;
  text-align: left;
}

#contactModal .contact-form .form-group.row .offset-md-3,
.contact-modal .contact-form .form-group.row .offset-md-3 {
  margin-left: 0;
}

#contactModal .contact-form .form-group.row .form-footer,
.contact-modal .contact-form .form-group.row .form-footer {
  margin-top: 0.25rem;
}

#contactModal .contact-form .form-control,
.contact-modal .contact-form .form-control {
  border-radius: 0.65rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#contactModal .contact-form .form-control:focus,
.contact-modal .contact-form .form-control:focus {
  border-color: hsl(0, 50%, 55%);
  box-shadow: 0 0 0 3px hsl(0, 50%, 45% / 0.15);
  outline: none;
}

#contactModal .contact-form select.form-control,
.contact-modal .contact-form select.form-control {
  min-height: calc(1.4em + 1rem);
}

#contactModal .contact-form textarea.form-control,
.contact-modal .contact-form textarea.form-control {
  min-height: 6.5rem;
  resize: vertical;
}

#contactModal .contact-form .form-footer,
.contact-modal .contact-form .form-footer {
  text-align: center;
  border-top: none;
  margin-top: 0.4rem;
  padding-top: 0;
  padding-bottom: 0.25rem;
}

#contactModal .contact-form .form-footer .btn-primary,
.contact-modal .contact-form .form-footer .btn-primary {
  width: 100%;
  max-width: 20rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0.7rem;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 4px 12px -2px hsl(0, 50%, 35% / 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

#contactModal .contact-form .form-footer .btn-primary:hover,
.contact-modal .contact-form .form-footer .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px hsl(0, 50%, 32% / 0.5);
}

@media (max-width: 767.98px) {
  #contactModal .seal-contact-items,
  .contact-modal .seal-contact-items {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 767.98px) {
  #contactModal .seal-contact-items,
  .contact-modal .seal-contact-items {
    grid-template-columns: 1fr 1fr;
  }
  #contactModal .seal-contact-item:last-child,
  .contact-modal .seal-contact-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479.98px) {
  #contactModal .contact-modal__body,
  .contact-modal .contact-modal__body {
    padding: 1.1rem 0.9rem 1.25rem;
  }
  #contactModal .contact-form .form-footer .btn-primary,
  .contact-modal .contact-form .form-footer .btn-primary {
    max-width: none;
  }
}

/* === Product images modal - full screen + przycisk Zamknij === */
#product-modal.modal-fullscreen-product {
  padding: 0 !important;
  align-items: stretch !important;
}
#product-modal .modal-dialog-product-images {
  max-width: 100%;
  margin: 0 auto;
}
#product-modal.modal-fullscreen-product .modal-dialog {
  margin: 0 !important;
  max-width: none !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  border: none !important;
  border-radius: 0 !important;
}
#product-modal.modal-fullscreen-product .modal-content {
  width: 100% !important;
  height: 100vh !important;
  border: none !important;
  border-radius: 0 !important;
  background: white;
  position: relative;
}
#product-modal.modal-fullscreen-product .modal-body {
  overflow-y: auto;
}
#product-modal .modal-body,
#product-modal .modal-content .modal-body {
  background: white;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* Backdrop - białe tło za modalem (Bootstrap dodaje go jako sibling w body) */
body.modal-open .modal-backdrop.show {
  background: rgba(255, 255, 255, 0.95);
}
/* Usuń przesunięcie body gdy product modal jest otwarty (Bootstrap dodaje padding-right) */
body:has(#product-modal.show),
body:has(#product-modal.in) {
  padding-right: 0 !important;
  overflow: hidden !important;
}
#product-modal .product-images-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1050;
  padding: 0.5rem 1.25rem;
  background: hsl(var(--industrial-red));
  color: white !important;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
#product-modal .product-images-modal-close:hover {
  background: hsl(var(--industrial-red-light));
  color: white !important;
}

/* Product modal - większe zdjęcie główne i miniaturki */
#product-modal .modal-body {
  padding: 5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2rem);
  margin-left: 0 !important;
  margin-right: 0 !important;
}
#product-modal figure {
  margin: 0 0 1.5rem;
  text-align: center;
}
#product-modal .product-cover-modal {
  max-width: 100%;
  width: auto;
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}
#product-modal .image-caption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: hsl(var(--industrial-gray-light));
  line-height: 1.5;
}
#product-modal #product-description-short {
  margin: 0;
}
#product-modal #product-description-short p {
  margin: 0;
}
#product-modal .thumbnails {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: none;
}
#product-modal .js-modal-mask {
  display: flex !important;
  justify-content: center;
  overflow: visible;
}
#product-modal .product-images.js-modal-product-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
#product-modal .thumb-container {
  margin: 0;
}
#product-modal .thumb.js-modal-thumb {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid hsl(var(--industrial-border));
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#product-modal .thumb.js-modal-thumb:hover,
#product-modal .thumb.js-modal-thumb.selected {
  border-color: hsl(var(--industrial-red));
  box-shadow: 0 0 0 2px rgba(196, 70, 65, 0.2);
}

#contactModal label a,
.contact-modal label a {
  color: hsl(var(--industrial-red)) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

#contactModal .group-span-filestyle.input-group-btn label.btn,
#contactModal .input-group-btn .btn,
.contact-modal .group-span-filestyle.input-group-btn label.btn,
.contact-modal .input-group-btn .btn {
  background: hsl(var(--industrial-red)) !important;
  border-color: hsl(var(--industrial-red)) !important;
  color: #fff !important;
  border-radius: 0.65rem !important;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.45rem 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#contactModal .group-span-filestyle.input-group-btn label.btn:hover,
#contactModal .input-group-btn .btn:hover,
.contact-modal .group-span-filestyle.input-group-btn label.btn:hover,
.contact-modal .input-group-btn .btn:hover {
  background: hsl(var(--industrial-red-light)) !important;
  border-color: hsl(var(--industrial-red-light)) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px -2px hsl(0, 50%, 35% / 0.45);
}

#contactModal .custom-control,
.contact-modal .custom-control {
  text-align: left;
}

#contactModal .custom-control-label,
.contact-modal .custom-control-label {
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.45;
}

#contactModal .custom-control-input:checked ~ .custom-control-label::before,
.contact-modal .custom-control-input:checked ~ .custom-control-label::before {
  background-color: hsl(var(--industrial-red));
  border-color: hsl(var(--industrial-red));
}

#contactModal .custom-control-input:focus ~ .custom-control-label::before,
.contact-modal .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem hsl(var(--industrial-red) / 0.25);
}

/* === Cart & Separator === */
.dobreuszczelki-theme .cart-summary {
  border: 1px solid #e9eaed !important;
}

.cart-grid-body .card-block {
  padding-left: 0;
}

.cart-grid-body .card-block h1 {
  font-weight: 600;
}

.card-block.checkout .btn-primary {
  text-transform: none;
}

#submit-login,
#submit-login:hover,
#submit-login:focus {
  transform: none !important;
}

.separator {
  border-color: #e9eaed;
}

.seal-config .value {
  color: #676767;
}

.product-line-grid-right .cart-line-product-actions .remove-from-cart,
.product-line-grid-right .product-price .remove-from-cart {
  color: #676767;
}

#cart .product-price {
  font-weight: 500;
}

.form-group.login-options .radio-inline label {
  background-color: #fff;
}

.opc-container .login-options [type="radio"]:checked + label {
  background-color: #959595;
  color: #fff;
}

.login-form {
  margin-top: 4px;
}

#module-supercheckout-supercheckout .page-order table td,
.page-order table th {
  padding: 0;
}

/* Strony logowania, rejestracji i konta klienta */
#authentication #main,
#registration #main,
#my-account #main,
#identity #main,
#addresses #main,
#address #main,
#history #main,
#order-detail #main,
#order-follow #main,
#order-slip #main,
#discount #main,
#password #main,
#password-email #main,
#password-new #main,
#guest-login #main,
#guest-tracking #main,
#module-psgdpr-gdpr #main {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

#authentication .page-header,
#registration .page-header,
#my-account .page-header,
#identity .page-header,
#addresses .page-header,
#address .page-header,
#history .page-header,
#order-detail .page-header,
#order-follow .page-header,
#order-slip .page-header,
#discount .page-header,
#password .page-header,
#password-email .page-header,
#password-new .page-header,
#guest-login .page-header,
#guest-tracking .page-header {
  text-align: center;
  margin-bottom: 20px;
}

#password #main {
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* Strona przypomnienia hasła - spójny wygląd */
#password .forgotten-password {
  padding: 0 0.5rem;
}

.forgotten-password .form-fields label.required {
  width: auto;
}

#password .send-renew-password-link {
  font-size: 0.95rem;
  line-height: 1.5;
}

#password .password-reset-form .form-group {
  margin-bottom: 0;
}

#password .password-reset-form .form-control {
  padding: 0.6rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
}

#password .password-reset-form .btn-primary {
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-transform: none;
  border-radius: 0.375rem;
}

#password #back-to-login {
  color: hsl(var(--industrial-red));
  text-decoration: none;
  font-size: 0.9rem;
}

#password #back-to-login:hover {
  color: hsl(var(--industrial-red));
  text-decoration: underline;
}

#password .page-content {
  padding: 1.5rem;
}

/* === Strona "Dziękujemy za rejestrację" - wyśrodkowanie === */
#registration-thankyou #main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 50vh;
}
#registration-thankyou .page-header {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}
#registration-thankyou .page-header h1 {
  text-align: center;
}
#registration-thankyou .page-content,
#registration-thankyou .registration-thankyou {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#registration-thankyou .registration-thankyou {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* === Strona „Dla przemysłu” — czytelny panel (jedna kolumna, bez czerwonej poświaty) === */
.page-industry-content .page-industry-hero-title {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-industry-content .breadcrumb-row {
  margin-bottom: 0.5rem;
}

.page-industry-content nav.breadcrumb {
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 0.45rem 0.85rem;
  margin-bottom: 0;
  background: #f1f5f9;
  border: none;
  border-radius: 0.4rem;
  display: block;
  width: fit-content;
  max-width: 100%;
}

.page-industry-content nav.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
}

.page-industry-content .industry-use-outer {
  padding: 1.25rem 0 0.5rem 0;
}

.page-industry-content .industry-use-inner {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.9rem;
}

/* Jedna ramka wokół całej listy: brak 2+2+1, brak pustych kart */
.page-industry-content .industry-use-block {
  margin-top: 0.35rem;
}

.page-industry-content .industry-use-h2 {
  text-align: center;
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.page-industry-content .industry-use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.page-industry-content .industry-use-row {
  align-items: center;
  gap: 0.9rem;
  min-height: 0;
  padding: 0.8rem 1rem 0.8rem 0.95rem;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eff3f6;
  transition: background-color 0.12s ease;
}

.page-industry-content .industry-use-row:last-child {
  border-bottom: 0;
}

.page-industry-content .industry-use-row:hover {
  background-color: #f9fafb;
}

.page-industry-content .industry-use-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.4rem;
  width: 2.4rem;
  height: 2.4rem;
  color: #fff;
  background: linear-gradient(145deg, #c14b46 0%, #a12f2a 100%);
  border-radius: 50%;
  font-size: 0.8rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.page-industry-content .industry-use-icon i {
  font-size: 0.95rem;
  line-height: 1;
}

.page-industry-content .industry-use-txt {
  color: #1e293b;
  font-size: 1.0225rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  padding: 0.1rem 0 0.1rem 0;
}

/* Blok wartości: jednolite tło, wyrównany do szerokości listy */
.page-industry-content .industry-quote-outer {
  max-width: 38rem;
  margin: 1.75rem auto 0 auto;
  padding: 0 0.9rem 0.5rem 0.9rem;
}

.page-industry-content .industry-quote-box {
  text-align: center;
  background: #ebf0f4;
  border: 1px solid #d9e0e6;
  border-radius: 0.6rem;
  padding: 1.6rem 1.25rem 1.5rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.page-industry-content .industry-quote-p {
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.58;
  margin: 0 0 0.5rem 0;
}

.page-industry-content .industry-quote-p--only {
  margin: 0;
}

.page-industry-content .industry-quote-strong {
  color: hsl(var(--industrial-red));
  font-weight: 700;
}

/* „Dlaczego my” — spójna lista jak powyżej */
.page-industry-content .industry-why-outer {
  max-width: 38rem;
  margin: 1.75rem auto 0;
  padding: 0 0.9rem 0.5rem;
}

.page-industry-content .industry-why-inner {
  width: 100%;
}

.page-industry-content .industry-why-h2 {
  text-align: center;
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.page-industry-content .industry-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.page-industry-content .industry-why-list li {
  padding: 0.8rem 1rem 0.8rem 1rem;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eff3f6;
  color: #1e293b;
  font-size: 0.99rem;
  line-height: 1.5;
  transition: background-color 0.12s ease;
}

.page-industry-content .industry-why-list li:hover {
  background-color: #f9fafb;
}

.page-industry-content .industry-why-list li:last-child {
  border-bottom: 0;
}

.page-industry-content .industry-why-list strong {
  color: #0f172a;
  font-weight: 700;
}

/* CTA: związek wizualny z górą, bez wielkich przerw */
.page-industry-content .industry-cta {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem 1rem;
}

.page-industry-content .industry-cta-h2 {
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.6rem 0;
}

.page-industry-content .industry-cta-txt {
  color: #5c6b7a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 auto 1.1rem;
}

/* Przyciski CTA — spójne z kolorem marki, równe na mobile (stack) i desktop (obok) */
.page-industry-content .industry-cta-btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  margin: 0;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 400px) {
  .page-industry-content .industry-cta-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    width: 100%;
    gap: 0.75rem 1rem;
  }
}

.page-industry-content a.btn-industry-cta {
  text-decoration: none;
  cursor: pointer;
}

.page-industry-content a.btn-industry-cta:focus-visible {
  outline: 2px solid hsl(var(--industrial-red) / 0.55);
  outline-offset: 2px;
}

.page-industry-content .btn-industry-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 0.4rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  border-width: 2px;
  border-style: solid;
  box-sizing: border-box;
}

.page-industry-content .btn-industry-cta--primary,
.page-industry-content a.btn-industry-cta--primary:visited {
  color: #fff;
  background: hsl(var(--industrial-red));
  border: 2px solid hsl(var(--industrial-red));
}

.page-industry-content .btn-industry-cta--primary:hover,
.page-industry-content .btn-industry-cta--primary:focus {
  color: #fff;
  background: hsl(var(--industrial-red-dark));
  border-color: hsl(var(--industrial-red-dark));
  box-shadow: 0 2px 8px rgba(161, 47, 42, 0.35);
  filter: brightness(1.02);
}

.page-industry-content .btn-industry-cta--secondary,
.page-industry-content a.btn-industry-cta--secondary:visited {
  color: hsl(var(--industrial-red));
  background: #fff;
  border: 2px solid hsl(var(--industrial-red));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.page-industry-content .btn-industry-cta--secondary:hover,
.page-industry-content .btn-industry-cta--secondary:focus {
  color: #fff;
  background: hsl(var(--industrial-red));
  border-color: hsl(var(--industrial-red));
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

@media (min-width: 400px) {
  .page-industry-content .btn-industry-cta {
    min-width: 11.5rem;
  }
}

/* === Strona O nas (about.tpl) — układ, karty, lista === */
.page-about-content .product-list-hero .about-hero-lead,
.page-about-content .about-hero-lead {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.page-about-content .about-body {
  line-height: 1.6;
}

.page-about-content .about-section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--industrial-red)) !important;
  margin-bottom: 0.35rem;
}

.page-about-content .about-section-title {
  letter-spacing: -0.02em;
}

.page-about-content .about-intro-section .about-cnc-hint {
  background: hsl(220 25% 96%);
  border-left: 4px solid hsl(var(--industrial-red));
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.page-about-content .about-intro-visual {
  display: inline-block;
  max-width: 100%;
}

.page-about-content .about-intro-image {
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px -12px hsl(var(--industrial-gray) / 0.25);
}

.page-about-content .about-offer-section {
  background: transparent;
  counter-reset: about-offer;
}

.page-about-content .about-offer-section .about-offer-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.85rem;
  padding: 1.7rem 1.5rem 1.65rem 1.5rem;
  min-height: 100%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.07);
  border: 1px solid hsl(220 15% 90%);
  border-top: 3px solid hsl(var(--industrial-red));
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  counter-increment: about-offer;
  padding-top: 2.35rem;
}

.page-about-content .about-offer-section .about-offer-tile::after {
  content: counter(about-offer, decimal-leading-zero);
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
  background: hsl(var(--industrial-red));
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.page-about-content .about-offer-tile__title {
  color: hsl(var(--industrial-gray)) !important;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  margin-right: 1.5rem;
  padding-right: 0.25rem;
  letter-spacing: -0.01em;
}

.page-about-content .about-offer-tile__text {
  color: #4a5567 !important;
  font-size: 0.98rem;
  line-height: 1.7;
  font-weight: 400;
}

.page-about-content .about-offer-section .about-offer-tile:hover {
  box-shadow: 0 10px 32px -10px hsl(var(--industrial-gray) / 0.16);
  border-color: hsl(220 15% 85%);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .page-about-content .about-offer-grid {
    --bs-gutter-y: 1.5rem;
  }
}

.page-about-content .about-why .about-value-card--lift {
  border-radius: 0.75rem !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-about-content .about-why .about-value-card--lift:hover {
  box-shadow: 0 10px 32px -12px hsl(var(--industrial-red) / 0.2) !important;
  transform: translateY(-3px);
}

.page-about-content .about-uses-wrap {
  background: linear-gradient(180deg, #fff 0%, hsl(220 20% 98%) 100%);
}

.page-about-content .about-uses-box {
  max-width: 48rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid hsl(220 15% 90%);
  border-radius: 0.85rem;
  padding: 2rem 1.5rem 2.25rem;
  box-shadow: 0 4px 24px -8px hsl(var(--industrial-gray) / 0.12);
}

.page-about-content .about-uses-title {
  font-size: 1.4rem;
}

.page-about-content .about-uses-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: rgb(95, 105, 120);
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-about-content .about-uses-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: hsl(var(--industrial-red));
}

.page-about-content .about-uses-list li:last-child {
  margin-bottom: 0;
}

.page-about-content .about-page-cta .category-cta-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.page-about-content .about-cta-eyebrow {
  opacity: 0.9;
}

/* Strona Produkty i usługi (produktyuslugi.tpl) */
.page-produktyuslugi-content .produktyuslugi-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 0.5rem 2rem;
}

.page-produktyuslugi-content .page-produktyuslugi-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: rgb(95, 105, 120);
  font-size: 0.95rem;
  line-height: 1.55;
}

.page-produktyuslugi-content .page-produktyuslugi-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: hsl(var(--industrial-red));
}

.page-produktyuslugi-content .page-produktyuslugi-list li:last-child {
  margin-bottom: 0;
}

/* Strona Uszczelki na zamówienie */
.page-uszczelkizamowienie-content .uszczelkizamowienie-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 0.5rem 2rem;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-intro-card {
  max-width: 52rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-title {
  color: hsl(var(--industrial-gray));
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-lead,
.page-uszczelkizamowienie-content .uszczelkizamowienie-note {
  max-width: 48rem;
  line-height: 1.6;
  font-size: 0.97rem;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-lead {
  margin-bottom: 0.7rem;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-list {
  margin-bottom: 1rem !important;
}

.page-uszczelkizamowienie-content .page-uszczelkizamowienie-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.55rem;
  color: rgb(71, 85, 105);
  font-size: 0.96rem;
  line-height: 1.55;
}

.page-uszczelkizamowienie-content .page-uszczelkizamowienie-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: hsl(var(--industrial-red));
}

.page-uszczelkizamowienie-content .page-uszczelkizamowienie-list li:last-child {
  margin-bottom: 0;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-profile-types-section {
  padding-top: 0.15rem;
}

.page-uszczelkizamowienie-content .uszczelkizamowienie-configurator-section {
  padding-top: 0.25rem;
}

@media (max-width: 767.98px) {
  .page-uszczelkizamowienie-content .uszczelkizamowienie-inner {
    padding: 0 0.1rem 1.35rem;
  }

  .page-uszczelkizamowienie-content .uszczelkizamowienie-intro-card {
    padding: 1rem 0.95rem 0.9rem;
    border-radius: 6px;
  }
}

/* === Strona główna: sekcja pomiar / profil (slider SLOGAN + 6 zdjęć) === */
.dobreuszczelki-theme .slogan-measure-cta {
  background: linear-gradient(180deg, hsl(var(--industrial-surface)) 0%, #fff 55%, hsl(var(--industrial-surface)) 100%);
  border-top: 1px solid hsl(var(--industrial-border) / 0.65);
  border-bottom: 1px solid hsl(var(--industrial-border) / 0.65);
}
.dobreuszczelki-theme .slogan-measure-cta__slogan-img {
  max-width: min(100%, 20rem);
  height: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}
.dobreuszczelki-theme .slogan-measure-cta__title {
  color: hsl(var(--industrial-gray));
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}
@media (min-width: 768px) {
  .dobreuszczelki-theme .slogan-measure-cta__title {
    font-size: 1.5rem;
  }
}
.dobreuszczelki-theme .slogan-measure-cta__accent {
  color: hsl(var(--industrial-red));
  font-weight: 700;
}
.dobreuszczelki-theme .slogan-measure-cta__line {
  position: relative;
  padding: 0.4rem 0 0.4rem 0.9rem;
  margin-bottom: 0.4rem;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.5;
  border-left: 3px solid hsl(var(--industrial-red) / 0.55);
}
.dobreuszczelki-theme .slogan-measure-cta__line:last-of-type {
  margin-bottom: 0;
}
.dobreuszczelki-theme .slogan-measure-cta__body {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
}
.dobreuszczelki-theme .slogan-measure-cta__btn-ghost {
  color: hsl(var(--industrial-gray)) !important;
  border-color: hsl(var(--industrial-border)) !important;
  background: #fff !important;
}
.dobreuszczelki-theme .slogan-measure-cta__btn-ghost:hover {
  border-color: hsl(var(--industrial-red) / 0.45) !important;
  color: hsl(var(--industrial-red)) !important;
  background: hsl(0 40% 98%) !important;
}
.dobreuszczelki-theme .slogan-measure-cta__slide-img {
  /* object-fit: contain; */
  /* max-height: min(420px, 52vh); */
  /* min-height: 200px; */
  width: 100% !important;
  margin: 0 auto;
  background: #f8fafc;
  display: block;
}
.dobreuszczelki-theme .slogan-measure-cta__image-wrap {
  line-height: 0;
}

/* === Globalnie: spójny, UX-friendly border-radius na całym sklepie === */
.dobreuszczelki-theme {
  --du-minimal-radius: 6px;
}

.dobreuszczelki-theme .btn,
.dobreuszczelki-theme .form-control,
.dobreuszczelki-theme .custom-select,
.dobreuszczelki-theme .input-group-text,
.dobreuszczelki-theme .card,
.dobreuszczelki-theme .card-header,
.dobreuszczelki-theme .card-footer,
.dobreuszczelki-theme .dropdown-menu,
.dobreuszczelki-theme .modal-content,
.dobreuszczelki-theme .alert,
.dobreuszczelki-theme .badge,
.dobreuszczelki-theme .nav-pills .nav-link,
.dobreuszczelki-theme .nav-tabs .nav-link,
.dobreuszczelki-theme .list-group-item,
.dobreuszczelki-theme .pagination .page-link,
.dobreuszczelki-theme .page-item:first-child .page-link,
.dobreuszczelki-theme .page-item:last-child .page-link,
.dobreuszczelki-theme .breadcrumb,
.dobreuszczelki-theme .product-hero,
.dobreuszczelki-theme .product-miniature,
.dobreuszczelki-theme .thumbnail-container,
.dobreuszczelki-theme .block-category,
.dobreuszczelki-theme .facet,
.dobreuszczelki-theme .quickview,
.dobreuszczelki-theme .carousel,
.dobreuszczelki-theme .carousel-item,
.dobreuszczelki-theme .accordion,
.dobreuszczelki-theme .accordion .card {
  border-radius: var(--du-minimal-radius) !important;
}

/* Inline style override: standaryzacja na elementach istotnych dla UX */
.dobreuszczelki-theme button[style*="border-radius"],
.dobreuszczelki-theme a[style*="border-radius"],
.dobreuszczelki-theme input[style*="border-radius"],
.dobreuszczelki-theme select[style*="border-radius"],
.dobreuszczelki-theme textarea[style*="border-radius"],
.dobreuszczelki-theme .btn[style*="border-radius"],
.dobreuszczelki-theme .card[style*="border-radius"],
.dobreuszczelki-theme .product-miniature[style*="border-radius"],
.dobreuszczelki-theme .thumbnail-container[style*="border-radius"] {
  border-radius: var(--du-minimal-radius) !important;
  border-top-left-radius: var(--du-minimal-radius) !important;
  border-top-right-radius: var(--du-minimal-radius) !important;
  border-bottom-left-radius: var(--du-minimal-radius) !important;
  border-bottom-right-radius: var(--du-minimal-radius) !important;
}

/* Lepsza czytelność focusa dla klawiatury */
.dobreuszczelki-theme .btn:focus-visible,
.dobreuszczelki-theme a:focus-visible,
.dobreuszczelki-theme input:focus-visible,
.dobreuszczelki-theme select:focus-visible,
.dobreuszczelki-theme textarea:focus-visible {
  outline: 2px solid hsl(var(--industrial-red) / 0.55);
  outline-offset: 2px;
}

.opc-container .custom-panel h2 {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.opc-container .custom-panel h2 i,
.opc-container .custom-panel h2 .fas,
.opc-container .custom-panel h2 .fa {
  display: none !important;
}

#module-supercheckout-supercheckout .opc-container .custom-panel {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

#module-supercheckout-supercheckout .opc-container h2,
#module-supercheckout-supercheckout .opc-container .section-title,
#module-supercheckout-supercheckout .opc-container .custom-panel h2 {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  text-transform: none !important;
}

#module-supercheckout-supercheckout .opc-container h2 i,
#module-supercheckout-supercheckout .opc-container h2 .fas,
#module-supercheckout-supercheckout .opc-container h2 .far,
#module-supercheckout-supercheckout .opc-container h2 .fa {
  display: none !important;
}

#module-supercheckout-supercheckout .opc-container .custom-panel h2::after {
  content: none !important;
  display: none !important;
}