
/* ===================== */
/* Style obrazków produktów */
.home-category .woocommerce ul.products.grid-cols li.product a img,
.home-category .woocommerce .woocommerce-carousel .splide__track li.product a img {
    border: 4px solid var(--global-gray-400);
    border-radius: 18%;
}

/* ===================== */
/* Grid view – 5 produktów */
body.woocommerce ul.products.products-grid-view {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
}

/* List view */
body.woocommerce ul.products.list {
    display: block !important;
}

/* ===================== */
/* Responsywność */
@media (max-width: 1024px) {
    body.woocommerce ul.products.products-grid-view {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media (max-width: 768px) {
    body.woocommerce ul.products.products-grid-view {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    body.woocommerce ul.products.products-grid-view {
        grid-template-columns: 1fr !important;
    }
}

/* ===================== */
/* Cena inline */
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

ul.products li.product .price {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-variation-price,
ul.products li.product .price,
.woocommerce div.product p.price {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    line-height: 1 !important;
}

/* ===================== */
/* UKRYCIE CENY WARIANTU – FARBY */

.single-product .product_cat-farby-akrylowe .woocommerce-variation-price,
.single-product .product_cat-farby-do-scian .woocommerce-variation-price,
.single-product .product_cat-farby-alkidowe .woocommerce-variation-price,
.single-product .product_cat-farby-alkidowo-silikonowe .woocommerce-variation-price,
.single-product .product_cat-farby-epoksydowe .woocommerce-variation-price,
.single-product .product_cat-farby-poliuretanowe .woocommerce-variation-price,
.single-product .product_cat-farby-fasadowe .woocommerce-variation-price,
.single-product .product_cat-elewacje-tynki .woocommerce-variation-price {
    display: none !important;
}

/* ===================== */
/* Ukrycie domyślnego linku Wyczyść */
.variations_form table.variations a.reset_variations {
    display: none !important;
}

/* ===================== */
/* BOXY KOLORĂ“W – STABILNA WERSJA */

.color-box {
    border: 1px solid #e5e7eb;
    padding: 15px 18px;
    margin-bottom: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    transition: 0.2s ease;
}

.color-box.ral-box {
    border-left: 5px solid #f4a100;
}

.color-box.ncs-box {
    border-left: 5px solid #1e5fa8;
}

.color-box strong {
    font-size: 15px;
    margin-bottom: 8px;
    color: #1e293b;
    display: block;
}

.color-box input[type="text"],
.color-box input[type="number"] {
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
}

.color-box button {
    padding: 6px 14px;
    border: none;
    background-color: #1e5fa8;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.color-box button:hover {
    background-color: #174c85;
}

#ral_info,
#ncs_info {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* ===================== */
/* WYRÓWNANIE RESET + ILOŚĆ + KOSZYK – STABILNE */

.reset-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#custom_reset {
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 18px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}

/* ===================== */
/* RESPONSYWNOŚĆ */

@media (max-width: 768px) {
    .color-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .color-box input,
    .color-box button {
        width: 100%;
        margin-bottom: 6px;
    }
}
/* ===================== */
/* RÓWNE BOXY RAL / NCS */

.single-product .summary.entry-summary .color-box.ral-box,
.single-product .summary.entry-summary .color-box.ncs-box {
    width: 100%;
    max-width: 100%;
}

/* ===================== */
/* KRĂ“TSZE INPUTY */

#ral_code {
    width: 80px;   /* 4 cyfry wystarczą */
}

#ncs_digits {
    width: 80px;   /* 4 cyfry */
}

#ncs_suffix {
    width: 100px;  /* np. Y80R */
}
/* ===================== */
/* WYMUSZENIE UKŁADU – BOXY NAD, RESET NA DOLE */

.single-product .summary.entry-summary .color-box.ral-box,
.single-product .summary.entry-summary .color-box.ncs-box {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;   /* każdy box w osobnym rzędzie */
}

/* Reset wraca do dolnego rzędu */
.single-product .summary.entry-summary .reset-box {
    flex: 0 0 auto !important;
}

/* Dolny rząd */

/* Reset + ilość + koszyk w jednej linii */
.single-product .summary.entry-summary .woocommerce-variation-add-to-cart > .reset-box,
.single-product .summary.entry-summary .woocommerce-variation-add-to-cart > .quantity,
.single-product .summary.entry-summary .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    align-self: center;
}

/* ===================== */
/* PANEL PODGLĄDU ODCIENIA – FARBY ALKIDOWE */

.single-product .product_cat-farby-alkidowe .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-alkidowe .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-alkidowe .woocommerce-variation-add-to-cart > .color-box.reset-box,
.single-product .product_cat-farby-akrylowe .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-akrylowe .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-akrylowe .woocommerce-variation-add-to-cart > .color-box.reset-box,
.single-product .product_cat-farby-do-scian .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-do-scian .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-do-scian .woocommerce-variation-add-to-cart > .color-box.reset-box,
.single-product .product_cat-farby-epoksydowe .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-epoksydowe .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-epoksydowe .woocommerce-variation-add-to-cart > .color-box.reset-box,
.single-product .product_cat-farby-poliuretanowe .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-poliuretanowe .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-fasadowe .woocommerce-variation-add-to-cart > .color-box.ral-box,
.single-product .product_cat-farby-fasadowe .woocommerce-variation-add-to-cart > .color-box.ncs-box,
.single-product .product_cat-farby-fasadowe .woocommerce-variation-add-to-cart > .color-box.reset-box,
.single-product .product_cat-farby-poliuretanowe .woocommerce-variation-add-to-cart > .color-box.reset-box {
    display: none !important;
}

.color-box.alkyd-preview-box {
    --alkyd-preview-soft: #e2e8f0;
    --alkyd-preview-base: #94a3b8;
    --alkyd-preview-accent: #64748b;
    --alkyd-preview-deep: #334155;
    --alkyd-preview-swatch-color: #e2e8f0;
    --alkyd-preview-shell-color: #f8fbff;
    position: relative;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding: 18px 18px 16px 20px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    box-sizing: border-box;
    min-width: 0;
}

.color-box.alkyd-preview-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: var(--alkyd-preview-shell-color);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px 0 0 8px;
}

.alkyd-preview-head {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    min-width: 0;
}

.alkyd-preview-head-copy {
    min-width: 0;
}

.alkyd-preview-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef5fb;
    color: #1e5fa8;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.color-box.alkyd-preview-box .alkyd-preview-title {
    display: block;
    margin: 10px 0 6px;
    font-size: 21px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.alkyd-preview-intro {
    margin: 0;
    max-width: 800px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    overflow-wrap: anywhere;
}

