/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */


/* Ukrycie starej ikony Font Awesome */
.axv-icon-list-item-icon .fa-address-book::before {
    content: none !important;
}

/* Nowa biała ikona transportu */
.axv-icon-list-item-icon .fa-address-book {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 26px;

    background-color: #fff !important;

    -webkit-mask-image: url("/img/cms/free-delivery.svg");
    mask-image: url("/img/cms/free-delivery.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    font-size: 0 !important;
}

/* Ukrycie starej gwiazdki */
.axv-icon-list-item-icon .axicon-star::before {
    content: none !important;
}

/* Nowa biała ikona dostawy 24h */
.axv-icon-list-item-icon .axicon-star {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 26px;

    background-color: #fff !important;

    -webkit-mask-image: url("/img/cms/24-hours-delivery (1).svg");
    mask-image: url("/img/cms/24-hours-delivery (1).svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    font-size: 0 !important;
}

/* Ukrycie starej ikony dzwonka */
.axv-icon-list-item-icon .fa-bell::before {
    content: none !important;
}

/* Nowa biała ikona zwrotu produktu */
.axv-icon-list-item-icon .fa-bell {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 26px;

    background-color: #fff !important;

    -webkit-mask-image: url("https://czescirolnicze.cfolks.pl/img/cms/product-return.svg");
    mask-image: url("https://czescirolnicze.cfolks.pl/img/cms/product-return.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    font-size: 0 !important;
}

/* Ukrycie starej ikony kalendarza */
.axv-icon-list-item-icon .fa-calendar-minus::before {
    content: none !important;
}

/* Nowa biała ikona wsparcia */
.axv-icon-list-item-icon .fa-calendar-minus {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 26px;

    background-color: #fff !important;

    -webkit-mask-image: url("/img/cms/support%20%289%29.svg");
    mask-image: url("/img/cms/support%20%289%29.svg");

    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    -webkit-mask-position: center;
    mask-position: center;

    -webkit-mask-size: contain;
    mask-size: contain;

    font-size: 0 !important;
}

/* Menu kategorii stale otwarte tylko na stronie głównej */
@media (min-width: 1200px) {

    body#index .wrapper-menu-vertical,
    body.page-index .wrapper-menu-vertical {
        position: relative;
    }

    body#index .wrapper-menu-vertical > ul.menu-vertical,
    body.page-index .wrapper-menu-vertical > ul.menu-vertical {
        display: flex !important;
        flex-direction: column;

        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;

        height: auto !important;
        max-height: none !important;
        overflow: visible !important;

        top: 100% !important;
        left: 0 !important;
        transform: translateY(0) !important;
        clip-path: none !important;

        z-index: 9999 !important;
    }
}

/* Mniejsza czcionka pozycji w pionowym menu kategorii */
.wrapper-menu-vertical > .menu-vertical > li > a > span:not(.triangle) {
    font-size: 12px !important;
    line-height: 1.25 !important;
font-weight:500;
}

.nrt_mega_menu .icon-img {
    max-height: 18px;
    display: inline-block;
    margin-right: 4px;
}

.opisslide {
    display: block;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-top: 12px;
}

@media (max-width: 767px) {
    .opisslide {
        font-size: 15px !important;
        line-height: 1.3 !important;
    }
}

.cr-about {
    --cr-green: #8aaa3b;
    --cr-dark: #171b1f;
    --cr-light: #f5f7f3;
    --cr-border: #e5e9e1;

    max-width: 1100px;
    margin: 30px auto;
    padding: clamp(25px, 4vw, 50px);
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    color: #444;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
}

.cr-about * {
    box-sizing: border-box;
}

.cr-about p {
    margin: 0 0 18px;
}

.cr-about h2 {
    margin: 38px 0 18px;
    padding-left: 16px;
    border-left: 5px solid var(--cr-green);
    color: var(--cr-dark);
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.25;
    font-weight: 700;
}

.cr-about h2:first-of-type {
    margin-top: 30px;
}

.cr-about__intro {
    padding: 24px 26px;
    background: var(--cr-light);
    border-left: 5px solid var(--cr-green);
    border-radius: 0 12px 12px 0;
}

.cr-about__intro p:last-child {
    margin-bottom: 0;
}

.cr-about__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 25px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.cr-about__list li {
    position: relative;
    min-height: 28px;
    padding-left: 34px;
}

.cr-about__list li::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--cr-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.cr-about__brands {
    margin: 26px 0;
    padding: 22px 25px;
    border-radius: 12px;
    background: var(--cr-dark);
    color: #fff;
}

.cr-about__brands p {
    margin: 0;
}

.cr-about__brands strong {
    color: #a5d34e;
}

.cr-about__benefits {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.cr-about__benefits li {
    position: relative;
    margin-bottom: 12px;
    padding: 14px 18px 14px 48px;
    border: 1px solid var(--cr-border);
    border-radius: 10px;
    background: #fff;
}

.cr-about__benefits li::before {
    content: "✓";
    position: absolute;
    top: 15px;
    left: 17px;
    color: var(--cr-green);
    font-size: 18px;
    font-weight: 700;
}

.cr-about__cta {
    margin-top: 32px;
    padding: 25px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8aaa3b, #8ac329);
    color: #fff;
}

.cr-about__cta p {
    margin: 0;
    color: #fff;
}

.cr-about__cta strong {
    font-size: 18px;
}

@media (max-width: 767px) {
    .cr-about {
        margin: 20px 0;
        padding: 22px 18px;
        border-radius: 12px;
        font-size: 15px;
        line-height: 1.65;
    }

    .cr-about h2 {
        margin-top: 30px;
        font-size: 22px;
    }

    .cr-about__intro,
    .cr-about__brands,
    .cr-about__cta {
        padding: 20px;
    }

    .cr-about__list {
        grid-template-columns: 1fr;
    }
}

/* Karty produktów – product-3 */
.wrapper-items .js-product.item-inner {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e9e1 !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Delikatny efekt po najechaniu */
.wrapper-items .js-product.item-inner:hover {
    border-color: #d5dccf !important;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.06);
}

/* Pilnuje zaokrąglenia zdjęcia i zawartości */
.wrapper-items .js-product.item-inner .js-product-miniature {
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.nrt_mega_menu .element_ul_depth_1 a, .nrt_mega_menu .nrtmenu_multi_level a {
    display: flex;
    padding: 8px 0;
    line-height: 8px;
    font-size: 13px;
}


/* ==================================================
   KARTY PRODUKTÓW – PRODUCT TYPE 7
   ================================================== */

/* Cała karta */
.product-type-7 .js-product.item-inner {
    height: 100%;
    background: #fff;
    border: 1px solid #e5e9e1 !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.product-type-7 .js-product.item-inner:hover {
    border-color: #d5dccf !important;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Budowa karty – przycisk zawsze na dole */
.product-type-7 .js-product-miniature,
.product-type-7 .element-bottom {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-type-7 .product-description {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 14px 5px;
    text-align: center;
}

/* Nazwa produktu */
.product-type-7 .product_name {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0 0 8px;
}

.product-type-7 .product_name a {
    display: -webkit-box;
    overflow: hidden;
    color: #252525 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center;
    text-decoration: none;
    text-transform: none !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-type-7 .product_name a:hover {
    color: #78b426 !important;
}

/* Ukrycie kategorii produktu */
.product-type-7 .ax-product-cats {
    display: none !important;
}

/* Sekcja z ceną */
.product-type-7 .info-product {
    margin-top: auto;
}

.product-type-7 .product-price-and-shipping {
    margin: 8px 0 4px !important;
}

/* Cena */
.product-type-7 .price {
    color: #181818 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

/* Dostępność – jeśli jest wyświetlana w karcie */
.product-type-7 .product-availability,
.product-type-7 .availability {
    margin: 5px 0;
    color: #78a936 !important;
    font-size: 13px;
    font-weight: 500;
}

/* Ukrycie wyboru ilości */
.product-type-7 .input-group-add-cart,
.product-type-7 .bootstrap-touchspin {
    display: none !important;
}

/* Formularz koszyka */
.product-type-7 .element-bottom > form {
    margin-top: auto;
    padding: 0 14px 16px;
    text-align: center;
}

/* Przycisk koszyka */
.product-type-7 .item-inner .btn-action.add-to-cart {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 165px;
    height: 40px !important;
    align-items: center;
    justify-content: center;
    margin: 12px auto 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ffd200 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    color: #171717 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 40px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap;
    cursor: pointer;
}

.product-type-7 .item-inner .btn-action.add-to-cart:hover {
    background: #edc400 !important;
    color: #000 !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

/* Telefon */
@media (max-width: 767px) {
    .product-type-7 .product-description {
        padding: 12px 10px 5px;
    }

    .product-type-7 .product_name {
        min-height: 40px;
    }

    .product-type-7 .product_name a {
        font-size: 13px !important;
    }

    .product-type-7 .price {
        font-size: 18px !important;
    }

    .product-type-7 .item-inner .btn-action.add-to-cart {
        min-width: 140px;
        padding: 0 13px !important;
        font-size: 13px !important;
    }
}

.product-type-7 .product_name {
    display: flex;
    min-height: 60px;
    height: auto;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.product-type-7 .product_name a {
    display: block !important;
    overflow: visible !important;
    color: #252525 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-align: center;
    white-space: normal !important;
    text-overflow: unset !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
}

.product-type-7 .element-bottom {
    background: #fafafa!important;
    border-top: 1px solid #cfcfcf;
    border-radius: 0 0 11px 11px;
}

/* Usunięcie ewentualnych białych teł wewnątrz */
.product-type-7 .element-bottom .product-description,
.product-type-7 .element-bottom > form {
    background: transparent !important;
}

.product-type-7 .product-description {
    padding-top: 10px !important;
}

.product-type-7 .product_name {
    min-height: 60px;
    margin: 0 0 8px !important;
    padding: 0 !important;
    align-items: flex-start !important;
}

.product-type-7 .product_name a {
    display: block !important;
    overflow: visible !important;
    color: #252525 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    text-align: center;
    white-space: normal !important;
    text-overflow: unset !important;
    -webkit-box-orient: initial !important;
    -webkit-line-clamp: unset !important;
}


/* ==================================================
   SEKCJA PRODUKT DNIA
   Klasa kolumny: produkt-dnia-box
   ================================================== */

.produkt-dnia-box {
    position: relative;
    overflow: hidden;
    padding: 18px !important;
    border: 1px solid rgba(120, 180, 38, 0.55);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(120, 180, 38, 0.38),
            transparent 42%
        ),
        linear-gradient(145deg, #1b2429 0%, #0d1215 100%);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.15);
}

/* Dekoracyjne koło w tle */
.produkt-dnia-box::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 30px solid rgba(120, 180, 38, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

/* Elementy muszą znajdować się nad dekoracją */
.produkt-dnia-box > * {
    position: relative;
    z-index: 2;
}

/* Etykieta w prawym górnym rogu */
.produkt-dnia-box::before {
    content: "★ OFERTA SPECJALNA";
    position: absolute;
    z-index: 5;
    top: 16px;
    right: 15px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #ffd200;
    color: #181818;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

/* Tytuł sekcji */
.produkt-dnia-box .title_block,
.produkt-dnia-box .block-title,
.produkt-dnia-box .widget-title,
.produkt-dnia-box .elementor-heading-title {
    margin: 0 0 17px !important;
    padding: 0 70px 11px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent !important;
    color: #fff !important;
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Karta produktu */
.produkt-dnia-box .js-product.item-inner,
.produkt-dnia-box .js-product-miniature {
    overflow: hidden;
    border: 0 !important;
    border-radius: 13px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.2);
    transform: none !important;
}

/* Górna część ze zdjęciem */
.produkt-dnia-box .element-top {
    overflow: hidden;
    padding: 10px;
    background: #fff;
}

/* Zdjęcie produktu */
.produkt-dnia-box .element-top img {
    width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.produkt-dnia-box .js-product.item-inner:hover .element-top img {
    transform: scale(1.04);
}

/* Dolna część karty */
.produkt-dnia-box .element-bottom {
    background: #f1f1f1 !important;
    border-top: 1px solid #dedede;
}

/* Opis produktu */
.produkt-dnia-box .product-description {
    padding: 14px 14px 7px !important;
    background: transparent !important;
}

/* Nazwa produktu */
.produkt-dnia-box .product_name {
    display: flex;
    min-height: 54px;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 8px !important;
}

.produkt-dnia-box .product_name a {
    display: block !important;
    overflow: visible !important;
    color: #252525 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    text-align: center;
    text-transform: none !important;
    white-space: normal !important;
    -webkit-line-clamp: unset !important;
}

/* Ukrycie kategorii */
.produkt-dnia-box .ax-product-cats {
    display: none !important;
}

/* Cena */
.produkt-dnia-box .price {
    color: #181818 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

/* Formularz na dole */
.produkt-dnia-box .element-bottom > form {
    padding: 5px 14px 16px !important;
    background: transparent !important;
}

/* Pole ilości */
.produkt-dnia-box .input-group-add-cart {
    margin: 4px auto 10px !important;
}

/* Przycisk koszyka */
.produkt-dnia-box .btn-action.add-to-cart {
    display: flex !important;
    width: 100% !important;
    height: 43px !important;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #ffd200 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.13);
    color: #171717 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 43px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.produkt-dnia-box .btn-action.add-to-cart:hover {
    background: #edc400 !important;
    color: #000 !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

/* Telefon */
@media (max-width: 767px) {
    .produkt-dnia-box {
        padding: 15px !important;
    }

    .produkt-dnia-box::before {
        top: 14px;
        right: 13px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .produkt-dnia-box .title_block,
    .produkt-dnia-box .block-title,
    .produkt-dnia-box .widget-title,
    .produkt-dnia-box .elementor-heading-title {
        padding-right: 110px !important;
        font-size: 16px !important;
    }

    .produkt-dnia-box .product_name a {
        font-size: 12px !important;
    }

    .produkt-dnia-box .price {
        font-size: 21px !important;
    }
}

/* Równa wysokość dwóch głównych kolumn */
.rowne-kolumny-produktow > .elementor-container,
.rowne-kolumny-produktow > .elementor-container > .elementor-row {
    display: flex !important;
    align-items: stretch !important;
}

/* Obie kolumny */
.rowne-kolumny-produktow > .elementor-container > .elementor-column,
.rowne-kolumny-produktow > .elementor-container > .elementor-row > .elementor-column {
    display: flex !important;
    height: auto !important;
    align-self: stretch !important;
}

/* Wewnętrzne kontenery Elementora */
.rowne-kolumny-produktow > .elementor-container > .elementor-column > .elementor-column-wrap,
.rowne-kolumny-produktow > .elementor-container > .elementor-column > .elementor-widget-wrap,
.rowne-kolumny-produktow > .elementor-container > .elementor-row > .elementor-column > .elementor-column-wrap {
    display: flex !important;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

/* Produkt dnia wypełnia całą wysokość kolumny */
.rowne-kolumny-produktow .produkt-dnia-box {
    height: 100% !important;
}

/* Widgety w obu kolumnach */
.rowne-kolumny-produktow .elementor-widget-wrap > .elementor-widget {
    width: 100%;
}

/* Telefon – naturalna wysokość */
@media (max-width: 767px) {
    .rowne-kolumny-produktow > .elementor-container,
    .rowne-kolumny-produktow > .elementor-container > .elementor-row {
        display: block !important;
    }

    .rowne-kolumny-produktow .produkt-dnia-box {
        height: auto !important;
        margin-bottom: 20px;
    }
}

/* ==================================================
   RÓWNA WYSOKOŚĆ: PRODUKT DNIA + WYJĄTKOWE OKAZJE
   ================================================== */

/* Główny wiersz */
.rowne-kolumny-produktow > .elementor-container > .elementor-row {
    display: flex !important;
    align-items: stretch !important;
}

/* Obydwie główne kolumny */
.rowne-kolumny-produktow > .elementor-container >
.elementor-row > .elementor-column {
    display: flex !important;
    height: auto !important;
    align-self: stretch !important;
}

/* Wewnętrzny wrapper kolumn */
.rowne-kolumny-produktow > .elementor-container >
.elementor-row > .elementor-column > .elementor-column-wrap {
    display: flex !important;
    width: 100%;
    height: 100%;
    flex: 1;
}

/* Wewnętrzna zawartość Elementora */
.rowne-kolumny-produktow .elementor-widget-wrap {
    display: flex !important;
    width: 100%;
    height: 100%;
    flex: 1;
    flex-direction: column;
}

/* Produkt dnia */
.rowne-kolumny-produktow .produkt-dnia-box {
    height: 100% !important;
    align-self: stretch !important;
}

/* Zmień 520px na wybraną wartość */
.produkt-dnia-box .element-top {
    height: 320px !important;
    min-height: 0 !important;
}

.produkt-dnia-box .element-top .wrapper-images,
.produkt-dnia-box .element-top picture {
    display: block;
    width: 100%;
    height: 100%;
}

.produkt-dnia-box .element-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Ukrycie napisu Addresses w stopce */
#footer .elementor-widget-axps-linklist .linklist-menu > a[href="/dane"] {
    display: none !important;
}


.nrt_mega_menu .style_wide .element_a_depth_1 {
    font-weight: 800 !important;
}

/* ==================================================
   LEWA KOLUMNA – MENU KATEGORII
   ================================================== */

#left-column .block-categories {
    background: #fff;
    border: 1px solid #e3e7df;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(22, 31, 25, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* ==================================================
   NAGŁÓWEK
   ================================================== */

#left-column .block-categories .widget-title {
    position: relative;
    margin: 0;
    padding: 20px 22px;
    background: linear-gradient(135deg, #111a17 0%, #1d2b22 100%);
    border: 0;
}

#left-column .block-categories .widget-title::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: 0;
    width: 58px;
    height: 3px;
    background: #ffd200;
    border-radius: 3px 3px 0 0;
}

/* Biały napis „Kategorie” */
#left-column .block-categories .widget-title h3,
#left-column .block-categories .widget-title .title,
#left-column .block-categories .widget-title a {
    margin: 0;
    color: #fff !important;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    text-decoration: none;
}

/* ==================================================
   ZAWARTOŚĆ MENU
   ================================================== */

#left-column .block-categories .block_content {
    padding: 10px 12px 14px;
    background: #fff;
}

#left-column .block-categories ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Pozycja głównej kategorii */
#left-column .block-categories li[data-depth="0"] {
    position: relative;
    width: 100%;
    margin: 3px 0;
    border-bottom: 1px solid #edf0eb;
    border-radius: 9px;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#left-column .block-categories li[data-depth="0"]:last-child {
    border-bottom-color: transparent;
}

/* Nazwa głównej kategorii */
#left-column .block-categories li[data-depth="0"] > a {
    position: relative;
    display: block !important;
    width: 100% !important;
    min-width: 0;
    box-sizing: border-box;

    /* Miejsce po prawej stronie na plus */
    padding: 12px 40px 12px 28px !important;

    color: #333 !important;
    background: transparent !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    letter-spacing: -0.1px;
    text-decoration: none !important;

    /* Dopuszczamy maksymalnie około dwóch linii */
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;

    border-radius: 9px;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

/* Zielona kropka */
#left-column .block-categories li[data-depth="0"] > a::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 9px;
    width: 7px;
    height: 7px;
    background: #8caf34;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(140, 175, 52, 0.12);
}

/* Przy nazwach zajmujących dwie linie kropka zostaje u góry */
#left-column .block-categories li[data-depth="0"] > a {
    min-height: 43px;
}

/* ==================================================
   HOVER – ZIELONE TŁO NA CAŁEJ SZEROKOŚCI
   ================================================== */

#left-column .block-categories li[data-depth="0"]:hover {
    background: #eef5e4 !important;
    box-shadow: inset 3px 0 0 #8caf34;
}

#left-column .block-categories li[data-depth="0"]:hover > a {
    color: #668f1e !important;
    background: transparent !important;
    padding-left: 31px !important;
}

/* Aktywna kategoria */
#left-column .block-categories li[data-depth="0"].current,
#left-column .block-categories li[data-depth="0"].active {
    background: #eef5e4 !important;
    box-shadow: inset 3px 0 0 #8caf34;
}

#left-column .block-categories li.current > a,
#left-column .block-categories li.active > a,
#left-column .block-categories a.active {
    color: #668f1e !important;
    font-weight: 700 !important;
}

/* ==================================================
   PLUS / MINUS
   ================================================== */

#left-column .block-categories .collapse-icons,
#left-column .block-categories .navbar-toggler {
    position: absolute !important;
    top: 50% !important;
    right: 4px !important;
    z-index: 3;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;

    color: #555 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 50%;

    transform: translateY(-50%);
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

/* Hover obejmuje również obszar z plusem */
#left-column .block-categories li[data-depth="0"]:hover > .collapse-icons,
#left-column .block-categories li[data-depth="0"]:hover > .navbar-toggler,
#left-column .block-categories li[data-depth="0"]:hover .collapse-icons {
    color: #668f1e !important;
    background: rgba(140, 175, 52, 0.12) !important;
}

/* ==================================================
   PODKATEGORIE
   ================================================== */

#left-column .block-categories li[data-depth="1"],
#left-column .block-categories li[data-depth="2"] {
    margin: 2px 0;
}

#left-column .block-categories li[data-depth="1"] > a,
#left-column .block-categories li[data-depth="2"] > a {
    display: block;
    padding: 8px 12px 8px 30px;
    color: #666 !important;
    background: transparent;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none;
    border-radius: 7px;
    transition: all 0.2s ease;
}

#left-column .block-categories li[data-depth="1"] > a:hover,
#left-column .block-categories li[data-depth="2"] > a:hover {
    color: #668f1e !important;
    background: #f2f7e9;
    padding-left: 34px;
}

/* ==================================================
   TABLET I TELEFON
   ================================================== */

@media (max-width: 991px) {
    #left-column .block-categories {
        margin-bottom: 22px;
        border-radius: 10px;
    }

    #left-column .block-categories .widget-title {
        padding: 17px 18px;
    }

    #left-column .block-categories .widget-title::after {
        left: 18px;
    }

    #left-column .block-categories .block_content {
        padding: 8px 10px 12px;
    }

    #left-column .block-categories li[data-depth="0"] > a {
        font-size: 13px !important;
    }
}

