.cbp-horizontal > ul > li > a,
.cbp-horizontal > ul > li > a:not([href]):not([tabindex]),
.cbp-horizontal > ul > li > .cbp-main-link {
    max-width: unset;
}

.cbp-horizontal .cbp-tab-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: none;
    line-height: 1em;
}

/* =====================================================
   ZWARTA LISTA KATALOGÓW I MAGAZYNÓW SPRĘŻYN
   ===================================================== */

.technical-products-list .js-product-miniature-wrapper {
    margin-bottom: 4px;
    padding-left: 0;
    padding-right: 0;
}

.technical-products-list .product-miniature {
    min-height: 0;
    margin-bottom: 0;
}

.technical-products-list .product-miniature-list-row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
    padding: 5px 10px;
}

.technical-products-list .col-description {
    min-width: 0;
    flex: 1 1 0;
    padding-top: 0;
    padding-bottom: 0;
}

.technical-products-list .col-buy {
    padding-top: 0;
    padding-bottom: 0;
}

.technical-products-list .product-title {
    margin: 0 0 2px;
    font-size: 14px;
    line-height: 1.25;
}

.technical-products-list .product-title a {
    line-height: 1.25;
}

.technical-products-list .product-description-short,
.technical-products-list .product-stock-quantity {
    margin: 1px 0;
    font-size: 13px;
    line-height: 1.25;
}

.technical-products-list .product-availability {
    margin: 1px 0 0;
    line-height: 1.2;
}

.technical-products-list .product-availability .badge {
    margin-top: 1px !important;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1.2;
}

