/* --- 1. KONTENER CAŁEJ SEKCJI (WIERSZ I KOLUMNA) --- */
div.module_row.tb_ws1s468, 
div.module_row.tb_ws1s468 > .row_inner {
    padding-top: 20px !important;    
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    min-height: 0 !important;
}

.tb_9hkx468 .module {
    margin-bottom: 10px !important;
}

/* --- 2. KOMPAKTOWY SLIDER --- */
.Opinie-Indizio, 
.Opinie-Indizio .tf_swiper-container, 
.Opinie-Indizio .tf_swiper-wrapper {
    height: auto !important;
    min-height: unset !important;
}

.Opinie-Indizio .tf_swiper-slide {
    height: auto !important;
    min-height: unset !important;
    display: flex !important;
    align-items: stretch !important;
}

.Opinie-Indizio .post {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 3. TESTIMONIAL ITEM - UKŁAD GRID (Z GWIAZDKAMI) --- */
.Opinie-Indizio .testimonial-item {
    text-align: left !important;
    max-width: 750px;
    margin: 0 auto !important;
    padding: 20px !important;
    background: #fff;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box;
}

.Opinie-Indizio .testimonial-content {
    display: grid !important;
    grid-template-areas: 
        "foto autor gwiazdki"
        "tekst tekst tekst";
    grid-template-columns: 65px 1fr max-content; 
    grid-template-rows: auto auto;
    gap: 10px 15px;
    align-items: center;
}

/* --- 4. ZDJĘCIE, AUTOR I GWIAZDKI --- */
.Opinie-Indizio .testimonial-image {
    grid-area: foto;
    margin: 0 !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    border: 1px solid #ceb37a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fff;
}

.Opinie-Indizio .testimonial-image img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    object-fit: cover !important;
    box-sizing: border-box !important;
    display: block !important;
}

.Opinie-Indizio .testimonial-author {
    grid-area: autor;
    margin: 0 !important;
    text-align: left !important;
}

.Opinie-Indizio .person-name {
    font-size: 0.95rem !important;
    font-style: italic !important;
    color: #333;
    font-weight: normal !important;
}

.Opinie-Indizio .tb_rating_wrap {
    grid-area: gwiazdki;
    margin: 0 !important;
    display: flex !important;
    gap: 2px;
    justify-content: flex-end;
}

.Opinie-Indizio .tb_rating_wrap svg {
    width: 14px !important;
    height: 14px !important;
    color: #FFD700 !important; 
}

/* --- 5. TREŚĆ RECENZJI --- */
.Opinie-Indizio .testimonial-entry-content {
    grid-area: tekst;
    margin-top: 5px !important;
}

.Opinie-Indizio .testimonial-entry-content p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #555;
    margin: 0 !important;
}

.Opinie-Indizio .testimonial-entry-content::before {
    content: "“" !important;
    font-family: serif;
    font-size: 30px;
    color: #ceb37a;
    display: block;
    height: 15px;
    opacity: 0.4;
}

/* --- 6. NAWIGACJA (WYŚRODKOWANE STRZAŁKI, BRAK KROPEK) --- */
.Opinie-Indizio {
    position: relative !important;
}

.Opinie-Indizio .tf_carousel_nav_wrap {
    position: static !important; 
    margin: 0 !important; 
    padding: 0 !important;
    height: 0 !important;
}

.Opinie-Indizio .carousel-pager {
    display: none !important; 
}

.Opinie-Indizio .carousel-prev, 
.Opinie-Indizio .carousel-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    margin: 0 !important;
}

.Opinie-Indizio .carousel-prev {
    left: 20px !important; 
}

.Opinie-Indizio .carousel-next {
    right: 20px !important; 
}

/* =========================================
   SEKCJA: DLACZEGO MY (INDIZIO PREMIUM)
   ========================================= */

.usp-title {
    text-align: center;
    margin-bottom: 50px;
}