.alkyd-preview-price-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.alkyd-preview-price-label {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.color-box.alkyd-preview-box .alkyd-preview-live-price {
    display: block;
    margin: 6px 0 4px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.alkyd-preview-price-panel small {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.alkyd-preview-body {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 14px;
    align-items: stretch;
    min-width: 0;
}

.alkyd-preview-visual,
.alkyd-preview-stat {
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #ffffff;
    min-width: 0;
}

.alkyd-preview-visual {
    padding: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.alkyd-preview-visual-meta {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.alkyd-preview-visual-meta .alkyd-preview-stat {
    margin: 0;
}

.alkyd-preview-visual-meta .alkyd-preview-note-inline {
    padding: 0;
    border: 0;
    background: transparent;
}

.alkyd-preview-note-inline > span {
    display: none;
}

.alkyd-preview-visual-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: #64748b;
}

.alkyd-preview-swatch {
    min-height: 180px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: var(--alkyd-preview-swatch-color);
}

.alkyd-preview-caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    min-width: 0;
}

.alkyd-preview-system {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.color-box.alkyd-preview-box .alkyd-preview-code {
    display: block;
    margin: 0;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    min-width: 0;
    overflow-wrap: anywhere;
}

.alkyd-preview-meta {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    align-content: start;
}

.alkyd-preview-stat {
    padding: 13px 14px;
}

.alkyd-preview-meta > .alkyd-preview-stat.is-wide {
    grid-column: 1 / -1;
}

.alkyd-preview-meta > .alkyd-preview-price-panel {
    grid-column: 1 / -1;
}

.alkyd-preview-stat > span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.color-box.alkyd-preview-box .alkyd-preview-stat-value {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.alkyd-preview-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.alkyd-preview-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.alkyd-preview-chip small {
    display: block;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.alkyd-preview-chip.is-empty {
    color: #64748b;
    font-weight: 700;
}

.alkyd-preview-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.alkyd-preview-controls {
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    margin-bottom: 2px;
}

.alkyd-preview-controls-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 1fr);
}

.alkyd-preview-controls .alkyd-package-box {
    grid-column: 1 / -1;
}

.alkyd-package-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alkyd-package-option {
    appearance: none;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.alkyd-package-option:hover {
    border-color: var(--alkyd-preview-base);
    color: var(--alkyd-preview-deep);
}

.alkyd-package-option.is-active {
    border-color: var(--alkyd-preview-base);
    background: var(--alkyd-preview-base);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.alkyd-package-option.is-disabled,
.alkyd-package-option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.alkyd-preview-controls .color-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 14px 14px 12px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: none;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.alkyd-preview-controls .color-box.ral-box,
.alkyd-preview-controls .color-box.ncs-box,
.alkyd-preview-controls .color-box.dulux-box {
    position: relative;
    border: 1px solid #dbe4ef;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
    isolation: isolate;
    overflow: hidden;
}

.alkyd-preview-controls .color-box.ral-box > *,
.alkyd-preview-controls .color-box.ncs-box > *,
.alkyd-preview-controls .color-box.dulux-box > * {
    position: relative;
    z-index: 2;
}

.alkyd-preview-controls .color-box.ral-box::before,
.alkyd-preview-controls .color-box.ncs-box::before,
.alkyd-preview-controls .color-box.dulux-box::before,
.alkyd-preview-controls .color-box.ral-box::after,
.alkyd-preview-controls .color-box.ncs-box::after,
.alkyd-preview-controls .color-box.dulux-box::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.alkyd-preview-controls .color-box.ral-box::before,
.alkyd-preview-controls .color-box.ncs-box::before,
.alkyd-preview-controls .color-box.dulux-box::before {
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
}

.alkyd-preview-controls .color-box.ral-box::after,
.alkyd-preview-controls .color-box.ncs-box::after,
.alkyd-preview-controls .color-box.dulux-box::after {
    right: -26px;
    bottom: -34px;
    width: 158px;
    height: 158px;
    border-radius: 999px;
    opacity: 0.78;
    z-index: 0;
}

.alkyd-preview-controls .color-box.ral-box::before {
    background-image:
        radial-gradient(circle at 86% 20%, rgba(229, 112, 88, 0.18) 0%, rgba(229, 112, 88, 0) 34%),
        linear-gradient(145deg, rgba(255, 247, 242, 0.98) 0%, rgba(255, 255, 255, 0.98) 52%, rgba(249, 236, 229, 0.98) 100%),
        url('legacy-images/customizer-image-1-ffde0bbb9321.png');
    background-position: center center, center center, right 14px top 12px;
    background-size: auto, auto, 112px auto;
}

.alkyd-preview-controls .color-box.ral-box::after {
    background: radial-gradient(circle at 35% 35%, rgba(234, 129, 99, 0.22) 0%, rgba(234, 129, 99, 0) 72%);
}

.alkyd-preview-controls .color-box.ncs-box::before {
    background-image:
        radial-gradient(circle at 84% 18%, rgba(113, 135, 130, 0.16) 0%, rgba(113, 135, 130, 0) 34%),
        linear-gradient(145deg, rgba(246, 248, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 55%, rgba(237, 241, 239, 0.98) 100%),
        url('legacy-images/customizer-image-5-eaecd755998b.gif');
    background-position: center center, center center, right 16px top 12px;
    background-size: auto, auto, 70px auto;
}

.alkyd-preview-controls .color-box.ncs-box::after {
    background: radial-gradient(circle at 34% 34%, rgba(141, 155, 149, 0.18) 0%, rgba(141, 155, 149, 0) 72%);
}

.alkyd-preview-controls .color-box.dulux-box::before {
    background-image:
        radial-gradient(circle at 86% 18%, rgba(86, 104, 94, 0.14) 0%, rgba(86, 104, 94, 0) 34%),
        linear-gradient(145deg, rgba(248, 247, 244, 0.98) 0%, rgba(255, 255, 255, 0.98) 54%, rgba(239, 236, 230, 0.98) 100%),
        url('legacy-images/customizer-image-2-20d2937e91bb.png');
    background-position: center center, center center, right 14px top 12px;
    background-size: auto, auto, 108px auto;
}

.alkyd-preview-controls .color-box.dulux-box::after {
    background: radial-gradient(circle at 35% 35%, rgba(126, 139, 131, 0.2) 0%, rgba(126, 139, 131, 0) 72%);
}

.alkyd-preview-controls .color-box.ral-box:focus-within,
.alkyd-preview-controls .color-box.ncs-box:focus-within,
.alkyd-preview-controls .color-box.dulux-box:focus-within,
.alkyd-preview-controls .color-box.ral-box.is-selected-system,
.alkyd-preview-controls .color-box.ncs-box.is-selected-system,
.alkyd-preview-controls .color-box.dulux-box.is-selected-system {
    border-color: var(--alkyd-preview-base);
    box-shadow: inset 0 0 0 2px var(--alkyd-preview-base), 0 14px 24px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.alkyd-preview-controls .color-box.ral-box.is-selected-system strong,
.alkyd-preview-controls .color-box.ncs-box.is-selected-system strong,
.alkyd-preview-controls .color-box.dulux-box.is-selected-system strong {
    color: var(--alkyd-preview-deep);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    gap: 22px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    padding: 24px 26px 22px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.48) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 18px 42px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px) saturate(135%);
    -webkit-backdrop-filter: blur(14px) saturate(135%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 42px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 214, 169, 0.24),
        0 0 58px rgba(255, 171, 66, 0.28);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 42px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(167, 245, 233, 0.2),
        0 0 62px rgba(108, 246, 222, 0.22);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 18px 42px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 223, 146, 0.18),
        0 0 64px rgba(255, 202, 72, 0.24);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-position: center center, center center, center 18px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-size: auto, auto, 162px auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-size: auto, auto, 142px auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-size: auto, auto, 186px auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    left: 50%;
    right: auto;
    bottom: -112px;
    width: 244px;
    height: 244px;
    transform: translateX(-50%);
    opacity: 0.95;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    background: radial-gradient(circle at 50% 36%, rgba(255, 178, 75, 0.38) 0%, rgba(255, 178, 75, 0.12) 36%, rgba(255, 178, 75, 0) 72%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    background: radial-gradient(circle at 50% 36%, rgba(95, 232, 213, 0.34) 0%, rgba(95, 232, 213, 0.1) 38%, rgba(95, 232, 213, 0) 72%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    background: radial-gradient(circle at 50% 36%, rgba(255, 219, 98, 0.36) 0%, rgba(84, 194, 226, 0.12) 44%, rgba(84, 194, 226, 0) 74%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box.is-selected-system {
    border-color: rgba(255, 170, 88, 0.95);
    box-shadow:
        inset 0 0 0 2px rgba(255, 170, 88, 0.7),
        0 20px 48px rgba(15, 23, 42, 0.12),
        0 0 70px rgba(255, 174, 79, 0.34);
    transform: translateY(-2px);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box.is-selected-system {
    border-color: rgba(121, 233, 225, 0.96);
    box-shadow:
        inset 0 0 0 2px rgba(121, 233, 225, 0.64),
        0 20px 48px rgba(15, 23, 42, 0.12),
        0 0 72px rgba(102, 232, 214, 0.3);
    transform: translateY(-2px);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box.is-selected-system {
    border-color: rgba(255, 212, 110, 0.94);
    box-shadow:
        inset 0 0 0 2px rgba(255, 212, 110, 0.62),
        0 20px 48px rgba(15, 23, 42, 0.12),
        0 0 74px rgba(255, 206, 88, 0.28);
    transform: translateY(-2px);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
    display: block;
    min-height: 98px;
    margin: 0 0 14px;
    font-size: 0;
    line-height: 0;
    color: transparent;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box {
    gap: 16px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
    grid-template-columns: minmax(118px, 1.08fr) minmax(78px, 0.78fr) 52px minmax(112px, 1fr);
    column-gap: 0;
    row-gap: 16px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    min-width: 0;
    width: 100% !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box input,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box input,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box input,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span {
    height: 58px;
    border: 1px solid rgba(193, 205, 222, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.94) 100%);
    box-shadow:
        inset 0 2px 6px rgba(15, 23, 42, 0.05),
        0 6px 18px rgba(255, 255, 255, 0.28);
    color: #223042;
    font-size: 17px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box input,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box input {
    border-radius: 20px;
    padding: 0 22px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box input::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box input::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box input::placeholder {
    color: rgba(34, 48, 66, 0.72);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 19px;
    font-weight: 500;
    color: #223042;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    justify-content: flex-start;
    padding: 0 22px;
    border-radius: 20px 0 0 20px;
    border-right: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    text-align: center;
    padding: 0 12px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    border-radius: 0 20px 20px 0;
    border-left: 0;
    padding: 0 18px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    min-height: 62px;
    border-radius: 20px;
    border: 1px solid rgba(7, 67, 145, 0.78);
    background: linear-gradient(180deg, #0f67c8 0%, #084da7 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 12px 26px rgba(7, 67, 145, 0.26);
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(4, 20, 52, 0.4);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button:hover,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button:hover,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button:hover {
    background: linear-gradient(180deg, #1273d8 0%, #0957b7 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 14px 30px rgba(7, 67, 145, 0.3);
}

.alkyd-preview-controls .color-box.reset-box {
    width: auto;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.alkyd-preview-controls .color-box strong {
    margin-bottom: 10px;
    font-size: 16px;
}

.alkyd-preview-controls .color-box br,
.alkyd-preview-controls #ral_info,
.alkyd-preview-controls #ncs_info,
.alkyd-preview-controls #dulux_palette_info {
    display: none !important;
}

.alkyd-preview-controls .ral-box,
.alkyd-preview-controls .ncs-box,
.alkyd-preview-controls .dulux-box {
    display: grid;
    gap: 10px;
    align-items: center;
    align-content: start;
    height: 100%;
}

.alkyd-preview-controls .ral-box input,
.alkyd-preview-controls .ncs-box input,
.alkyd-preview-controls .dulux-box input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
    color: #0f172a;
    box-sizing: border-box;
}

#alkyd_preview_controls #ral_code {
    width: 124px !important;
    min-width: 124px;
}

#alkyd_preview_controls #ncs_digits {
    width: 96px !important;
    min-width: 96px;
}

#alkyd_preview_controls #ncs_suffix {
    width: 124px !important;
    min-width: 124px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    width: 100% !important;
    min-width: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
    grid-template-columns: minmax(118px, 1.08fr) minmax(78px, 0.78fr) 52px minmax(112px, 1fr);
}

.alkyd-preview-controls .ral-box button,
.alkyd-preview-controls .ncs-box button,
.alkyd-preview-controls .dulux-box button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 800;
}

.alkyd-preview-controls .ral-box button,
.alkyd-preview-controls .ncs-box button,
.alkyd-preview-controls .dulux-box button {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    align-self: stretch;
}

.alkyd-preview-controls .ncs-box {
    grid-template-columns: auto minmax(88px, 110px) auto minmax(110px, 1fr);
}

.alkyd-preview-controls .ncs-box > strong,
.alkyd-preview-controls .ncs-box > button,
.alkyd-preview-controls .ncs-box > #ncs_info {
    grid-column: 1 / -1;
}

.alkyd-preview-controls .ncs-box > span {
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
}

.alkyd-preview-inline-note {
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.alkyd-preview-hidden-info {
    display: none !important;
}

#alkyd_preview_controls .reset-box,
#alkyd_preview_controls #custom_reset,
#alkyd_preview_quote_stat {
    display: none !important;
}

.color-box.alkyd-summary-box {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0 0 16px !important;
    padding: 14px 16px;
    border: 2px solid var(--global-palette7,#eeeeee);
   border-radius: 3px;
    /*background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);*/
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto auto;
    gap: 14px 18px;
    align-items: center;
    box-sizing: border-box;
}

.alkyd-summary-copy,
.alkyd-summary-price {
    min-width: 0;
}

.alkyd-summary-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5fb;
    color: #1e5fa8;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.color-box.alkyd-summary-box .alkyd-summary-code {
    display: block;
    margin: 8px 0 4px;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.alkyd-summary-color-label {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.alkyd-summary-color {
    display: block;
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    color: #334155;
    overflow-wrap: anywhere;
}

.alkyd-summary-price {
    display: grid;
    gap: 4px;
    justify-items: end;
}

.alkyd-summary-price-label {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.color-box.alkyd-summary-box .alkyd-summary-price-value {
    display: block;
    margin: 0;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-open,
.single-product .product_cat-farby-do-scian .alkyd-summary-open,
.single-product .product_cat-farby-alkidowe .alkyd-summary-open,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-open,
.single-product .product_cat-farby-fasadowe .alkyd-summary-open,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    white-space: nowrap;
}

.alkyd-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 99999;
}

.alkyd-modal.is-open {
    display: flex;
}

.alkyd-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
}

.alkyd-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 36px));
    max-height: calc(100vh - 36px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 20px;
    background: #f8fbff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
    overflow: hidden;
}

.alkyd-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #dbe4ef;
    background: #ffffff;
}

.alkyd-modal__copy {
    min-width: 0;
}

.alkyd-modal__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.alkyd-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef5fb;
    color: #1e5fa8;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alkyd-modal__title {
    display: block;
    margin: 10px 0 0;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 100;
    color: #0f172a;
}

.alkyd-modal__save {
    appearance: none;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid #1e5fa8;
    border-radius: 14px;
    background: #1e5fa8;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.alkyd-modal__save:hover {
    background: #194f8c;
    border-color: #194f8c;
    box-shadow: 0 10px 18px rgba(30, 95, 168, 0.18);
}

.alkyd-modal__close {
    appearance: none;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.alkyd-modal__content {
    padding: 18px;
    overflow: auto;
}

.alkyd-modal__content .alkyd-preview-box {
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: none;
}

.alkyd-modal__content .alkyd-preview-head {
    order: 2;
    margin: 0;
}

.alkyd-modal__content #alkyd_preview_controls {
    order: 1;
    margin: 0;
}

.alkyd-modal__content .alkyd-preview-body {
    order: 3;
}

.alkyd-preview-mount {
    display: none !important;
}

body.alkyd-modal-open {
    overflow: hidden;
}

#alkyd_preview_quote_meta,
#alkyd_preview_recipe {
    min-width: 0;
    width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .color-box.alkyd-preview-box {
        padding: 16px 16px 14px 18px;
    }

    .alkyd-preview-head {
        gap: 12px;
        margin-bottom: 12px;
    }

    .alkyd-preview-controls-grid {
        grid-template-columns: 1fr;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        gap: 18px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
        padding: 20px 18px 18px;
        border-radius: 24px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
        min-height: 84px;
        margin-bottom: 12px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
        background-size: auto, auto, 132px auto;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
        background-size: auto, auto, 116px auto;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
        background-size: auto, auto, 150px auto;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        width: 198px;
        height: 198px;
        bottom: -94px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
        grid-template-columns: minmax(98px, 1fr) minmax(68px, 0.7fr) 44px minmax(96px, 1fr);
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box input,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box input,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box input,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span {
        height: 54px;
        font-size: 16px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span {
        font-size: 17px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
        min-height: 58px;
        font-size: 16px;
    }

    .color-box.alkyd-summary-box {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .alkyd-summary-price {
        justify-items: start;
    }

    .color-box.alkyd-summary-box .alkyd-summary-price-value,
    .single-product .product_cat-farby-akrylowe .alkyd-summary-open,
    .single-product .product_cat-farby-do-scian .alkyd-summary-open,
    .single-product .product_cat-farby-alkidowe .alkyd-summary-open,
    .single-product .product_cat-farby-epoksydowe .alkyd-summary-open,
    .single-product .product_cat-farby-fasadowe .alkyd-summary-open,
    .single-product .product_cat-farby-poliuretanowe .alkyd-summary-open {
        width: 100%;
    }

    .alkyd-modal {
        padding: 12px;
    }

    .alkyd-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        border-radius: 18px;
    }

    .alkyd-modal__header,
    .alkyd-modal__content {
        padding: 14px;
    }

    .alkyd-modal__title {
        font-size: 21px;
    }

    .alkyd-preview-body,
    .alkyd-preview-meta {
        grid-template-columns: 1fr;
    }

    .alkyd-preview-controls .ncs-box {
        grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
    }

    .alkyd-preview-inline-actions {
        width: 100%;
    }

    .alkyd-preview-inline-actions .reset-box,
    .alkyd-preview-inline-actions #custom_reset {
        width: 100%;
    }
}

.alkyd-preview-recipe {
    display: grid;
    gap: 14px;
}

.alkyd-preview-summary {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #f8fafc;
}

.alkyd-preview-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 1.4;
    color: #334155;
}

.alkyd-preview-summary-row strong {
    color: #0f172a;
}

.alkyd-preview-summary-row.is-total {
    padding-top: 8px;
    border-top: 1px solid #dbe4ef;
    font-weight: 800;
}

.alkyd-preview-summary-row.is-total strong {
    font-size: 16px;
}

.alkyd-preview-recipe-list {
    display: grid;
    gap: 10px;
}

.alkyd-preview-recipe-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #ffffff;
    min-width: 0;
}

.alkyd-preview-recipe-copy,
.alkyd-preview-recipe-values {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.alkyd-preview-recipe-copy strong,
.alkyd-preview-recipe-values span {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f172a;
}

.alkyd-preview-recipe-copy small,
.alkyd-preview-recipe-values small {
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.alkyd-preview-recipe-values {
    justify-items: end;
    text-align: right;
}

/* ===================== */
/* WYŚRODKOWANIE TEKSTU W PRZYCISKACH */

.single_add_to_cart_button,
button.single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button {

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

/* KUP TERAZ (jeśli osobny przycisk) */
button[name="buy_now"],
.buy-now-button,
.single_buy_now_button {

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.single-product .summary.entry-summary a.button.alt:not(.buy-now-button):not(.single_buy_now_button) {
    display: inline-block !important;
}

.single-product .summary.entry-summary button[name="buy_now"],
.single-product .summary.entry-summary .buy-now-button,
.single-product .summary.entry-summary .single_buy_now_button {
    display: inline-flex !important;
}

/* ===================== */
/* FORMULARZ WYCENY FARBY */

.color-box.quote-box {

    position: relative;
    border-left: none;
    width: 100%;
    max-width: 100%;
    padding: 20px 20px 18px 22px;
    border: 1px solid #d7e2ee;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    overflow: visible;
    transition: none;
    box-sizing: border-box;
    min-width: 0;
    font-family: var(--global-body-font-family, Mulish, sans-serif);

}

.color-box.quote-box,
.color-box.quote-box *,
.color-box.quote-box *::before,
.color-box.quote-box *::after {
    box-sizing: border-box;
}

/* pasek RAL + NCS */

.color-box.quote-box::before {

    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        #f4a100 0%,
        #f4a100 50%,
        #1e5fa8 50%,
        #1e5fa8 100%
    );

    border-radius: 6px 0 0 6px;

}

.quote-box-head {
    padding-right: 10px;
}

.color-box.quote-box .quote-box-head strong {
    font-family: var(--global-body-font-family, Mulish, sans-serif);
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #10253f;
}

.quote-box-intro {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.quote-mode-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.color-box.quote-box .quote-mode-btn {
    flex: 1 1 180px;
    min-width: 0;
    margin-top: 0;
    width: auto;
    max-width: none;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.color-box.quote-box .quote-mode-btn.is-active {
    background: #1e5fa8;
    border-color: #1e5fa8;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(30, 95, 168, 0.18);
}

.quote-mode-panel {
    margin-top: 16px;
}

.quote-mode-panel[hidden] {
    display: none !important;
}

.quote-mode-panel-white {
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
}

.quote-panel-title {
    margin-bottom: 8px;
}

.quote-panel-copy {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    width: 100%;
    min-width: 0;
}

.quote-field-full {
    grid-column: 1 / -1;
}

.quote-field {
    min-width: 0;
}

.quote-select-shell {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* układ pĂłl */

.color-box.quote-box label {
    display: block;
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #1e293b;
}

/* inputy */

.color-box.quote-box input,
.color-box.quote-box select {

    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    width: 100%;
    max-width: none;
    min-height: 48px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.4;

}

.quote-native-select {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.color-box.quote-box .quote-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 44px 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    color: #1e293b;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.color-box.quote-box .quote-select-trigger-text {
    display: block;
    width: 100%;
    min-width: 0;
    padding-right: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.color-box.quote-box .quote-select-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.18s ease;
}

.color-box.quote-box .quote-select-trigger.is-placeholder {
    color: #64748b;
}

.color-box.quote-box .quote-select-shell.is-open .quote-select-trigger {
    border-color: #1e5fa8;
    box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.12);
    background: #ffffff;
}

.color-box.quote-box .quote-select-shell.is-open .quote-select-trigger::after {
    transform: translateY(-30%) rotate(-135deg);
}

.quote-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 30;
    padding: 6px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    max-height: 260px;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.22s ease;
}

.color-box.quote-box .quote-select-shell.is-open .quote-select-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.color-box.quote-box .quote-select-option {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #1e293b;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.color-box.quote-box .quote-select-option:hover {
    background: #eff6ff;
    color: #0f3f75;
}

.color-box.quote-box .quote-select-option.is-selected {
    background: #1e5fa8;
    color: #ffffff;
}

.color-box.quote-box .quote-select-option.is-placeholder:not(.is-selected) {
    color: #64748b;
}

.quote-box-hint {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    max-width: none;
}

.color-box.quote-box input:focus,
.color-box.quote-box select:focus {
    outline: none;
    border-color: #1e5fa8;
    box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.12);
    background: #ffffff;
}

.quote-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 102px;
    gap: 14px 16px;
    align-items: end;
    margin-top: 16px;
    width: 100%;
    min-width: 0;
}

.quote-field-size {
    min-width: 0;
}

.quote-field-qty {
    min-width: 0;
}

.quote-submit {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    grid-column: 1 / -1;
}


/* Dulux popup cards: visible logos + equal columns + stable NCS field */
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    padding: 22px 18px 20px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image:
        radial-gradient(circle at 86% 18%, rgba(255, 176, 78, 0.26) 0%, rgba(255, 176, 78, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 250, 246, 0.68) 100%);
    background-position: center center, center center;
    background-size: auto, auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image:
        radial-gradient(circle at 84% 18%, rgba(96, 232, 213, 0.24) 0%, rgba(96, 232, 213, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(245, 255, 252, 0.68) 100%);
    background-position: center center, center center;
    background-size: auto, auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image:
        radial-gradient(circle at 86% 18%, rgba(255, 213, 96, 0.26) 0%, rgba(255, 213, 96, 0) 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(251, 248, 241, 0.68) 100%);
    background-position: center center, center center;
    background-size: auto, auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    top: 22px;
    left: 50%;
    right: auto;
    bottom: auto;
    height: 86px;
    border-radius: 0;
    transform: translateX(-50%);
    opacity: 0.96;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    width: 170px;
    background-image: url('legacy-images/customizer-image-1-ffde0bbb9321.png');
    filter: drop-shadow(0 6px 16px rgba(255, 160, 67, 0.16));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    width: 174px;
    background-image: url('legacy-images/customizer-image-5-eaecd755998b.gif');
    filter: drop-shadow(0 6px 14px rgba(82, 164, 154, 0.16));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    width: 224px;
    background-image: url('legacy-images/customizer-image-2-20d2937e91bb.png');
    filter: drop-shadow(0 6px 14px rgba(108, 132, 122, 0.14));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
    min-height: 88px;
    margin-bottom: 12px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
    grid-template-columns: minmax(84px, 0.95fr) minmax(72px, 0.8fr) 38px minmax(88px, 0.98fr);
    column-gap: 0;
    row-gap: 14px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box input {
    height: 56px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    padding: 0 18px;
    font-size: 16px;
    font-weight: 700;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    font-size: 16px;
    padding: 0 14px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits {
    text-align: center;
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
        padding: 18px 16px 16px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        top: 18px;
        height: 72px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
        width: 146px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
        width: 150px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        width: 188px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
        min-height: 74px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
        grid-template-columns: minmax(76px, 0.92fr) minmax(66px, 0.78fr) 34px minmax(84px, 1fr);
    }
}/* pole ilości */

/* Dulux popup cards: closer to reference image */
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    min-height: 328px;
    padding: 28px 24px 24px;
    overflow: visible;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 22px 48px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px) saturate(138%);
    -webkit-backdrop-filter: blur(16px) saturate(138%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 224, 170, 0.2),
        0 0 82px rgba(255, 163, 51, 0.28);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(181, 250, 241, 0.2),
        0 0 86px rgba(98, 238, 219, 0.24);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 22px 48px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 230, 163, 0.18),
        0 0 88px rgba(255, 198, 68, 0.24);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    inset: -34px -22px -28px -22px;
    z-index: 0;
    border-radius: 42px;
    opacity: 0.98;
    filter: saturate(1.08);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image:
        radial-gradient(circle at 8% 56%, rgba(255, 165, 42, 0.72) 0%, rgba(255, 165, 42, 0.5) 16%, rgba(255, 165, 42, 0) 44%),
        radial-gradient(circle at 16% 84%, rgba(255, 204, 107, 0.48) 0%, rgba(255, 204, 107, 0.34) 20%, rgba(255, 204, 107, 0) 46%),
        radial-gradient(circle at 34% 28%, rgba(255, 236, 193, 0.44) 0%, rgba(255, 236, 193, 0.18) 14%, rgba(255, 236, 193, 0) 26%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.16) 12%, rgba(255, 255, 255, 0) 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 249, 241, 0.58) 100%);
    background-position: center center;
    background-size: auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image:
        repeating-linear-gradient(132deg, rgba(194, 255, 247, 0.2) 0px, rgba(194, 255, 247, 0.2) 2px, rgba(194, 255, 247, 0) 2px, rgba(194, 255, 247, 0) 56px),
        repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.16) 0px, rgba(255, 255, 255, 0.16) 2px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 62px),
        radial-gradient(circle at 82% 16%, rgba(210, 255, 250, 0.86) 0%, rgba(210, 255, 250, 0.24) 11%, rgba(210, 255, 250, 0) 28%),
        radial-gradient(circle at 28% 84%, rgba(108, 236, 218, 0.36) 0%, rgba(108, 236, 218, 0.18) 18%, rgba(108, 236, 218, 0) 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(243, 255, 252, 0.56) 100%);
    background-position: center center;
    background-size: auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image:
        linear-gradient(126deg, rgba(255, 170, 57, 0) 0%, rgba(255, 170, 57, 0.34) 18%, rgba(255, 170, 57, 0) 34%, rgba(74, 213, 227, 0) 52%, rgba(74, 213, 227, 0.22) 68%, rgba(74, 213, 227, 0) 86%),
        radial-gradient(circle at 16% 74%, rgba(255, 192, 80, 0.6) 0%, rgba(255, 192, 80, 0.26) 18%, rgba(255, 192, 80, 0) 44%),
        radial-gradient(circle at 84% 18%, rgba(255, 239, 168, 0.78) 0%, rgba(255, 239, 168, 0.22) 12%, rgba(255, 239, 168, 0) 30%),
        radial-gradient(circle at 72% 82%, rgba(104, 222, 232, 0.28) 0%, rgba(104, 222, 232, 0.12) 16%, rgba(104, 222, 232, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(252, 249, 240, 0.58) 100%);
    background-position: center center;
    background-size: auto;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    top: 22px;
    left: 50%;
    bottom: auto;
    height: 94px;
    transform: translateX(-50%);
    opacity: 1;
    z-index: 1;
    background-position: center center;
    background-size: contain;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    width: 182px;
    filter: drop-shadow(0 10px 22px rgba(255, 164, 63, 0.18));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    width: 196px;
    filter: drop-shadow(0 10px 24px rgba(88, 223, 214, 0.16));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    width: 236px;
    filter: drop-shadow(0 12px 26px rgba(255, 195, 72, 0.16));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
    min-height: 104px;
    margin: 0 0 16px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
    grid-template-columns: minmax(104px, 1fr) minmax(86px, 0.76fr) 44px minmax(104px, 0.98fr);
    column-gap: 0;
    row-gap: 16px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box input {
    min-width: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    padding: 0 20px;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    font-size: 17px;
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
        min-height: auto;
        padding: 22px 18px 18px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
        inset: -24px -12px -18px -12px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        top: 18px;
        height: 76px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
        width: 152px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
        width: 166px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        width: 202px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
        min-height: 82px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box {
        grid-template-columns: minmax(84px, 0.94fr) minmax(72px, 0.74fr) 36px minmax(84px, 0.96fr);
    }
}

/* Dulux popup cards: exact cropped artwork with aligned overlay controls */
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls {
    --dulux-art-ral: url('/wp-content/uploads/RAL1-card-clean.png');
    --dulux-art-ncs: url('/wp-content/uploads/NCS1-card-clean.png');
    --dulux-art-dulux: url('/wp-content/uploads/DULUX1-card-clean.png');
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    position: relative;
    display: block;
    min-height: 0;
    aspect-ratio: 69 / 58;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    pointer-events: none;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image: var(--dulux-art-ral);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image: var(--dulux-art-ncs);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image: var(--dulux-art-dulux);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    content: none !important;
    display: none !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box {
    position: relative;
    display: block;
    height: 100%;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    position: absolute;
    min-width: 0;
    padding: 0 24px;
    border: 1px solid rgba(191, 197, 208, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.92);
    color: #6a6d75;
    font-size: clamp(17px, 1.24vw, 24px);
    font-weight: 500;
    letter-spacing: 0.01em;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code {
    top: 36.7%;
    left: 8.8%;
    width: 82.1% !important;
    height: 24.1%;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    top: 48.6%;
    left: 7.1%;
    width: 85.8% !important;
    height: 22%;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix:focus {
    outline: none;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix::placeholder {
    color: #a0a3aa;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    text-transform: uppercase;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button {
    position: absolute;
    left: 8.9%;
    top: 68.8%;
    width: 82%;
    height: 19.2%;
    min-width: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-shadow: none;
    z-index: 3;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    position: absolute;
    left: 7.1%;
    top: 73.8%;
    width: 85.8%;
    height: 20.1%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-shadow: none;
    z-index: 3;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box::after {
    content: "";
    position: absolute;
    top: 37%;
    left: 5.9%;
    width: 88.1%;
    height: 24.1%;
    border: 1px solid rgba(191, 197, 208, 0.95);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.92);
    z-index: 1;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    position: absolute;
    top: 37%;
    height: 24.1%;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #656972;
    font-size: clamp(16px, 1.18vw, 23px);
    font-weight: 500;
    letter-spacing: 0.01em;
    z-index: 2;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span {
    display: flex;
    align-items: center;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    left: 9.9%;
    width: 21.4%;
    justify-content: flex-start;
    padding: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits {
    left: 36.8%;
    width: 17.1% !important;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    left: 55.4%;
    width: 6.6%;
    justify-content: center;
    padding: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    left: 65.3%;
    width: 18.9% !important;
    min-width: 0;
    padding: 0 8px;
    text-align: left;
    text-transform: uppercase;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button {
    position: absolute;
    left: 6.1%;
    top: 74.2%;
    width: 87.8%;
    height: 19.2%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-shadow: none;
    z-index: 3;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box.is-selected-system,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box.is-selected-system,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box.is-selected-system {
    transform: none;
    box-shadow: none;
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

#paint_qty {
    width: 100%;
    max-width: none;
    text-align: center;
}

.quote-box-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* przycisk */

.color-box.quote-box #paint_quote_btn {
    margin-top: 0;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: none;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(30, 95, 168, 0.18);
}

.color-box.quote-box #paint_quote_btn[disabled] {
    opacity: 0.7;
    cursor: wait;
}

.quote-box-contact {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.quote-box-contact a {
    color: #1e5fa8;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.quote-box-contact a:hover {
    text-decoration: underline;
}

/* komunikat */

#paint_quote_info {
    margin-top: 14px;
    font-weight: 600;
    display: none;
    max-width: none;
    padding: 12px 14px;
    border-radius: 10px;
    width: 100%;
}

#paint_quote_info.has-message {
    display: block;
}

#paint_quote_info.is-success {
    color: #166534;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

#paint_quote_info.is-error {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

#paint_quote_info.is-loading {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

@media (max-width: 767px) {

    .color-box.quote-box {
        width: 100%;
        padding: 16px 14px 16px 18px;
        border-radius: 14px;
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
    }

    .quote-mode-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .color-box.quote-box .quote-mode-btn {
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        margin-bottom: 0;
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: 0;
        box-shadow: none;
        white-space: nowrap;
    }

    .quote-grid,
    .quote-action-row {
        grid-template-columns: 1fr;
    }

    .quote-box-head {
        padding-right: 0;
    }

    .color-box.quote-box .quote-box-head strong {
        font-size: 20px;
    }

    .quote-box-intro {
        font-size: 14px;
    }

    .quote-select-menu {
        top: calc(100% + 6px);
        max-height: 220px;
    }

    .quote-box-hint,
    .quote-box-contact {
        font-size: 12px;
    }

}

/* Dulux popup final CSS */

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls {
    --dulux-ral-logo: url('legacy-images/customizer-image-3-30cb9451c8fe.png');
    --dulux-ncs-logo: url('legacy-images/customizer-image-4-e50ebabf2373.png');
    --dulux-prof-logo: url('legacy-images/customizer-image-2-20d2937e91bb.png');
    --dulux-card-border: rgba(255, 255, 255, 0.78);
    --dulux-field-border: rgba(180, 192, 207, 0.78);
    --dulux-field-bg: rgba(255, 255, 255, 0.95);
    --dulux-field-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 22px rgba(21, 44, 74, 0.06);
    --dulux-button-bg: linear-gradient(180deg, #1f73d8 0%, #1357b8 100%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    position: relative;
    display: grid;
    min-height: 332px;
    height: auto;
    aspect-ratio: auto;
    padding: 122px 22px 22px;
    overflow: hidden;
    border: 1px solid var(--dulux-card-border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.56) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 22px 46px rgba(15, 23, 42, 0.12);
    isolation: isolate;
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-content: start;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
    grid-template-columns: minmax(88px, 1fr) minmax(78px, 0.8fr) 40px minmax(96px, 1fr);
    column-gap: 0;
    row-gap: 18px;
    align-content: start;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.98;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image:
        radial-gradient(circle at 14% 76%, rgba(255, 181, 69, 0.56) 0%, rgba(255, 181, 69, 0.26) 18%, rgba(255, 181, 69, 0) 44%),
        radial-gradient(circle at 32% 20%, rgba(255, 241, 216, 0.62) 0%, rgba(255, 241, 216, 0.2) 14%, rgba(255, 241, 216, 0) 30%),
        radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.16) 14%, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at 92% 70%, rgba(255, 194, 96, 0.18) 0%, rgba(255, 194, 96, 0) 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 248, 238, 0.54) 100%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image:
        repeating-linear-gradient(132deg, rgba(184, 248, 241, 0.24) 0px, rgba(184, 248, 241, 0.24) 2px, rgba(184, 248, 241, 0) 2px, rgba(184, 248, 241, 0) 52px),
        repeating-linear-gradient(34deg, rgba(255, 255, 255, 0.18) 0px, rgba(255, 255, 255, 0.18) 2px, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 60px),
        radial-gradient(circle at 84% 16%, rgba(213, 255, 251, 0.9) 0%, rgba(213, 255, 251, 0.26) 12%, rgba(213, 255, 251, 0) 28%),
        radial-gradient(circle at 18% 82%, rgba(84, 232, 214, 0.36) 0%, rgba(84, 232, 214, 0.16) 18%, rgba(84, 232, 214, 0) 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(241, 255, 252, 0.56) 100%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image:
        linear-gradient(126deg, rgba(255, 165, 44, 0) 0%, rgba(255, 165, 44, 0.36) 20%, rgba(255, 165, 44, 0) 36%, rgba(73, 215, 230, 0) 54%, rgba(73, 215, 230, 0.24) 70%, rgba(73, 215, 230, 0) 86%),
        radial-gradient(circle at 16% 76%, rgba(255, 184, 74, 0.56) 0%, rgba(255, 184, 74, 0.24) 18%, rgba(255, 184, 74, 0) 42%),
        radial-gradient(circle at 84% 16%, rgba(255, 239, 164, 0.82) 0%, rgba(255, 239, 164, 0.22) 12%, rgba(255, 239, 164, 0) 28%),
        radial-gradient(circle at 76% 82%, rgba(104, 222, 232, 0.3) 0%, rgba(104, 222, 232, 0.12) 16%, rgba(104, 222, 232, 0) 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(252, 249, 240, 0.58) 100%);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    content: "";
    position: absolute;
    top: 24px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    pointer-events: none;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    width: 168px;
    height: 68px;
    background-image: var(--dulux-ral-logo);
    filter: drop-shadow(0 8px 18px rgba(255, 150, 42, 0.16));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    width: 182px;
    height: 70px;
    background-image: var(--dulux-ncs-logo);
    filter: drop-shadow(0 8px 18px rgba(79, 210, 196, 0.14));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    width: 214px;
    height: 84px;
    background-image: var(--dulux-prof-logo);
    filter: drop-shadow(0 10px 20px rgba(255, 182, 62, 0.15));
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > strong,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    z-index: 2;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    width: 100% !important;
    min-width: 0;
    height: 58px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--dulux-field-border);
    border-radius: 18px;
    background: var(--dulux-field-bg);
    box-shadow: var(--dulux-field-shadow);
    color: #66717f;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
    -webkit-appearance: none;
    appearance: none;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    display: block;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits::placeholder,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix::placeholder {
    color: #9ea6b1;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits:focus,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix:focus {
    outline: none;
    border-color: rgba(53, 129, 223, 0.44);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 0 0 3px rgba(49, 121, 216, 0.12);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    text-transform: uppercase;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    border-radius: 0;
    border-right-width: 0;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 58px;
    padding: 0 16px;
    border: 1px solid var(--dulux-field-border);
    border-right-width: 0;
    border-radius: 18px 0 0 18px;
    background: var(--dulux-field-bg);
    box-shadow: var(--dulux-field-shadow);
    color: #66717f;
    font-size: 17px;
    font-weight: 600;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits {
    grid-column: 2;
    text-align: center;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    grid-column: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    border: 1px solid var(--dulux-field-border);
    border-right-width: 0;
    background: var(--dulux-field-bg);
    box-shadow: var(--dulux-field-shadow);
    color: #66717f;
    font-size: 17px;
    font-weight: 500;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    grid-column: 4;
    border-radius: 0 18px 18px 0;
    text-align: left;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    width: 100%;
    min-height: 60px;
    height: 60px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(14, 70, 153, 0.16);
    border-radius: 18px;
    background: var(--dulux-button-bg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 14px 28px rgba(17, 77, 162, 0.22);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(7, 34, 76, 0.14);
    cursor: pointer;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button:hover,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button:hover,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 18px 34px rgba(17, 77, 162, 0.24);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button:focus-visible,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button:focus-visible,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button:focus-visible {
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 0 0 3px rgba(49, 121, 216, 0.15),
        0 14px 28px rgba(17, 77, 162, 0.22);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_info {
    grid-column: 1 / -1;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_info,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_info,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_info {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    z-index: 2;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box.is-selected-system,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box.is-selected-system,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box.is-selected-system {
    transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 22px 46px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
        min-height: auto;
        padding: 112px 18px 18px;
        border-radius: 24px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
        width: 150px;
        height: 62px;
        top: 22px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
        width: 162px;
        height: 64px;
        top: 20px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        width: 188px;
        height: 76px;
        top: 18px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
        grid-template-columns: minmax(74px, 0.92fr) minmax(64px, 0.8fr) 34px minmax(82px, 1fr);
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
        height: 54px;
        font-size: 16px;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
        min-height: 56px;
        height: 56px;
        font-size: 15px;
    }
}

/* Dulux popup conflict cleanup */
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    content: "" !important;
    display: block !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    top: 24px !important;
    width: 168px !important;
    height: 68px !important;
    background-image: var(--dulux-ral-logo) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    filter: drop-shadow(0 8px 18px rgba(255, 150, 42, 0.16)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    top: 24px !important;
    width: 182px !important;
    height: 70px !important;
    background-image: var(--dulux-ncs-logo) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    filter: drop-shadow(0 8px 18px rgba(79, 210, 196, 0.14)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    top: 22px !important;
    width: 214px !important;
    height: 84px !important;
    background-image: var(--dulux-prof-logo) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    filter: drop-shadow(0 10px 20px rgba(255, 182, 62, 0.15)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 2 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    display: flex !important;
    align-items: center !important;
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
        top: 22px !important;
        width: 150px !important;
        height: 62px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
        top: 20px !important;
        width: 162px !important;
        height: 64px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        top: 18px !important;
        width: 188px !important;
        height: 76px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
        height: 54px !important;
        font-size: 16px !important;
    }
}

.single-product .product_cat-farby-akrylowe .color-box.alkyd-summary-box,
.single-product .product_cat-farby-do-scian .color-box.alkyd-summary-box,
.single-product .product_cat-farby-alkidowe .color-box.alkyd-summary-box,
.single-product .product_cat-farby-epoksydowe .color-box.alkyd-summary-box,
.single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box,
.single-product .product_cat-farby-poliuretanowe .color-box.alkyd-summary-box {
    padding: 12px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "copy copy"
        "price action";
    gap: 10px 14px;
    align-items: end;
}

.single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "copy action"
        "price action";
    gap: 12px 20px;
    align-items: center;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-copy,
.single-product .product_cat-farby-do-scian .alkyd-summary-copy,
.single-product .product_cat-farby-alkidowe .alkyd-summary-copy,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-copy,
.single-product .product_cat-farby-fasadowe .alkyd-summary-copy,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-copy {
    grid-area: copy;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-eyebrow,
.single-product .product_cat-farby-do-scian .alkyd-summary-eyebrow,
.single-product .product_cat-farby-alkidowe .alkyd-summary-eyebrow,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-eyebrow,
.single-product .product_cat-farby-fasadowe .alkyd-summary-eyebrow,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-eyebrow {
    padding: 5px 9px;
    font-size: 10px;
}

.single-product .product_cat-farby-akrylowe .color-box.alkyd-summary-box .alkyd-summary-code,
.single-product .product_cat-farby-do-scian .color-box.alkyd-summary-box .alkyd-summary-code,
.single-product .product_cat-farby-alkidowe .color-box.alkyd-summary-box .alkyd-summary-code,
.single-product .product_cat-farby-epoksydowe .color-box.alkyd-summary-box .alkyd-summary-code,
.single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box .alkyd-summary-code,
.single-product .product_cat-farby-poliuretanowe .color-box.alkyd-summary-box .alkyd-summary-code {
    margin: 6px 0 0;
    font-size: 18px;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-note,
.single-product .product_cat-farby-do-scian .alkyd-summary-note,
.single-product .product_cat-farby-alkidowe .alkyd-summary-note,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-note,
.single-product .product_cat-farby-fasadowe .alkyd-summary-note,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-note {
    display: none;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-price,
.single-product .product_cat-farby-do-scian .alkyd-summary-price,
.single-product .product_cat-farby-alkidowe .alkyd-summary-price,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-price,
.single-product .product_cat-farby-fasadowe .alkyd-summary-price,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-price {
    grid-area: price;
    gap: 2px;
    justify-items: start;
    align-self: end;
}

.single-product .product_cat-farby-fasadowe .alkyd-summary-price {
    justify-items: start;
    align-self: start;
}

.single-product .product_cat-farby-akrylowe .color-box.alkyd-summary-box .alkyd-summary-price-value,
.single-product .product_cat-farby-do-scian .color-box.alkyd-summary-box .alkyd-summary-price-value,
.single-product .product_cat-farby-alkidowe .color-box.alkyd-summary-box .alkyd-summary-price-value,
.single-product .product_cat-farby-epoksydowe .color-box.alkyd-summary-box .alkyd-summary-price-value,
.single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box .alkyd-summary-price-value,
.single-product .product_cat-farby-poliuretanowe .color-box.alkyd-summary-box .alkyd-summary-price-value {
    font-size: 20px;
}

.single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box .alkyd-summary-price-value {
    font-size: 18px;
    line-height: 1.2;
    white-space: normal;
}

.single-product .product_cat-farby-akrylowe .alkyd-summary-open,
.single-product .product_cat-farby-do-scian .alkyd-summary-open,
.single-product .product_cat-farby-alkidowe .alkyd-summary-open,
.single-product .product_cat-farby-epoksydowe .alkyd-summary-open,
.single-product .product_cat-farby-fasadowe .alkyd-summary-open,
.single-product .product_cat-farby-poliuretanowe .alkyd-summary-open {
    grid-area: action;
    justify-self: end;
    min-width: 148px;
    min-height: 44px;
    padding: 0 18px;
}

.single-product .product_cat-farby-fasadowe .alkyd-summary-open {
    align-self: center;
}

.single-product .product_cat-farby-akrylowe form.cart .woocommerce-variation-add-to-cart,
.single-product .product_cat-farby-do-scian form.cart .woocommerce-variation-add-to-cart,
.single-product .product_cat-farby-alkidowe form.cart .woocommerce-variation-add-to-cart,
.single-product .product_cat-farby-epoksydowe form.cart .woocommerce-variation-add-to-cart,
.single-product .product_cat-farby-fasadowe form.cart .woocommerce-variation-add-to-cart,
.single-product .product_cat-farby-poliuretanowe form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100%;
    clear: both;
    margin-top: 8px;
    gap: 10px !important;
    align-items: stretch !important;
}

.single-product .product_cat-farby-akrylowe form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product .product_cat-farby-do-scian form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product .product_cat-farby-alkidowe form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product .product_cat-farby-epoksydowe form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product .product_cat-farby-fasadowe form.cart .woocommerce-variation-add-to-cart > .quantity,
.single-product .product_cat-farby-poliuretanowe form.cart .woocommerce-variation-add-to-cart > .quantity {
    display: inline-flex !important;
    min-width: 92px;
    align-self: stretch;
}

.single-product .product_cat-farby-akrylowe form.cart .woocommerce-variation-add-to-cart > .quantity input.qty,
.single-product .product_cat-farby-do-scian form.cart .woocommerce-variation-add-to-cart > .quantity input.qty,
.single-product .product_cat-farby-alkidowe form.cart .woocommerce-variation-add-to-cart > .quantity input.qty,
.single-product .product_cat-farby-epoksydowe form.cart .woocommerce-variation-add-to-cart > .quantity input.qty,
.single-product .product_cat-farby-fasadowe form.cart .woocommerce-variation-add-to-cart > .quantity input.qty,
.single-product .product_cat-farby-poliuretanowe form.cart .woocommerce-variation-add-to-cart > .quantity input.qty {
    height: 44px !important;
}

.single-product .product_cat-farby-akrylowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product .product_cat-farby-do-scian form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product .product_cat-farby-alkidowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product .product_cat-farby-epoksydowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product .product_cat-farby-fasadowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
.single-product .product_cat-farby-poliuretanowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    min-height: 44px !important;
}

.single-product .product_cat-farby-akrylowe .buy-now-button,
.single-product .product_cat-farby-akrylowe .single_buy_now_button,
.single-product .product_cat-farby-akrylowe button[name="buy_now"],
.single-product .product_cat-farby-do-scian .buy-now-button,
.single-product .product_cat-farby-do-scian .single_buy_now_button,
.single-product .product_cat-farby-do-scian button[name="buy_now"],
.single-product .product_cat-farby-alkidowe .buy-now-button,
.single-product .product_cat-farby-alkidowe .single_buy_now_button,
.single-product .product_cat-farby-alkidowe button[name="buy_now"],
.single-product .product_cat-farby-epoksydowe .buy-now-button,
.single-product .product_cat-farby-epoksydowe .single_buy_now_button,
.single-product .product_cat-farby-epoksydowe button[name="buy_now"],
.single-product .product_cat-farby-fasadowe .buy-now-button,
.single-product .product_cat-farby-fasadowe .single_buy_now_button,
.single-product .product_cat-farby-fasadowe button[name="buy_now"],
.single-product .product_cat-farby-poliuretanowe .buy-now-button,
.single-product .product_cat-farby-poliuretanowe .single_buy_now_button,
.single-product .product_cat-farby-poliuretanowe button[name="buy_now"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    min-height: 44px !important;
    margin-top: 10px !important;
}

@media (max-width: 767px) {
    .single-product .product_cat-farby-akrylowe .color-box.alkyd-summary-box,
    .single-product .product_cat-farby-do-scian .color-box.alkyd-summary-box,
    .single-product .product_cat-farby-alkidowe .color-box.alkyd-summary-box,
    .single-product .product_cat-farby-epoksydowe .color-box.alkyd-summary-box,
    .single-product .product_cat-farby-fasadowe .color-box.alkyd-summary-box,
    .single-product .product_cat-farby-poliuretanowe .color-box.alkyd-summary-box {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "price"
            "action";
    }

    .single-product .product_cat-farby-akrylowe .alkyd-summary-open,
    .single-product .product_cat-farby-do-scian .alkyd-summary-open,
    .single-product .product_cat-farby-alkidowe .alkyd-summary-open,
    .single-product .product_cat-farby-epoksydowe .alkyd-summary-open,
    .single-product .product_cat-farby-fasadowe .alkyd-summary-open,
    .single-product .product_cat-farby-poliuretanowe .alkyd-summary-open {
        justify-self: stretch;
        width: 100%;
        min-width: 0;
    }

    .single-product .product_cat-farby-akrylowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .single-product .product_cat-farby-do-scian form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .single-product .product_cat-farby-alkidowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .single-product .product_cat-farby-epoksydowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .single-product .product_cat-farby-fasadowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .single-product .product_cat-farby-poliuretanowe form.cart .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
        flex-basis: 100%;
    }
}

@media screen and (min-width: 601px) and (max-width: 767px) {

    .single-product .product-page-cms-service .elementor-container {
        flex-wrap: wrap !important;
    }

    .single-product .product-page-cms-service .elementor-column.elementor-element {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

}

@media (max-width: 1366px) and (min-width: 768px) {

    .color-box.quote-box {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px 16px 20px;
        border-radius: 14px;
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
    }

    .quote-mode-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .color-box.quote-box .quote-mode-btn {
        flex: initial;
        width: 100%;
        min-height: 40px;
        padding: 8px 10px;
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: 0;
        box-shadow: none;
        white-space: normal;
    }

    .color-box.quote-box .quote-box-head strong {
        font-size: 20px;
    }

    .quote-box-intro {
        font-size: 14px;
        line-height: 1.55;
    }

    .color-box.quote-box label {
        font-size: 14px;
    }

    .color-box.quote-box input,
    .color-box.quote-box select,
    .color-box.quote-box .quote-select-trigger {
        min-height: 44px;
        font-size: 14px;
    }

    .quote-box-hint,
    .quote-box-contact {
        font-size: 12px;
    }

    .single-product #bt-scroll-up,
    .single-product #bt-scroll-up-reader,
    .single-product .base-color-palette-fixed-switcher {
        display: none !important;
    }

}

@media (max-width: 1024px) {

    .color-box.alkyd-preview-box {
        padding: 18px 18px 16px 20px;
        border-radius: 16px;
    }

    .alkyd-preview-head,
    .alkyd-preview-body {
        grid-template-columns: 1fr;
        display: grid;
    }

    .alkyd-preview-head {
        gap: 14px;
    }

    .alkyd-preview-price-panel {
        min-width: 0;
        width: 100%;
    }

    .alkyd-preview-swatch {
        min-height: 220px;
    }

    .color-box.alkyd-preview-box .alkyd-preview-title,
    .color-box.alkyd-preview-box .alkyd-preview-code,
    .color-box.alkyd-preview-box .alkyd-preview-live-price {
        font-size: 22px;
    }

}

@media (max-width: 767px) {

    .color-box.alkyd-preview-box {
        padding: 16px 14px 14px 18px;
        border-radius: 14px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    }

    .alkyd-preview-eyebrow,
    .alkyd-preview-system {
        font-size: 11px;
        letter-spacing: 0.06em;
    }

    .color-box.alkyd-preview-box .alkyd-preview-title,
    .color-box.alkyd-preview-box .alkyd-preview-code,
    .color-box.alkyd-preview-box .alkyd-preview-live-price {
        font-size: 20px;
    }

    .alkyd-preview-intro,
    .alkyd-preview-note,
    .alkyd-preview-price-panel small {
        font-size: 13px;
        line-height: 1.55;
    }

    .alkyd-preview-visual,
    .alkyd-preview-stat {
        padding: 14px;
    }

    .alkyd-preview-swatch {
        min-height: 180px;
        border-radius: 16px;
    }

    .alkyd-preview-chip {
        width: 100%;
    }

    .alkyd-preview-recipe-row,
    .alkyd-preview-summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .alkyd-preview-recipe-values {
        justify-items: start;
        text-align: left;
    }

}

@media (max-width: 1024px) and (orientation: landscape) {

    .color-box.quote-box {
        width: 100%;
        max-width: 100%;
        padding: 16px 14px 16px 18px;
        border-radius: 14px;
        box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
    }

    .quote-mode-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .color-box.quote-box .quote-mode-btn {
        flex: initial;
        width: 100%;
        min-height: 38px;
        padding: 8px 10px;
        font-size: 13px;
        line-height: 1.2;
        letter-spacing: 0;
        box-shadow: none;
        white-space: normal;
    }

    .quote-grid,
    .quote-action-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .quote-box-head {
        padding-right: 0;
    }

    .color-box.quote-box .quote-box-head strong {
        font-size: 20px;
    }

    .quote-box-intro {
        font-size: 14px;
        line-height: 1.55;
    }

    .color-box.quote-box label {
        font-size: 14px;
    }

    .color-box.quote-box input,
    .color-box.quote-box select,
    .color-box.quote-box .quote-select-trigger {
        min-height: 44px;
        font-size: 14px;
    }

    .quote-select-menu {
        top: calc(100% + 6px);
        max-height: 180px;
    }

    .quote-box-hint,
    .quote-box-contact {
        font-size: 12px;
    }

}

/* ===================== */
/* NAPRAWA UKŁADU KOSZYKA */

/* ===================== */
/* DULUX POPUP POLISH OVERRIDE */

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls {
    --dulux-card-shell: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(255, 255, 255, 0.66) 100%);
    --dulux-card-edge: rgba(255, 255, 255, 0.9);
    --dulux-panel-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 26px 54px rgba(15, 23, 42, 0.15);
    --dulux-field-bg-strong: rgba(255, 255, 255, 0.985);
    --dulux-field-border-strong: rgba(179, 193, 209, 0.94);
    --dulux-field-shadow-strong: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 10px 24px rgba(21, 44, 74, 0.08);
    --dulux-button-shadow-strong: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 30px rgba(17, 77, 162, 0.25);
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.08fr) minmax(0, 0.94fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    display: grid !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 62px 16px 10px !important;
    border: 1px solid var(--dulux-card-edge) !important;
    border-radius: 24px !important;
    background: var(--dulux-card-shell) !important;
    box-shadow: var(--dulux-panel-shadow) !important;
    backdrop-filter: blur(18px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(150%) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: max-content !important;
    align-content: start !important;
    box-sizing: border-box !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
    padding: 60px 12px 10px !important;
    grid-template-columns: minmax(64px, 0.9fr) minmax(68px, 0.84fr) minmax(34px, 0.28fr) minmax(78px, 0.96fr) !important;
    column-gap: 0 !important;
    row-gap: 6px !important;
    align-items: stretch !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box > *,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box > *,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box > * {
    position: relative !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    inset: 0 !important;
    border-radius: inherit !important;
    opacity: 1 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    top: 2px !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image:
        radial-gradient(circle at 16% 18%, rgba(255, 223, 156, 0.84) 0%, rgba(255, 223, 156, 0.38) 16%, rgba(255, 223, 156, 0) 40%),
        radial-gradient(circle at 12% 86%, rgba(255, 180, 66, 0.76) 0%, rgba(255, 180, 66, 0.3) 20%, rgba(255, 180, 66, 0) 44%),
        radial-gradient(circle at 84% 16%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.22) 14%, rgba(255, 255, 255, 0) 30%),
        radial-gradient(circle at 84% 78%, rgba(255, 207, 132, 0.46) 0%, rgba(255, 207, 132, 0.16) 18%, rgba(255, 207, 132, 0) 42%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.54) 0%, rgba(255, 245, 232, 0.82) 100%) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image:
        repeating-linear-gradient(132deg, rgba(169, 244, 238, 0.34) 0px, rgba(169, 244, 238, 0.34) 2px, rgba(169, 244, 238, 0) 2px, rgba(169, 244, 238, 0) 48px),
        radial-gradient(circle at 80% 16%, rgba(216, 255, 250, 0.98) 0%, rgba(216, 255, 250, 0.38) 14%, rgba(216, 255, 250, 0) 34%),
        radial-gradient(circle at 16% 86%, rgba(85, 235, 215, 0.64) 0%, rgba(85, 235, 215, 0.24) 20%, rgba(85, 235, 215, 0) 44%),
        linear-gradient(180deg, rgba(252, 255, 254, 0.52) 0%, rgba(232, 255, 251, 0.82) 100%) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image:
        linear-gradient(125deg, rgba(255, 162, 45, 0) 0%, rgba(255, 162, 45, 0.46) 20%, rgba(255, 162, 45, 0.07) 34%, rgba(96, 219, 232, 0.06) 58%, rgba(96, 219, 232, 0.36) 78%, rgba(96, 219, 232, 0.04) 92%),
        radial-gradient(circle at 16% 18%, rgba(255, 196, 84, 0.84) 0%, rgba(255, 196, 84, 0.36) 18%, rgba(255, 196, 84, 0) 42%),
        radial-gradient(circle at 84% 16%, rgba(255, 241, 164, 0.92) 0%, rgba(255, 241, 164, 0.3) 12%, rgba(255, 241, 164, 0) 32%),
        radial-gradient(circle at 82% 84%, rgba(93, 224, 232, 0.52) 0%, rgba(93, 224, 232, 0.18) 18%, rgba(93, 224, 232, 0) 40%),
        linear-gradient(180deg, rgba(255, 252, 247, 0.5) 0%, rgba(253, 247, 237, 0.82) 100%) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    width: 228px !important;
    height: 78px !important;
    background-position: center 46% !important;
    background-size: auto 144% !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    width: 236px !important;
    height: 78px !important;
    background-position: center 46% !important;
    background-size: auto 144% !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    width: 222px !important;
    height: 78px !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid var(--dulux-field-border-strong) !important;
    background: var(--dulux-field-bg-strong) !important;
    box-shadow: var(--dulux-field-shadow-strong) !important;
    color: #66717f !important;
    font-size: 14px !important;
    line-height: 1 !important;
    align-self: stretch !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code {
    display: block !important;
    border-radius: 15px !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type {
    justify-content: flex-start !important;
    border-right-width: 0 !important;
    border-radius: 15px 0 0 15px !important;
    font-weight: 600 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    border-radius: 0 !important;
    border-right-width: 0 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
    justify-content: center !important;
    padding: 0 !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits {
    text-align: center !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix {
    border-radius: 0 15px 15px 0 !important;
    text-align: left !important;
    padding: 0 8px !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border-radius: 15px !important;
    box-shadow: var(--dulux-button-shadow-strong) !important;
    letter-spacing: 0.02em !important;
    font-size: 14px !important;
}

@media (max-width: 767px) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .alkyd-preview-controls-grid {
        grid-template-columns: 1fr !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
        min-height: auto !important;
        padding: 52px 12px 10px !important;
        border-radius: 20px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
        padding: 50px 10px 10px !important;
        grid-template-columns: minmax(54px, 0.86fr) minmax(56px, 0.82fr) minmax(28px, 0.28fr) minmax(62px, 0.92fr) !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        top: 2px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
        width: 186px !important;
        height: 62px !important;
        background-position: center 46% !important;
        background-size: auto 138% !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
        width: 194px !important;
        height: 62px !important;
        background-position: center 46% !important;
        background-size: auto 138% !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
        width: 186px !important;
        height: 62px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ral_code,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #dulux_palette_code,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_digits,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls #ncs_suffix,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:first-of-type,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box > span:last-of-type {
        min-height: 36px !important;
        height: 36px !important;
        font-size: 13px !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
        min-height: 38px !important;
        height: 38px !important;
        font-size: 13px !important;
    }
}

/* DULUX POPUP VISUAL BOOST */
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    overflow: hidden !important;
    isolation: isolate !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.94),
        inset 0 -20px 34px rgba(255, 255, 255, 0.24),
        0 24px 56px rgba(15, 23, 42, 0.14) !important;
    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box {
    border-color: rgba(255, 208, 136, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -20px 34px rgba(255, 239, 214, 0.34),
        0 24px 56px rgba(15, 23, 42, 0.14),
        0 12px 36px rgba(255, 143, 28, 0.22),
        0 0 32px rgba(255, 184, 76, 0.14) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box {
    border-color: rgba(197, 255, 247, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -20px 34px rgba(235, 255, 251, 0.28),
        0 24px 56px rgba(15, 23, 42, 0.14),
        0 10px 34px rgba(77, 233, 215, 0.16) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box {
    border-color: rgba(152, 207, 255, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -20px 34px rgba(221, 236, 255, 0.34),
        0 24px 56px rgba(15, 23, 42, 0.14),
        0 12px 34px rgba(28, 110, 226, 0.18),
        0 14px 38px rgba(96, 196, 255, 0.18),
        0 0 40px rgba(43, 127, 232, 0.18) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-blend-mode: screen, normal, screen, normal, screen, screen, normal !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -26px 34px rgba(255, 255, 255, 0.18) !important;
    transform-origin: center center !important;
    transition:
        transform 0.32s ease,
        filter 0.32s ease,
        opacity 0.32s ease !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::before {
    background-image:
        linear-gradient(145deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 28%, rgba(255, 255, 255, 0) 44%),
        repeating-linear-gradient(90deg, rgba(255, 172, 76, 0.16) 0px, rgba(255, 172, 76, 0.16) 1px, rgba(255, 172, 76, 0) 1px, rgba(255, 172, 76, 0) 30px),
        radial-gradient(circle at 18% 16%, rgba(255, 196, 98, 0.98) 0%, rgba(255, 196, 98, 0.52) 15%, rgba(255, 196, 98, 0) 36%),
        radial-gradient(circle at 12% 84%, rgba(255, 132, 24, 0.92) 0%, rgba(255, 132, 24, 0.42) 18%, rgba(255, 132, 24, 0) 44%),
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.38) 14%, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 82% 78%, rgba(255, 169, 57, 0.62) 0%, rgba(255, 169, 57, 0.2) 18%, rgba(255, 169, 57, 0) 44%),
        linear-gradient(180deg, rgba(255, 250, 242, 0.56) 0%, rgba(255, 230, 188, 0.96) 100%) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::before {
    background-image:
        linear-gradient(150deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.34) 28%, rgba(255, 255, 255, 0) 44%),
        repeating-linear-gradient(132deg, rgba(152, 244, 236, 0.36) 0px, rgba(152, 244, 236, 0.36) 2px, rgba(152, 244, 236, 0) 2px, rgba(152, 244, 236, 0) 44px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0px, rgba(255, 255, 255, 0.1) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 32px),
        radial-gradient(circle at 20% 84%, rgba(67, 229, 210, 0.78) 0%, rgba(67, 229, 210, 0.28) 18%, rgba(67, 229, 210, 0) 46%),
        radial-gradient(circle at 80% 16%, rgba(223, 255, 252, 0.98) 0%, rgba(223, 255, 252, 0.44) 14%, rgba(223, 255, 252, 0) 34%),
        radial-gradient(circle at 86% 76%, rgba(134, 247, 234, 0.38) 0%, rgba(134, 247, 234, 0.12) 18%, rgba(134, 247, 234, 0) 42%),
        linear-gradient(180deg, rgba(250, 255, 254, 0.56) 0%, rgba(224, 255, 249, 0.94) 100%) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::before {
    background-image:
        linear-gradient(126deg, rgba(225, 49, 52, 0) 0%, rgba(225, 49, 52, 0.34) 13%, rgba(255, 171, 56, 0.14) 27%, rgba(255, 233, 124, 0.1) 40%, rgba(112, 205, 255, 0.16) 56%, rgba(34, 123, 238, 0.58) 79%, rgba(14, 76, 188, 0.12) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 28px),
        radial-gradient(circle at 14% 16%, rgba(225, 66, 61, 0.78) 0%, rgba(225, 66, 61, 0.28) 18%, rgba(225, 66, 61, 0) 42%),
        radial-gradient(circle at 84% 16%, rgba(255, 238, 133, 0.88) 0%, rgba(255, 238, 133, 0.28) 12%, rgba(255, 238, 133, 0) 32%),
        radial-gradient(circle at 82% 82%, rgba(40, 128, 238, 0.82) 0%, rgba(40, 128, 238, 0.34) 18%, rgba(40, 128, 238, 0) 44%),
        radial-gradient(circle at 60% 56%, rgba(112, 205, 255, 0.28) 0%, rgba(112, 205, 255, 0.12) 20%, rgba(112, 205, 255, 0) 46%),
        linear-gradient(180deg, rgba(249, 252, 255, 0.62) 0%, rgba(224, 236, 255, 0.96) 100%) !important;
    filter: saturate(1.2) contrast(1.12) brightness(1.02) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box::after {
    filter:
        drop-shadow(0 10px 18px rgba(255, 118, 12, 0.28))
        drop-shadow(0 0 16px rgba(255, 170, 62, 0.24)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box::after {
    filter:
        drop-shadow(0 10px 18px rgba(54, 214, 195, 0.22))
        drop-shadow(0 0 16px rgba(152, 247, 236, 0.18)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box::after {
    filter:
        drop-shadow(0 10px 20px rgba(22, 96, 209, 0.22))
        drop-shadow(0 0 24px rgba(96, 194, 255, 0.24))
        drop-shadow(0 0 10px rgba(255, 213, 98, 0.12)) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ral-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .ncs-box button,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .dulux-box button {
    border: 1px solid rgba(14, 70, 153, 0.16) !important;
    background-image:
        linear-gradient(180deg, rgba(41, 124, 240, 1) 0%, rgba(13, 86, 187, 1) 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.08) 72%, rgba(255, 255, 255, 0.02) 100%) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -10px 14px rgba(7, 46, 108, 0.14),
        0 14px 28px rgba(17, 77, 162, 0.24) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box.is-selected-system {
    border-color: rgba(255, 163, 54, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -22px 34px rgba(255, 238, 212, 0.3),
        0 28px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 181, 88, 0.32),
        0 0 60px rgba(255, 144, 28, 0.28) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box.is-selected-system {
    border-color: rgba(132, 242, 231, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -22px 34px rgba(235, 255, 251, 0.28),
        0 28px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(141, 246, 235, 0.26),
        0 0 58px rgba(94, 233, 214, 0.22) !important;
}

#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:focus-within,
#alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box.is-selected-system {
    border-color: rgba(112, 187, 255, 0.98) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        inset 0 -22px 34px rgba(221, 236, 255, 0.3),
        0 28px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(151, 212, 255, 0.34),
        0 0 42px rgba(96, 194, 255, 0.24),
        0 0 74px rgba(31, 118, 235, 0.26) !important;
}

@media (hover: hover) {
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:hover,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:hover,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:hover {
        transform: translateY(-2px) !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ral-box:hover::before,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.ncs-box:hover::before,
    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:hover::before {
        transform: scale(1.035) !important;
        filter: saturate(1.18) contrast(1.06) brightness(1.02) !important;
    }

    #alkyd_shade_preview[data-live-provider="dulux"] #alkyd_preview_controls .color-box.dulux-box:hover::before {
        filter: saturate(1.28) contrast(1.12) brightness(1.03) !important;
    }
}

/* Cookie cleanup */
#cookie-popup,
#cookie-popup .drawer-inner,
#cookie-popup .drawer-content,
#cookie-popup .popup-toggle-close {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Complianz banner document cleanup */
.cmplz-cookiebanner .cmplz-documents {
  display: none !important;
}

/* Cacheable next-generation background with the JPEG kept as fallback. */
.elementor-1588 .elementor-element.elementor-element-70b3d25:not(.elementor-motion-effects-element-type-background),
.elementor-1588 .elementor-element.elementor-element-70b3d25 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url('/wp-content/uploads/2023/12/about-parallax.jpg');
  background-image: image-set(
    url('/wp-content/uploads/2023/12/about-parallax.jpg.webp') type('image/webp') 1x,
    url('/wp-content/uploads/2023/12/about-parallax.jpg') type('image/jpeg') 1x
  );
}

/* Final mobile override for technical product specification tables. */
@media (max-width: 620px) {
	body.single-product .woocommerce-Tabs-panel table.bordered {
		display: table;
		width: 100% !important;
		max-width: 100% !important;
		table-layout: fixed;
	}

	body.single-product .woocommerce-Tabs-panel table.bordered tbody {
		display: table-row-group;
		width: 100%;
	}

	body.single-product .woocommerce-Tabs-panel table.bordered tr {
		display: grid;
		grid-template-columns: minmax(108px, 38%) minmax(0, 1fr);
		width: 100%;
	}

	body.single-product .woocommerce-Tabs-panel table.bordered th[colspan] {
		grid-column: 1 / -1;
		width: 100% !important;
	}

	body.single-product .woocommerce-Tabs-panel table.bordered th,
	body.single-product .woocommerce-Tabs-panel table.bordered td {
		display: block;
		width: auto !important;
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	body.single-product .woocommerce-Tabs-panel table.bordered td img {
		float: none !important;
		max-width: 100%;
		height: auto;
	}
}
