/* ======= PODSTAWOWE STYLE ======= */
:root {
    --stk-container-box-shadow: 0 !important;
    --theme-list-indent: 1.5em;
}

a {
    text-decoration: none;
}

/* Szerokość kontenera (mobile) */
@media (max-width: 689.98px) {
    :root {
        --theme-container-width-base: calc(90vw - var(--theme-frame-size, 0px) * 2);
    }
}

/* ======= NAGŁÓWKI I TYPOGRAFIA ======= */
/* Nagłówek - typ 2 */
[data-prefix="single_page"] .hero-section[data-type="type-2"] {
    max-width: var(--theme-normal-container-max-width);
    margin: 0 auto;
}

/* Nagłówek niestandardowy */
.custom-heading {
    font-family: 'Merriweather';
    font-weight: 700;
}

.custom-heading:after {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    background: var(--drevko-beige-500);
    margin-top: 10px;
}

/* Okruszki */
.ct-breadcrumbs > span:first-child {
    display: none;
}

.archive .ct-breadcrumbs > span:not(:first-child) {
    margin-bottom: 10px;
}

.single-product .ct-breadcrumbs > span:last-child a {
    font-weight: 700;
}

.ct-breadcrumbs > span a {
    color: var(--theme-text-color);
}

.single-product [data-vertical-spacing*='top'] {
    padding-top: 40px;
}

@media (max-width: 999.98px) {
    .single-product [data-vertical-spacing*='top'] {
        padding-top: 0;
        padding-bottom: 0;
    }

    [data-prefix="product"] .hero-section[data-type="type-1"] .ct-breadcrumbs {
        display: none;
    }

    .ct-breadcrumbs {
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ct-breadcrumbs::-webkit-scrollbar {
        display: none;
    }
}

/* ======= NAWIGACJA I MENU ======= */
/* Wyzwalacz menu */
button.ct-header-trigger.ct-toggle {
    padding: 10px !important;
    margin: 0 10px 0 -10px !important;
}

/* Menu PC */
#menu-main-menu li a {
    cursor: pointer;
}

@media (min-width: 1000px) {
    .menu-scroll-overflow {
        max-height: 75vh;
        overflow-y: auto;
    }
}

/* Elementy listy w nawigacji */
.nav-list ul,
.nav-list li,
.nav-list li a {
    width: 100% !important;
}

.nav-list ul {
    margin-bottom: 0;
}

ul.nav-list {
    padding-inline-start: 0;
}

.nav-list li {
    list-style-type: none;
}

/* Menu mobilne */
#offcanvas .ct-header-content-block {
    width: 100%;
}

#offcanvas .ct-panel-content-inner {
    padding: 0;
}

#offcanvas .ct-panel-inner .ct-panel-actions {
    padding: 18px 24px;
    border-bottom: 1px solid var(--drevko-border-subtle);
}

/* Link do konta - Off-Canvas*/
#offcanvas .ct-panel-content a.ct-header-account {
    z-index: 1;
    position: absolute;
    bottom: 0;
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid var(--drevko-border-default);
    margin: 0 !important;
    left: 0;
    right: 0;
}

/* Konto - okno popup */
.ct-account-form #reg_passmail,
.ct-account-form .woocommerce-privacy-policy-text {
    font-size: 12px !important;
    line-height: 1.5;
}

/* ======= STYLE PANELI OFF-CANVAS I POPUPÓW ======= */
/* Tło Off-Canvas */
.bg-menu::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(18, 21, 25, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1;
    animation: fadeInOut 0.2s ease-out;
    pointer-events: none;
}

@keyframes fadeInOut {
    0% { background-color: rgba(18, 21, 25, 0); }
    100% { background-color: rgba(18, 21, 25, 0.6); }
}