/* ==================================================
   NAPRAWA POZYCJI PLUSÓW I MINUSÓW
   ================================================== */

#left-column .block-categories li[data-depth="0"] > .collapse-icons,
#left-column .block-categories li[data-depth="1"] > .collapse-icons,
#left-column .block-categories li[data-depth="2"] > .collapse-icons,
#left-column .block-categories li[data-depth="0"] > .navbar-toggler,
#left-column .block-categories li[data-depth="1"] > .navbar-toggler,
#left-column .block-categories li[data-depth="2"] > .navbar-toggler,
#left-column .block-categories li > a > .collapse-icons,
#left-column .block-categories li > a > .navbar-toggler {
    position: absolute !important;
    top: 7px !important;
    right: 5px !important;

    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    color: #555 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    transform: none !important;
}

/* Wielkość samego znaku plus/minus */
#left-column .block-categories .collapse-icons i,
#left-column .block-categories .navbar-toggler i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: inherit !important;
}

/* Plus lub minus po najechaniu – bez dużego zielonego koła */
#left-column .block-categories li:hover > .collapse-icons,
#left-column .block-categories li:hover > .navbar-toggler,
#left-column .block-categories li:hover > a > .collapse-icons,
#left-column .block-categories li:hover > a > .navbar-toggler {
    color: #668f1e !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Wyrównanie nazw kategorii łamanych na dwie linie */
#left-column .block-categories a.category-sub-link {
    position: relative !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;

    /* Miejsce na kropkę oraz plus/minus */
    padding-left: 31px !important;
    padding-right: 38px !important;

    text-align: left !important;
    text-indent: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

/* Kropka ustawiona niezależnie od tekstu */
#left-column .block-categories a.category-sub-link::before {
    content: "" !important;
    position: absolute !important;
    display: block !important;

    top: 13px !important;
    left: 11px !important;

    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;

    float: none !important;
    transform: none !important;

    background: #8caf34 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 3px rgba(140, 175, 52, 0.12);
}

/* Kategoria – 4 produkty w rzędzie, bez rozciągania kafelków */
@media (min-width: 1200px) {
  body#category #box-product-grid .archive-wrapper-items > .item {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

body#category #box-product-grid .js-product.item-inner {
  height: auto !important;
  min-height: 0 !important;
}


/* Produkty niedostępne – miejsce po brakującym wyborze ilości */
body#category
#box-product-grid
.js-product.item-inner:has(.type-out_of_stock)
.element-bottom > a.btn-action.add-to-cart {
  margin-top: 48px !important;
  margin-bottom: 16px !important;
}


/* Pozycja badge na zdjęciu produktu */
body#category #box-product-grid .element-top {
  position: relative;
}

body#category #box-product-grid .label-flags {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  z-index: 5;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* NIEDOSTĘPNY – wyłączenie domyślnego wyglądu */
body#category #box-product-grid
.label-flags .label-flag.type-out_of_stock {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* Badge: obecnie brak na stanie */
body#category #box-product-grid
.label-flags .type-out_of_stock span {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 12px !important;
  color: #a62323 !important;
  background: #fff0f0 !important;
  border: 1px solid #efb7b7 !important;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(166, 35, 35, 0.10);
  font-size: 10px !important;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

body#category #box-product-grid
.label-flags .type-out_of_stock span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #d83c3c;
  border-radius: 50%;
}

/* DOSTĘPNY – automatyczny badge */
body#category #box-product-grid
.label-flags:not(:has(.type-out_of_stock))::before {
  content: "Towar na magazynie";
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 8px 12px 8px 25px;
  color: #426b0c;
  background:
    radial-gradient(
      circle at 14px 50%,
      #7aaa2e 0 3px,
      transparent 4px
    ),
    #f0f7e5;
  border: 1px solid #c4dba0;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(66, 107, 12, 0.10);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Niedostępny produkt – delikatnie wyszarzony przycisk */
body#category
#box-product-grid
.js-product.item-inner:has(.type-out_of_stock)
.element-bottom > a.btn-action.add-to-cart {
  background: #d9dddf !important;
  border-color: #d9dddf !important;
  color: #686d70 !important;
  box-shadow: none !important;
}

/* Hover */
body#category
#box-product-grid
.js-product.item-inner:has(.type-out_of_stock)
.element-bottom > a.btn-action.add-to-cart:hover {
  background: #cbd0d2 !important;
  border-color: #cbd0d2 !important;
  color: #505456 !important;
}

/* Usunięcie prawej kolumny we wpisach blogowych */
body.page-blog-details #right-column {
    display: none !important;
}

/* Rozszerzenie treści wpisu */
body.page-blog-details #content-wrapper {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ukrycie obrazka wyróżniającego wewnątrz wpisu */
body.page-blog-details .blog-single-inner > .entry-thumbnail {
    display: none !important;
}

/* Ukrycie social mediów i nawigacji między wpisami */
body.page-blog-details .social-list,
body.page-blog-details .single-navigation {
    display: none !important;
}

/* Obrazek na całą szerokość karty blogowej */
.blog-type-6 .blog-thumbnail {
    width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.blog-type-6 .blog-thumbnail a,
.blog-type-6 .blog-thumbnail picture,
.blog-type-6 .blog-thumbnail img {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

/* Bez rozpychania miniatury na hover */
.blog-type-6 .blog-thumbnail,
.blog-type-6 .blog-thumbnail > a {
    overflow: hidden !important;
}

.blog-type-6 .blog-thumbnail picture,
.blog-type-6 .blog-thumbnail img,
.blog-type-6 .blog-thumbnail:hover picture,
.blog-type-6 .blog-thumbnail:hover img,
.blog-type-6 .item-inner:hover .blog-thumbnail picture,
.blog-type-6 .item-inner:hover .blog-thumbnail img {
    transform: none !important;
    scale: 1 !important;
}


/* Ramka galerii – działa dla miniaturek z boku i na dole */
#product .single-product-images > .images-cover-slider {
    box-sizing: border-box;
    width: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e5e8;
    border-radius: 10px;
}

/* Wersja mobilna */
@media (max-width: 767px) {
    #product .single-product-images > .images-cover-slider {
        padding: 12px;
        border-radius: 8px;
    }
}


/* Linia oddzielająca główne zdjęcie od dolnych miniaturek */
#product .horizontal-thumb .product-images-thumb {
    box-sizing: border-box;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e5e8;
}