.technical-products-list .product-price-and-shipping {
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.technical-products-list .product-price {
    font-size: 15px;
    line-height: 1.2;
}

.technical-products-list .product-functional-buttons {
    display: none;
}

/* Stała szerokość prawej kolumny z ceną i zakupem */
.technical-products-list .spring-header-buy-column,
.technical-products-list .product-miniature-list-row > .col-buy {
    flex: 0 0 170px;
    width: 170px;
    max-width: 170px;
}


/* =====================================================
   WSPÓLNY WYGLĄD PARAMETRÓW TECHNICZNYCH
   ===================================================== */

.technical-products-list .spring-technical-data,
.technical-products-list .spring-technical-header {
    display: grid;
    gap: 2px;
    width: 100%;
    box-sizing: border-box;
}

/* Domyślny układ 11 kolumn */
.technical-products-list .spring-technical-data,
.technical-products-list .spring-technical-header {
    grid-template-columns:
        minmax(36px, 0.55fr)  /* Dz */
        minmax(36px, 0.55fr)  /* Dw */
        minmax(34px, 0.50fr)  /* d */
        minmax(38px, 0.55fr)  /* L0 */
        minmax(38px, 0.55fr)  /* Lb */
        minmax(52px, 0.75fr)  /* R stal */
        minmax(52px, 0.75fr)  /* R inox */
        minmax(38px, 0.55fr)  /* Ln */
        minmax(55px, 0.80fr)  /* FLn stal */
        minmax(55px, 0.80fr)  /* FLn inox */
        minmax(44px, 0.65fr); /* Zmax */
}

/* Dane w wierszu produktu */
.technical-products-list .spring-technical-data {
    margin-top: 4px;
}

.technical-products-list .spring-technical-data > span {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
    gap: 2px;
    padding: 3px 6px;
    border-left: 1px solid #dcdcdc;
    text-align: left;
}

.technical-products-list .spring-technical-data > span:first-child {
    border-left: 0;
}

.technical-products-list .spring-technical-data small {
    margin: 0;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 600;
    color: #666666;
    white-space: nowrap;
}

.technical-products-list .spring-technical-data strong {
    margin: 1px 0 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
}

/* Nagłówek tabeli */
.technical-products-list .spring-technical-header {
    margin: 0;
    padding: 6px 3px;
   background: #fff4df;
    border: 1px solid #cccccc;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.16);
}

.technical-products-list .spring-technical-header > span {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
    gap: 2px;
    padding: 3px;
    border-left: 1px solid #dcdcdc;
    text-align: center;
}

.technical-products-list .spring-technical-header > span:first-child {
    border-left: 0;
}

.technical-products-list .spring-technical-header strong {
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.technical-products-list .spring-technical-header small {
    margin-top: 2px;
    font-size: 9px;
    line-height: 1;
    color: #666666;
    white-space: nowrap;
}


/* =====================================================
   UKŁADY KOLUMN DLA POSZCZEGÓLNYCH TABEL
   ===================================================== */

/* Magazyn sprężyn ściskanych – 8 kolumn */
.spring-technical-data.spring-warehouse-data,
.spring-technical-header.spring-warehouse-data {
    grid-template-columns:
        minmax(42px, 0.7fr)  /* Dz */
        minmax(42px, 0.7fr)  /* Dw */
        minmax(38px, 0.6fr)  /* d */
        minmax(44px, 0.7fr)  /* L0 */
        minmax(44px, 0.7fr)  /* Lb */
        minmax(55px, 0.9fr)  /* R */
        minmax(44px, 0.7fr)  /* FLb */
        minmax(50px, 0.8fr); /* Zmax */
}

/* Katalog sprężyn rozciąganych – 9 kolumn */
.spring-technical-data.spring-extension-catalog-data,
.spring-technical-header.spring-extension-catalog-data {
    grid-template-columns:
        minmax(42px, 0.7fr)  /* Dz */
        minmax(38px, 0.6fr)  /* d */
        minmax(44px, 0.7fr)  /* L0 */
        minmax(58px, 0.9fr)  /* R stal */
        minmax(58px, 0.9fr)  /* R inox */
        minmax(52px, 0.8fr)  /* Lmax */
        minmax(68px, 1fr)    /* Fmax stal */
        minmax(68px, 1fr)    /* Fmax inox */
        minmax(55px, 0.9fr); /* Zakres pracy */
}

/* Magazyn sprężyn rozciąganych – 8 kolumn */
.spring-technical-data.spring-extension-warehouse-data,
.spring-technical-header.spring-extension-warehouse-data {
    grid-template-columns:
        minmax(42px, 0.7fr)  /* Dz */
        minmax(42px, 0.7fr)  /* Dw */
        minmax(38px, 0.6fr)  /* d */
        minmax(44px, 0.7fr)  /* L0 */
        minmax(52px, 0.8fr)  /* Lmax */
        minmax(55px, 0.9fr)  /* R */
        minmax(55px, 0.9fr)  /* Zakres pracy */
        minmax(55px, 0.9fr); /* Fmax */
}

/* Katalog sprężyn ściskanych – 13 kolumn */
.spring-technical-data.spring-catalog-data,
.spring-technical-header.spring-catalog-data {
    grid-template-columns:
        minmax(36px, 0.55fr) /* Dz */
        minmax(36px, 0.55fr) /* Dw */
        minmax(34px, 0.50fr) /* d */
        minmax(38px, 0.55fr) /* L0 */
        minmax(38px, 0.55fr) /* Lb */
        minmax(52px, 0.75fr) /* R stal */
        minmax(52px, 0.75fr) /* R inox */
        minmax(38px, 0.55fr) /* Ln */
        minmax(55px, 0.80fr) /* FLn stal */
        minmax(55px, 0.80fr) /* FLn inox */
        minmax(55px, 0.80fr) /* FLb stal */
        minmax(55px, 0.80fr) /* FLb inox */
        minmax(44px, 0.65fr);/* Zmax */
}


/* =====================================================
   STICKY NAGŁÓWEK – KOMPUTER I TABLET
   ===================================================== */

/* Warehouse ustawia tutaj overflow:hidden, co blokuje sticky */
main.main-page-content {
    overflow: visible !important;
}

@media (min-width: 768px) {
    .technical-products-list .spring-header-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 999;
        align-self: flex-start;
        height: auto;
        margin-bottom: 4px;
        background: #ffffff;
    }

    .technical-products-list .spring-header-row {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        background: #ffffff;
    }
}


/* =====================================================
   TELEFON
   ===================================================== */

@media (max-width: 767px) {
    .technical-products-list {
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    /* Minimalna szerokość całej tabeli */
    .technical-products-list .spring-header-wrapper,
    .technical-products-list .js-product-miniature-wrapper {
        width: 650px;
        min-width: 650px;
        max-width: none;
        flex: 0 0 650px;
    }

    .technical-products-list .spring-header-row,
    .technical-products-list .product-miniature-list-row {
        flex-wrap: nowrap;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Parametry zajmują główną część tabeli */
    .technical-products-list .col-description {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Cena i przyciski pozostają po prawej */
    .technical-products-list .spring-header-buy-column,
    .technical-products-list .product-miniature-list-row > .col-buy {
        flex: 0 0 170px;
        width: 170px;
        max-width: 170px;
    }

    /* Zapobiega łamaniu wartości */
    .spring-technical-header span,
    .spring-technical-data span {
        white-space: nowrap;
    }

    .technical-products-list .product-miniature-list-row {
        padding: 7px 8px;
    }

    .technical-products-list .col-buy {
        margin-top: 3px;
        text-align: left;
    }

    .technical-products-list .product-title {
        font-size: 13px;
    }

    .technical-products-list .product-price {
        font-size: 14px;
    }
}


/* =====================================================
   MNIEJSZE EKRANY – POZIOME PRZEWIJANIE PARAMETRÓW
   ===================================================== */

@media (max-width: 991px) {
    .technical-products-list .spring-technical-data,
    .technical-products-list .spring-technical-header {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .technical-products-list .spring-technical-data > span,
    .technical-products-list .spring-technical-header > span {
        flex: 0 0 72px;
    }
}
/* =========================================================
   HS SPRĘŻYNY – PANEL RABATÓW ILOŚCIOWYCH
   ========================================================= */

.hs-discount-panel {
    margin: 0 0 14px;
    padding: 13px 15px;
    border: 1px solid #d8dde2;
    border-radius: 4px;
    background: #f7f8f9;
}

.hs-discount-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.hs-discount-title .fa {
    margin-right: 5px;
}

.hs-discount-description {
    margin-top: 3px;
    font-size: 13px;
}

.hs-discount-next {
    margin-top: 9px;
    padding: 8px 10px;
    border-left: 3px solid currentColor;
    background: #fff;
    font-size: 13px;
    line-height: 1.4;
}

.hs-discount-details {
    margin-top: 9px;
}

.hs-discount-details summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.hs-discount-table-wrapper {
    max-height: 310px;
    margin-top: 9px;
    overflow-y: auto;
}

.hs-discount-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    font-size: 13px;
}

.hs-discount-table th,
.hs-discount-table td {
    padding: 6px 9px;
    border-bottom: 1px solid #e1e4e7;
}

.hs-discount-table th:last-child,
.hs-discount-table td:last-child {
    text-align: right;
    font-weight: 600;
}

@media (max-width: 767px) {
    .hs-discount-panel {
        margin-bottom: 12px;
    }

    .hs-discount-table-wrapper {
        max-height: 260px;
    }
}
/* Telefon – uproszczony panel rabatów */
@media (max-width: 767px) {

    /* Usuń dużą ramkę i tło panelu */
    .hs-discount-panel {
        margin: 0 0 10px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    /* Ukryj: % Rabaty ilościowe */
    .hs-discount-title {
        display: none;
    }

    /* Ukryj: Kup więcej i zapłać mniej */
    .hs-discount-description {
        display: none;
    }

    /* Zostaw tylko komunikat o kolejnym progu */
    .hs-discount-next {
        margin-top: 0;
    }
}

.product-quantities {
    margin: 12px 0;
    padding: 10px 14px;
    border: 1px solid #cfe3d4;
    border-left: 4px solid #4f8f5b;
    background: #f7fbf8;
    font-size: 16px;
}

.product-quantities .label {
    font-weight: 700;
    margin-right: 8px;
}

.product-quantities span[data-stock] {
    font-size: 18px;
    font-weight: 700;
    color: #2f6f3e;
}
/* ====================================================
   UKRYCIE NAGŁOWKÓW land banners riGht column
==================================================== */
 #iqithtmlandbanners-block-11 > .block-title,
#iqithtmlandbanners-block-12 > .block-title {
  display: none !important;
}
/* ====================================================
   UKRYCIE POLA PRODUCT_DATA W FORMULARZACH
==================================================== */

/* Katalog sprężyn rozciąganych – formularz 9 */
#pdextraformspro-form-9 .pdef-field[data-pdef-field-id="134"] {
    display: none !important;
}

/* Magazyny – formularz 10 */
#pdextraformspro-form-10 .pdef-field[data-pdef-field-id="139"] {
    display: none !important;
}

/* ====================================================
   CENA OBOK ILOŚCI
==================================================== */

#hs-qty-price {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 7px;
margin-left: 0;
    padding: 6px 10px;

    border: 1px solid #d8dde2;
    border-radius: 4px;
    background: #f7f8f9;

    min-width: 285px;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1.2;
}

#hs-qty-price .hs-qty-price-label {
    font-size: 13px;
    color: #666;
}