[data-header*="type-1"] #account-modal,
[data-header*="type-1"] #offcanvas,
#woo-cart-panel,
#woo-filters-panel,
[data-block*="14892"],
[data-block*="14922"],
[data-block*="15340"],
[data-block*="15962"],
[data-block*="16078"],
[data-block*="39559"],
[data-block*="42251"],
[data-block*="43289"],
[data-block*="43348"] {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Popupy */
.ct-popup .ct-toggle-close[data-location=outside] {
    top: -15px;
    --toggle-button-inset-end: 14px;
}

.ct-popup .ct-toggle-close[data-location=inside] {
    top: 20px;
    --toggle-button-inset-end: 25px;
}

.ct-popup .ct-toggle-close {
    outline: 0;
    --toggle-button-size: 33px;
    --toggle-button-radius: 0;
    --theme-icon-size: 13px;
}

@media (max-width: 999.98px) {
    [data-popup-position*=middle] .ct-popup-inner {
        bottom: var(--popup-edges-offset, 25px);
        top: unset;
        transform: unset;
    }
}

[data-popup-position*=middle] .ct-popup-inner {
    padding-top: 20px;
}

/* Maksymalna wysokość popup-ów*/
@media (max-width: 689.98px) {
    [data-block*="14892"], 
    [data-block*="14922"], 
    [data-block*="15962"], 
    [data-block*="16078"] {
        --popup-max-height: 90dvh !important;
    }
    
    /* Modyfikacja animacji - z wślizg od prawej na wślizg z dołu */
    [data-popup-animation=slide-right] {
        --translate-y: var(--popup-entrance-value, 50px);
        --translate-x: unset;
    }

    /* Ustawienie wysokości okna Off-Canvas */
    .ct-popup-inner {
        height: auto;
    }
}

/* Poprawienie z-indexu w "Video Popup" */
#bp_container {
    z-index: 999999 !important;
}

/* ======= KOSZYK OFF-CANVAS ======= */

#woo-cart-panel .ct-panel-actions {
        border-bottom: 1px solid var(--drevko-border-subtle);
    }

#woo-cart-panel .ct-panel-content {
    padding-top: 0;
}

#woo-cart-panel .cart_list {
    background: #fff;
    height: 100%;
    border-bottom: 1px solid var(--drevko-border-subtle);
}

#woo-cart-panel .ct-panel-content-inner {
    padding-top: 5px;
    justify-content: center;
}

#woo-cart-panel .ct-panel-content ul li:first-child {
    padding-top: 28px;
    margin-bottom: 20px;
    --theme-list-items-spacing: 0;
}

.woocommerce-mini-cart__empty-message {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--drevko-border-subtle);
}

@media (max-width: 689.98px) {
    .ct-panel-actions {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

@media (min-width: 690px) {
    .ct-panel-actions {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.ct-panel-actions .ct-panel-heading {
    font-size: 17px;
    font-weight: 600;
}

/* Przyciski koszyka off-canvas */
p.woocommerce-mini-cart__buttons.buttons > a:first-child {
    display: none;
}

.woocommerce-mini-cart__buttons .button.wc-forward {
    --gridColumn: 1/-1 !important;
    padding: 13px 26px;
    font-size: 0;
}

a.button.checkout.wc-forward:after {
    content: "Przejdź do kasy";
    font-size: 17px;
}

#woo-cart-panel .woocommerce-mini-cart__buttons {
    margin-bottom: 10px !important;
    padding-top: 16px;
    border: none;
}

/* Podsumowanie koszyka off-canvas */
#woo-cart-panel .woocommerce-mini-cart__total {
    padding-top: 24px;
    border-top: none;
}

#woo-cart-panel .woocommerce-mini-cart__total,
#woo-cart-panel .woocommerce-mini-cart__total > strong {
    font-size: 17px;
    font-weight: 400;
    letter-spacing: initial;
    line-height: 1.5;
    text-transform: none;
    margin-bottom: 2px;
}

#woo-cart-panel .woocommerce-mini-cart__total span {
    font-size: 21px;
    font-weight: 600;
}

#woo-cart-panel .shipping-info {
    text-align: right;
    font-size: 12px;
    line-height: 1;
    padding-bottom: 16px;
}