.Dlaczego-My .Dlaczego-my1,
.Dlaczego-My .Dlaczego-my2,
.Dlaczego-My .Dlaczego-my3,
.Dlaczego-My .Dlaczego-my4 {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 4px solid transparent;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Dlaczego-My .Dlaczego-my1:hover,
.Dlaczego-My .Dlaczego-my2:hover,
.Dlaczego-My .Dlaczego-my3:hover,
.Dlaczego-My .Dlaczego-my4:hover {
    border-left: 4px solid #d4af37;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.Dlaczego-My .module-image {
    margin-bottom: 25px;
}

.Dlaczego-My .module-image img {
    max-width: 70px !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.Dlaczego-My h3, 
.Dlaczego-My h4,
.Dlaczego-My .module-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #000000;
    margin-bottom: 10px;
    display: block;
}

.Dlaczego-My p,
.Dlaczego-My .module-text {
    font-family: 'Inter', sans-serif;
    color: #555555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* =========================================
   SEKCJA: KOMPAKTOWA SIATKA KATEGORII
   ========================================= */

.Indizio-Kategorie-Grid {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.Indizio-Kategorie-Grid > .row_inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 4px solid transparent;
    border-radius: 8px;
    padding: 20px !important;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
}

.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii:hover {
    border-left: 4px solid #d4af37 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii .module-image {
    max-width: 64px !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii .module-image img {
    border: none !important;
    max-width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii div.module-image p,
.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii div.module-image h3,
.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii div.module-image h4,
.Indizio-Kategorie-Grid div.Indizio-Karta-Kategorii div.module-image .image-caption {
    font-family: 'Inter', sans-serif !important;
    color: #000000 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0 !important;
    padding-top: 0 !important;
    text-align: left !important;
    width: auto !important;
    font-weight: bold;
}

/* Menu trzeciego poziomu */
.sub-menu .sub-menu, 
.dropdown-menu .dropdown-menu,
ul.children ul.children {
    max-height: 65vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.sub-menu .sub-menu::-webkit-scrollbar { width: 6px; }
.sub-menu .sub-menu::-webkit-scrollbar-track { background: #f1f1f1; }
.sub-menu .sub-menu::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
.sub-menu .sub-menu::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

/* --- KARTA PRODUKTU (Pojedyncza strona) --- */
.woocommerce div.product div.images img {
    width: auto;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto;
    box-shadow: none;
    display: block;
}

/* --- LISTA PRODUKTÓW (Kategorie/Sklep) --- */
.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    display: block;
    background-color: transparent; 
}

@media (max-width: 768px) {
    .woocommerce div.product div.images img { max-height: 300px; }
    .woocommerce ul.products li.product a img { height: auto; }
}

/* ========================================================== */
/* STYLIZACJA PRODUKTÓW NIEDOSTĘPNYCH                         */
/* ========================================================== */

.woocommerce ul.products li.product.outofstock img,
.woocommerce ul.products li.product.wpziom-out-of-stock img {
    opacity: 0.45 !important;
    filter: grayscale(100%) !important;
    transition: none !important;
}

.woocommerce ul.products li.product.outofstock p.stock,
.woocommerce ul.products li.product .wpziom-out-of-stock-label,
.woocommerce ul.products li.product.outofstock .out-of-stock {
    position: absolute !important;
    top: 105px !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 15 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #777777 !important;
    border: 1px solid #e5e5e5 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    padding: 8px 14px !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    margin: 0 !important;
    display: inline-block !important;
    width: auto !important;
}

body.woocommerce ul.products li.product.outofstock .button::before,
body.woocommerce ul.products li.product.wpziom-out-of-stock .button::before {
    content: "f0f3" !important;
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
}

body.woocommerce ul.products li.product.outofstock .button,
body.woocommerce ul.products li.product.wpziom-out-of-stock .button {
    background-color: #777777 !important; 
    border-color: #777777 !important;
}

body.woocommerce ul.products li.product.outofstock .button:hover,
body.woocommerce ul.products li.product.wpziom-out-of-stock .button:hover {
    background-color: #C5A059 !important; 
    border-color: #C5A059 !important;
}

/* ========================================================== */
/* EFEKT PODŚWIETLENIA (HOVER) KAFELKA PRODUKTU               */
/* ========================================================== */

.woocommerce ul.products li.product,
#str-glowna-produkty .product,
.str-glowna-produkty .product,
#str-glowna-produkty-1 .product,
.str-glowna-produkty-1 .product {
    transition: all 0.3s ease-in-out !important;
    padding: 15px !important;
    border-radius: 6px !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
}

.woocommerce ul.products li.product:hover,
#str-glowna-produkty .product:hover,
.str-glowna-produkty .product:hover,
#str-glowna-produkty-1 .product:hover,
.str-glowna-produkty-1 .product:hover {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px) !important;
    border-color: #f5f5f5 !important;
    z-index: 10 !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products li.product,
    #str-glowna-produkty .product,
    .str-glowna-produkty .product,
    #str-glowna-produkty-1 .product,
    .str-glowna-produkty-1 .product {
        padding: 5px !important;
    }
    .woocommerce ul.products li.product:hover,
    #str-glowna-produkty .product:hover,
    .str-glowna-produkty .product:hover,
    #str-glowna-produkty-1 .product:hover,
    .str-glowna-produkty-1 .product:hover {
        box-shadow: none !important;
        transform: none !important;
        border-color: transparent !important;
        background-color: transparent !important;
    }
}

/* ========================================================== */
/* STYLIZACJA ZNACZNIKÓW W OPISIE PRODUKTU                    */
/* ========================================================== */

.woocommerce-Tabs-panel--description h1,
#tab-description h1,
.woocommerce-product-details__short-description h1,
.product-info h1 {
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 35px !important;
    margin-bottom: 20px !important;
    color: #222222 !important;
    text-transform: none !important;
}

.woocommerce-Tabs-panel--description h2,
#tab-description h2,
.woocommerce-product-details__short-description h2,
.product-info h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    color: #333333 !important;
}

.woocommerce-Tabs-panel--description img,
#tab-description img,
.woocommerce-product-details__short-description img,
.product-info img {
    max-width: 30% !important;
    height: auto !important;
    display: block !important;
    margin: 25px auto !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* ========================================================== */
/* BANER REJESTRACJI (CHECKOUT)                               */
/* ========================================================== */

.indizio-registration-promo {
    background: #fcfaf5 !important;
    border-left: 4px solid #C5A059 !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
    margin-top: 15px !important;
    border-radius: 0 4px 4px 0 !important;
}

.indizio-promo-title {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    color: #C5A059 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.indizio-registration-promo p {
    margin-bottom: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #444 !important;
}

.indizio-registration-promo strong {
    color: #111 !important;
}

/* ========================================================== */
/* OZNACZENIE WYMAGANYCH PÓL                                  */
/* ========================================================== */

.woocommerce form .form-row label .required {
    display: inline-block !important;
    visibility: visible !important;
    color: #e2401c !important;
    font-weight: bold !important;
    margin-left: 3px !important;
}

.woocommerce form.register label[for="reg_email"]::after,
.woocommerce form.register label[for="reg_password"]::after,
.woocommerce form.register label[for="reg_username"]::after {
    content: "*" !important;
    color: #e2401c !important;
    font-weight: bold !important;
    margin-left: 3px !important;
}

.woocommerce form.register label[for="reg_email"] .required,
.woocommerce form.register label[for="reg_password"] .required,
.woocommerce form.register label[for="reg_username"] .required {
    display: none !important;
}

.woocommerce form.register input#reg_username,
.woocommerce form.register input#reg_email,
.woocommerce form.register input#reg_password,
.woocommerce form.register input#reg_billing_phone,
.woocommerce form.register input#reg_billing_birth_date {
    border-left: 3px solid #e2401c !important;
}

.woocommerce form.register input#reg_username:focus,
.woocommerce form.register input#reg_email:focus,
.woocommerce form.register input#reg_password:focus,
.woocommerce form.register input#reg_billing_phone:focus,
.woocommerce form.register input#reg_billing_birth_date:focus {
    border-left: 3px solid #C5A059 !important;
}

.themify_builder_content-139 .tb_b05d646 {
    padding-top: 10px !important; 
    padding-bottom: 10px !important;
}
.themify_builder_content-139 .tb_sp4g519 {
    padding-top: 10px !important; 
    padding-bottom: 10px !important;
}
.themify_builder_content-139 .tb_7eob727 {
    padding-top: 10px !important; 
    padding-bottom: 10px !important;
}

/* ========================================================== */
/* PRZYCISKI BŁĘDU PŁATNOŚCI                                  */
/* ========================================================== */

.woocommerce-order .woocommerce-thankyou-order-failed-actions {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    margin-top: 20px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce-order .woocommerce-thankyou-order-failed-actions a.button {
    background-color: transparent !important;
    color: #C5A059 !important;
    border: 1px solid #C5A059 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 30px !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.woocommerce-order .woocommerce-thankyou-order-failed-actions a.button:hover {
    background-color: #C5A059 !important;
    color: #ffffff !important;
    border-color: #C5A059 !important;
}

.woocommerce-order p.woocommerce-notice--error.woocommerce-thankyou-order-failed {
    background-color: #fcfaf5 !important;
    border: 1px solid #e2401c !important;
    color: #222 !important;
    padding: 25px !important;
    text-align: center !important;
    border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-order .woocommerce-thankyou-order-failed-actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .woocommerce-order .woocommerce-thankyou-order-failed-actions a.button {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================== */
/* PRZYCISKI AKCJI W TABELI ZAMÓWIENIA                        */
/* ========================================================== */

.woocommerce-order table.order_details tfoot td a.button.order-actions-button {
    background-color: transparent !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 20px !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
    display: inline-block !important;
    margin-left: 10px !important;
    margin-bottom: 5px !important;
}

.woocommerce-order table.order_details tfoot td a.button.pay {
    color: #C5A059 !important;
    border: 1px solid #C5A059 !important;
}

.woocommerce-order table.order_details tfoot td a.button.pay:hover {
    background-color: #C5A059 !important;
    color: #ffffff !important;
}

.woocommerce-order table.order_details tfoot td a.button.cancel {
    color: #999999 !important;
    border: 1px solid #dddddd !important;
    background-color: transparent !important;
}

.woocommerce-order table.order_details tfoot td a.button.cancel:hover {
    background-color: #f9f9f9 !important;
    color: #555555 !important;
    border-color: #cccccc !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-order table.order_details tfoot td a.button.order-actions-button {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 10px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
}

/* ========================================================== */
/* INTEGRACJA: PRODUKTY + PRZYCISK "ZOBACZ WSZYSTKIE"         */
/* ========================================================== */

#str-glowna-produkty,
.str-glowna-produkty,
#str-glowna-produkty-1,
.str-glowna-produkty-1 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#str-glowna-produkty ul.products,
.str-glowna-produkty ul.products,
#str-glowna-produkty-1 ul.products,
.str-glowna-produkty-1 ul.products {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.indizio-btn-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin-top: -30px !important;
    padding-bottom: 40px !important;
    position: relative !important;
    z-index: 10 !important;
}

.indizio-btn-wrapper .indizio-see-all-btn,
.indizio-see-all-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border: 1px solid #C5A059 !important;
    background-color: transparent !important;
    color: #C5A059 !important;
    padding: 12px 30px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
    border-radius: 2px !important;
    margin-top: 0 !important;
}

.indizio-btn-wrapper .indizio-see-all-btn .arrow,
.indizio-see-all-btn .arrow {
    margin-left: 8px !important;
    font-weight: bold !important;
    transition: margin-left 0.3s ease !important;
}

.indizio-btn-wrapper .indizio-see-all-btn:hover,
.indizio-see-all-btn:hover {
    background-color: #C5A059 !important;
    color: #ffffff !important;
    border-color: #C5A059 !important;
}

.indizio-btn-wrapper .indizio-see-all-btn:hover .arrow,
.indizio-see-all-btn:hover .arrow {
    margin-left: 14px !important;
}

@media (max-width: 768px) {
    .indizio-btn-wrapper {
        margin-top: -15px !important;
    }
}

/* ========================================================== */
/* DOPRACOWANIE WYGLĄDU KAFELKA PRODUKTU                      */
/* ========================================================== */

.woocommerce ul.products li.product a img {
    height: 180px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .product-title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #222222 !important;
    text-transform: uppercase !important;
    margin-bottom: 15px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 54px !important; 
}

.woocommerce ul.products li.product .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #C5A059 !important;
    font-style: normal !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .price del {
    color: #999999 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    margin-right: 6px !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
}

/* ========================================================== */
/* ETYKIETA "PROMOCJA!"                                       */
/* ========================================================== */

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
    min-height: auto !important;
    min-width: auto !important;
    border-radius: 4px !important;
    background-image: none !important;
    background-color: #C5A059 !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    padding: 6px 12px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    margin: 0 !important;
    z-index: 9 !important;
    display: inline-block !important;
}

/* ========================================================== */
/* ETYKIETA "BESTSELLER"                                      */
/* ========================================================== */

.woocommerce ul.products li.product .indizio-bestseller-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important; 
    right: auto !important; 
    transform: none !important;
    z-index: 10 !important;
    display: inline-block !important;
    background-color: #ffffff !important;
    color: #C5A059 !important;
    border: 1px solid #C5A059 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important; 
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    border-radius: 4px !important; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

/* ========================================================== */
/* PRZYCISK "DODAJ DO KOSZYKA"                                */
/* ========================================================== */

.woocommerce ul.products li .button::before,
.woocommerce ul.products li .button::after,
ul.products .button::before,
ul.products .button::after,
.moje-nowosci p.add-to-cart-button a.button::before,
.moje-nowosci p.add-to-cart-button a.button::after,
.besty p.add-to-cart-button a.button::before,
.besty p.add-to-cart-button a.button::after {
    display: none !important;
    content: none !important;
}

ul.products a.add_to_cart_button,
.moje-nowosci p.add-to-cart-button a.button,
.besty p.add-to-cart-button a.button {
    display: block !important;
    width: 80% !important; 
    max-width: 180px !important;
    height: auto !important;
    margin: 15px auto 15px auto !important; 
    padding: 10px 10px !important;
    background-color: transparent !important;
    color: #C5A059 !important; 
    border: 1px solid #C5A059 !important; 
    border-radius: 2px !important; 
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    text-indent: 0 !important; 
    line-height: normal !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    opacity: 1 !important; 
    visibility: visible !important;
}

ul.products a.add_to_cart_button:hover,
.moje-nowosci p.add-to-cart-button a.button:hover,
.besty p.add-to-cart-button a.button:hover {
    background-color: #C5A059 !important;
    color: #ffffff !important; 
    border-color: #C5A059 !important;
}

@media screen and (max-width: 768px) {
    ul.products a.add_to_cart_button,
    .moje-nowosci p.add-to-cart-button a.button,
    .besty p.add-to-cart-button a.button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 10px !important;
        font-size: 10px !important;
    }
}

/* ODBLOKOWANIE PRZYCISKU (THEMIFY) */
html body.woocommerce div.themify_builder_content ul.products li.product p.add-to-cart-button,
html body.woocommerce div.themify_builder_content ul.products li.product p.add-to-cart-button a.button,
html body.woocommerce div.themify_builder_content ul.products li.product a.add_to_cart_button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

/* PRZYCISK KOMPAKTOWY NA STRONĘ GŁÓWNĄ */
.str-glowna-produkty a.add_to_cart_button,
.str-glowna-produkty p.add-to-cart-button a.button {
    padding: 7px 10px !important;
    font-size: 10px !important;
    margin: 8px auto 12px auto !important;
    width: 90% !important;
    max-width: 140px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

/* ========================================================== */
/* UJEDNOLICENIE CZCIONEK PRZYCISKÓW                          */
/* ========================================================== */

body button,
body input[type="submit"],
body input[type="reset"],
body input[type="button"],
body .themify_builder_content button,
body .themify_builder_content input[type="submit"],
body .themify_builder_content input[type="button"],
.indizio-premium-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body.woocommerce ul.products li.product .button,
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body .woocommerce ul.products li.product .button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* ========================================================== */
/* WYRÓWNANIE PRZYCISKÓW W JEDNEJ LINII - OSTATECZNY FIX      */
/* ========================================================== */

ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

ul.products li.product .product-content,
ul.products li.product .product-content-inner-wrapper,
ul.products li.product .product-content-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

ul.products li.product p.add-to-cart-button {
    margin-top: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    line-height: 0 !important;
}

.besty p.add-to-cart-button a.button,
.moje-nowosci p.add-to-cart-button a.button {
    line-height: normal !important;
    min-height: unset !important;
    margin: 15px auto 15px auto !important;
    display: block !important;
}

ul.products li.product .price {
    min-height: 24px !important;
    display: block !important;
}

.add-to-cart-button .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* OSTATECZNE ZABICIE UKRYTEJ PRZESTRZENI W p.add-to-cart-button */
ul.products li.product p.add-to-cart-button {
    font-size: 0 !important;
    line-height: 0 !important;
    margin-top: auto !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.besty p.add-to-cart-button a.button,
.moje-nowosci p.add-to-cart-button a.button {
    font-size: 11px !important;
    line-height: normal !important;
    margin: 15px auto 15px auto !important;
    display: block !important;
}

.add-to-cart-button .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    font-size: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ==============================================================
   OSTATECZNE WYRÓWNANIE PRZYCISKÓW W SEKCJACH "BESTY" I "NOWOŚCI"
   ============================================================== */

/* 1. Wymuszenie elastyczności na wszystkich warstwach Themify W TYCH KONKRETNYCH SEKCJACH */
.besty ul.products li.product .product-content,
.moje-nowosci ul.products li.product .product-content,
.besty ul.products li.product .product-content-inner-wrapper,
.moje-nowosci ul.products li.product .product-content-inner-wrapper,
.besty ul.products li.product .product-content-inner,
.moje-nowosci ul.products li.product .product-content-inner {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    width: 100% !important;
    min-height: 100% !important;
}

/* 2. Zmiażdżenie starych marginesów w kontenerze przycisku */
.besty ul.products li.product .add-to-cart-button,
.moje-nowosci ul.products li.product .add-to-cart-button {
    margin-top: auto !important; /* Sprężyna wypychająca na dół */
    margin-bottom: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 0 !important;
    
    /* Zabicie ukrytych znaków psujących linię bazową */
    font-size: 0 !important;
    line-height: 0 !important;
    
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

/* 3. Nadpisanie starych reguł dla samej ramki przycisku */
.besty ul.products li.product .add-to-cart-button a.button,
.moje-nowosci ul.products li.product .add-to-cart-button a.button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    height: 48px !important;
    min-height: 48px !important;
    width: 100% !important;
    
    /* TO JEST KLUCZ: Nadpisujemy te wymuszone marginesy z buildera */
    margin: 0 !important; 
    padding: 0 10px !important;
    box-sizing: border-box !important;
    
    white-space: nowrap !important;
    font-size: 11px !important;
    line-height: normal !important;
}

/* 4. Ukrycie śmieci z wtyczek */
.besty ul.products li.product .add-to-cart-button .added_to_cart,
.besty ul.products li.product .add-to-cart-button .screen-reader-text,
.moje-nowosci ul.products li.product .add-to-cart-button .added_to_cart,
.moje-nowosci ul.products li.product .add-to-cart-button .screen-reader-text {
    display: none !important;
}
/* ==============================================================
   CENTROWANIE PRZYCISKÓW W SEKCJACH "BESTY" I "NOWOŚCI"
   ============================================================== */

/* 1. Ustawienie kontenera <p> jako centrum dowodzenia */
.besty ul.products li.product .add-to-cart-button,
.moje-nowosci ul.products li.product .add-to-cart-button {
    display: flex !important;
    justify-content: center !important; /* Centrowanie w poziomie */
    align-items: center !important;     /* Centrowanie w pionie */
    width: 100% !important;
    float: none !important;             /* Zabicie ewentualnego floatu */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2. Upewnienie się, że sam przycisk nie ma wymuszonego wyrównania do lewej */
.besty ul.products li.product .add-to-cart-button a.button,
.moje-nowosci ul.products li.product .add-to-cart-button a.button {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important; /* Pozwala na idealne centrowanie tekstu wewnątrz ramki */
}
/* Stylizacja bąbelka z liczbą produktów */
/* IDEALNIE OKRĄGŁY LICZNIK KOSZYKA */
.indizio-cart-count {
    position: absolute !important;
    top: -8px !important; /* Lekka korekta góra/dół */
    right: -12px !important; /* Lekka korekta lewo/prawo */
    background-color: #C5A059 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    
    /* Klucz do koła: identyczna szerokość i wysokość */
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    
    /* Idealne centrowanie cyfry */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    padding: 0 !important; /* Usuwamy winowajcę "jajka" */
    line-height: 1 !important;
    z-index: 99 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25) !important;
}

/* Ukryj licznik, gdy koszyk jest pusty (opcjonalnie) */
.indizio-cart-count:empty,
.indizio-cart-count[value="0"] {
    display: none !important;
}
/* ==============================================================
   GLOBALNA NAPRAWA STYLU PRZYCISKÓW NA KARTACH PRODUKTÓW
   ============================================================== */

/* Wymuszamy złoty styl Indizio i RÓWNĄ WYSOKOŚĆ na WSZYSTKICH przyciskach */
body.woocommerce ul.products li.product a.button,
body.woocommerce ul.products li.product.outofstock a.button,
body.woocommerce ul.products li.product .button {
    background-color: transparent !important;
    color: #C5A059 !important;
    border: 1px solid #C5A059 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important; /* Zmniejszono z 13px, aby pasowało do koszyka */
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    
    /* KLUCZ DO RÓWNYCH PRZYCISKÓW: Zamiast grubego paddingu, dajemy sztywną wysokość */
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    
    transition: all 0.3s ease !important;
    
    /* Gwarantuje, że tekst wewnątrz równej ramki będzie na samym środku */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* Szerokość - aby były tak samo szerokie jak te na stronie głównej */
    width: 80% !important; 
    max-width: 180px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* Zapobiega łamaniu tekstu na dwie linie w węższych kolumnach */
    white-space: nowrap !important; 
}

/* Elegancki efekt najechania myszką (złote tło, biały tekst) */
body.woocommerce ul.products li.product a.button:hover,
body.woocommerce ul.products li.product.outofstock a.button:hover,
body.woocommerce ul.products li.product .button:hover {
    background-color: #C5A059 !important;
    color: #ffffff !important;
    border-color: #C5A059 !important;
}
/* ========================================================== */
/* WYRÓWNANIE PRZYCISKU "DOWIEDZ SIĘ WIĘCEJ" Z "DODAJ DO KOSZYKA" */
/* ========================================================== */

body.woocommerce ul.products li.product a.button.product_type_simple:not(.add_to_cart_button),
body.woocommerce ul.products li.product a.button.product_type_variable:not(.add_to_cart_button) {
    height: 48px !important;
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    width: 80% !important;
    max-width: 180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: auto !important;
}

ul.products li.product .product-content-inner > a.button {
    margin-top: auto !important;
}