#hs-qty-price .hs-qty-price-value {
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    color: #c62828;
}

#hs-qty-price .hs-qty-regular {
    margin: 0;
}

#hs-qty-price .regular-price {
    font-size: 13px;
}

#hs-qty-price .hs-qty-discount {
    margin: 0;
}
/* ====================================================
   WYSOKOŚĆ POLA ILOŚCI + STRZAŁEK
==================================================== */

.product-add-to-cart .input-group.bootstrap-touchspin {
    height: 42px;
}

.product-add-to-cart .bootstrap-touchspin input#quantity_wanted {
    height: 42px !important;
    min-height: 42px !important;
}

.product-add-to-cart .bootstrap-touchspin .btn {
    height: 21px;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
}

/* ==================================
Ukryj oryginalny stan magazynowy,
   zostaw kopię nad ilością i koszykiem
========================================= */
.product-quantities:not(#hs-stock-above-qty) {
    display: none !important;
}
/* ====================================================
   HS SPRĘŻYNY - KARTA PRODUKTU / MODAL
==================================================== */

#hs-product-card-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

#hs-product-card-modal.is-open {
    display: block;
}

.hs-product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hs-product-card-window {
    position: relative;
    z-index: 2;

    width: calc(100% - 40px);
    max-width: 900px;
    max-height: 88vh;

    margin: 6vh auto 0;

    background: #ffffff;
    border-radius: 6px;

    box-shadow: 0 12px 40px rgba(0,0,0,0.35);

    overflow: hidden;
}