#woo-cart-panel .pwp-omnibus-price__info {
    display: none;
}

/* Produkty w koszyku off-canvas */
.product_list_widget .product-title {
    color: var(--drevko-text-primary);
    font-weight: 600 !important;
    padding-inline-end: 24px;
}

.product_list_widget li {
    grid-template-columns: 26% 1fr;
}

.product_list_widget .ct-product-actions {
    display: flex;
    align-items: center;
}

.product_list_widget .sale-price {
    display: inline-grid;
    justify-items: center;
}

.woocommerce-mini-cart .remove {
    color: var(--drevko-text-primary);
    padding: 8px 2px 8px 8px;
    width: auto!important;
    height: auto!important;
}

.woocommerce-mini-cart a.remove:hover {
    color: var(--drevko-color-error);
}

li.woocommerce-mini-cart-item.mini_cart_item {
    padding-bottom: 10px;
}

li.woocommerce-mini-cart-item.mini_cart_item:last-child {
    border-bottom: none;
}

@media (max-width: 479.98px) {
    .product_list_widget .product-title {
        font-size: 14px;
        line-height: 1.5;
    }

    a.button.checkout.wc-forward:after {
        font-size: 16px;
    }
}

/* ======= STYLE DLA PRODUKTÓW I ARCHIWÓW PRODUKTÓW ======= */
/* Darmowa dostawa */
.free-shipping-info {
    color: var(--drevko-color-success);
    font-weight: 600;
    background-color: var(--drevko-accent-subtle);
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1;
    display: inline-block;
    vertical-align: text-top;
    margin-left: 12px;
}

.entry-summary .price {
    display: inline-block;
}

/* Znaczek promocji */
.onsale,
.out-of-stock-badge {
    padding: 4px 8px;
    height: 23px;
    min-width: 44px;
}

@media (max-width: 999.98px) {
    .products .onsale, 
    .products .out-of-stock-badge {
        top: 6px;
        inset-inline-start: 6px;
        height: 20px;
        min-width: 42px;
    }
}

/* Archiwa produktów */
[data-products="type-1"] .price {
    font-size: 15px;
    font-weight: 400;
}

[data-products=type-1] .ct-media-container {
    background-color: var(--drevko-bg-surface);
}

[data-products=type-1] .ct-media-container img {
    aspect-ratio: 7/8 !important;
}

@media (min-width: 690px) {
    [data-products=type-1] {
        grid-row-gap: calc(var(--grid-columns-gap, 30px) + 35px);
    }
}

@media (max-width: 999.98px) {
    ul.products[data-products="type-1"] {
        margin: 0 -5vw;
    }

    [data-products="type-1"] .price {
        font-size: 13px;
    }
}

.products .woocommerce-loop-product__title,
.products .woocommerce-loop-category__title {
    width: 100%;
    padding: 0 10px;
}

.woocommerce-no-products-found {
    margin-top: 30px;
}

/* Wygląd subkategorii - etui */
.term-29 .woo-listing-top,
.term-30 .woo-listing-top,
.term-32 .woo-listing-top,
.term-33 .woo-listing-top,
.term-34 .woo-listing-top,
.term-35 .woo-listing-top,
.term-1205 .woo-listing-top {
    display: none;
}

@media (max-width: 999.98px) {
    .term-29 [data-products] {
        --shop-columns: repeat(3, minmax(0, 1fr));
    }

    .term-30 [data-products],
    .term-32 [data-products],
    .term-33 [data-products],
    .term-34 [data-products],
    .term-35 [data-products],
    .term-1205 [data-products] {
        --shop-columns: repeat(2, minmax(0, 1fr));
    }

    .term-30 [data-products],
    .term-32 [data-products],
    .term-33 [data-products],
    .term-34 [data-products],
    .term-35 [data-products]
    .term-1205 [data-products] {
        grid-row-gap: calc(var(--grid-columns-gap, 30px) + 10px);
    }
}

