/*
Theme Name: Hello Elementor Child
Theme URI: https://twojastrona.pl
Author: Twoja Nazwa
Description: Motyw potomny Hello Elementor ze stylami WooCommerce Black & White Modernist.
Version: 1.0.3
Template: hello-elementor
Text Domain: hello-elementor-child
*/


/* ==========================================================
   WOOCOMMERCE – KOMUNIKATY
   ========================================================== */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1em 2em 1em 3.5em;
    margin: 20px auto;
    position: relative;
    background-color: #fff;
    color: #000;
    list-style: none outside;
    width: 70%;
    word-wrap: break-word;
    border: 3px solid #000;
}

.woocommerce-message::before {
    content: "\e015";
    color: #000;
}

/* ==========================================================
   WOOCOMMERCE – GLOBALNY PRZYCISK a.button
   ========================================================== */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button {
    font-size: 100%;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: .618em 1em;
    font-weight: 700;
    border-radius: 0;
    left: auto;
    color: #fff;
    background-color: #000;
    border: 3px solid #000;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover {
    background-color: #fff;
    border: 3px solid #000;
    color: #000;
}

/* ==========================================================
   KOSZYK – INPUTY I PRZYCISKI
   ========================================================== */
.elementor-element.elementor-element-cb5df10 .coupon .input-text,
.elementor-30 .elementor-element.elementor-element-cb5df10 .cart-collaterals .input-text,
.elementor-30 .elementor-element.elementor-element-cb5df10 select,
.elementor-30 .elementor-element.elementor-element-cb5df10 .select2-selection--single {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    border-style: solid;
    border-width: 1px;
    border-color: #dbdbdb;
    border-radius: 0;
}

.elementor-widget-woocommerce-cart .woocommerce button.button {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    color: #000;
    padding: 11px;
    width: var(--forms-buttons-width, auto);
}

.elementor-widget-woocommerce-cart .woocommerce button.button:hover {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

/* ==========================================================
   WOOCOMMERCE – SIATKA PRODUKTÓW (ul.products)
   ========================================================== */
.woocommerce ul.products {
    gap: 30px 20px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(30px);
}

@media (min-width: 1025px) {
    .woocommerce ul.products li.product:hover {
        border-color: #000;
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
}

/* Obrazek */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0;
}

.woocommerce ul.products li.product img {
    display: block !important;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover;
    transform-origin: center center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.06);
}

/* Odznaka Sale */
.woocommerce span.onsale {
    background-color: #000 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px !important;
    min-height: auto !important;
    min-width: auto !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
}

/* Tytuł produktu */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: inherit;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #000 !important;
    margin: 10px 0 15px 0 !important;
    padding: 0 !important;
    padding-top: 15px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    background-color: #fff;
    display: block;
    transition: color 0.3s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
    color: #707070 !important;
}

/* Cena */
.woocommerce ul.products li.product .price {
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    display: block;
}

.woocommerce ul.products li.product .price del {
    color: #a0a0a0 !important;
    font-weight: 400;
    margin-right: 5px;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: #000 !important;
}

/* Gwiazdki */
.woocommerce .star-rating {
    font-size: 11px !important;
    margin-bottom: 10px !important;
    color: #000 !important;
}

/* Przycisk w siatce */
.woocommerce ul.products li.product .button {
    background-color: transparent !important;
    color: #000 !important;
    border: 1.5px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 5px 0 0 0 !important;
    text-align: center;
    display: block;
    width: 100%;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #000 !important;
    color: #fff !important;
}

.woocommerce ul.products li.product .button.loading {
    padding-right: 40px !important;
    opacity: 0.7;
}

.woocommerce ul.products li.product .button.loading::after {
    font-family: WooCommerce;
    content: "\e01c" !important;
    animation: spin 1s linear infinite;
    top: 50% !important;
    right: 15px !important;
    margin-top: -8px !important;
    color: #000 !important;
}

.woocommerce ul.products li.product .button.loading:hover::after {
    color: #fff !important;
}

.woocommerce ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-decoration: underline;
    margin-top: 10px;
    font-weight: 600;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product {
        padding: 10px;
    }
    .woocommerce ul.products li.product .button {
        padding: 10px 15px !important;
        font-size: 11px !important;
    }
}

/* ==========================================================
   WOOCOMMERCE – WARIANTY / SWATCHE (siatka)
   ========================================================== */