@media (max-width: 767px) {
    #product .horizontal-thumb .product-images-thumb {
        margin-top: 10px;
        padding-top: 10px;
    }
}

/* Ukrycie flag na zdjęciu produktu */
#product .single-product-images .product-images-cover > .label-flags {
    display: none !important;
}

/* ==================================================
   CIEMNY PANEL ZAKUPOWY – KARTA PRODUKTU
   ================================================== */

/* Wspólne tło poszczególnych części panelu */
#product .summary-container > .product_title,
#product .summary-container > .product-prices,
#product .summary-container > .product-short-description,
#product .summary-container > .product-information > .product-actions,
#product .summary-container > .product-information > .product-additional-info {
    box-sizing: border-box;
    margin: 0 !important;
    background: #101920;
    color: #fff;
}

/* Góra panelu */
#product .summary-container > .product_title {
    padding: 26px 26px 0;
    border-radius: 10px 10px 0 0;
    color: #fff !important;
    font-size: 30px;
    line-height: 1.2;
}

/* Cena */
#product .summary-container > .product-prices {
    padding: 20px 26px 0;
}

#product .summary-container .current-price-value {
    color: #fff !important;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

#product .summary-container .tax-shipping-delivery-label {
    margin-top: 8px;
    color: #aeb7bd !important;
}

/* Krótki opis */
#product .summary-container > .product-short-description:not(:empty) {
    padding: 16px 26px 0;
    color: #fff;
}

/* Sekcja dostępności i koszyka */
#product .summary-container .product-actions {
    padding: 20px 26px 0;
}

#product .summary-container .product-actions form,
#product .summary-container .product-add-to-cart {
    margin: 0 !important;
}

#product .summary-container .product-quantity {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex-wrap: wrap;
}

/* Dostępność nad licznikiem */
#product .summary-container #product-availability {
    flex: 0 0 100%;
    margin: 0 0 2px !important;
}

#product .summary-container #product-availability .label {
    background: none !important;
    padding: 0 !important;
    font-size: 16px;
    font-weight: 600;
}

#product .summary-container #product-availability .type-in-stock {
    color: #8caf36 !important;
}

#product .summary-container #product-availability .type-out-stock {
    color: #ff6b6b !important;
}

/* Licznik ilości */
#product .summary-container .product-quantity .qty {
    width: 135px;
    margin: 0 !important;
}

#product .summary-container .bootstrap-touchspin {
    display: flex !important;
    width: 100%;
    height: 54px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9dddf;
    border-radius: 6px;
}

#product .summary-container .bootstrap-touchspin .input-group-btn {
    display: flex;
}

#product .summary-container .bootstrap-touchspin .btn,
#product .summary-container #quantity_wanted {
    height: 52px !important;
    color: #111 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
}

#product .summary-container #quantity_wanted {
    width: 49px;
    padding: 0;
    text-align: center;
}

#product .summary-container .bootstrap-touchspin .btn {
    width: 40px;
    padding: 0;
    font-size: 17px;
}

#product .summary-container .input-group-btn-vertical {
    display: none !important;
}

/* Przycisk koszyka */
#product .summary-container .product-quantity .add {
    flex: 1;
    min-width: 190px;
}

#product .summary-container .add-to-cart {
    width: 100%;
    min-height: 54px;
    padding: 12px 24px;
    color: #111 !important;
    background: #ffd200 !important;
    border: 0 !important;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: none !important;
}

#product .summary-container .add-to-cart:hover {
    background: #eabd00 !important;
}

#product .summary-container .add-to-cart:disabled {
    color: #111 !important;
    background: #ffd200 !important;
    opacity: 0.55;
    cursor: not-allowed;
}

/* Dolna część ciemnego panelu */
#product .summary-container .product-additional-info {
    padding: 18px 26px 26px;
    border-radius: 0 0 10px 10px;
}

/* Ulubione */
#product .summary-container .product-additional-info .btn-wishlist {
    display: inline-block;
    margin-bottom: 18px;
    color: #fff !important;
}

/* Powiadomienie o dostępności */
#product .summary-container .js-mailalert {
    margin: 0;
}

#product .summary-container .js-mailalert input {
    height: 50px;
    color: #222 !important;
    background: #fff !important;
    border: 0;
    border-radius: 5px;
}

#product .summary-container .js-mailalert-add {
    width: 100%;
    min-height: 50px;
    margin-top: 12px !important;
    color: #111 !important;
    background: #ffd200 !important;
    border: 0 !important;
    border-radius: 5px;
    font-weight: 700;
}

/* Delikatny cień całego panelu */
#product .summary-container {
    filter: drop-shadow(0 5px 14px rgba(15, 25, 32, 0.12));
}

/* Elementy pozostające na białym tle */
#product .summary-container .js-product-images-modal,
#product .summary-container .block-reassurance {
    filter: none;
    color: #222;
}

/* Mobile */
@media (max-width: 767px) {
    #product .summary-container > .product_title {
        padding: 20px 18px 0;
        font-size: 25px;
    }

    #product .summary-container > .product-prices {
        padding: 16px 18px 0;
    }

    #product .summary-container .current-price-value {
        font-size: 34px;
    }

    #product .summary-container .product-actions {
        padding: 18px 18px 0;
    }

    #product .summary-container .product-additional-info {
        padding: 16px 18px 20px;
    }

    #product .summary-container .product-quantity .qty {
        width: 125px;
    }

    #product .summary-container .product-quantity .add {
        min-width: 160px;
    }
}


/* Naprawa etykiety „Brutto” i połączenie panelu */
#product .summary-container .product-prices .label-small {
    width: auto !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    background: transparent !important;
}

#product .summary-container .product-prices .tax-shipping-delivery-label {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Usunięcie przerwy między ceną a sekcją dostępności */
#product .summary-container > .product-short-description:empty {
    display: none !important;
}

#product .summary-container > .product-information {
    margin: 0 !important;
    padding: 0 !important;
}

/* Wspólny wygląd dostępności */
#product .summary-container #product-availability .label {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 27px;
    margin: 0 !important;
    padding: 8px 12px 8px 25px !important;
    border-radius: 30px;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.2;
}

/* Kropka statusu */
#product .summary-container #product-availability .label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Produkt niedostępny */
#product .summary-container #product-availability .type-out-stock {
    color: #a62323 !important;
    background: #fff0f0 !important;
    border: 1px solid #efb7b7;
}

#product .summary-container #product-availability .type-out-stock::before {
    background: #d83c3c;
}

/* Produkt dostępny */
#product .summary-container #product-availability .type-in-stock {
    color: #426b0c !important;
    background: #f0f7e5 !important;
    border: 1px solid #c4dba0;
    font-size: 0 !important;
}

#product .summary-container #product-availability .type-in-stock::before {
    background: #7aaa2e;
}

#product .summary-container #product-availability .type-in-stock::after {
    content: "Towar na magazynie";
    font-size: 13px;
}


.js-product-miniature .element-top {
    position: relative;
}

.js-product-miniature .element-top .label-flags {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    margin: 0;
    padding: 0;
}

.js-product-miniature
.label-flags:not(:has(.type-out_of_stock))::before {
    content: "Towar na magazynie";
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 8px 12px 8px 25px;
    color: #426b0c;
    background:
        radial-gradient(
            circle at 14px 50%,
            #7aaa2e 0 3px,
            transparent 4px
        ),
        #f0f7e5;
    border: 1px solid #c4dba0;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

/* Motyw ukrywa pustą listę flag – wymuszamy jej wyświetlenie */
.js-product-miniature .label-flags.js-product-flags {
    display: block !important;
    overflow: visible !important;
}

/* Wyłączenie wcześniejszego napisu Cena: z pseudoelementu */
#product .summary-container > .product-prices {
    display: block !important;
}

#product .summary-container > .product-prices::before {
    content: none !important;
}

/* Cena w jednym rzędzie */
#product .summary-container .current-price {
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

#product .summary-container .product-price-prefix,
#product .summary-container .product-price-tax-label {
    color: #aeb7bd !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

#product .summary-container .product-price-tax-label {
    text-transform: lowercase;
}

#product .summary-container .product-price,
#product .summary-container .current-price {
    margin: 0 !important;
}

/* SKU jako część ciemnego panelu */
#product .single-product-summary
.summary-container > .product-sku-top {
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin: 0 !important;
    padding: 5px 26px 12px !important;
    color: #aeb7bd !important;
    background: #101920 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 13px;
    line-height: 1.2;
}

#product .product-sku-top-label {
    color: #aeb7bd !important;
    font-weight: 400;
}

#product .product-sku-top-value {
    color: #fff !important;
    font-weight: 600;
}

/* Cena bez przerwy pod SKU */
#product .single-product-summary
.summary-container > .product-prices {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

/* Ukrycie starego SKU na dole */
#product .summary-container
.js-product-images-modal .sku_wrapper {
    display: none !important;
}

@media (max-width: 767px) {
    #product .single-product-summary
    .summary-container > .product-sku-top {
        padding: 5px 18px 10px !important;
        font-size: 12px;
    }
}

/* ==================================================
   LICZNIK ILOŚCI NA KARCIE PRODUKTU: − 1 +
   ================================================== */

#product .summary-container
.product-quantity > .qty {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin: 0 !important;
}

#product .summary-container
.qty .bootstrap-touchspin {
    display: flex !important;
    width: 150px !important;
    height: 54px !important;
    align-items: stretch !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 1px solid #d9dddf !important;
    border-radius: 6px !important;
}

/* Ukryte elementy techniczne */
#product .summary-container
.bootstrap-touchspin-prefix,
#product .summary-container
.bootstrap-touchspin-postfix,
#product .summary-container
.input-group-btn-vertical {
    display: none !important;
}

/* Kontenery przycisków minus i plus */
#product .summary-container
.bootstrap-touchspin > .input-group-btn {
    position: static !important;
    display: flex !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Kolejność elementów */
#product .summary-container
.bootstrap-touchspin > .input-group-btn:has(.bootstrap-touchspin-down) {
    order: 1;
}

#product .summary-container
.bootstrap-touchspin > #quantity_wanted {
    order: 2;
}

#product .summary-container
.bootstrap-touchspin > .input-group-btn:has(.bootstrap-touchspin-up) {
    order: 3;
}

/* Przyciski */
#product .summary-container
.bootstrap-touchspin > .input-group-btn > button {
    position: static !important;
    display: flex !important;
    width: 44px !important;
    height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2f2a24 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    font-size: 0 !important;
    cursor: pointer;
}

/* Własny znak minus */
#product .summary-container
.bootstrap-touchspin-down::before {
    content: "−";
    display: block;
    color: #2f2a24;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

/* Własny znak plus */
#product .summary-container
.bootstrap-touchspin-up::before {
    content: "+";
    display: block;
    color: #2f2a24;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

/* Pole z liczbą */
#product .summary-container
#quantity_wanted {
    flex: 1 1 auto !important;
    width: 60px !important;
    min-width: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #2f2a24 !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #e5d9c5 !important;
    border-left: 1px solid #e5d9c5 !important;
    border-radius: 0 !important;
    outline: none !important;
    text-align: center !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    appearance: textfield;
}

/* Usunięcie systemowych strzałek */
#product .summary-container
#quantity_wanted::-webkit-inner-spin-button,
#product .summary-container
#quantity_wanted::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* Hover przycisków */
#product .summary-container
.bootstrap-touchspin > .input-group-btn > button:hover {
    background: #fff8e8 !important;
}

#product .summary-container
.bootstrap-touchspin > .input-group-btn > button:hover::before {
    color: #e3a008 !important;
}


/* Ulubione – ikona i tekst w jednej linii */
#product .summary-container
.product-additional-info .btn-wishlist {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100%;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 9px;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

/* Ikona serca */
#product .summary-container
.product-additional-info .btn-wishlist::before {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: 25px !important;
    line-height: 1 !important;
}


/* Ukrycie sekcji „Klienci, którzy zakupili ten produkt...” */
body#product #wrapper + section.featured-products.df-products {
    display: none !important;
}


/* Ukrycie sekcji „Klienci, którzy zakupili ten produkt...” */
body#product #product-footer
> section.featured-products.df-products:first-of-type {
    display: none !important;
}

/* Ukrycie wszystkich karuzel pod kartą produktu */
body#product #product-footer
> section.featured-products.df-products {
    display: none !important;
}


/* =========================================================
   ONE PAGE CHECKOUT – SEKCJA KOSZYK
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-cart-summary {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;
    --cr-red: #F12735;

    padding-bottom: 0 !important;
    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-cart-summary *,
#thecheckout-cart-summary *::before,
#thecheckout-cart-summary *::after {
    box-sizing: border-box;
}

/* Główna karta */

#thecheckout-cart-summary > .inner-area {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 25, 32, 0.09);
}

#thecheckout-cart-summary #main {
    margin: 0 !important;
    padding: 0 !important;
}

/* Nagłówek sekcji */

#thecheckout-cart-summary .shopping-cart-header {
    position: relative;
    margin: 0 !important;
    padding: 18px 24px 19px 62px !important;
    color: #fff !important;
    background: var(--cr-dark) !important;
    border: 0 !important;
    box-shadow: inset 0 -4px 0 var(--cr-yellow);
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    letter-spacing: -0.2px;
}

#thecheckout-cart-summary .shopping-cart-header::before {
    content: "shopping_cart";
    position: absolute;
    top: 50%;
    left: 24px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-58%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-cart-summary .shopping-cart-header::after {
    content: "Sprawdź produkty i ich ilości przed przejściem dalej";
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

/* Reset układu modułu */

#thecheckout-cart-summary .cart-inner-wrapper {
    padding: 0 !important;
}

#thecheckout-cart-summary .cart-grid.row {
    display: block !important;
    margin: 0 !important;
}

#thecheckout-cart-summary .cart-container,
#thecheckout-cart-summary .cart-summary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Lista produktów */

#thecheckout-cart-summary .cart-items {
    margin: 0 !important;
    padding: 22px !important;
    list-style: none;
}

#thecheckout-cart-summary .cart-item {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

#thecheckout-cart-summary .cart-item:last-child {
    margin-bottom: 0 !important;
}

#thecheckout-cart-summary .product-line {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 118px;
    padding: 14px 16px !important;
    background: #fff;
    border: 1px solid #e2e5e7;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(16, 25, 32, 0.045);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-cart-summary .product-line:hover {
    border-color: rgba(239, 127, 26, 0.65);
    box-shadow: 0 6px 18px rgba(16, 25, 32, 0.08);
    transform: translateY(-1px);
}