@media (min-width: 1000px) {
    .term-30 [data-products].columns-3,
    .term-32 [data-products].columns-3,
    .term-33 [data-products].columns-3,
    .term-34 [data-products].columns-3,
    .term-35 [data-products].columns-3,
    .term-1205 [data-products].columns-3 {
        --shop-columns: repeat(4, minmax(0, 1fr));
    }

    .term-29 [data-products].columns-3 {
        --shop-columns: repeat(7, minmax(0, 1fr));
    }

    .term-30 [data-products],
    .term-32 [data-products],
    .term-33 [data-products],
    .term-34 [data-products],
    .term-35 [data-products],
    .term-1205 [data-products] {
        grid-row-gap: calc(var(--grid-columns-gap, 30px) + 20px);
    }
}

.term-30 .product-category figure,
.term-32 .product-category figure,
.term-33 .product-category figure,
.term-34 .product-category figure,
.term-35 .product-category figure,
.term-1205 .product-category figure {
    display: none;
}

.term-30 .woocommerce-loop-category__title a,
.term-32 .woocommerce-loop-category__title a,
.term-33 .woocommerce-loop-category__title a,
.term-34 .woocommerce-loop-category__title a,
.term-35 .woocommerce-loop-category__title a,
.term-1205 .woocommerce-loop-category__title a {
    font-family: 'Nunito';
    display: flex;
    height: 55px;
    background: var(--drevko-beige-100);
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
}

@media (max-width: 689.98px) {
    .term-30 .woocommerce-loop-category__title,
    .term-32 .woocommerce-loop-category__title,
    .term-33 .woocommerce-loop-category__title,
    .term-34 .woocommerce-loop-category__title,
    .term-35 .woocommerce-loop-category__title,
    .term-1205 .woocommerce-loop-category__title {
        font-size: 13px;
        padding: 0;
    }
}

.term-30 .woocommerce-loop-category__title a:hover,
.term-32 .woocommerce-loop-category__title a:hover,
.term-33 .woocommerce-loop-category__title a:hover,
.term-34 .woocommerce-loop-category__title a:hover,
.term-35 .woocommerce-loop-category__title a:hover,
.term-1205 .woocommerce-loop-category__title a:hover {
    background: var(--drevko-beige-500);
    color: #fff !important;
}

/* Sale price - cena promocyjna */
.sale-price {
    align-items: baseline;
    column-gap: 12px;
    display: grid;
    justify-content: start;
}

.sale-price ins .woocommerce-Price-amount {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--drevko-green-500);
}

.sale-price del {
    font-size: 90%;
    font-weight: 600;
}

/* Wygląd przeceny w koszyku i na stronie zamówienia */
.sale-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sale-price-wrapper .regular-price-value {
    display: block;
    font-size: .7rem;
    text-decoration: line-through;
    opacity: 0.7;
    line-height: 1.2;
}

.sale-price-wrapper .sale-price-value {
    color: var(--drevko-color-error);
    font-weight: 700;
}

.sale-price-wrapper .sale-percent-value {
    font-size: .7rem;
    color: var(--drevko-feedback-error-text);
    background-color: var(--drevko-feedback-error-bg);
    font-weight: 700;
    padding: 2px 8px 1px;
    margin-top: 2px;
}

/* ======= PAGINACJA ======= */
[data-pagination=simple] .page-numbers,
[data-pagination=next_prev] .page-numbers {
    border-radius: 0;
    border-width: 1px;
}

[data-pagination=simple] .next,
[data-pagination=next_prev] .next {
    border-color: var(--drevko-beige-500);
    line-height: 1;
    background: var(--drevko-beige-500);
    color: #fff;
}

[data-pagination=simple] .prev,
[data-pagination=next_prev] .prev {
    border-color: var(--drevko-beige-500);
}

[data-pagination=simple] .page-numbers:not(.dots):hover,
[data-pagination=next_prev] .page-numbers:not(.dots):hover {
    background: var(--drevko-beige-600);
    border-color: var(--drevko-beige-600);
    color: #fff;
}