.custom-swatches-wrapper {
    margin-top: 10px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.swatch-attribute-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swatches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.swatch {
    display: inline-block;
    min-width: 28px;
    height: 28px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.swatch:hover         { border-color: #333; }

.swatch.active {
    border-color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.swatch.swatch-color  { border-radius: 50%; }

.swatch.swatch-label {
    padding: 0 8px;
    border-radius: 4px;
    background-color: #f9f9f9;
    color: #444;
    text-align: center;
    line-height: 24px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.jet-woo-products__item .product_type_variable,
.custom-swatches-wrapper + .button.product_type_variable {
    display: none !important;
}

.woocommerce .product .elementor-jet-single-add-to-cart .variations tbody > tr:nth-child(odd) > th {
    display: none;
}

/* ==========================================================
   JETWOO PRODUCT GRID – WYRÓWNANIE KART
   ========================================================== */
.jet-woo-products__items .jet-woo-products__item,
.jet-woo-products .jet-woo-builder-product {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.jet-woo-products__inner-box {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: flex-start;
}

/* Kolejność elementów w karcie */
.jet-woo-product-thumbnail          { order: 1; }
.jet-woo-product-title              { order: 2; }
.product-rating__stars              { order: 3 !important; margin: 6px 0 !important; }
.jet-woo-product-price              { order: 4; }
.jet-woo-product-variation-swatches { order: 5; }
.jet-woo-product-button             { order: 6 !important; }

/* Przycisk na dole */
.jet-woo-product-button,
.jet-woo-products__inner-box .jet-woo-product-button.is--default {
    margin-top: auto !important;
    padding-top: 20px;
    width: 100%;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    transform: none !important;
    transition: all 0.2s ease !important;
}

.jet-woo-product-button:hover {
    transform: scale(1) !important;
}

/* ==========================================================
   JETWOO GRID – PRZYCISK SLIDE (czarno-biały)
   ========================================================== */
.jet-woo-products__inner-box .jet-woo-product-button a.button,
.jet-woo-products__inner-box .jet-woo-product-button button.button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 12px 24px !important;
    background-color: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.jet-woo-products__inner-box .jet-woo-product-button a.button::before,
.jet-woo-products__inner-box .jet-woo-product-button button.button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #000;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.jet-woo-products__inner-box .jet-woo-product-button a.button:hover,
.jet-woo-products__inner-box .jet-woo-product-button button.button:hover {
    color: #fff !important;
}

.jet-woo-products__inner-box .jet-woo-product-button a.button:hover::before,
.jet-woo-products__inner-box .jet-woo-product-button button.button:hover::before {
    transform: translateX(0);
}

/* ==========================================================
   SINGLE PRODUCT – PRZYCISK DODAJ DO KOSZYKA (slide)
   ========================================================== */
.single-product .single_add_to_cart_button.button.alt,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 32px !important;
    background: transparent !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    overflow: hidden;
    z-index: 1;
    box-shadow: none !important;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                border-color 0.3s ease !important;
}

.single-product .single_add_to_cart_button.button.alt::before,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt::before,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.single-product .single_add_to_cart_button.button.alt:hover,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:hover,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt:hover {
    color: #fff !important;
    background: transparent !important;
    border-color: #000 !important;
}

.single-product .single_add_to_cart_button.button.alt:hover::before,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:hover::before,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt:hover::before {
    transform: translateX(0);
}

.single-product .single_add_to_cart_button.button.alt:focus,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:focus,
.woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.12) !important;
}

/* Disabled / przed wyborem wariantu */
.single-product .single_add_to_cart_button.button.alt.disabled,
.single-product .single_add_to_cart_button.button.alt:disabled,
.single-product .single_add_to_cart_button.button.alt.wc-variation-selection-needed,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:disabled,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt.wc-variation-selection-needed {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    color: #000 !important;
    background: #fff !important;
    border-color: #000 !important;
}

.single-product .single_add_to_cart_button.button.alt.disabled::before,
.single-product .single_add_to_cart_button.button.alt:disabled::before,
.single-product .single_add_to_cart_button.button.alt.wc-variation-selection-needed::before,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt.disabled::before,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt:disabled::before,
.woocommerce div.product form.cart .single_add_to_cart_button.button.alt.wc-variation-selection-needed::before {
    transform: translateX(-101%) !important;
}

@media (max-width: 767px) {
    .single-product .single_add_to_cart_button.button.alt,
    .woocommerce div.product form.cart .single_add_to_cart_button.button.alt,
    .woocommerce-page div.product form.cart .single_add_to_cart_button.button.alt {
        width: 100% !important;
        padding: 14px 22px !important;
    }
}

/* ==========================================================
   JETWOO WISHLIST – BEZ TŁA, CZARNA OBWÓDKA, CZERWONE PO KLIKNIĘCIU
   ========================================================== */

/* Punkt odniesienia */
.jet-woo-products .jet-woo-products__item,
.jet-woo-products .jet-woo-builder-product,
.jet-woo-products .jet-woo-products__inner-box,
.jet-woo-products .jet-woo-product-thumbnail,
.jet-woo-products .jet-woo-product-img {
    position: relative !important;
}

/* Kontener serduszka – ukryty domyślnie */
.jet-woo-products .jet-wishlist-button__container {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 999 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(6px) !important;
    transition: opacity 0.25s ease,
                transform 0.25s ease,
                visibility 0.25s ease !important;
}

/* Pokazuj na hover karty */
.jet-woo-products .jet-woo-products__item:hover .jet-wishlist-button__container,
.jet-woo-products .jet-woo-builder-product:hover .jet-wishlist-button__container,
.jet-woo-products .jet-woo-products__inner-box:hover .jet-wishlist-button__container,
.jet-woo-products .jet-woo-product-thumbnail:hover .jet-wishlist-button__container {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Sam przycisk – BEZ TŁA, BEZ KÓŁKA */
.jet-woo-products .jet-wishlist-button__link {
    position: relative !important;
    z-index: 1000 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    padding: 0 !important;
    overflow: visible !important;
    font-size: 0 !important;
}

/* Kasujemy oryginalną ikonę wtyczki */
.jet-woo-products .jet-wishlist-button__link svg,
.jet-woo-products .jet-wishlist-button__link img,
.jet-woo-products .jet-wishlist-button__link i,
.jet-woo-products .jet-wishlist-button__link span,
.jet-woo-products .jet-wishlist-button__plane,
.jet-woo-products .jet-wishlist-button__state,
.jet-woo-products .jet-wishlist-button__label,
.jet-woo-products .jet-wishlist-button__icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    background: none !important;
}

/* IKONA DOMYŚLNA – obwódka serca (czarna) */
/* PO DODANIU – czerwone serce BEZ CIENIA/SHADOW */
.jet-woo-products .jet-wishlist-button__link.added-to-wishlist::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff2d2d' stroke='%23ff2d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    filter: none !important; /* USUNIĘTO CIEN/GLOW */
}

/* Hover */
.jet-woo-products .jet-wishlist-button__link:hover::before {
    transform: scale(1.1);
}

/* PO DODANIU – czerwone wypełnione serce */
.jet-woo-products .jet-wishlist-button__link.added-to-wishlist::before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff2d2d' stroke='%23ff2d2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
    filter: drop-shadow(0 2px 6px rgba(255,0,0,0.35));
}

/* Klik */
.jet-woo-products .jet-wishlist-button__link:active::before {
    transform: scale(0.9);
}

/* Mobile – zawsze widoczne */
@media (max-width: 1024px) {
    .jet-woo-products .jet-wishlist-button__container {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}




/* ==========================================================
   SLIDING TABS – DESKTOP
   ========================================================== */
.sliding-tabs,
.sliding-tabs *,
.sliding-tabs .elementor-tabs-wrapper,
.sliding-tabs .e-n-tabs-heading,
.sliding-tabs .elementor-tab-title,
.sliding-tabs .e-n-tab-title {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}

.sliding-tabs .elementor-tabs-wrapper,
.sliding-tabs .e-n-tabs-heading {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 0 !important;
    background: #000 !important;
    border-radius: 0 !important;
    width: fit-content;
    transform: skewX(-15deg) !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 1px #000 !important;
    backface-visibility: hidden;
}

.sliding-tabs .elementor-tab-title,
.sliding-tabs .e-n-tab-title,
.sliding-tabs .elementor-tab-title.elementor-active,
.sliding-tabs .e-n-tab-title.e-active,
.sliding-tabs .e-n-tab-title[aria-selected="true"] {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 14px 30px 16px 30px !important;
    border-radius: 0 !important;
    transition: color 0.25s ease !important;
    cursor: pointer !important;
}

.sliding-tabs .elementor-tab-title,
.sliding-tabs .elementor-tab-title a,
.sliding-tabs .e-n-tab-title,
.sliding-tabs .e-n-tab-title .e-n-tab-heading-title {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}

.sliding-tabs .tab-indicator {
    position: absolute !important;
    top: 0 !important;
    left: 0;
    height: 100% !important;
    width: 0;
    background: #fff !important;
    border-bottom: 3px solid #000 !important;
    border-radius: 0 !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.sliding-tabs .elementor-tab-title.is-current,
.sliding-tabs .elementor-tab-title.is-current a,
.sliding-tabs .e-n-tab-title.is-current,
.sliding-tabs .e-n-tab-title.is-current .e-n-tab-heading-title {
    color: #000 !important;
}

.sliding-tabs .elementor-tab-title.elementor-active,
.sliding-tabs .elementor-tab-title.elementor-active a,
.sliding-tabs .e-n-tab-title.e-active,
.sliding-tabs .e-n-tab-title.e-active .e-n-tab-heading-title,
.sliding-tabs .e-n-tab-title[aria-selected="true"],
.sliding-tabs .e-n-tab-title[aria-selected="true"] .e-n-tab-heading-title {
    background: transparent !important;
    background-color: transparent !important;
}

/* ==========================================================
   SLIDING TABS – MOBILE
   ========================================================== */
@media (max-width: 767px) {
    .sliding-tabs .elementor-tabs-wrapper,
    .sliding-tabs .e-n-tabs-heading {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
        overflow: visible !important;
        box-shadow: none !important;
        background: #000 !important;
        border: none !important;
    }

    .sliding-tabs .tab-indicator {
        display: none !important;
    }

    .sliding-tabs .elementor-tab-title,
    .sliding-tabs .e-n-tab-title,
    .sliding-tabs .elementor-tab-title.elementor-active,
    .sliding-tabs .e-n-tab-title.e-active,
    .sliding-tabs .e-n-tab-title[aria-selected="true"] {
        width: 100% !important;
        display: block !important;
        text-align: left !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
    }

    .sliding-tabs .elementor-tab-title,
    .sliding-tabs .elementor-tab-title a,
    .sliding-tabs .e-n-tab-title,
    .sliding-tabs .e-n-tab-title .e-n-tab-heading-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        color: #fff !important;
    }

    .sliding-tabs .elementor-tab-title.elementor-active,
    .sliding-tabs .elementor-tab-title.is-current,
    .sliding-tabs .e-n-tab-title.e-active,
    .sliding-tabs .e-n-tab-title.is-current,
    .sliding-tabs .e-n-tab-title[aria-selected="true"] {
        background: #fff !important;
    }

    .sliding-tabs .elementor-tab-title.elementor-active,
    .sliding-tabs .elementor-tab-title.elementor-active a,
    .sliding-tabs .elementor-tab-title.is-current,
    .sliding-tabs .elementor-tab-title.is-current a,
    .sliding-tabs .e-n-tab-title.e-active,
    .sliding-tabs .e-n-tab-title.e-active .e-n-tab-heading-title,
    .sliding-tabs .e-n-tab-title.is-current,
    .sliding-tabs .e-n-tab-title.is-current .e-n-tab-heading-title,
    .sliding-tabs .e-n-tab-title[aria-selected="true"],
    .sliding-tabs .e-n-tab-title[aria-selected="true"] .e-n-tab-heading-title {
        color: #000 !important;
    }
}

/* ==========================================================
   SWATCHE NA GÓRZE + WYRÓWNANIE
   ========================================================== */

/* SWA TCHE I SPACER - zawsze na górze */
.jet-woo-product-variation-swatches,
.jet-woo-swatches-wrapper,
.dribz-woo-spacer {
    order: 0 !important;
    height: 45px !important;
    min-height: 45px !important;
    margin-bottom: 10px !important;
}

/* KOLEJNOŚĆ ELEMENTÓW */
.jet-woo-product-thumbnail { order: 1 !important; }
.jet-woo-product-title { order: 2 !important; }
.jet-woo-product-price { order: 3 !important; }
.jet-woo-product-button { order: 4 !important; margin-top: auto !important; }

/* WIĘKSZY OBRAZEK */
.jet-woo-product-thumbnail img {
    max-height: 380px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* WISHLIST NIŻEJ (bo swatche na górze) */
.jet-woo-products .jet-wishlist-button__container {
    top: 65px !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .dribz-woo-spacer { height: 35px !important; }
    .jet-woo-product-thumbnail img { max-height: 260px !important; }
}


/* ==========================================================
   SWATCHE NA GÓRZE - DOKLEJONE NA KOŃCU
   ========================================================== */

/* Swatche i spacer jako pierwsze */
.jet-woo-product-variation-swatches,
.jet-woo-swatches-wrapper,
.dribz-woo-spacer {
    order: 0 !important;
    height: 45px !important;
    min-height: 45px !important;
    margin-bottom: 10px !important;
}

/* Kolejność reszty */
.jet-woo-product-thumbnail { order: 1 !important; }
.jet-woo-product-title { order: 2 !important; }
.jet-woo-product-price { order: 3 !important; }
.jet-woo-product-button { order: 4 !important; margin-top: auto !important; }

/* Obrazek większy */
.jet-woo-product-thumbnail img {
    max-height: 380px !important;
}

/* Wishlist niżej */
.jet-woo-products .jet-wishlist-button__container {
    top: 65px !important;
}