/* Zdjęcie produktu */

#thecheckout-cart-summary .product-line-image {
    width: 88px !important;
    min-width: 88px !important;
}

#thecheckout-cart-summary .product-image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    overflow: hidden;
    background: var(--cr-light);
    border: 1px solid #e3e6e8;
    border-radius: 8px;
}

#thecheckout-cart-summary .product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    padding: 6px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Treść produktu */

#thecheckout-cart-summary .product-line-body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    min-width: 0;
}

#thecheckout-cart-summary .product-line-desc {
    min-width: 0;
}

#thecheckout-cart-summary .product-line-info.product-title {
    margin: 0 !important;
}

#thecheckout-cart-summary .product-line-info.product-title .label {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-dark) !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    white-space: normal !important;
    text-transform: none;
}

#thecheckout-cart-summary .product-line-info.product-title .label:hover {
    color: var(--cr-green) !important;
}

/* Cena jednostkowa pod nazwą */

#thecheckout-cart-summary
    .product-line-desc
    .product-line-info.product-price {
    margin: 7px 0 0 !important;
    color: var(--cr-green) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

#thecheckout-cart-summary
    .product-line-desc
    .product-line-info.product-price
    .price {
    color: var(--cr-green) !important;
}

#thecheckout-cart-summary .product-line-desc > br {
    display: none !important;
}

/* Numer referencyjny / SKU */

#thecheckout-cart-summary .product-reference {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
    color: #687077;
    background: #f1f3f4;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

#thecheckout-cart-summary .product-reference::before {
    content: "SKU: ";
    margin-right: 3px;
    color: var(--cr-dark);
    font-weight: 700;
}

/* Ilość, wartość i usuwanie */

#thecheckout-cart-summary .product-line-actions {
    display: grid !important;
    grid-template-columns: 62px minmax(112px, auto) 40px;
    gap: 15px;
    align-items: center;
    min-width: 244px;
    margin: 0 !important;
}

#thecheckout-cart-summary .product-line-qty::before,
#thecheckout-cart-summary .product-line-price::before {
    display: block;
    margin-bottom: 6px;
    color: var(--cr-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#thecheckout-cart-summary .product-line-qty::before {
    content: "Ilość";
}

#thecheckout-cart-summary .product-line-price::before {
    content: "Wartość";
}

#thecheckout-cart-summary .qty-container,
#thecheckout-cart-summary .qty-box {
    margin: 0 !important;
}

#thecheckout-cart-summary .qty-box {
    display: grid !important;
    grid-template-columns: 38px 24px;
    grid-template-rows: 20px 20px;
    width: 62px !important;
    height: 40px !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #ccd1d4;
    border-radius: 5px;
}

#thecheckout-cart-summary .cart-line-product-quantity {
    position: static !important;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 38px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    color: var(--cr-dark) !important;
    background: #fff !important;
    border: 0 !important;
    border-right: 1px solid #ccd1d4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 700;
    text-align: center;
}

#thecheckout-cart-summary .cart-line-product-quantity-up,
#thecheckout-cart-summary .cart-line-product-quantity-down {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-dark) !important;
    background: #f5f6f4 !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

#thecheckout-cart-summary .cart-line-product-quantity-up {
    grid-column: 2;
    grid-row: 1;
    border-bottom: 1px solid #ccd1d4 !important;
}

#thecheckout-cart-summary .cart-line-product-quantity-down {
    grid-column: 2;
    grid-row: 2;
}

#thecheckout-cart-summary .cart-line-product-quantity-up::before {
    content: "+" !important;
}

#thecheckout-cart-summary .cart-line-product-quantity-down::before {
    content: "−" !important;
}

#thecheckout-cart-summary .cart-line-product-quantity-up:hover,
#thecheckout-cart-summary .cart-line-product-quantity-down:hover {
    color: #fff !important;
    background: var(--cr-green) !important;
}

/* Wartość pozycji */

#thecheckout-cart-summary .product-line-price {
    text-align: right;
}

#thecheckout-cart-summary .product-line-price .product-price,
#thecheckout-cart-summary .product-line-price strong {
    color: var(--cr-green) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    white-space: nowrap;
}

/* Przycisk usuwania */

#thecheckout-cart-summary .product-line-delete {
    align-self: end;
}

#thecheckout-cart-summary .remove-from-cart {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #70777c !important;
    background: #f1f3f4;
    border-radius: 6px;
    text-decoration: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

#thecheckout-cart-summary .remove-from-cart:hover {
    color: #fff !important;
    background: var(--cr-red);
}

#thecheckout-cart-summary .remove-from-cart .material-icons {
    margin: 0 !important;
    color: inherit !important;
    font-size: 19px !important;
}

#thecheckout-cart-summary .remove-from-cart .non-material-icon {
    display: none !important;
}

/* =========================================================
   PODSUMOWANIE
   ========================================================= */

#thecheckout-cart-summary .cart-summary {
    padding: 20px 22px 22px !important;
    background: var(--cr-light) !important;
    border-top: 1px solid #e0e4e6 !important;
}

#thecheckout-cart-summary .cart-summary::before {
    content: "Podsumowanie koszyka";
    display: block;
    width: 100%;
    max-width: 460px;
    margin: 0 0 12px auto;
    color: var(--cr-dark);
    font-size: 14px;
    font-weight: 800;
}

#thecheckout-cart-summary .cart-detailed-totals {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
}

#thecheckout-cart-summary .cart-summary .card-block {
    padding: 0 !important;
}

#thecheckout-cart-summary .cart-summary .card-block + .card-block {
    margin-top: 14px;
}

#thecheckout-cart-summary .cart-summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 !important;
    padding: 6px 0 !important;
    color: var(--cr-text);
    font-size: 12px;
    line-height: 1.35;
}

#thecheckout-cart-summary .cart-summary-line .label,
#thecheckout-cart-summary .cart-summary-line .value {
    color: inherit !important;
}

#thecheckout-cart-summary
    #cart-subtotal-shipping
    > div {
    display: none !important;
}

/* Łączna kwota */

#thecheckout-cart-summary .cart-summary-line.cart-total {
    margin-top: 4px !important;
    padding: 14px 16px !important;
    color: #fff !important;
    background: var(--cr-dark);
    border-radius: 7px;
    font-size: 15px;
    font-weight: 800;
}

#thecheckout-cart-summary .cart-total .label,
#thecheckout-cart-summary .cart-total .tax-lbl {
    color: #fff !important;
}

#thecheckout-cart-summary .cart-total .value {
    color: var(--cr-yellow) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {
    #thecheckout-cart-summary .product-line-body {
        display: block !important;
    }

    #thecheckout-cart-summary .product-line-actions {
        grid-template-columns: 62px minmax(110px, 1fr) 40px;
        min-width: 0;
        margin-top: 16px !important;
    }
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-cart-summary > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-cart-summary .shopping-cart-header {
        padding: 16px 16px 17px 52px !important;
        font-size: 18px !important;
    }

    #thecheckout-cart-summary .shopping-cart-header::before {
        left: 17px;
        font-size: 23px;
    }

    #thecheckout-cart-summary .shopping-cart-header::after {
        font-size: 10px;
    }

    #thecheckout-cart-summary .cart-items {
        padding: 12px !important;
    }

    #thecheckout-cart-summary .product-line {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        padding: 12px !important;
    }

    #thecheckout-cart-summary .product-line-image {
        width: 66px !important;
        min-width: 66px !important;
    }

    #thecheckout-cart-summary .product-image {
        width: 66px;
        height: 66px;
    }

    #thecheckout-cart-summary
        .product-line-info.product-title
        .label {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    #thecheckout-cart-summary .product-line-actions {
        grid-template-columns: 62px minmax(85px, 1fr) 36px;
        gap: 8px;
        margin-top: 14px !important;
    }

    #thecheckout-cart-summary .product-line-price {
        text-align: center;
    }

    #thecheckout-cart-summary .remove-from-cart {
        width: 36px;
        height: 36px;
    }

    #thecheckout-cart-summary .cart-summary {
        padding: 17px 14px 18px !important;
    }

    #thecheckout-cart-summary .cart-summary::before {
        margin-bottom: 9px;
    }

    #thecheckout-cart-summary .cart-summary-line.cart-total {
        padding: 13px 14px !important;
    }

    #thecheckout-cart-summary .cart-total .value {
        font-size: 16px !important;
    }
}

/* =========================================================
   ONE PAGE CHECKOUT – LOGOWANIE I KONTO
   WERSJA POPRAWIONA – BEZ ZMIANY UKŁADU CHECKOUTU
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-login-form,
#thecheckout-account {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;
    --cr-red: #F12735;

    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-login-form *,
#thecheckout-login-form *::before,
#thecheckout-login-form *::after,
#thecheckout-account *,
#thecheckout-account *::before,
#thecheckout-account *::after {
    box-sizing: border-box;
}

/* =========================================================
   GŁÓWNE KARTY
   ========================================================= */

#thecheckout-login-form,
#thecheckout-account {
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-login-form > .inner-area,
#thecheckout-account > .inner-area {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 25, 32, 0.09);
}

#thecheckout-login-form .inner-wrapper,
#thecheckout-account .inner-wrapper {
    margin: 0 !important;
}

/* =========================================================
   PANEL „MASZ JUŻ KONTO?”
   ========================================================= */

#thecheckout-login-form .offer-login {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 78px;
    margin: 0 !important;
    padding: 17px 20px 19px 60px !important;
    color: #fff;
    background: var(--cr-dark);
    box-shadow: inset 0 -4px 0 var(--cr-yellow);
}

#thecheckout-login-form .offer-login::before {
    content: "lock";
    position: absolute;
    top: 50%;
    left: 22px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-58%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-login-form .already-account-label {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3;
}

#thecheckout-login-form .classic-login {
    flex: 0 0 auto;
}

#thecheckout-login-form .classic-login .log-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 16px;
    color: var(--cr-dark) !important;
    background: var(--cr-yellow);
    border: 1px solid var(--cr-yellow);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-login-form .classic-login .log-in:hover {
    background: #F12735;
    border-color: #F12735;
    transform: translateY(-1px);
}

/* =========================================================
   FORMULARZ LOGOWANIA
   ========================================================= */

#thecheckout-login-form #login-form {
    margin: 0 !important;
    padding: 22px !important;
    background: #fff;
}

#thecheckout-login-form .form-fields,
#thecheckout-account .form-fields {
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-login-form .form-group,
#thecheckout-account .form-group {
    width: 100%;
    margin: 0 0 15px !important;
}

/* =========================================================
   NAGŁÓWEK „UTWÓRZ KONTO”
   ========================================================= */

#thecheckout-account .account-header {
    position: relative;
    min-height: 78px;
    margin: 0 !important;
    padding: 17px 20px 18px 60px !important;
    color: #fff !important;
    background: var(--cr-dark) !important;
    border: 0 !important;
    box-shadow: inset 0 -4px 0 var(--cr-yellow);
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

#thecheckout-account .account-header::before {
    content: "person_add";
    position: absolute;
    top: 50%;
    left: 22px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-58%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-account .account-header::after {
    content: "Podaj adres e-mail i kontynuuj zakupy";
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

#thecheckout-account > .inner-area > .inner-wrapper {
    padding: 22px !important;
}

/* =========================================================
   POLA FORMULARZY
   ========================================================= */

#thecheckout-login-form .has-float-label,
#thecheckout-account .has-float-label {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 !important;
}

#thecheckout-login-form .form-control,
#thecheckout-account .form-control,
#thecheckout-login-form .overlay-email input[type="text"] {
    display: block;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 16px 14px 6px !important;
    color: var(--cr-dark) !important;
    background: #f8f9f7 !important;
    border: 1px solid #d5dadd !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.3;
    outline: none !important;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#thecheckout-login-form .form-control:hover,
#thecheckout-account .form-control:hover,
#thecheckout-login-form .overlay-email input[type="text"]:hover {
    border-color: #adb5ba !important;
}

#thecheckout-login-form .form-control:focus,
#thecheckout-account .form-control:focus,
#thecheckout-login-form .overlay-email input[type="text"]:focus {
    background: #fff !important;
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.14) !important;
}

#thecheckout-login-form .field-label,
#thecheckout-account .field-label {
    color: var(--cr-muted) !important;
    font-size: 12px;
    font-weight: 500;
}

#thecheckout-login-form .form-control:focus ~ .field-label,
#thecheckout-account .form-control:focus ~ .field-label {
    color: var(--cr-green) !important;
}

/* Ikona podglądu hasła */

#thecheckout-login-form .icon-remove-red-eye,
#thecheckout-account .icon-remove-red-eye {
    position: absolute !important;
    top: 50% !important;
    right: 13px !important;
    z-index: 3;
    color: #747c81 !important;
    transform: translateY(-50%);
    cursor: pointer;
}

#thecheckout-login-form input[type="password"],
#thecheckout-account input[type="password"] {
    padding-right: 45px !important;
}

/* =========================================================
   PRZYCISKI
   ========================================================= */

#thecheckout-login-form .btn-primary,
#thecheckout-account .btn-primary {
    min-height: 44px;
    padding: 11px 18px !important;
    color: #fff !important;
    background: var(--cr-green) !important;
    border: 1px solid var(--cr-green) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-transform: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-login-form .btn-primary:hover,
#thecheckout-account .btn-primary:hover {
    background: var(--cr-dark) !important;
    border-color: var(--cr-dark) !important;
    transform: translateY(-1px);
}

#thecheckout-login-form .form-footer {
    margin: 2px 0 0 !important;
    padding: 0 !important;
}

#thecheckout-login-form .form-footer .btn-primary {
    width: 100%;
}

/* Link odzyskania hasła */

#thecheckout-login-form .forgot-password {
    margin-top: 13px;
    text-align: center;
}

#thecheckout-login-form .forgot-password a {
    color: var(--cr-dark) !important;
    font-size: 11px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--cr-gray);
    text-underline-offset: 3px;
}

#thecheckout-login-form .forgot-password a:hover {
    color: var(--cr-green) !important;
    text-decoration-color: var(--cr-green);
}

/* =========================================================
   CHECKBOX „UTWÓRZ KONTO”
   ========================================================= */