@media (max-width: 689.98px) {
    [data-pagination=simple] a.page-numbers:only-of-type {
        grid-column: 2;
        padding: 0 25px;
        width: 100%;
    }

    [data-pagination=simple] .page-numbers {
        width: calc(100% - 5px);
    }
}

/* ======= WYNIKI WYSZUKIWANIA ======= */
.search-results .page-title span {
    display: block;
    font-family: 'Nunito';
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
}

/* ======= FORMULARZ NEWSLETTERA (MAILERLITE) ======= */
.ml-subscribe-form {
    max-width: 530px !important;
    width: 100%;
    display: flex;
    gap: 12px;
    justify-items: center;
    flex-direction: column;
    align-items: center;
}

.ml-fields-wrapper {
    display: flex;
    gap: 12px;
    width: 100%;
}

@media (max-width: 689.98px) {
    .ml-fields-wrapper {
        flex-direction: column;
    }
}

.ml-btn {
    min-height: 50px !important;
    white-space: nowrap;
    padding: 0 40px;
    border-radius: 0;
}

@media (max-width: 689.98px) {
    .ml-btn {
        width: 100%;
    }
}

input[type=email].ml-input {
    height: 50px;
    border-radius: 0;
}

.ml-message {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.ml-error {
    background-color: var(--drevko-color-error);
    padding: 10px 20px;
    margin-bottom: 16px;
}

.ml-success {
    background-color: var(--drevko-color-success);
    padding: 10px 20px;
    margin-bottom: 16px;
}

.ml-privacy {
    font-size: 12px;
    margin: 8px 0 16px;
    border-left: 3px solid var(--drevko-beige-500);
    padding-left: 16px;
}

/* ======= POWIADOMIENIA I KOMUNIKATY ======= */
.woocommerce-info, 
.woocommerce-error, 
.woocommerce-message, 
.woocommerce-thankyou-order-received {
    border-radius: 0;
    font-size: 14px;
    min-height: 50px;
    flex-direction: row;
    margin-bottom: 20px !important;
}

@media (min-width: 480px) {
    .woocommerce-info:before, 
    .woocommerce-error:before, 
    .woocommerce-message:before, 
    .woocommerce-thankyou-order-received:before {
        top: auto;
    }
}

/* ======= STYLE FORMULARZY I INPUTÓW ======= */
.ct-checkbox,
.comment-form input[type=checkbox],
#ship-to-different-address-checkbox,
.wc-block-checkbox-list input[type=checkbox],
.woocommerce-form__input[type=checkbox],
.woocommerce-form__label-for-checkbox input[type=checkbox],
#wc-stripe-new-payment-method[type=checkbox],
.ppcp-credit-card-vault[type=checkbox],
.forminator-ui[data-design=none] .forminator-checkbox input[type=checkbox],
.wpforms-container:not(.wpforms-container-full) input[type=checkbox],
.wc_payment_method>input[type=radio],
.woocommerce-shipping-methods input[type=radio],
.mp-ticket-payments input[type=radio],
.forminator-ui[data-design=none] .forminator-radio input[type=radio],
.wpforms-container:not(.wpforms-container-full) input[type=radio] {
    background: #fff;
    border-color: var(--drevko-border-default);
    border-radius: 0;
    min-width: 20px;
    width: 20px;
    height: 20px;
    top: 0;
}

select:focus,
textarea:focus,
input[type=url]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=date]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=password]:focus,
.ct-widget select:focus,
fieldset .wc-stripe-elements-field:focus {
    border-color: var(--drevko-beige-400);
}

/* ======= STYLE DLA ILOŚCI PRODUKTÓW ======= */
.cart_item .product-mobile-actions .quantity[data-type=type-2], 
.mini_cart_item .ct-product-actions .quantity[data-type=type-2], 
table.shop_table .ct-checkout-cart-item .quantity[data-type=type-2] {
    --quantity-width: 70px;
    --quantity-height: 28px;
}