/* ====================================================
   NAGŁÓWEK MODALA
==================================================== */

.hs-product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 14px 18px;

    border-bottom: 1px solid #dddddd;
    background: #f7f8f9;

    font-size: 18px;
}

.hs-product-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hs-product-card-close {
    border: 0;
    background: transparent;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* ====================================================
   ZAWARTOŚĆ
==================================================== */

.hs-product-card-content {
    max-height: calc(88vh - 60px);
    overflow-y: auto;

    padding: 18px;
}

body.hs-product-card-open {
    overflow: hidden;
}


/* ====================================================
   NAGŁÓWEK FIRMOWY
==================================================== */

.hs-card-company-header {
    margin-bottom: 24px;
    padding-bottom: 16px;

    border-bottom: 2px solid #d8dde2;
}

.hs-card-company-name {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.hs-card-company-web {
    margin-top: 3px;

    font-size: 15px;
    color: #555555;
}

.hs-card-reference {
    margin-top: 10px;

    font-size: 18px;
}

.hs-card-reference strong {
    font-weight: 800;
}


/* ====================================================
   SEKCJE
==================================================== */

.hs-card-section {
    margin-bottom: 22px;
}

.hs-card-section-title {
    margin: 0 0 10px;
    padding-bottom: 6px;

    border-bottom: 2px solid #dddddd;

    font-size: 20px;
    font-weight: 700;
}

.hs-card-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


/* ====================================================
   PARAMETRY
   symbol | wartość | opis
==================================================== */

.hs-param-row {
    display: grid;
    grid-template-columns: 110px 110px minmax(160px, 1fr);

    gap: 10px;
    align-items: start;

    padding: 8px 10px;

    border: 1px solid #e1e4e7;
    border-radius: 4px;

    background: #fafafa;
}

.hs-param-symbol {
    font-size: 17px;
    font-weight: 700;
}

.hs-param-value {
    font-size: 17px;
    font-weight: 700;
}

.hs-param-description summary {
    cursor: pointer;

    font-size: 15px;
    font-weight: 600;
}

.hs-param-description-text {
    margin-top: 6px;

    font-size: 15px;
    line-height: 1.4;

    color: #555555;
}


/* ====================================================
   PRZYCISK KARTA PRODUKTU
==================================================== */

#hs-product-card-btn {
    font-size: 16px;
    font-weight: 700;

    padding: 10px 16px;

    border-width: 2px;
}

#hs-product-card-btn i {
    margin-right: 6px;
    font-size: 16px;
}