#thecheckout-account #create_account {
    margin: 2px 0 15px !important;
    padding: 14px !important;
    background: #FFF4EA;
    border: 1px solid rgba(239, 127, 26, 0.38);
    border-radius: 8px;
}

#thecheckout-account #create_account > label {
    display: block;
    margin: 0 !important;
    cursor: pointer;
}

#thecheckout-account .custom-checkbox {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

#thecheckout-account .custom-checkbox > span:first-of-type {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #bdc5c9;
    border-radius: 4px;
}

#thecheckout-account
    .custom-checkbox
    input:checked
    + span:first-of-type {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

#thecheckout-account .custom-checkbox .check-icon {
    color: #fff !important;
    font-size: 17px !important;
}

#thecheckout-account .custom-checkbox .label {
    padding: 1px 0 0 !important;
    color: var(--cr-text) !important;
    background: transparent !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
}

/* Pola radio */

#thecheckout-account .available-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 9px;
}

#thecheckout-account .radio-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    color: var(--cr-text);
    font-size: 12px;
}

/* =========================================================
   KOMUNIKATY I BŁĘDY
   ========================================================= */

#thecheckout-login-form .alert,
#thecheckout-account .alert,
#thecheckout-login-form .error-enter-email,
#thecheckout-login-form .overlay-general-error {
    margin: 12px 0 !important;
    padding: 11px 13px !important;
    border: 1px solid rgba(216, 64, 64, 0.3) !important;
    border-radius: 6px !important;
    color: #a82929 !important;
    background: #fff2f2 !important;
    font-size: 11px;
    line-height: 1.45;
}

/* =========================================================
   WARSTWA Z PODANIEM ADRESU E-MAIL
   ========================================================= */

#thecheckout-login-form .overlay-email {
    padding: 20px !important;
    background: #fff;
    border-top: 1px solid #e1e4e6;
}

#thecheckout-login-form .new-customer-email,
#thecheckout-login-form .msg-sign-in-or-guest,
#thecheckout-login-form .msg-has-to-login,
#thecheckout-login-form .msg-sign-up-or-guest,
#thecheckout-login-form .msg-has-to-signup {
    margin-bottom: 13px;
    color: var(--cr-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

#thecheckout-login-form .email-input {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
    align-items: stretch;
}

#thecheckout-login-form .email-input input {
    min-height: 44px;
    padding: 10px 13px !important;
}

#thecheckout-login-form .email-input .btn {
    white-space: nowrap;
}

#thecheckout-login-form .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#thecheckout-login-form .btn-secondary {
    min-height: 40px;
    padding: 9px 14px !important;
    color: var(--cr-dark) !important;
    background: #fff !important;
    border: 1px solid #cbd1d4 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

#thecheckout-login-form .btn-secondary:hover {
    color: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-login-form > .inner-area,
    #thecheckout-account > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-login-form .offer-login {
        min-height: 72px;
        padding: 15px 14px 17px 51px !important;
    }

    #thecheckout-login-form .offer-login::before {
        left: 16px;
        font-size: 23px;
    }

    #thecheckout-login-form .already-account-label {
        font-size: 14px !important;
    }

    #thecheckout-login-form .classic-login .log-in {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 11px;
    }

    #thecheckout-account .account-header {
        min-height: 72px;
        padding: 15px 14px 16px 51px !important;
        font-size: 16px !important;
    }

    #thecheckout-account .account-header::before {
        left: 16px;
        font-size: 23px;
    }

    #thecheckout-login-form #login-form,
    #thecheckout-account > .inner-area > .inner-wrapper,
    #thecheckout-login-form .overlay-email {
        padding: 16px !important;
    }

    #thecheckout-login-form .email-input {
        grid-template-columns: 1fr;
    }

    #thecheckout-login-form .email-input .btn {
        width: 100%;
    }
}


/* =========================================================
   ONE PAGE CHECKOUT – ADRES FAKTURY I ADRES DOSTAWY
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-address-invoice,
#thecheckout-address-delivery {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;
    --cr-red: #F12735;

    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-address-invoice *,
#thecheckout-address-invoice *::before,
#thecheckout-address-invoice *::after,
#thecheckout-address-delivery *,
#thecheckout-address-delivery *::before,
#thecheckout-address-delivery *::after {
    box-sizing: border-box;
}

/* =========================================================
   GŁÓWNE KARTY
   ========================================================= */

#thecheckout-address-invoice,
#thecheckout-address-delivery {
    margin: 0 !important;
    padding: 0 !important;
}

/*
 * Nie ustawiamy tutaj display.
 * Widocznością adresu dostawy nadal steruje moduł checkoutu.
 */

#thecheckout-address-invoice > .inner-area,
#thecheckout-address-delivery > .inner-area {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 25, 32, 0.09);
}

/* =========================================================
   NAGŁÓWKI
   ========================================================= */

#thecheckout-address-invoice .address-name-header,
#thecheckout-address-delivery .address-name-header {
    position: relative;
    min-height: 78px;
    margin: 0 !important;
    padding: 17px 20px 18px 60px !important;
    color: #fff !important;
    background: var(--cr-dark) !important;
    border: 0 !important;
    box-shadow: inset 0 -4px 0 var(--cr-yellow);
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

/* Ikona adresu faktury */

#thecheckout-address-invoice .address-name-header::before {
    content: "receipt_long";
}

/* Ikona adresu dostawy */

#thecheckout-address-delivery .address-name-header::before {
    content: "local_shipping";
}

#thecheckout-address-invoice .address-name-header::before,
#thecheckout-address-delivery .address-name-header::before {
    position: absolute;
    top: 50%;
    left: 22px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-58%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-address-invoice .address-name-header::after {
    content: "Dane osoby lub firmy składającej zamówienie";
}

#thecheckout-address-delivery .address-name-header::after {
    content: "Wypełnij, jeśli przesyłka ma trafić pod inny adres";
}

#thecheckout-address-invoice .address-name-header::after,
#thecheckout-address-delivery .address-name-header::after {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

/* Wewnętrzny obszar formularzy */

#thecheckout-address-invoice > .inner-area > .inner-wrapper,
#thecheckout-address-delivery > .inner-area > .inner-wrapper {
    margin: 0 !important;
    padding: 22px !important;
}

#thecheckout-address-invoice .form-fields,
#thecheckout-address-delivery .form-fields {
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-address-invoice .form-group,
#thecheckout-address-delivery .form-group {
    width: 100%;
    margin: 0 0 13px !important;
}

/* =========================================================
   PRZEŁĄCZNIK KLIENTA BIZNESOWEGO
   ========================================================= */

#thecheckout-address-invoice .business-private-checkboxes {
    margin: 0 0 17px !important;
    padding: 13px 14px !important;
    background: #FFF4EA;
    border: 1px solid rgba(239, 127, 26, 0.38);
    border-radius: 8px;
}

#thecheckout-address-invoice .business-customer {
    margin: 0 !important;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    .custom-checkbox {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 0 !important;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    .custom-checkbox
    > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    .custom-checkbox
    > span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #bdc5c9;
    border-radius: 4px;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    .custom-checkbox
    > input:checked
    + span {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    .check-icon {
    color: #fff !important;
    font-size: 17px !important;
}

#thecheckout-address-invoice
    .business-private-checkboxes
    label {
    margin: 0 !important;
    color: var(--cr-text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4;
    cursor: pointer;
}

/* =========================================================
   POLA FORMULARZY
   ========================================================= */

#thecheckout-address-invoice .has-float-label,
#thecheckout-address-delivery .has-float-label {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 !important;
}

#thecheckout-address-invoice .form-control,
#thecheckout-address-delivery .form-control {
    display: block;
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 16px 14px 6px !important;
    color: var(--cr-dark) !important;
    background: #f8f9f7 !important;
    border: 1px solid #d5dadd !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1.3;
    outline: none !important;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#thecheckout-address-invoice .form-control:hover,
#thecheckout-address-delivery .form-control:hover {
    border-color: #adb5ba !important;
}

#thecheckout-address-invoice .form-control:focus,
#thecheckout-address-delivery .form-control:focus {
    background: #fff !important;
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.14) !important;
}

#thecheckout-address-invoice .field-label,
#thecheckout-address-delivery .field-label {
    color: var(--cr-muted) !important;
    font-size: 12px;
    font-weight: 500;
}

#thecheckout-address-invoice
    .form-control:focus
    ~ .field-label,
#thecheckout-address-delivery
    .form-control:focus
    ~ .field-label {
    color: var(--cr-green) !important;
}

/* Gwiazdki przy polach wymaganych */

#thecheckout-address-invoice
    .has-float-label.required
    .field-label::after,
#thecheckout-address-delivery
    .has-float-label.required
    .field-label::after {
    color: var(--cr-green) !important;
}

/* Select */

#thecheckout-address-invoice select.form-control,
#thecheckout-address-delivery select.form-control {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    cursor: pointer;
}

/* =========================================================
   POLE TELEFONU Z FLAGĄ
   ========================================================= */

#thecheckout-address-invoice .iti,
#thecheckout-address-delivery .iti {
    display: block !important;
    width: 100% !important;
}

#thecheckout-address-invoice
    .iti
    input.form-control,
#thecheckout-address-delivery
    .iti
    input.form-control {
    padding-left: 55px !important;
}

#thecheckout-address-invoice .iti__country-container,
#thecheckout-address-delivery .iti__country-container {
    z-index: 4;
}

#thecheckout-address-invoice .iti__selected-country,
#thecheckout-address-delivery .iti__selected-country {
    border-radius: 7px 0 0 7px;
}

#thecheckout-address-invoice .iti__selected-country:hover,
#thecheckout-address-delivery .iti__selected-country:hover {
    background: rgba(239, 127, 26, 0.12);
}

/* =========================================================
   INFORMACJA O UŻYWANYM ADRESIE
   ========================================================= */

#thecheckout-address-invoice .address-is-used,
#thecheckout-address-delivery .address-is-used {
    margin-top: 12px;
    padding: 10px 12px;
    color: #666e73;
    background: #f4f5f5;
    border-left: 3px solid var(--cr-green);
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.45;
}

#thecheckout-address-invoice .address-is-used a,
#thecheckout-address-delivery .address-is-used a {
    color: var(--cr-green) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#thecheckout-address-invoice .business-fields-separator,
#thecheckout-address-delivery .business-fields-separator {
    display: none !important;
}

/* =========================================================
   „DOSTAWA POD INNY ADRES” – PRZYCISK/PRZEŁĄCZNIK
   ========================================================= */

#thecheckout-address-invoice .second-address {
    margin: 18px 0 0 !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid #e1e4e6;
}

#thecheckout-address-invoice
    .second-address
    .custom-checkbox {
    position: relative;
    display: block !important;
    width: 100%;
    margin: 0 !important;
}

/* Ukrywamy standardowy checkbox, ale pozostaje aktywny */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Ukrywamy standardowy kwadracik checkboxa */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > span {
    display: none !important;
}

/* Właściwy wygląd przycisku */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > label {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 12px 14px !important;
    color: #fff !important;
    background: var(--cr-dark);
    border: 1px solid var(--cr-dark);
    border-radius: 7px;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* Ikona samochodu */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > label::before {
    content: "local_shipping";
    margin-right: 10px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 20px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* Strzałka po prawej */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > label::after {
    content: "chevron_right";
    margin-left: auto;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > label:hover {
    background: #1a2832;
    border-color: #1a2832;
    transform: translateY(-1px);
}

/* Wygląd po aktywowaniu adresu dostawy */

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > input:checked
    ~ label {
    color: #fff !important;
    background: var(--cr-green);
    border-color: var(--cr-green);
}

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > input:checked
    ~ label::before {
    color: #fff;
}

#thecheckout-address-invoice
    .second-address
    .custom-checkbox
    > input:checked
    ~ label::after {
    content: "check_circle";
    color: #fff;
}

/* =========================================================
   WALIDACJA I KOMUNIKATY
   ========================================================= */

#thecheckout-address-invoice .alert,
#thecheckout-address-delivery .alert {
    margin: 12px 0 !important;
    padding: 11px 13px !important;
    color: #a82929 !important;
    background: #fff2f2 !important;
    border: 1px solid rgba(216, 64, 64, 0.3) !important;
    border-radius: 6px !important;
    font-size: 11px;
    line-height: 1.45;
}

#thecheckout-address-invoice .form-control.is-invalid,
#thecheckout-address-invoice .form-control.error,
#thecheckout-address-delivery .form-control.is-invalid,
#thecheckout-address-delivery .form-control.error {
    background: #fffafa !important;
    border-color: var(--cr-red) !important;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-address-invoice > .inner-area,
    #thecheckout-address-delivery > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-address-invoice .address-name-header,
    #thecheckout-address-delivery .address-name-header {
        min-height: 72px;
        padding: 15px 14px 16px 51px !important;
        font-size: 16px !important;
    }

    #thecheckout-address-invoice .address-name-header::before,
    #thecheckout-address-delivery .address-name-header::before {
        left: 16px;
        font-size: 23px;
    }

    #thecheckout-address-invoice
        > .inner-area
        > .inner-wrapper,
    #thecheckout-address-delivery
        > .inner-area
        > .inner-wrapper {
        padding: 16px !important;
    }

    #thecheckout-address-invoice
        .second-address
        .custom-checkbox
        > label {
        min-height: 46px;
        padding: 11px 12px !important;
        font-size: 11px !important;
    }
}

/* =========================================================
   ONE PAGE CHECKOUT – DOSTAWA I PŁATNOŚĆ
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-shipping,
#thecheckout-payment {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;
    --cr-red: #F12735;

    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-shipping *,
#thecheckout-shipping *::before,
#thecheckout-shipping *::after,
#thecheckout-payment *,
#thecheckout-payment *::before,
#thecheckout-payment *::after {
    box-sizing: border-box;
}

/* =========================================================
   GŁÓWNE KARTY
   ========================================================= */

#thecheckout-shipping,
#thecheckout-payment {
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-shipping > .inner-area,
#thecheckout-payment > .inner-area {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 25, 32, 0.09);
}

#thecheckout-payment #checkout-payment-step {
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   NAGŁÓWKI
   ========================================================= */

#thecheckout-shipping .shipping-method-header,
#thecheckout-payment .payment-method-header {
    position: relative;
    min-height: 78px;
    margin: 0 !important;
    padding: 17px 20px 18px 60px !important;
    color: #fff !important;
    background: var(--cr-dark) !important;
    border: 0 !important;
    box-shadow: inset 0 -4px 0 var(--cr-yellow);
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