.quantity[data-type=type-2] .ct-increase:before, 
.quantity[data-type=type-2] .ct-decrease:before {
    margin-top: 0;
    font-size: 6px;
}

div.quantity[data-type] input[type=number] {
    border-color: var(--drevko-border-default);
}

/* ======= STOPKA ======= */
@media (min-width: 1000px) {
    .heading-footer p:after {
        content: '';
        display: block;
        width: 30px;
        height: 3px;
        background: #fff;
        margin-top: 10px;
    }
    
    details[data-fa="yes"] .stk-block-icon-label .stk-block-icon {
        display: none;
    }

    details[data-fa="yes"] .stk-block-heading__text {
        cursor: auto;
    }
}

/* ======= BLOG I POSTY ======= */
@media (max-width: 689.98px) {
    .ct-featured-image:not(.alignfull) {
        width: 100vw;
    }
}

.ct-related-posts .ct-block-title {
    font-size: 24px;
    margin-bottom: 36px;
}

.ct-related-posts .related-entry-title {
    text-align: center;
    font-family: 'Nunito';
    font-weight: 600;
}

[data-prefix="categories"] .entry-header .page-title {
    margin-top: 10px;
}

/* ======= COOKIE NOTICE ======= */
/* Consent Mode link */
.fp_show_cookie_notice {
    cursor: pointer;
}

/* Cookie Notice */
#fupi_cookie_notice[data-position=bottom_full] #fupi_welcome_panel {
    width: 100vw;
    max-width: 100vw;
}

#fupi_cookie_notice {
    top: -1000px;
}

#fupi_cookie_notice:not(.fupi_notice_infobox).fupi_notice_gradient_overlay {
    background: linear-gradient(0deg, rgba(18, 21, 25, 0.6) 0%, rgba(18, 21, 25, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

#fupi_cookie_notice label.fupi_switch, 
#fupi_cookie_notice label.fupi_faux_switch {
    float: right;
    margin: 2px;
}

#fupi_cookie_notice .fupi_headline {
    font-weight: 700;
}

#fupi_main_headline.fupi_headline {
    font-family: 'Merriweather';
    line-height: inherit;
}

#fupi_main_descr {
    line-height: 1.6;
}

#fupi_main_descr a:focus-visible {
    outline: none;
}

#fupi_cookie_notice .fupi_button {
    font-family: 'Nunito';
    min-width: 200px;
}

#fupi_cookie_notice[data-position=bottom_full] #fupi_settings_panel .fupi_content>div:not(:last-child) {
    border-bottom: 1px solid var(--drevko-border-subtle);
    padding-bottom: 25px;
}

.fupi_content {
    max-height: 420px;
    overflow-y: auto;
}

.fupi_animated {
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
}

@media (min-width: 960px) {
    #fupi_cookie_notice:not(.fupi_notice_infobox)[data-position=bottom_full] #fupi_welcome_panel {
        padding: 50px 5vw;
    }

    #fupi_cookie_notice[data-position=bottom_full] #fupi_welcome_panel .fupi_inner {
        width: var(--theme-container-width);
        max-width: var(--theme-normal-container-max-width);
        margin: 0 auto;
    }

    #fupi_cookie_notice[data-position=bottom_full] #fupi_welcome_panel .fupi_buttons {
        min-width: 350px;
    }

    #fupi_cookie_notice[data-position=bottom_full] #fupi_welcome_panel .fupi_content {
        margin-right: 60px;
        padding-right: 20px;
        flex: auto;
    }
}

@media (min-width: 690px) {
    #fupi_cookie_notice[data-position=bottom_full] #fupi_settings_panel {
        max-width: 700px;
        min-width: 500px;
        top: calc(50% + 500px);
        right: auto;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%) !important;
        padding: 40px 40px 20px;
    }

    #fupi_cookie_notice[data-position=bottom_full] #fupi_settings_panel .fupi_content {
        padding-right: 20px;
    }

    #fupi_main_descr {
        font-size: 16px;
    }

    #fupi_main_headline.fupi_headline {
        font-size: 22px;
    }
}