/* ====================================================
   RYSUNKI
==================================================== */

.hs-card-image {
    text-align: center;
}

.hs-card-image img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 0 auto;
}


/* ====================================================
   WYMIARY
   rysunek po lewej / parametry po prawej
==================================================== */

.hs-card-section-dimensions {
    display: grid;

    grid-template-columns:
        minmax(320px, 1.2fr)
        minmax(300px, 1fr);

    column-gap: 24px;
    align-items: start;
}

.hs-card-section-dimensions .hs-card-section-title {
    grid-column: 1 / -1;
}

.hs-card-section-dimensions .hs-card-image-dimensions {
    grid-column: 1;

    margin: 8px 0 0;
}

.hs-card-section-dimensions .hs-card-image-dimensions img {
    width: 100%;
    max-width: 100%;
}

.hs-card-section-dimensions .hs-card-rows {
    grid-column: 2;
}


/* ====================================================
   PARAMETRY PRACY + PARAMETRY GRANICZNE
   rysunek po lewej / dane po prawej
==================================================== */

.hs-work-limits-wrap {
    display: grid;

    grid-template-columns: 38% 62%;

    gap: 24px;

    align-items: start;

    margin-top: 20px;
}


/* Rysunek */
.hs-card-image-work-limits {
    margin: 0;

    text-align: center;
}

.hs-card-image-work-limits img {
    display: block;

    width: auto;
    max-width: 330px;
    max-height: 620px;

    height: auto;

    margin: 0 auto;
}


/* Dane po prawej */
.hs-work-limits-data {
    min-width: 0;
}

.hs-work-limits-data .hs-card-section {
    display: block;

    width: 100%;

    margin: 0 0 22px;
}

.hs-work-limits-data .hs-card-section-title {
    font-size: 20px;
}


/* ====================================================
   TELEFON
==================================================== */

@media (max-width: 767px) {

    .hs-product-card-window {
        width: calc(100% - 20px);
        max-height: 92vh;

        margin-top: 4vh;
    }

    .hs-product-card-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .hs-product-card-header strong {
        font-size: 15px;
    }

    .hs-product-card-actions {
        gap: 6px;
    }

    .hs-product-card-content {
        max-height: calc(92vh - 58px);

        padding: 12px;
    }


    /* parametry */

    .hs-param-row {
        grid-template-columns: 70px 80px 1fr;

        gap: 6px;

        padding: 7px;
    }

    .hs-param-symbol,
    .hs-param-value {
        font-size: 14px;
    }

    .hs-param-description summary,
    .hs-param-description-text {
        font-size: 13px;
    }


    /* wymiary */

    .hs-card-section-dimensions {
        display: block;
    }

    .hs-card-section-dimensions .hs-card-image-dimensions {
        margin-bottom: 16px;
    }


    /* praca + granice */

    .hs-work-limits-wrap {
        display: block;
    }

    .hs-card-image-work-limits {
        margin-bottom: 18px;
    }

    .hs-card-image-work-limits img {
        max-width: 280px;
        max-height: none;
    }
}
/* Ukrycie standardowej listy parametrów produktu */
#product-details-wrapper {
    display: none !important;
}
/* Magazyn: nazwa + dostępna ilość w jednej linii */
.technical-products-list .warehouse-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 2px;
}

.technical-products-list .warehouse-title-line .product-title {
    margin: 0;
}

.technical-products-list .warehouse-stock-inline {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 4px;
    background: #eef8f0;
    color: #2f6f3e;
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
}

.technical-products-list .warehouse-stock-inline strong {
    font-weight: 700;
}
.technical-products-list .warehouse-stock-low {
    background: #fdeeee;
    color: #9f2d2d;
}

.technical-products-list .warehouse-stock-medium {
    background: #fff4df;
    color: #9a6415;
}

.technical-products-list .warehouse-stock-high {
    background: #eef8f0;
    color: #2f6f3e;
}
/* Modal karty produktu otwieranej z listy */
#hs-list-product-card-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

#hs-list-product-card-modal.is-open {
    display: block;
}
.technical-products-list .hs-list-product-card {
    font-weight: 480;
}