#thecheckout-shipping .shipping-method-header::before {
    content: "local_shipping";
}

#thecheckout-payment .payment-method-header::before {
    content: "payments";
}

#thecheckout-shipping .shipping-method-header::before,
#thecheckout-payment .payment-method-header::before {
    position: absolute;
    top: 50%;
    left: 22px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-58%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-shipping .shipping-method-header::after {
    content: "Wybierz najwygodniejszą formę dostarczenia zamówienia";
}

#thecheckout-payment .payment-method-header::after {
    content: "Wybierz bezpieczną metodę opłacenia zamówienia";
}

#thecheckout-shipping .shipping-method-header::after,
#thecheckout-payment .payment-method-header::after {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

/* Wewnętrzny obszar */

#thecheckout-shipping > .inner-area > .inner-wrapper,
#thecheckout-payment .dynamic-content > .inner-wrapper {
    margin: 0 !important;
    padding: 22px !important;
}

/* =========================================================
   KOMUNIKATY O BŁĘDACH
   ========================================================= */

#thecheckout-shipping .error-msg,
#thecheckout-payment .error-msg {
    margin: 0 0 14px !important;
    padding: 11px 13px !important;
    color: #a82929 !important;
    background: #fff2f2 !important;
    border: 1px solid rgba(216, 64, 64, 0.3) !important;
    border-radius: 6px !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
}

/* =========================================================
   SPOSOBY DOSTAWY
   ========================================================= */

#thecheckout-shipping .delivery-options-list,
#thecheckout-shipping #js-delivery,
#thecheckout-shipping .form-fields,
#thecheckout-shipping .delivery-options {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-shipping .delivery-option-row {
    position: relative;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    width: 100% !important;
    min-height: 74px;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e5;
    border-radius: 8px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-shipping .delivery-option-row:hover {
    border-color: rgba(239, 127, 26, 0.65);
    box-shadow: 0 4px 14px rgba(16, 25, 32, 0.07);
    transform: translateY(-1px);
}

/* Wybrana dostawa */

#thecheckout-shipping .delivery-option-row.selected,
#thecheckout-shipping
    .delivery-option-row:has(input[type="radio"]:checked) {
    background: #FFF4EA;
    border-color: var(--cr-green);
    box-shadow:
        inset 4px 0 0 var(--cr-green),
        0 4px 14px rgba(16, 25, 32, 0.06);
}

/* Radio dostawy */

#thecheckout-shipping .shipping-radio {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-shipping .custom-radio {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0 !important;
    float: none !important;
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"]
    + span {
    position: relative;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    background: #fff;
    border: 2px solid #b8c0c4;
    border-radius: 50%;
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"]:checked
    + span {
    border-color: var(--cr-green);
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"]:checked
    + span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--cr-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"]:focus
    + span {
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.18);
}

/* Zawartość opcji dostawy */

#thecheckout-shipping .delivery-option-label {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 12px 14px 12px 4px !important;
    cursor: pointer;
}

#thecheckout-shipping .delivery-option-detail {
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

#thecheckout-shipping .delivery-option-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 46px;
    padding: 5px;
    background: #fff;
    border: 1px solid #e3e6e8;
    border-radius: 5px;
}

#thecheckout-shipping .delivery-option-logo img {
    display: block;
    width: 100% !important;
    max-width: 62px !important;
    height: 100% !important;
    max-height: 38px !important;
    object-fit: contain;
}

#thecheckout-shipping .name-and-delay {
    min-width: 0;
}

#thecheckout-shipping .delivery-option-name {
    margin: 0;
}

#thecheckout-shipping .carrier-name {
    display: block;
    margin: 0 !important;
    color: var(--cr-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    white-space: normal;
}

#thecheckout-shipping .delivery-option-delay {
    margin-top: 5px;
}

#thecheckout-shipping .carrier-delay {
    display: inline-flex;
    align-items: center;
    color: var(--cr-muted);
    font-size: 10px;
    font-weight: 600;
}

#thecheckout-shipping .carrier-delay::before {
    content: "schedule";
    margin-right: 4px;
    color: var(--cr-green);
    font-family: "Material Icons";
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-shipping
    .delivery-option-detail
    > .delivery-option-price {
    min-width: 82px;
    color: var(--cr-green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

#thecheckout-shipping
    .delivery-option-detail
    > .delivery-option-price
    .carrier-price {
    color: var(--cr-green) !important;
    font-weight: 800;
}

/* Dodatkowe dane Paczkomatu */

#thecheckout-shipping .inpost-shipping-container {
    margin: -2px 0 12px 42px;
    padding: 14px;
    background: #FFF4EA;
    border: 1px solid rgba(239, 127, 26, 0.35);
    border-radius: 7px;
}

#thecheckout-shipping .inpost-shipping-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px !important;
    color: #fff !important;
    background: var(--cr-green) !important;
    border: 1px solid var(--cr-green) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    cursor: pointer;
    text-transform: none !important;
}

#thecheckout-shipping .inpost-shipping-button::before {
    content: "location_on";
    margin-right: 6px;
    font-family: "Material Icons";
    font-size: 17px;
    font-weight: normal;
    line-height: 1;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-shipping .inpost-shipping-button:hover {
    background: var(--cr-dark) !important;
    border-color: var(--cr-dark) !important;
}

#thecheckout-shipping .inpost-shipping-machine-info {
    margin: 0 0 11px;
    padding: 10px 12px;
    background: #fff;
    border-left: 3px solid var(--cr-green);
    border-radius: 4px;
}

#thecheckout-shipping .inpost-shipping-machine-info p {
    margin: 0 0 3px !important;
    color: var(--cr-text);
    font-size: 11px;
    line-height: 1.4;
}

#thecheckout-shipping .inpost-shipping-machine-info p:last-child {
    margin-bottom: 0 !important;
}

/* Inne opcje dostawy */

#thecheckout-shipping #expand_other_shipping_options {
    margin-top: 6px;
}

#thecheckout-shipping
    #expand_other_shipping_options
    .btn-secondary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px !important;
    color: var(--cr-dark) !important;
    background: #fff !important;
    border: 1px dashed #bfc6ca !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
}

#thecheckout-shipping
    #expand_other_shipping_options
    .btn-secondary:hover {
    color: var(--cr-green) !important;
    background: #FFF8F4 !important;
    border-color: var(--cr-green) !important;
}

/* =========================================================
   METODY PŁATNOŚCI
   ========================================================= */

#thecheckout-payment .payment-options {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-payment .tc-main-title {
    position: relative;
    width: 100%;
    margin: 0 0 10px !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe3e5;
    border-radius: 8px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-payment .tc-main-title:hover {
    border-color: rgba(239, 127, 26, 0.65);
    box-shadow: 0 4px 14px rgba(16, 25, 32, 0.07);
    transform: translateY(-1px);
}

/* Wybrana płatność */

#thecheckout-payment .tc-main-title.selected,
#thecheckout-payment
    .tc-main-title:has(input[type="radio"]:checked) {
    background: #FFF4EA;
    border-color: var(--cr-green);
    box-shadow:
        inset 4px 0 0 var(--cr-green),
        0 4px 14px rgba(16, 25, 32, 0.06);
}

#thecheckout-payment .payment-option {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    min-height: 64px;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-payment .payment-option > .custom-radio {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: auto;
    margin: 0 !important;
    float: none !important;
}

#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]
    + span {
    position: relative;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    background: #fff;
    border: 2px solid #b8c0c4;
    border-radius: 50%;
}

#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]:checked
    + span {
    border-color: var(--cr-green);
}

#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]:checked
    + span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--cr-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]:focus
    + span {
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.18);
}

/* Nazwa i logo płatności */

#thecheckout-payment .payment-option > label {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    margin: 0 !important;
    padding: 11px 14px 11px 4px !important;
    cursor: pointer;
}

#thecheckout-payment
    .payment-call-to-action-and-logo {
    min-width: 0;
}

#thecheckout-payment
    .payment-call-to-action-and-logo
    .h6 {
    display: block;
    margin: 0 !important;
    color: var(--cr-dark) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.35;
}

#thecheckout-payment .payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

#thecheckout-payment .payment-logo:empty {
    display: none;
}

#thecheckout-payment .payment-logo img {
    display: block;
    width: auto !important;
    max-width: 92px !important;
    height: auto !important;
    max-height: 34px !important;
    object-fit: contain;
}

/* Dodatkowe informacje o płatności */

#thecheckout-payment .additional-information {
    margin: 0 !important;
    padding: 0 14px 14px 46px !important;
    color: #5e666c;
    font-size: 10px;
    line-height: 1.5;
}

#thecheckout-payment .additional-information p {
    margin: 0 0 9px !important;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

#thecheckout-payment .additional-information dl {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 5px 10px;
    margin: 9px 0 0 !important;
    padding: 10px 12px;
    background: #fff;
    border-radius: 5px;
}

#thecheckout-payment .additional-information dt,
#thecheckout-payment .additional-information dd {
    margin: 0 !important;
    font-size: 10px;
    line-height: 1.4;
}

#thecheckout-payment .additional-information dt {
    color: var(--cr-muted);
    font-weight: 600;
}

#thecheckout-payment .additional-information dd {
    color: var(--cr-dark);
    font-weight: 700;
}

/* Checkbox regulaminu Przelewy24 */

#thecheckout-payment .przelewy24-checkbox-group {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
    margin: 0 0 12px !important;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid #dfe3e5;
    border-radius: 6px;
}

#thecheckout-payment .przelewy24-checkbox__input {
    width: 17px;
    height: 17px;
    margin: 2px 0 0 !important;
    accent-color: var(--cr-green);
    cursor: pointer;
}

#thecheckout-payment .przelewy24-checkbox__label {
    margin: 0 !important;
    color: #5e666c !important;
    font-size: 9px !important;
    line-height: 1.5;
    cursor: pointer;
}

#thecheckout-payment .przelewy24-checkbox__label a {
    color: var(--cr-green) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Inne opcje płatności */

#thecheckout-payment #expand_other_payment_options {
    margin-top: 6px;
}

#thecheckout-payment
    #expand_other_payment_options
    .btn-secondary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px !important;
    color: var(--cr-dark) !important;
    background: #fff !important;
    border: 1px dashed #bfc6ca !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    cursor: pointer;
}

#thecheckout-payment
    #expand_other_payment_options
    .btn-secondary:hover {
    color: var(--cr-green) !important;
    background: #FFF8F4 !important;
    border-color: var(--cr-green) !important;
}

/* =========================================================
   PRZYCISK PŁATNOŚCI
   ========================================================= */

#thecheckout-payment
    #payment-confirmation
    .btn-primary {
    min-height: 46px;
    padding: 12px 20px !important;
    color: #fff !important;
    background: var(--cr-green) !important;
    border: 1px solid var(--cr-green) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: none !important;
}

#thecheckout-payment
    #payment-confirmation
    .btn-primary:hover:not(:disabled) {
    background: var(--cr-dark) !important;
    border-color: var(--cr-dark) !important;
}

#thecheckout-payment
    #payment-confirmation
    .btn-primary:disabled,
#thecheckout-payment
    #payment-confirmation
    .btn-primary.disabled {
    color: #81878b !important;
    background: #e3e6e7 !important;
    border-color: #e3e6e7 !important;
    cursor: not-allowed;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-shipping > .inner-area,
    #thecheckout-payment > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-shipping .shipping-method-header,
    #thecheckout-payment .payment-method-header {
        min-height: 72px;
        padding: 15px 14px 16px 51px !important;
        font-size: 16px !important;
    }

    #thecheckout-shipping .shipping-method-header::before,
    #thecheckout-payment .payment-method-header::before {
        left: 16px;
        font-size: 23px;
    }

    #thecheckout-shipping
        > .inner-area
        > .inner-wrapper,
    #thecheckout-payment
        .dynamic-content
        > .inner-wrapper {
        padding: 16px !important;
    }

    #thecheckout-shipping .delivery-option-row {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    #thecheckout-shipping .shipping-radio {
        width: 36px !important;
    }

    #thecheckout-shipping .delivery-option-label {
        padding: 11px 10px 11px 2px !important;
    }

    #thecheckout-shipping .delivery-option-detail {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 9px;
    }

    #thecheckout-shipping .delivery-option-logo {
        width: 54px;
        height: 42px;
    }

    #thecheckout-shipping
        .delivery-option-detail
        > .delivery-option-price {
        grid-column: 2;
        min-width: 0;
        text-align: left;
    }

    #thecheckout-shipping .inpost-shipping-container {
        margin-left: 36px;
        padding: 12px;
    }

    #thecheckout-payment .payment-option {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    #thecheckout-payment
        .payment-option
        > .custom-radio {
        width: 36px;
    }

    #thecheckout-payment .payment-option > label {
        padding-right: 10px !important;
        padding-left: 2px !important;
    }

    #thecheckout-payment .payment-logo img {
        max-width: 72px !important;
        max-height: 30px !important;
    }

    #thecheckout-payment .additional-information {
        padding-right: 10px !important;
        padding-left: 36px !important;
    }
}

/* =========================================================
   POPRAWKA UKŁADU DOSTAWY I PRZYCISKÓW RADIO
   ========================================================= */

/* Pełna szerokość zawartości opcji dostawy */

#thecheckout-shipping .delivery-option-label,
#thecheckout-shipping .delivery-option-detail {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
}

/* Poprawny układ: logo | nazwa | cena */

#thecheckout-shipping .delivery-option-detail {
    display: grid !important;
    grid-template-columns: 70px minmax(145px, 1fr) max-content !important;
    gap: 12px !important;
    align-items: center !important;
}

#thecheckout-shipping .delivery-option-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    order: 0 !important;
    float: none !important;
    flex: none !important;
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    margin: 0 !important;
}

#thecheckout-shipping .name-and-delay {
    grid-column: 2 !important;
    grid-row: 1 !important;
    order: 0 !important;
    float: none !important;
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

#thecheckout-shipping
    .delivery-option-detail
    > .delivery-option-price {
    grid-column: 3 !important;
    grid-row: 1 !important;
    order: 0 !important;
    float: none !important;
    flex: none !important;
    width: auto !important;
    min-width: 72px !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: right !important;
}

#thecheckout-shipping .carrier-name {
    width: auto !important;
    max-width: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

/* =========================================================
   RESET STARYCH BULLETÓW RADIO
   ========================================================= */