@media (max-width: 689.98px) {
    .fupi_content {
        max-height: 350px;
    }

    #fupi_cookie_notice[data-position=bottom_full] #fupi_settings_panel {
        max-width: 100vw;
    }

    .fupi_panel {
        padding-bottom: 20px;
    }
}

/* ======= MEDIA I WIDEO ======= */
/* Blok treści */
.stk-block-content.stk-inner-blocks.stk-1259a7a-inner-blocks {
    display: flex;
    width: 100%;
    flex-direction: row !important;
    overflow: scroll hidden;
}

.stk-block-content.stk-inner-blocks.stk-1259a7a-inner-blocks>* {
    min-width: 38%;
}

/* Wideo w proporcjach 4/5 */
.ratio-45 video {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/* ======= FIX Select2 - kompatybilność z admin barem ======= */
div#wpadminbar ~ span.select2-container,
body.admin-bar > span.select2-container {
    padding-top: 32px !important;
}

@media screen and (max-width: 782px) {
    div#wpadminbar ~ span.select2-container,
    body.admin-bar > span.select2-container {
        padding-top: 46px !important;
    }
}

/* ======= RÓŻNE POMOCNICZE STYLE ======= */
/* Klasy wymuszające pełną szerokość */
@media (max-width: 999.98px) {
    .full-width-mobile {
        width: 100vw !important;
        max-width: 100vw !important;;
    }

    .no-margin-mobile {
        margin: 0 -5vw !important;
    }
}

/* Animacje i efekty */
body:not(.ct-loading) [data-sticky]>[data-row] {
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.animated-submenu.ct-active>.sub-menu {
    transition: .3s ease;
}

.animated-submenu>.sub-menu {
    transition: unset;
}

nav>ul>.ct-mega-menu-full-width>.sub-menu:after {
    border-top: 1px solid var(--drevko-beige-100);
}

.featherlight:last-of-type {
    backdrop-filter: blur(3px);
    background-color: rgba(18, 21, 25, 0.75);
}

.blockUI.blockOverlay {
    background-color: #fff !important;
}

/* ======= PhotoSwipe - Galeria ======= */
.pswp {
    z-index: 999999 !important;
    height: 100% !important;
    min-width: 100%;
    top: 0 !important;
}

.pswp__bg {
    background: #fff;
}

button.pswp__button {
    -webkit-filter: invert(80%);
    filter: invert(80%);
}

@media (max-width: 689.98px) {
    button.pswp__button {
        scale: .9;
    }
}

.pswp__bg, .woocommerce-page .pswp__bg {
    opacity: 1 !important;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 1;
}

.pswp--zoom-allowed .pswp__button--zoom {
    display: none;
}

.pswp--supports-fs .pswp__button--fs {
    display: none;
}

.pswp__preloader {
    display: none;
}

.pswp__ui--idle .pswp__button--arrow--left, .pswp__ui--idle .pswp__button--arrow--right {
    opacity: 1;
}

.pswp--touch .pswp__button--arrow--left, .pswp--touch .pswp__button--arrow--right {
    visibility: visible !important;
}

.pswp__ui--fit .pswp__top-bar, .pswp__top-bar {
    background-color: #fff !important;
    border-bottom: 1px solid var(--drevko-beige-100);
}

.pswp__caption {
    background-color: rgba(245, 241, 237, 0.9) !important;
    backdrop-filter: blur(3px);
}

.pswp__caption__center {
    max-width: 640px;
    padding: 6px 20px;
}

.drevko-reviews-gallery-caption {
    color: var(--drevko-neutral-900);
}

.pswp__counter {
    color: var(--drevko-text-primary);
    padding: 0 20px;
}

button.pswp__button--arrow--left::before, button.pswp__button--arrow--right::before {
    opacity: 0.7;
}

.pswp .ct-lightbox-video-container video {
    position: relative;
}