#thecheckout-shipping .custom-radio,
#thecheckout-payment .payment-option > .custom-radio {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Nowe, niewielkie kółko */

#thecheckout-shipping
    .custom-radio
    input[type="radio"]
    + span,
#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]
    + span {
    position: relative !important;
    display: block !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
    border: 2px solid #b8c0c4 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Usunięcie dekoracji dodawanych przez moduł */

#thecheckout-shipping
    .custom-radio
    input[type="radio"]
    + span::before,
#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]
    + span::before {
    content: none !important;
    display: none !important;
}

/* Wewnętrzna kropka */

#thecheckout-shipping
    .custom-radio
    input[type="radio"]
    + span::after,
#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]
    + span::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    left: 50% !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    background: var(--cr-green) !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    transform: translate(-50%, -50%) !important;
}

/* Wybrane radio */

#thecheckout-shipping
    .custom-radio
    input[type="radio"]:checked
    + span,
#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]:checked
    + span {
    background: #fff !important;
    border-color: var(--cr-green) !important;
}

#thecheckout-shipping
    .custom-radio
    input[type="radio"]:checked
    + span::after,
#thecheckout-payment
    .payment-option
    > .custom-radio
    input[type="radio"]:checked
    + span::after {
    opacity: 1 !important;
    background: var(--cr-green) !important;
}

/* Telefon */

@media (max-width: 575px) {
    #thecheckout-shipping .delivery-option-detail {
        grid-template-columns: 52px minmax(0, 1fr) !important;
        gap: 9px !important;
    }

    #thecheckout-shipping .delivery-option-logo {
        grid-column: 1 !important;
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
    }

    #thecheckout-shipping .name-and-delay {
        grid-column: 2 !important;
    }

    #thecheckout-shipping
        .delivery-option-detail
        > .delivery-option-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
        min-width: 0 !important;
        text-align: left !important;
    }
}

/* =========================================================
   ONE PAGE CHECKOUT – UWAGI DO ZAMÓWIENIA
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-order-message {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;

    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-order-message *,
#thecheckout-order-message *::before,
#thecheckout-order-message *::after {
    box-sizing: border-box;
}

/* Główna karta */

#thecheckout-order-message > .inner-area {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(16, 25, 32, 0.09);
}

#thecheckout-order-message #delivery {
    position: relative;
    margin: 0 !important;
    padding: 0 22px 22px !important;
}

/* Ikona nagłówka */

#thecheckout-order-message #delivery::before {
    content: "chat";
    position: absolute;
    top: 27px;
    left: 22px;
    z-index: 2;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-50%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* Nagłówek i opis */

#thecheckout-order-message #delivery > label {
    display: block !important;
    width: calc(100% + 44px);
    min-height: 78px;
    margin: 0 -22px 20px !important;
    padding: 17px 20px 18px 60px !important;
    color: rgba(255, 255, 255, 0.67) !important;
    background: var(--cr-dark);
    border-bottom: 4px solid var(--cr-yellow);
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    cursor: pointer;
}

#thecheckout-order-message #delivery > label::before {
    content: "Uwagi do zamówienia";
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

/* Pole komentarza */

#thecheckout-order-message #delivery_message {
    display: block;
    width: 100% !important;
    min-height: 105px;
    margin: 0 !important;
    padding: 13px 14px !important;
    color: var(--cr-dark) !important;
    background: #f8f9f7 !important;
    border: 1px solid #d5dadd !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.55;
    outline: none !important;
    resize: vertical;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

#thecheckout-order-message #delivery_message:hover {
    border-color: #adb5ba !important;
}

#thecheckout-order-message #delivery_message:focus {
    background: #fff !important;
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.14) !important;
}

/* Telefon */

@media (max-width: 575px) {
    #thecheckout-order-message > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-order-message #delivery {
        padding: 0 16px 16px !important;
    }

    #thecheckout-order-message #delivery::before {
        top: 25px;
        left: 16px;
        font-size: 23px;
    }

    #thecheckout-order-message #delivery > label {
        width: calc(100% + 32px);
        min-height: 72px;
        margin-right: -16px !important;
        margin-bottom: 16px !important;
        margin-left: -16px !important;
        padding: 15px 14px 16px 51px !important;
        font-size: 9px !important;
    }

    #thecheckout-order-message #delivery > label::before {
        font-size: 16px;
    }

    #thecheckout-order-message #delivery_message {
        min-height: 95px;
    }
}


/* =========================================================
   ONE PAGE CHECKOUT – NEWSLETTER
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-newsletter {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;

    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-newsletter *,
#thecheckout-newsletter *::before,
#thecheckout-newsletter *::after {
    box-sizing: border-box;
}

/* Główna karta */

#thecheckout-newsletter > .inner-area {
    overflow: hidden;
    background: #FFF4EA;
    border: 1px solid rgba(239, 127, 26, 0.48);
    border-top: 4px solid var(--cr-yellow);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16, 25, 32, 0.08);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-newsletter > .inner-area:hover {
    border-color: var(--cr-green);
    border-top-color: var(--cr-yellow);
    box-shadow: 0 8px 24px rgba(16, 25, 32, 0.11);
    transform: translateY(-1px);
}

/* Formularz */

#thecheckout-newsletter .account-fields {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 18px 20px 18px 74px !important;
}

/* Ikona newslettera */

#thecheckout-newsletter .account-fields::before {
    content: "mail";
    position: absolute;
    top: 50%;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--cr-yellow);
    background: var(--cr-dark);
    border-radius: 7px;
    font-family: "Material Icons";
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-50%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-newsletter .form-group {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-newsletter .form-group > label {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    cursor: pointer;
}

/* =========================================================
   CHECKBOX
   ========================================================= */

#thecheckout-newsletter .custom-checkbox {
    position: relative;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    margin: 0 !important;
}

/* Checkbox pozostaje aktywny, ale jego systemowy wygląd ukrywamy */

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"] {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
}

/* Widoczny kwadrat checkboxa */

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]
    + span {
    position: relative;
    display: flex !important;
    grid-column: 1;
    align-items: center;
    justify-content: center;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border: 2px solid #aeb7bc !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]
    + span::before,
#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]
    + span::after {
    content: none !important;
    display: none !important;
}

/* Zaznaczony checkbox */

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]:focus
    + span {
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.18) !important;
}

/* Symbol zaznaczenia */

#thecheckout-newsletter .check-icon {
    display: block !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    opacity: 0;
    transform: scale(0.65);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-newsletter
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span
    .check-icon {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   TREŚĆ ZGODY
   ========================================================= */

#thecheckout-newsletter .custom-checkbox > .label {
    display: block !important;
    grid-column: 2;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-dark) !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
}

#thecheckout-newsletter .custom-checkbox > .label em {
    display: block;
    margin-top: 4px;
    color: var(--cr-muted) !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.45 !important;
}

/* Usunięcie zbędnego efektu modułu */

#thecheckout-newsletter .effects-helper {
    display: none !important;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-newsletter > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-newsletter .account-fields {
        padding: 16px !important;
    }

    #thecheckout-newsletter .account-fields::before {
        display: none;
    }

    #thecheckout-newsletter .custom-checkbox {
        align-items: start;
        gap: 10px;
    }

    #thecheckout-newsletter .custom-checkbox > .label {
        font-size: 12px !important;
    }

    #thecheckout-newsletter .custom-checkbox > .label em {
        font-size: 9px !important;
    }
}


/* =========================================================
   POPRAWKA WIDOCZNOŚCI CHECKBOXA NEWSLETTERA
   ========================================================= */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Ukrywamy niewidoczny element checkboxa dodany przez moduł */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > input[type="checkbox"]
    + span {
    display: none !important;
}

/* Prawdziwy checkbox pozostaje aktywny */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > input[type="checkbox"] {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    z-index: 5 !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    opacity: 0 !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
}

/* Tekst z miejscem na checkbox */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > .label {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 26px;
    margin: 0 !important;
    padding: 0 0 0 38px !important;
}

/* Widoczny kwadrat */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > .label::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 2px solid #9ea8ad !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Symbol zaznaczenia */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > .label::after {
    content: "check" !important;
    position: absolute !important;
    top: 50% !important;
    left: 4px !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Material Icons" !important;
    font-size: 18px !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 18px !important;
    opacity: 0 !important;
    transform: translateY(-50%) scale(0.65) !important;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* Checkbox po zaznaczeniu */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > input[type="checkbox"]:checked
    ~ .label::before {
    background: #EF7F1A !important;
    border-color: #EF7F1A !important;
}

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > input[type="checkbox"]:checked
    ~ .label::after {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1) !important;
}

/* Obramowanie przy obsłudze klawiaturą */

#thecheckout-newsletter
    .form-group.newsletter
    .custom-checkbox
    > input[type="checkbox"]:focus
    ~ .label::before {
    border-color: #EF7F1A !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.2) !important;
}


/* =========================================================
   ONE PAGE CHECKOUT – ZGODA RODO / REGULAMIN
   akcesoriaprzemyslowe.pl
   ========================================================= */

#thecheckout-psgdpr {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;

    margin: 0 !important;
    padding: 0 !important;
    color: var(--cr-text);
    font-family: inherit;
}

#thecheckout-psgdpr *,
#thecheckout-psgdpr *::before,
#thecheckout-psgdpr *::after {
    box-sizing: border-box;
}

/* =========================================================
   GŁÓWNA KARTA
   ========================================================= */

#thecheckout-psgdpr > .inner-area {
    overflow: hidden;
    background: #fffaf0;
    border: 1px solid rgba(255, 198, 5, 0.55);
    border-top: 4px solid var(--cr-yellow);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16, 25, 32, 0.08);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

#thecheckout-psgdpr > .inner-area:hover {
    box-shadow: 0 8px 24px rgba(16, 25, 32, 0.11);
    transform: translateY(-1px);
}

/* Wygląd całej karty po zaznaczeniu */

#thecheckout-psgdpr
    > .inner-area:has(input[type="checkbox"]:checked) {
    background: #FFF4EA;
    border-color: rgba(239, 127, 26, 0.55);
    border-top-color: var(--cr-green);
}

/* =========================================================
   FORMULARZ
   ========================================================= */

#thecheckout-psgdpr .account-fields {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 18px 20px 18px 74px !important;
}

/* Ikona zgody */

#thecheckout-psgdpr .account-fields::before {
    content: "verified_user";
    position: absolute;
    top: 50%;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--cr-yellow);
    background: var(--cr-dark);
    border-radius: 7px;
    font-family: "Material Icons";
    font-size: 21px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    transform: translateY(-50%);
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

#thecheckout-psgdpr .form-group.psgdpr {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#thecheckout-psgdpr .form-group.psgdpr > label {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    cursor: pointer;
}

/* =========================================================
   CHECKBOX
   ========================================================= */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Ukrywamy element graficzny wygenerowany przez moduł */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > input[type="checkbox"]
    + span {
    display: none !important;
}

/* Prawdziwy checkbox pozostaje aktywny */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > input[type="checkbox"] {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    z-index: 5 !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    opacity: 0 !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
}

/* Tekst zgody */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > .label {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 26px;
    margin: 0 !important;
    padding: 4px 0 4px 38px !important;
    color: var(--cr-dark) !important;
    background: transparent !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    white-space: normal !important;
}

/* Widoczny kwadrat checkboxa */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > .label::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 2px solid #9ea8ad !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Symbol zaznaczenia */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > .label::after {
    content: "check" !important;
    position: absolute !important;
    top: 50% !important;
    left: 4px !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Material Icons" !important;
    font-size: 18px !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 18px !important;
    opacity: 0 !important;
    transform: translateY(-50%) scale(0.65) !important;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* Zaznaczony checkbox */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > input[type="checkbox"]:checked
    ~ .label::before {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > input[type="checkbox"]:checked
    ~ .label::after {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1) !important;
}

/* Focus przy obsłudze klawiaturą */

#thecheckout-psgdpr
    .form-group.psgdpr
    .custom-checkbox
    > input[type="checkbox"]:focus
    ~ .label::before {
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.2) !important;
}

/* Informacja, że zgoda jest obowiązkowa */

#thecheckout-psgdpr .form-group.psgdpr::after {
    content: "Zgoda wymagana do złożenia zamówienia";
    display: block;
    margin: 4px 0 0 38px;
    color: #B85A10;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
}

/* Usunięcie efektu modułu */

#thecheckout-psgdpr .effects-helper {
    display: none !important;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    #thecheckout-psgdpr > .inner-area {
        border-radius: 8px;
    }

    #thecheckout-psgdpr .account-fields {
        padding: 16px !important;
    }

    #thecheckout-psgdpr .account-fields::before {
        display: none;
    }

    #thecheckout-psgdpr
        .form-group.psgdpr
        .custom-checkbox
        > .label {
        font-size: 11px !important;
    }
}


/* =========================================================
   ONE PAGE CHECKOUT – AKCEPTACJA REGULAMINU
   akcesoriaprzemyslowe.pl
   ========================================================= */

.terms-and-conditions {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;
    --cr-light: #f6f7f5;
    --cr-text: #252a2e;
    --cr-muted: #737b82;
    --cr-red: #F12735;

    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 20px 20px !important;
    color: var(--cr-text);
    background: #fff;
    border: 1px solid #e1e4e6;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(16, 25, 32, 0.08);
    font-family: inherit;
}

.terms-and-conditions *,
.terms-and-conditions *::before,
.terms-and-conditions *::after {
    box-sizing: border-box;
}

/* =========================================================
   NAGŁÓWEK
   ========================================================= */

.terms-and-conditions::before {
    content: "Akceptacja regulaminu";
    display: block;
    min-height: 68px;
    margin: 0 -20px 18px;
    padding: 21px 20px 18px 58px;
    color: #fff;
    background: var(--cr-dark);
    border-bottom: 4px solid var(--cr-yellow);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.terms-and-conditions::after {
    content: "gavel";
    position: absolute;
    top: 21px;
    left: 21px;
    color: var(--cr-yellow);
    font-family: "Material Icons";
    font-size: 23px;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    pointer-events: none;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

/* =========================================================
   KOMUNIKAT O BŁĘDZIE
   ========================================================= */

.terms-and-conditions > .error-msg {
    margin: 0 0 14px !important;
    padding: 11px 13px !important;
    color: #a82929 !important;
    background: #fff2f2 !important;
    border: 1px solid rgba(216, 64, 64, 0.3) !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600;
    line-height: 1.45;
}

/* Tekst pomocniczy, jeśli moduł go wyświetli */

.terms-and-conditions > p {
    margin: 0 0 14px !important;
    color: var(--cr-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================================
   FORMULARZ ZGODY
   ========================================================= */

.terms-and-conditions #conditions-to-approve {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.terms-and-conditions #conditions-to-approve ul {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.terms-and-conditions #conditions-to-approve li {
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    padding: 14px !important;
    list-style: none !important;
    background: #fffaf0;
    border: 1px solid rgba(255, 198, 5, 0.55);
    border-radius: 8px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.terms-and-conditions #conditions-to-approve li::marker {
    display: none;
    content: "";
}

/* Cały box po zaznaczeniu */

.terms-and-conditions
    #conditions-to-approve
    li:has(input[type="checkbox"]:checked) {
    background: #FFF4EA;
    border-color: rgba(239, 127, 26, 0.65);
    box-shadow: inset 4px 0 0 var(--cr-green);
}

/* =========================================================
   CHECKBOX
   ========================================================= */

.terms-and-conditions
    #conditions-to-approve
    .float-xs-left {
    display: block !important;
    width: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox {
    position: relative !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Prawdziwy checkbox pozostaje aktywny */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 5 !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

/* Widoczny kwadrat */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]
    + span {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border: 2px solid #9ea8ad !important;
    border-radius: 5px !important;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Usunięcie dekoracji modułu */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]
    + span::before {
    content: none !important;
    display: none !important;
}

/* Własny symbol zaznaczenia */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]
    + span::after {
    content: "check" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    color: #fff !important;
    font-family: "Material Icons" !important;
    font-size: 18px !important;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 18px !important;
    opacity: 0 !important;
    transform: scale(0.65) !important;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    .check-icon {
    display: none !important;
}

/* Zaznaczony checkbox */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span::after {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Focus */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:focus
    + span {
    border-color: var(--cr-green) !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.2) !important;
}


/* =========================================================
   AKCEPTACJA REGULAMINU
   ========================================================= */

.terms-and-conditions {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-gray: #dbdbdb;

    position: relative !important;
    margin: 0 0 18px !important;
    padding: 76px 16px 16px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid var(--cr-gray) !important;
    border-radius: 10px !important;
    box-shadow: 0 5px 18px rgba(16, 25, 32, 0.08) !important;
    box-sizing: border-box;
}

/* =========================================================
   NAGŁÓWEK
   ========================================================= */

.terms-and-conditions::before {
    content: "Akceptacja regulaminu";
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: none !important;
    height: 58px !important;
    min-height: 58px !important;

    margin: 0 !important;
    padding: 0 18px 0 56px !important;

    color: #ffffff !important;
    background: var(--cr-dark) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--cr-yellow) !important;
    border-radius: 0 !important;

    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    transform: none !important;
}

/* Ikona regulaminu */

.terms-and-conditions::after {
    content: "gavel";
    position: absolute !important;
    top: 17px !important;
    left: 18px !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;

    color: var(--cr-yellow) !important;
    background: transparent !important;

    font-family: "Material Icons" !important;
    font-size: 24px !important;
    font-weight: normal !important;
    line-height: 1 !important;

    transform: none !important;
    pointer-events: none;
}

/* =========================================================
   LISTA ZGÓD
   ========================================================= */

.terms-and-conditions #conditions-to-approve,
.terms-and-conditions #conditions-to-approve ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

.terms-and-conditions #conditions-to-approve li {
    position: relative;
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    row-gap: 4px !important;
    align-items: start !important;

    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 15px !important;

    background: #fffaf0 !important;
    border: 1px solid var(--cr-yellow) !important;
    border-radius: 7px !important;
    box-sizing: border-box !important;
}

.terms-and-conditions #conditions-to-approve li:last-child {
    margin-bottom: 0 !important;
}

/* =========================================================
   CHECKBOX
   ========================================================= */

.terms-and-conditions
    #conditions-to-approve
    li
    > .float-xs-left {
    grid-column: 1 !important;
    float: none !important;

    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 24px !important;
    min-width: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox {
    position: relative !important;
    display: block !important;
    flex: 0 0 22px !important;

    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Funkcjonalne pole checkboxa */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 2 !important;

    display: block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;

    opacity: 0 !important;
    cursor: pointer !important;
}

/* Widoczny kwadrat */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"]
    + span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 22px !important;
    height: 22px !important;

    background: #ffffff !important;
    border: 2px solid var(--cr-green) !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

/* Zaznaczony checkbox */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"]:checked
    + span {
    background: var(--cr-green) !important;
    border-color: var(--cr-green) !important;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"]
    + span
    .checkbox-checked {
    display: none !important;
    color: #ffffff !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"]:checked
    + span
    .checkbox-checked {
    display: block !important;
}

/* Fokus klawiatury */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    input[type="checkbox"]:focus
    + span {
    outline: 3px solid rgba(239, 127, 26, 0.22) !important;
    outline-offset: 2px !important;
}

/* =========================================================
   TREŚĆ ZGODY
   ========================================================= */

.terms-and-conditions
    #conditions-to-approve
    .condition-label {
    grid-column: 2 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.terms-and-conditions
    #conditions-to-approve
    .condition-label
    label {
    display: block !important;
    margin: 0 !important;
    padding: 1px 0 0 !important;

    color: var(--cr-dark) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    cursor: pointer !important;
}

.terms-and-conditions
    #conditions-to-approve
    .condition-label
    a {
    color: var(--cr-green) !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(239, 127, 26, 0.55) !important;
    text-underline-offset: 3px !important;
}

.terms-and-conditions
    #conditions-to-approve
    .condition-label
    a:hover {
    color: var(--cr-dark) !important;
    text-decoration-color: var(--cr-dark) !important;
}

/* Informacja pod zgodą */

.terms-and-conditions
    #conditions-to-approve
    li::after {
    content: "Zgoda wymagana do złożenia zamówienia";
    position: static !important;
    grid-column: 2 !important;

    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 2px 0 0 !important;

    color: #B85A10 !important;
    background: transparent !important;

    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;

    transform: none !important;
}

/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 575px) {
    .terms-and-conditions {
        padding: 70px 12px 12px !important;
        border-radius: 8px !important;
    }

    .terms-and-conditions::before {
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 14px 0 49px !important;
        font-size: 15px !important;
    }

    .terms-and-conditions::after {
        top: 16px !important;
        left: 14px !important;
        font-size: 23px !important;
    }

    .terms-and-conditions #conditions-to-approve li {
        grid-template-columns: 22px minmax(0, 1fr) !important;
        column-gap: 10px !important;
        padding: 12px !important;
    }

    .terms-and-conditions
        #conditions-to-approve
        .condition-label
        label {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .terms-and-conditions
        #conditions-to-approve
        li::after {
        font-size: 9px !important;
    }
}


/* =========================================================
   NAPRAWA WIDOCZNOŚCI CHECKBOXA
   ========================================================= */

.terms-and-conditions
    #conditions-to-approve
    input[type="checkbox"] {
    position: static !important;
    top: auto !important;
    left: auto !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;

    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    accent-color: #EF7F1A !important;

    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    cursor: pointer !important;
}

/* Ukrycie starego, niewidocznego zamiennika checkboxa */

.terms-and-conditions
    #conditions-to-approve
    input[type="checkbox"]
    + span {
    display: none !important;
}

/* Kontener checkboxa */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;

    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* =========================================================
   OSTATECZNA NAPRAWA CHECKBOXA
   ========================================================= */

/* Wyłączamy wcześniejszy checkbox generowany przy label */

.terms-and-conditions
    #conditions-to-approve
    .condition-label
    label::before,
.terms-and-conditions
    #conditions-to-approve
    .condition-label
    label::after {
    content: none !important;
    display: none !important;
}

/* Kolumna z checkboxem */

.terms-and-conditions
    #conditions-to-approve
    li
    > .float-xs-left {
    grid-column: 1 !important;
    float: none !important;

    display: flex !important;
    visibility: visible !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
}

/* Kontener */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox {
    position: relative !important;

    display: block !important;
    visibility: visible !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
}

/* Prawdziwe pole – przezroczyste, ale klikalne */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"] {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;

    display: block !important;
    visibility: visible !important;

    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;

    opacity: 0 !important;
    cursor: pointer !important;
}

/* Widoczny kwadrat checkboxa */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]
    + span {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;

    display: flex !important;
    visibility: visible !important;
    align-items: center !important;
    justify-content: center !important;

    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border: 2px solid #EF7F1A !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    pointer-events: none !important;
}

/* Stan zaznaczony */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span {
    background: #EF7F1A !important;
    border-color: #EF7F1A !important;
}

/* Domyślnie ukrywamy haczyk */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    .check-icon {
    display: none !important;
}

/* Haczyk po zaznaczeniu */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:checked
    + span
    .check-icon {
    display: block !important;
    visibility: visible !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;

    color: #ffffff !important;
    background: transparent !important;

    font-size: 18px !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

/* Fokus */

.terms-and-conditions
    #conditions-to-approve
    .custom-checkbox
    > input[type="checkbox"]:focus
    + span {
    outline: 3px solid rgba(239, 127, 26, 0.25) !important;
    outline-offset: 2px !important;
}



/* =========================================================
   AKCESORIAPRZEMYSLOWE.PL – FINALNA PALETA CHECKOUTU
   Kolor podstawowy: #EF7F1A
   Hover / mocny akcent: #F12735
   Ciemny: #101920
   ========================================================= */

#thecheckout-cart-summary,
#thecheckout-login-form,
#thecheckout-account,
#thecheckout-address-invoice,
#thecheckout-address-delivery,
#thecheckout-shipping,
#thecheckout-payment,
#thecheckout-order-message,
#thecheckout-newsletter,
#thecheckout-psgdpr,
.terms-and-conditions {
    --cr-dark: #101920;
    --cr-yellow: #EF7F1A;
    --cr-green: #EF7F1A;
    --cr-red: #F12735;
}

/* Główne przyciski – pomarańczowy */
#thecheckout-login-form .classic-login .log-in,
#thecheckout-login-form .btn-primary,
#thecheckout-account .btn-primary,
#thecheckout-shipping .inpost-shipping-button,
#thecheckout-shipping .btn-primary,
#thecheckout-payment .btn-primary,
#thecheckout-order-message .btn-primary,
#thecheckout-newsletter .btn-primary,
#thecheckout-psgdpr .btn-primary,
.terms-and-conditions .btn-primary {
    background: #EF7F1A !important;
    border-color: #EF7F1A !important;
    color: #101920 !important;
}

/* Hover głównych przycisków – czerwony */
#thecheckout-login-form .classic-login .log-in:hover,
#thecheckout-login-form .btn-primary:hover,
#thecheckout-account .btn-primary:hover,
#thecheckout-shipping .inpost-shipping-button:hover,
#thecheckout-shipping .btn-primary:hover:not(:disabled),
#thecheckout-payment .btn-primary:hover:not(:disabled),
#thecheckout-order-message .btn-primary:hover:not(:disabled),
#thecheckout-newsletter .btn-primary:hover:not(:disabled),
#thecheckout-psgdpr .btn-primary:hover:not(:disabled),
.terms-and-conditions .btn-primary:hover:not(:disabled) {
    background: #F12735 !important;
    border-color: #F12735 !important;
    color: #ffffff !important;
}

/* Linki i elementy klikalne – czerwony hover */
#thecheckout-cart-summary .product-line-info.product-title .label:hover,
#thecheckout-login-form .forgot-password a:hover,
#thecheckout-login-form .btn-secondary:hover,
#thecheckout-shipping #expand_other_shipping_options .btn-secondary:hover,
#thecheckout-payment .btn-secondary:hover,
#thecheckout-psgdpr a:hover,
.terms-and-conditions #conditions-to-approve .condition-label a:hover {
    color: #F12735 !important;
    border-color: #F12735 !important;
    text-decoration-color: #F12735 !important;
}

/* Plus/minus ilości w koszyku */
#thecheckout-cart-summary .cart-line-product-quantity-up:hover,
#thecheckout-cart-summary .cart-line-product-quantity-down:hover {
    color: #ffffff !important;
    background: #F12735 !important;
}

/* Hover kart produktów w koszyku */
#thecheckout-cart-summary .product-line:hover {
    border-color: rgba(241, 39, 53, 0.55) !important;
}

/* Hover metod dostawy i płatności */
#thecheckout-shipping .delivery-option-row:hover,
#thecheckout-payment .tc-main-title:hover {
    border-color: rgba(241, 39, 53, 0.55) !important;
}

/* Wybrane metody – pomarańczowe, delikatne tło */
#thecheckout-shipping .delivery-option-row.selected,
#thecheckout-shipping .delivery-option-row:has(input[type="radio"]:checked),
#thecheckout-payment .tc-main-title.selected,
#thecheckout-payment .tc-main-title:has(input[type="radio"]:checked) {
    background: #FFF4EA !important;
    border-color: #EF7F1A !important;
    box-shadow: inset 4px 0 0 #EF7F1A, 0 4px 14px rgba(16, 25, 32, 0.06) !important;
}

/* Focus pól – pomarańczowy */
#thecheckout-login-form .form-control:focus,
#thecheckout-account .form-control:focus,
#thecheckout-address-invoice .form-control:focus,
#thecheckout-address-delivery .form-control:focus,
#thecheckout-order-message textarea:focus,
#thecheckout-order-message #delivery_message:focus {
    border-color: #EF7F1A !important;
    box-shadow: 0 0 0 3px rgba(239, 127, 26, 0.16) !important;
}

/* Zaznaczone checkboxy/radia – pomarańczowy */
#thecheckout-account input[type="checkbox"]:checked + span,
#thecheckout-address-invoice input[type="checkbox"]:checked + span,
#thecheckout-address-delivery input[type="checkbox"]:checked + span,
#thecheckout-newsletter input[type="checkbox"]:checked + span,
#thecheckout-psgdpr input[type="checkbox"]:checked + span,
.terms-and-conditions input[type="checkbox"]:checked + span {
    background-color: #EF7F1A !important;
    border-color: #EF7F1A !important;
}

/* Usuwanie produktu pozostaje czerwone */
#thecheckout-cart-summary .remove-from-cart:hover {
    background: #F12735 !important;
    color: #ffffff !important;
}
