/*
Theme Name: Astra Child
Theme URI: http://example.com/astra-child
Description: Astra Child Theme
Author: Twoje Imię
Author URI: http://example.com
Template: astra
Version: 1.0.0
*/

/* Importowanie stylów z motywu rodzica */
@import url("../astra/style.css");


/* ╔═══════════════════════════════════════════════════════════╗
   ║  SPIS TREŚCI                                             ║
   ╠═══════════════════════════════════════════════════════════╣
   ║  1.  GLOBAL & RESET                                      ║
   ║  2.  FONTY & TŁA KATEGORII (.rozowy, .best, .wyprzedaze) ║
   ║  3.  BANER DESKTOP / MOBILE                              ║
   ║  4.  WP COVER BLOCK & FULL-WIDTH ASTRA                   ║
   ║  5.  SIATKA KATEGORII (home-cat-grid)                     ║
   ║  6.  SIATKA PRODUKTÓW (products grid)                     ║
   ║  7.  UKRYCIE DOMYŚLNYCH ELEMENTÓW WOO                    ║
   ║  8.  KARTA PRODUKTU (vena-loop-card)                      ║
   ║      8a. Media & obrazki                                  ║
   ║      8b. Treść karty (tytuł, cena, rozmiary)             ║
   ║      8c. Badge'e                                          ║
   ║      8d. Przycisk ulubionych na karcie                    ║
   ║  9.  SINGLE PRODUCT                                       ║
   ║      9a. Layout 2-kolumnowy                               ║
   ║      9b. Galeria (grid 2×n)                               ║
   ║      9c. Summary – typografia                             ║
   ║      9d. Cena na single product                           ║
   ║      9e. Variation tiles                                  ║
   ║      9f. Qty + Add to cart (1 linia)                      ║
   ║      9g. Przycisk "Dodaj do koszyka"                      ║
   ║      9h. Tabs & related products                          ║
   ║  10. KARUZELA PRODUKTÓW (vena-products-carousel)          ║
   ║  11. HEADER – ikony, wyrównanie, mobile fix               ║
   ║  12. MEGA MENU (desktop)                                  ║
   ║  13. MOBILE MENU                                          ║
   ║  14. STICKY HEADER (mobile)                               ║
   ║  15. STRONA ULUBIONE                                      ║
   ║  16. CHECKOUT – koszyk (shortcode)                        ║
   ║  17. CHECKOUT – review order, shipping, payment tiles     ║
   ║  18. NARZĘDZIE RESIZE                                     ║
   ╚═══════════════════════════════════════════════════════════╝ */


/* =============================================================================
   1. GLOBAL & RESET
   ============================================================================= */

html,
body {
    overflow-x: hidden !important;
}


/* =============================================================================
   2. FONTY & TŁA KATEGORII
   ============================================================================= */

/* --- Single product – delikatne radialne tło --- */

.single-product .site-main {
    position: relative;
    z-index: 1;
}

.single-product .site-main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.4) 0%,
        rgba(255,255,255,0.15) 40%,
        transparent 70%
    );
    pointer-events: none;
}

/* --- Tło: Nowości (niebieski) --- */

.rozowy {
    background:
        repeating-linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.025) 0px,
            rgba(0, 0, 0, 0.025) 1px,
            transparent 1px,
            transparent 6px
        ),
        radial-gradient(
            circle at center,
            #d6e0ef 0%,
            #c0cde1 60%,
            #aebbd0 100%
        );
    box-shadow: inset 0 0 80px rgba(0,0,0,0.05);
}

/* --- Tło: Wyprzedaże (metaliczny) --- */

.wyprzedaze {
    background-color: #B0B6BF;
    background-image:
        linear-gradient(115deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 25%, transparent 40%),
        linear-gradient(300deg, rgba(0,0,0,0.25) 0%, transparent 50%),
        linear-gradient(
            135deg,
            #d4d9e0 0%,
            #b0b6bf 25%,
            #f2f4f7 50%,
            #a2a8b2 75%,
            #d4d9e0 100%
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 4px
        );
}

/* --- Tło: Bestsellery (ciepły beż) --- */

.best {
    background:
        repeating-linear-gradient(
            45deg,
            rgba(0, 0, 0, 0.02) 0px,
            rgba(0, 0, 0, 0.02) 1px,
            transparent 1px,
            transparent 7px
        ),
        radial-gradient(
            circle at center,
            #f2e9dc 0%,
            #e1d4c0 60%,
            #cbbca6 100%
        );
    box-shadow: inset 0 0 80px rgba(0,0,0,0.05);
}

/* --- Cover link helper --- */

.cover-link {
    position: relative;
}

.cover-link a.cover-full-link {
    position: absolute;
    inset: 0;
    z-index: 10;
}


/* =============================================================================
   3. BANER DESKTOP / MOBILE
   ============================================================================= */

.desktop-cover,
.mobile-cover {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.desktop-cover img,
.mobile-cover img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.desktop-cover {
    display: block;
}

.mobile-cover {
    display: none;
}

@media (max-width: 921px) {
    .desktop-cover {
        display: none !important;
    }

    .mobile-cover {
        display: block !important;
        width: 100%;
        min-height: 320px;
    }
}


/* =============================================================================
   4. WP COVER BLOCK & FULL-WIDTH ASTRA
   ============================================================================= */

/* --- WP Cover Block --- */

.wp-block-cover {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.wp-block-cover__inner-container {
    max-width: 100% !important;
}

.wp-block-cover img {
    width: 100% !important;
    height: auto !important;
}

/* --- Full width w Astrze (nie-home) --- */

body:not(.home) .ast-container,
body:not(.home) .site-content .ast-container,
body:not(.home) .ast-page-builder-template .site-content > .ast-container,
body:not(.home) [data-elementor-type="wp-page"] .site-content > .ast-container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 767px) {
    body:not(.home) .ast-container,
    body:not(.home) .site-content .ast-container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

.entry-content > .alignfull {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}


/* =============================================================================
   5. SIATKA KATEGORII (home-cat-grid)
   ============================================================================= */

.home-cat-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.home-cat-grid > .wp-block-column {
    flex: 0 0 calc(25% - 9px) !important;
    max-width: calc(25% - 9px) !important;
    min-width: calc(25% - 9px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-cat-grid .wp-block-cover {
    width: 100% !important;
    min-height: 600px !important;
    height: auto !important;
    overflow: hidden !important;
    position: relative !important;
}

.home-cat-grid .wp-block-cover__image-background,
.home-cat-grid .wp-block-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.home-cat-grid .wp-block-cover__inner-container {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    padding: 20px !important;
    text-align: center !important;
}

.home-cat-grid .wp-block-cover::after {
    content: "";
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.30), rgba(0,0,0,0.05)) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

@media (max-width: 921px) {
    .home-cat-grid > .wp-block-column {
        flex: 0 0 calc(50% - 6px) !important;
        max-width: calc(50% - 6px) !important;
        min-width: calc(50% - 6px) !important;
    }

    .home-cat-grid .wp-block-cover {
        min-height: 300px !important;
    }
}

@media (max-width: 544px) {
    .home-cat-grid .wp-block-cover {
        min-height: 240px !important;
    }
}


/* =============================================================================
   6. SIATKA PRODUKTÓW (products grid)
   ============================================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
    width: calc((100% - 48px) / 3) !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
    list-style: none;
}

@media (max-width: 921px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 16px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: calc((100% - 16px) / 2) !important;
    }
}

@media (max-width: 544px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        gap: 12px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: calc((100% - 12px) / 2) !important;
        flex: 0 0 calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
}


/* =============================================================================
   7. UKRYCIE DOMYŚLNYCH ELEMENTÓW WOO
   ============================================================================= */

/* --- Badge "Wyprzedaż" --- */

.woocommerce ul.products li.product .onsale,
.woocommerce-page ul.products li.product .onsale,
.woocommerce span.onsale,
.woocommerce ul.products li.product .ast-on-card-button.ast-onsale-card,
.woocommerce-page ul.products li.product .ast-on-card-button.ast-onsale-card,
.ast-onsale-card,
.ast-on-card-button[data-notification="default"] {
    display: none !important;
}

/* --- Domyślne elementy pętli WooCommerce --- */

.woocommerce ul.products li.product > a:not(.added_to_cart),
.woocommerce ul.products li.product > .price,
.woocommerce ul.products li.product > .star-rating,
.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > .added_to_cart,
.woocommerce ul.products li.product .star-rating,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .product-cat,
.woocommerce ul.products li.product .category,
.woocommerce ul.products li.product .wc-block-grid__product-onsale,
.woocommerce ul.products li.product .wc-block-grid__product-title,
.woocommerce ul.products li.product .wc-block-grid__product-price,
.woocommerce ul.products li.product .wc-block-grid__product-add-to-cart,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce ul.products li.product .astra-shop-product-out-of-stock,
.woocommerce ul.products li.product .tinv-wraper,
.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .product_type_variable,
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .button.product_type_variable {
    display: none !important;
}

.woocommerce ul.products li.product h2:not(.vena-loop-card__title),
.woocommerce ul.products li.product .price:not(.vena-loop-card__price):not(.vena-loop-card__price .price) {
    display: none !important;
}


/* =============================================================================
   8. KARTA PRODUKTU (vena-loop-card)
   ============================================================================= */

/* ---------- 8a. Wrapper & Media ---------- */

.woocommerce ul.products li.product .vena-loop-card,
.woocommerce-page ul.products li.product .vena-loop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

.woocommerce ul.products li.product .vena-loop-card__media {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

.woocommerce ul.products li.product .vena-loop-card__image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
}

.woocommerce ul.products li.product .vena-loop-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
}

/* --- Hover swap (primary ↔ secondary) --- */

.woocommerce ul.products li.product .vena-loop-card__image--primary,
.woocommerce ul.products li.product .vena-loop-card__image--secondary {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.woocommerce ul.products li.product .vena-loop-card__image--primary {
    opacity: 1;
    z-index: 1;
}

.woocommerce ul.products li.product .vena-loop-card__image--secondary {
    opacity: 0;
    z-index: 2;
}

.woocommerce ul.products li.product:hover .vena-loop-card__image--primary {
    opacity: 0;
    transform: scale(1.02);
}

.woocommerce ul.products li.product:hover .vena-loop-card__image--secondary {
    opacity: 1;
    transform: scale(1.02);
}

.woocommerce ul.products li.product .vena-loop-card__image--primary:only-child {
    position: absolute;
    inset: 0;
    opacity: 1 !important;
    transform: none !important;
}

/* ---------- 8b. Treść karty (tytuł, cena, rozmiary) ---------- */

.woocommerce ul.products li.product .vena-loop-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.vena-loop-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.woocommerce ul.products li.product .vena-loop-card__title {
    margin: 0;
    flex: 1 1 auto;
    font-family: "Afacad Flux", sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.woocommerce ul.products li.product .vena-loop-card__title a {
    color: #000;
    text-decoration: none;
    font-family: "Afacad Flux", sans-serif;
}

.woocommerce ul.products li.product .vena-loop-card__title a:hover {
    opacity: 0.85;
}

.woocommerce ul.products li.product .vena-loop-card__price,
.woocommerce ul.products li.product .vena-loop-card__price .price {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    color: #000;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.woocommerce ul.products li.product .vena-loop-card__price del {
    opacity: 0.45;
    margin-right: 6px;
    font-size: 0.7em;
}

.woocommerce ul.products li.product .vena-loop-card__price ins {
    text-decoration: none;
}

/* --- Rozmiary --- */

.vena-loop-card__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vena-loop-card__size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-family: "Afacad Flux", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    box-sizing: border-box;
}

/* --- Tablet --- */

@media (max-width: 921px) {
    .woocommerce ul.products li.product .vena-loop-card__title {
        font-size: 15px;
    }

    .woocommerce ul.products li.product .vena-loop-card__price,
    .woocommerce ul.products li.product .vena-loop-card__price .price {
        font-size: 24px;
    }

    .vena-loop-card__size {
        min-width: 28px;
        height: 28px;
        font-size: 10px;
    }
}

/* --- Mobile: układ nazwa → rozmiary → cena --- */

@media (max-width: 544px) {
    .woocommerce ul.products li.product .vena-loop-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
    }

    .vena-loop-card__topline {
        display: contents !important;
    }

    .vena-loop-card__title {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .vena-loop-card__sizes {
        order: 2;
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 5px;
        margin-top: 0;
    }

    .vena-loop-card__price {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .woocommerce ul.products li.product .vena-loop-card__title {
        font-size: 14px;
        line-height: 1.3;
        margin: 0 0 2px 0;
    }

    .woocommerce ul.products li.product .vena-loop-card__title a {
        display: block;
        text-align: center;
    }

    .vena-loop-card__size {
        min-width: 26px;
        height: 26px;
        padding: 0 6px;
        font-size: 10px;
    }

    .woocommerce ul.products li.product .vena-loop-card__price,
    .woocommerce ul.products li.product .vena-loop-card__price .price {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 24px;
        line-height: 1;
        font-weight: 500;
    }

    .vena-loop-card__badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .vena-loop-card__badges .vena-loop-card__badge {
        width: 17px;
        min-width: 17px;
        min-height: 38px;
        padding: 2px 1px;
        font-size: 8px;
    }
}

/* ---------- 8c. Badge'e (pionowe) ---------- */

.vena-loop-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 30;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
}

.vena-loop-card__badges .vena-loop-card__badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    min-height: 42px;
    padding: 2px 1px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 0;
    box-shadow: none;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: rotate(180deg) !important;
}

.vena-loop-card__badge--new {
    background: #C0CDE1;
    color: #000;
    border: none;
}

.vena-loop-card__badge--promo {
    background: #B4A7D6;
    color: #000;
    border: none;
}

.vena-loop-card__badge--best {
    background: #e1d4c0;
    color: #000;
    border: none;
}

/* ---------- 8d. Przycisk ulubionych na karcie ---------- */

.vena-loop-card__media {
    position: relative;
}

.vena-loop-card__favorite {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(17,17,17,0.85);
    background: transparent !important;
    border-radius: 0;
    box-shadow: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.vena-loop-card__favorite:hover {
    border-color: rgba(255,255,255,0.9);
}

.vena-loop-card__favorite:focus,
.vena-loop-card__favorite:active {
    outline: none !important;
    box-shadow: none !important;
}

.vena-loop-card__favorite-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.vena-loop-card__favorite-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* default */
.vena-loop-card__favorite-icon svg path {
    fill: none !important;
    stroke: #111 !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

/* active – pudrowy róż */
.vena-loop-card__favorite.is-active {
    border-color: rgba(230,164,180,0.95) !important;
}

.vena-loop-card__favorite.is-active .vena-loop-card__favorite-icon svg path {
    fill: rgba(230,164,180,0.95) !important;
    stroke: rgba(230,164,180,0.95) !important;
}

.vena-loop-card__favorite:active {
    transform: scale(0.96);
}

@media (max-width: 544px) {
    .vena-loop-card__favorite {
        width: 38px;
        height: 38px;
        right: 8px;
        bottom: 8px;
    }

    .vena-loop-card__favorite-icon,
    .vena-loop-card__favorite-icon svg {
        width: 16px;
        height: 16px;
    }
}


/* =============================================================================
   9. SINGLE PRODUCT
   ============================================================================= */

/* ---------- 9a. Layout 2-kolumnowy ---------- */

.single-product div.product.vena-single-product {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 0;
}

.vena-single-product__top {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
    gap: 48px;
    align-items: start;
}

.vena-single-product__gallery-col,
.vena-single-product__summary-col {
    min-width: 0;
}

/* --- Stary layout (WooCommerce domyślny float) – fallback --- */

@media (min-width: 922px) {
    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images {
        width: 42% !important;
        max-width: 42% !important;
        float: left !important;
        margin: 0 !important;
    }

    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 54% !important;
        max-width: 54% !important;
        float: right !important;
        margin: 0 !important;
    }
}

.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    margin-bottom: 24px !important;
}

/* ---------- 9b. Galeria (grid 2×n) ---------- */

.woocommerce div.product .woocommerce-product-gallery,
.woocommerce-page div.product .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image,
.woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image:first-child,
.woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__image:first-child {
    width: 100% !important;
    grid-column: auto !important;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a,
.woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    width: 100% !important;
    cursor: zoom-in;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

.woocommerce div.product .flex-control-thumbs,
.woocommerce-page div.product .flex-control-thumbs {
    display: none !important;
}

.woocommerce div.product .woocommerce-product-gallery__trigger,
.woocommerce-page div.product .woocommerce-product-gallery__trigger {
    display: block !important;
}

.woocommerce div.product .flex-viewport,
.woocommerce-page div.product .flex-viewport {
    overflow: visible !important;
}

/* --- Nowa galeria (vena-product-gallery-grid) --- */

.vena-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.vena-product-gallery-grid__item {
    min-width: 0;
}

.vena-product-gallery-grid__link {
    display: block;
    text-decoration: none;
    background: #f7f7f7;
}

.vena-product-gallery-grid__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

@media (max-width: 921px) {
    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    .woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
    .woocommerce-page div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
        gap: 8px !important;
    }

    .vena-product-gallery-grid {
        gap: 8px;
    }
}

/* ---------- 9c. Summary – typografia ---------- */

.vena-single-product__summary-inner .product_title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.vena-single-product__summary-inner .price {
    margin-bottom: 18px;
    font-family: "Playfair Display", serif;
    color: #111;
}

.vena-single-product__summary-inner .woocommerce-product-details__short-description {
    margin-bottom: 22px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #222;
}

.vena-single-product__summary-inner form.cart {
    margin-top: 20px;
    margin-bottom: 24px;
}

.vena-single-product__summary-inner .variations {
    margin-bottom: 20px;
}

.vena-single-product__summary-inner .variations td,
.vena-single-product__summary-inner .variations th {
    padding: 0 0 10px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 13px;
}

.vena-single-product__summary-inner .single_variation_wrap {
    margin-top: 12px;
}

.vena-single-product__summary-inner .quantity .qty {
    min-height: 44px;
}

.vena-single-product__summary-inner .single_add_to_cart_button.button {
    min-height: 46px;
    padding: 0 26px;
    border-radius: 0;
    background: #000;
    color: #fff;
    border: none;
    font-family: "Afacad Flux", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vena-single-product__summary-inner .product_meta {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #e8e2d8;
    font-family: "Afacad Flux", sans-serif;
    font-size: 12px;
    line-height: 1.7;
    color: #555;
}

/* ---------- 9d. Cena na single product ---------- */

.vena-single-product__summary-inner .price {
    position: relative;
    padding-top: 14px;
    margin-top: 10px;
}

.vena-single-product__summary-inner .price::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e1d4c0;
}

.vena-single-product__summary-inner .price,
.vena-single-product__summary-inner .price .amount {
    font-size: 42px;
    line-height: 1;
    font-weight: 400;
}

.vena-single-product__summary-inner .price del {
    font-size: 0.6em;
    opacity: 0.5;
    margin-right: 8px;
}

.vena-single-product__summary-inner .price ins {
    text-decoration: none;
}

@media (max-width: 544px) {
    .vena-single-product__summary-inner .price,
    .vena-single-product__summary-inner .price .amount {
        font-size: 30px;
    }

    .vena-single-product__summary-inner .price::before {
        width: 100%;
    }
}

/* ---------- 9e. Variation tiles ---------- */

.single-product .variations_form select {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.single-product .variations_form label {
    margin-bottom: 4px;
    display: block;
    font-size: 13px;
    text-transform: uppercase;
}

.vena-variation-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vena-variation-tile {
    border: 1px solid #d8d2ca;
    background: #fff;
    min-width: 46px;
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
    cursor: pointer;
}

.vena-variation-tile:hover {
    border-color: #111;
}

.vena-variation-tile.is-active {
    background: #111;
    color: #fff;
}

.vena-variation-tile.is-disabled {
    opacity: 0.3;
    text-decoration: line-through;
    cursor: not-allowed;
}

.woocommerce-js div.product form.cart .variations {
    border-bottom: 0px solid var(--ast-border-color);
    position: relative;
    margin-bottom: 1em;
    width: 100%;
}

/* ---------- 9f. Qty + Add to cart (1 linia) ---------- */

/* formularz nie może być flexem, bo psuje warianty */
.single-product form.cart,
.vena-single-product__summary-inner form.cart {
    display: block !important;
}

/* wiersz quantity + add to cart */
.single-product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart,
.single-product form.cart .woocommerce-variation-add-to-cart,
.single-product form.cart .variations_button,
.vena-single-product__summary-inner form.cart .single_variation_wrap .woocommerce-variation-add-to-cart,
.vena-single-product__summary-inner form.cart .woocommerce-variation-add-to-cart,
.vena-single-product__summary-inner form.cart .variations_button {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

/* ilość */
.single-product form.cart .quantity,
.vena-single-product__summary-inner form.cart .quantity {
    flex: 0 0 84px !important;
    width: 84px !important;
    margin: 0 !important;
}

/* pole ilości */
.single-product form.cart .quantity .qty,
.vena-single-product__summary-inner form.cart .quantity .qty {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 8px !important;
    border: 1px solid #d8d2ca !important;
    background: #fff !important;
    box-shadow: none !important;
    text-align: center !important;
    font-family: "Afacad Flux", sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    -moz-appearance: textfield;
}

.single-product form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* przycisk */
.single-product form.cart .single_add_to_cart_button.button,
.vena-single-product__summary-inner form.cart .single_add_to_cart_button.button {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

/* warianty / kafelki rozmiaru – zostawiamy w normalnym układzie */
.single-product form.cart .variations,
.single-product form.cart .variations tbody,
.single-product form.cart .variations tr,
.single-product form.cart .variations td,
.single-product form.cart .variations th,
.vena-single-product__summary-inner form.cart .variations,
.vena-single-product__summary-inner form.cart .variations tbody,
.vena-single-product__summary-inner form.cart .variations tr,
.vena-single-product__summary-inner form.cart .variations td,
.vena-single-product__summary-inner form.cart .variations th {
    display: revert !important;
}

@media (max-width: 544px) {
    .single-product form.cart .single_variation_wrap .woocommerce-variation-add-to-cart,
    .single-product form.cart .woocommerce-variation-add-to-cart,
    .single-product form.cart .variations_button,
    .vena-single-product__summary-inner form.cart .single_variation_wrap .woocommerce-variation-add-to-cart,
    .vena-single-product__summary-inner form.cart .woocommerce-variation-add-to-cart,
    .vena-single-product__summary-inner form.cart .variations_button {
        gap: 8px !important;
    }

    .single-product form.cart .quantity,
    .vena-single-product__summary-inner form.cart .quantity {
        flex: 0 0 68px !important;
        width: 68px !important;
    }

    .single-product form.cart .quantity .qty,
    .vena-single-product__summary-inner form.cart .quantity .qty,
    .single-product form.cart .single_add_to_cart_button.button,
    .vena-single-product__summary-inner form.cart .single_add_to_cart_button.button {
        height: 54px !important;
        min-height: 54px !important;
    }

    .single-product form.cart .single_add_to_cart_button.button,
    .vena-single-product__summary-inner form.cart .single_add_to_cart_button.button {
        padding-left: 16px !important;
        padding-right: 16px !important;
        font-size: 12px !important;
        letter-spacing: 0.05em !important;
        width: auto !important;
    }
}

/* ---------- 9g. Przycisk "Dodaj do koszyka" ---------- */

.single_add_to_cart_button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-height: 58px !important;
    padding: 0 30px !important;
    background: #111 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: "Afacad Flux", sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* ikonka koszyka */
.single_add_to_cart_button.button::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e1d4c0'%3E%3Cpath d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2Zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2ZM7.16 14h9.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49A1 1 0 0 0 21.06 5H6.21l-.94-2H1v2h3l3.6 7.59-1.35 2.44A2 2 0 0 0 6 16c0 1.1.9 2 2 2h12v-2H8l1.16-2Z'/%3E%3C/svg%3E");
}

.single_add_to_cart_button.button:hover {
    opacity: 0.92 !important;
}

.single_add_to_cart_button.button:active {
    transform: translateY(1px) !important;
}

.vena-single-product__summary-inner .single_add_to_cart_button.button {
    min-width: 260px;
}

@media (max-width: 544px) {
    .single_add_to_cart_button.button::before {
        width: 17px;
        height: 17px;
        flex-basis: 17px;
    }

    .vena-single-product__summary-inner .single_add_to_cart_button.button {
        min-width: 0;
    }
}

/* ---------- 9h. Tabs & related products ---------- */

.vena-single-product__bottom {
    margin-top: 48px;
}

.vena-single-product__bottom .woocommerce-tabs {
    margin-top: 0;
}

.vena-single-product__bottom .tabs.wc-tabs {
    border-bottom: 1px solid #e8e2d8;
}

.vena-single-product__bottom .tabs.wc-tabs li {
    margin: 0 18px 0 0;
    padding: 0;
    background: none !important;
    border: none !important;
}

.vena-single-product__bottom .tabs.wc-tabs li a {
    padding: 0 0 12px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
}

.vena-single-product__bottom .related.products {
    margin-top: 50px;
}

.vena-single-product__bottom .related.products > h2 {
    margin-bottom: 28px;
    text-align: center;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    font-weight: 400;
    text-transform: uppercase;
}

/* --- Mobile / tablet --- */

@media (max-width: 921px) {
    .single-product div.product.vena-single-product {
        padding: 18px 14px 0;
    }

    .vena-single-product__top {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .vena-single-product__summary-inner .product_title {
        font-size: 28px;
    }

    .vena-single-product__summary-inner .price {
        font-size: 26px;
    }

    .vena-single-product__bottom {
        margin-top: 34px;
    }

    .vena-single-product__bottom .related.products > h2 {
        font-size: 26px;
    }
}


/* =============================================================================
   10. KARUZELA PRODUKTÓW (vena-products-carousel)
   ============================================================================= */

/* ---------- Wrapper & zmienne ---------- */

.vena-products-carousel-wrap {
    --vena-carousel-gap: 24px;
    --vena-carousel-cols: 3;
    --vena-arrow-offset: 10px;
    position: relative;
    width: 100%;
    margin: 40px 0;
}

.vena-products-carousel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.vena-products-carousel__head--no-title {
    justify-content: flex-end;
}

.vena-products-carousel__title {
    margin: 0;
    padding-left: 8px;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 400;
    text-transform: uppercase;
    color: #111;
}

.vena-products-carousel__nav {
    pointer-events: none;
}

/* ---------- Viewport & track ---------- */

.vena-products-carousel {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.vena-products-carousel::-webkit-scrollbar {
    display: none;
}

.vena-products-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(
        (100% - (var(--vena-carousel-gap) * (var(--vena-carousel-cols) - 1)))
        / var(--vena-carousel-cols)
    );
    gap: var(--vena-carousel-gap);
    align-items: stretch;
    will-change: transform;
    transition: transform 0.45s ease;
}

.vena-products-carousel.is-ready .vena-products-carousel__track {
    transition: transform 0.45s ease;
}

.vena-products-carousel__slide {
    min-width: 0;
    width: auto;
    max-width: none;
    box-sizing: border-box;
}

.vena-products-carousel__slide .vena-loop-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: transparent;
}

/* ---------- Strzałki ---------- */

.vena-products-carousel__btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #111;
    border-radius: 0;
    background: rgba(255,255,255,0.94);
    color: #111;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.vena-products-carousel__btn::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.vena-products-carousel__btn--prev {
    left: var(--vena-arrow-offset);
}

.vena-products-carousel__btn--prev::before {
    transform: rotate(-135deg);
    margin-left: 3px;
}

.vena-products-carousel__btn--next {
    right: var(--vena-arrow-offset);
}

.vena-products-carousel__btn--next::before {
    transform: rotate(45deg);
    margin-right: 3px;
}

.vena-products-carousel__btn:hover {
    background: #111;
    color: #e1d4c0;
    border-color: #111;
}

/* ---------- Karuzela – media (obrazki) ---------- */

.vena-products-carousel__slide .vena-loop-card__media {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

.vena-products-carousel__slide .vena-loop-card__image-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
}

.vena-products-carousel__slide .vena-loop-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center !important;
}

.vena-products-carousel__slide .vena-loop-card__image--primary,
.vena-products-carousel__slide .vena-loop-card__image--secondary {
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.vena-products-carousel__slide .vena-loop-card__image--primary {
    opacity: 1;
    z-index: 1;
}

.vena-products-carousel__slide .vena-loop-card__image--secondary {
    opacity: 0;
    z-index: 2;
}

.vena-products-carousel__slide:hover .vena-loop-card__image--primary {
    opacity: 0;
    transform: scale(1.02);
}

.vena-products-carousel__slide:hover .vena-loop-card__image--secondary {
    opacity: 1;
    transform: scale(1.02);
}

.vena-products-carousel__slide .vena-loop-card__image--primary:only-child {
    position: absolute;
    inset: 0;
    opacity: 1 !important;
    transform: none !important;
}

/* ---------- Karuzela – treść ---------- */

.vena-products-carousel__slide .vena-loop-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 6px;
}

.vena-products-carousel__slide .vena-loop-card__topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.vena-products-carousel__slide .vena-loop-card__title {
    margin: 0;
    padding-left: 2px;
    flex: 1 1 auto;
    font-family: "Afacad Flux", sans-serif;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.vena-products-carousel__slide .vena-loop-card__title a {
    color: #000;
    text-decoration: none;
    font-family: "Afacad Flux", sans-serif;
}

.vena-products-carousel__slide .vena-loop-card__title a:hover {
    opacity: 0.85;
}

.vena-products-carousel__slide .vena-loop-card__price,
.vena-products-carousel__slide .vena-loop-card__price .price {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    text-align: right;
    color: #000;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.vena-products-carousel__slide .vena-loop-card__price del {
    opacity: 0.45;
    margin-right: 6px;
    font-size: 0.7em;
}

.vena-products-carousel__slide .vena-loop-card__price ins {
    text-decoration: none;
}

/* ---------- Karuzela – rozmiary ---------- */

.vena-products-carousel__slide .vena-loop-card__sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vena-products-carousel__slide .vena-loop-card__size {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    border: 1px solid #111;
    background-color: transparent;
    color: #111;
    font-family: "Afacad Flux", sans-serif;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    box-sizing: border-box;
    text-decoration: none;
}

/* ---------- Karuzela – badge'e ---------- */

.vena-products-carousel__slide .vena-loop-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 30;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
}

.vena-products-carousel__slide .vena-loop-card__badges .vena-loop-card__badge {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    min-height: 42px;
    padding: 2px 1px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 0;
    box-shadow: none;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: rotate(180deg) !important;
}

.vena-products-carousel__slide .vena-loop-card__badge--new {
    background: #C0CDE1;
    color: #000;
    border: none;
}

.vena-products-carousel__slide .vena-loop-card__badge--promo {
    background: #e1d4c0;
    color: #000;
    border: 1px solid #000;
}

.vena-products-carousel__slide .vena-loop-card__badge--best {
    background: #e1d4c0;
    color: #000;
    border: none;
}

/* ---------- Karuzela – tablet ---------- */

@media (max-width: 921px) {
    .vena-products-carousel-wrap {
        --vena-carousel-gap: 16px;
        --vena-carousel-cols: 2;
        --vena-arrow-offset: 8px;
    }

    .vena-products-carousel__title {
        font-size: 26px;
        padding-left: 6px;
    }

    .vena-products-carousel__slide .vena-loop-card__title {
        font-size: 15px;
    }

    .vena-products-carousel__slide .vena-loop-card__price,
    .vena-products-carousel__slide .vena-loop-card__price .price {
        font-size: 24px;
    }

    .vena-products-carousel__slide .vena-loop-card__size {
        min-width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .vena-products-carousel__btn {
        width: 40px;
        height: 40px;
    }
}

/* ---------- Karuzela – mobile ---------- */

@media (max-width: 544px) {
    .vena-products-carousel-wrap {
        --vena-carousel-gap: 12px;
        --vena-carousel-cols: 2;
        --vena-arrow-offset: 6px;
        margin: 28px 0;
    }

    .vena-products-carousel__head {
        margin-bottom: 16px;
    }

    .vena-products-carousel__title {
        font-size: 22px;
        padding-left: 4px;
    }

    .vena-products-carousel__slide .vena-loop-card__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-align: center;
        padding-left: 4px;
        padding-right: 4px;
    }

    .vena-products-carousel__slide .vena-loop-card__topline {
        display: contents !important;
    }

    .vena-products-carousel__slide .vena-loop-card__title {
        order: 1;
        width: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 1.3;
        margin: 0 0 2px 0;
        padding-left: 0;
    }

    .vena-products-carousel__slide .vena-loop-card__title a {
        display: block;
        text-align: center;
    }

    .vena-products-carousel__slide .vena-loop-card__sizes {
        order: 2;
        width: 100%;
        justify-content: center;
        text-align: center;
        gap: 5px;
        margin-top: 0;
    }

    .vena-products-carousel__slide .vena-loop-card__price {
        order: 3;
        width: 100%;
        text-align: center;
    }

    .vena-products-carousel__slide .vena-loop-card__size {
        min-width: 26px;
        height: 26px;
        padding: 0 6px;
        font-size: 10px;
    }

    .vena-products-carousel__slide .vena-loop-card__price,
    .vena-products-carousel__slide .vena-loop-card__price .price {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 24px;
        line-height: 1;
        font-weight: 500;
    }

    .vena-products-carousel__slide .vena-loop-card__badges {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .vena-products-carousel__slide .vena-loop-card__badges .vena-loop-card__badge {
        width: 17px;
        min-width: 17px;
        min-height: 38px;
        padding: 2px 1px;
        font-size: 8px;
    }

    .vena-products-carousel__btn {
        width: 34px;
        height: 34px;
    }

    .vena-products-carousel__btn::before {
        width: 8px;
        height: 8px;
    }
}


/* =============================================================================
   11. HEADER – ikony, wyrównanie, mobile fix
   ============================================================================= */

/* ---------- Ikony serce / koszyk – style ---------- */

.vena-favorites-header,
.vena-cart-header {
    color: #111;
    box-sizing: border-box;
}

.vena-favorites-header__icon svg path {
    fill: none;
    stroke: #111;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vena-cart-header__icon svg path,
.vena-cart-header__icon svg circle {
    fill: none;
    stroke: #111;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vena-favorites-header__count,
.vena-cart-header__count {
    background: #e1d4c0;
    color: #111;
    font-family: "Afacad Flux", sans-serif;
    border-radius: 0;
}

.vena-favorites-header__count.is-hidden,
.vena-cart-header__count.is-hidden {
    display: none;
}

.vena-favorites-header:hover,
.vena-cart-header:hover {
    opacity: 0.85;
}

/* ---------- Wyrównanie ikon do logo (desktop) ---------- */

.site-header-section.ast-flex.ast-grid-right-section,
.site-header-section.ast-flex.ast-grid-right-center-section {
    display: flex !important;
    align-items: center !important;
}

.site-header-primary-section-right,
.ast-builder-grid-row-section-right {
    padding-right: 24px !important;
}

.ast-primary-header-bar,
.site-primary-header-wrap {
    position: relative !important;
}

.site-primary-header-wrap .ast-builder-grid-row {
    position: relative;
    min-height: 140px;
}

.site-header-primary-section-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header-primary-section-right {
    position: absolute !important;
    top: 50% !important;
    right: 24px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 20;
}

.header-widget-area,
.header-widget-area-inner,
.header-widget-area .widget,
.header-widget-area .widget_block {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    height: auto !important;
}

.header-widget-area p {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ukryj spacer psujący header */
.header-widget-area #block-23,
.header-widget-area .wp-block-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- Kontener ikon ---------- */

.vena-header-icons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-4px);
}

.vena-favorites-header,
.vena-cart-header {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.vena-favorites-header__icon,
.vena-cart-header__icon,
.vena-favorites-header__icon svg,
.vena-cart-header__icon svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.vena-favorites-header__count,
.vena-cart-header__count {
    position: absolute !important;
    top: -6px !important;
    right: -8px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    box-sizing: border-box !important;
}

/* ---------- Header – mobile fix ---------- */

@media (max-width: 921px) {
    .site-primary-header-wrap .ast-builder-grid-row {
        min-height: unset !important;
        height: auto !important;
        align-items: center !important;
    }

    .site-header-primary-section-right {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding-right: 16px !important;
    }

    .site-header-primary-section-right,
    .ast-builder-grid-row-section-right,
    .site-header-section.ast-flex.ast-grid-right-section,
    .site-header-section.ast-flex.ast-grid-right-center-section {
        padding-right: 16px !important;
    }

    .header-widget-area,
    .header-widget-area-inner {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-widget-area .widget,
    .header-widget-area .widget_block {
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-widget-area p {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .vena-header-icons {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateY(-10px) !important;
    }

    .vena-favorites-header,
    .vena-cart-header {
        width: 30px !important;
        height: 30px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .vena-favorites-header__icon,
    .vena-cart-header__icon,
    .vena-favorites-header__icon svg,
    .vena-cart-header__icon svg {
        width: 22px !important;
        height: 22px !important;
    }

    .vena-favorites-header__count,
    .vena-cart-header__count {
        top: -5px !important;
        right: -6px !important;
        min-width: 15px !important;
        height: 15px !important;
        font-size: 9px !important;
    }
}


/* =============================================================================
   12. MEGA MENU (desktop)
   ============================================================================= */

/* --- Strzałka przy "Kategorie" --- */

li.menu-item-has-custom-mega > a.menu-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

li.menu-item-has-custom-mega > a.menu-link::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
    display: inline-block;
    margin-left: 2px;
}

li.menu-item-has-custom-mega.is-open > a.menu-link::after {
    transform: rotate(-135deg) translateY(-1px);
}

/* --- Panel mega menu --- */

.vena-mega-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    min-width: 900px;
    max-width: 1180px;
    background: #fff;
    border-top: 1px solid #ece7df;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    padding: 26px 0 28px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.vena-mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.vena-mega-menu__inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    grid-auto-columns: minmax(130px, 180px);
    gap: 8px 16px;
    align-items: start;
}

.vena-mega-col__title {
    margin: 0 0 10px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}

.vena-mega-col__title a {
    color: #111;
    text-decoration: none;
}

.vena-mega-col__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vena-mega-col__link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-family: "Afacad Flux", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

.vena-mega-col__link:hover,
.vena-mega-col__title a:hover {
    color: #000;
    opacity: 0.8;
}

@media (max-width: 1100px) {
    .vena-mega-menu {
        min-width: 760px;
        max-width: 960px;
    }

    .vena-mega-menu__inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 921px) {
    .vena-mega-menu {
        min-width: 680px;
        max-width: 90vw;
    }

    .vena-mega-menu__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .vena-mega-menu {
        display: none !important;
    }
}


/* =============================================================================
   13. MOBILE MENU
   ============================================================================= */

@media (max-width: 921px) {
    .ast-builder-menu-mobile,
    .main-header-bar-navigation {
        display: none !important;
    }

    html.vena-mobile-menu-open,
    body.vena-mobile-menu-open {
        overflow: hidden;
        height: 100%;
    }

    .vena-mobile-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        height: calc(100dvh - 80px);
        background: #f5f5f5;
        z-index: 99998;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            visibility 0.22s ease;
    }

    .vena-mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .vena-mobile-menu__inner {
        padding: 0;
        min-height: 100%;
    }

    .vena-mobile-menu__row,
    .vena-mobile-cat__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 42px;
        padding: 0 12px;
        border: 0;
        border-top: 1px solid rgba(255,255,255,0.9);
        background: #d9cdb8;
        color: #111;
        text-decoration: none;
        font-family: "Afacad Flux", sans-serif;
        font-size: 15px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.01em;
        text-align: left;
        cursor: pointer;
    }

    .vena-mobile-menu__row:hover,
    .vena-mobile-cat__toggle:hover {
        color: #111;
        text-decoration: none;
    }

    .vena-mobile-menu__section--categories {
        background: #fff;
        margin-top: 0;
    }

    .vena-mobile-menu__row--category,
    .vena-mobile-cat__toggle {
        background: #fff;
        border-top: 1px solid #e5e5e5;
        min-height: 48px;
        padding: 0 12px;
        font-size: 15px;
        font-weight: 400;
        color: #111;
    }

    .vena-mobile-cat__label {
        display: block;
        font-weight: 400;
    }

    /* --- Ikona +/- --- */

    .vena-mobile-cat__icon {
        position: relative;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .vena-mobile-cat__icon::before,
    .vena-mobile-cat__icon::after {
        content: "";
        position: absolute;
        background: #111;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .vena-mobile-cat__icon::before {
        width: 12px;
        height: 2px;
    }

    .vena-mobile-cat__icon::after {
        width: 2px;
        height: 12px;
    }

    .vena-mobile-cat.is-open .vena-mobile-cat__icon::after {
        opacity: 0;
    }

    /* --- Panel podkategorii --- */

    .vena-mobile-cat__panel {
        display: none;
        background: #fff;
        border-top: 1px solid #efefef;
        padding: 4px 0 8px;
    }

    .vena-mobile-cat.is-open .vena-mobile-cat__panel {
        display: block;
    }

    .vena-mobile-cat__child {
        display: block;
        padding: 8px 12px 8px 24px;
        color: #333;
        text-decoration: none;
        font-family: "Afacad Flux", sans-serif;
        font-size: 12px;
        line-height: 1.35;
        background: #fff;
    }

    .vena-mobile-cat__child--all {
        font-weight: 500;
    }

    .vena-mobile-cat__child:hover {
        color: #111;
        text-decoration: none;
    }
}

@media (min-width: 922px) {
    .vena-mobile-menu {
        display: none !important;
    }
}


/* =============================================================================
   14. STICKY HEADER (mobile)
   ============================================================================= */

@media (max-width: 921px) {
    #masthead {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99997 !important;
        background: #fff !important;
        border-bottom: 1px solid #ece7df;
    }

    body {
        padding-top: 100px;
    }
}

@media (min-width: 922px) {
    #masthead {
        position: relative !important;
        top: auto !important;
    }

    body {
        padding-top: 0 !important;
    }
}


/* =============================================================================
   15. STRONA ULUBIONE
   ============================================================================= */

.vena-favorites-page {
    padding: 10px 0 20px;
}

.vena-favorites-page__header {
    margin-bottom: 28px;
    text-align: center;
}

.vena-favorites-page__title {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 400;
    text-transform: uppercase;
    color: #111;
}

.vena-favorites-page__subtitle {
    margin: 0;
    font-family: "Afacad Flux", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.vena-favorites-page__empty {
    padding: 42px 20px;
    text-align: center;
    border: 1px solid #ece7df;
    background: #fff;
}

.vena-favorites-page__empty p {
    margin: 0 0 18px;
    font-family: "Afacad Flux", sans-serif;
    font-size: 15px;
    color: #333;
}

.vena-favorites-page__back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-family: "Afacad Flux", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vena-favorites-page__back-button:hover {
    color: #fff;
    opacity: 0.92;
    text-decoration: none;
}

.vena-favorites-page__grid {
    margin: 0;
    padding: 0;
}


/* =============================================================================
   16. CHECKOUT – koszyk (shortcode)
   ============================================================================= */

.vena-checkout-cart {
    margin-bottom: 32px;
    padding: 20px;
    border: 1px solid #ece7df;
    background: #fff;
}

.vena-checkout-cart__title {
    margin: 0 0 18px;
    font-size: 22px;
    line-height: 1.2;
}

.vena-checkout-cart__table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vena-checkout-cart__row {
    display: grid;
    grid-template-columns: 28px 90px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0ebe4;
}

.vena-checkout-cart__remove-col {
    display: flex;
    align-items: start;
    justify-content: center;
    padding-top: 6px;
}

.vena-checkout-cart__remove {
    border: 0;
    background: transparent;
    color: #111;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.vena-checkout-cart__remove:hover {
    opacity: 0.65;
}

.vena-checkout-cart__image {
    width: 100%;
}

.vena-checkout-cart__image a {
    display: block;
}

.vena-checkout-cart__image img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: center;
}

.vena-checkout-cart__content {
    min-width: 0;
}

.vena-checkout-cart__name a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.3;
}

.vena-checkout-cart__meta {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

.vena-checkout-cart__price {
    margin-top: 8px;
    font-size: 16px;
}

.vena-checkout-cart__qty-wrap {
    margin-top: 12px;
}

/* --- Custom +/- quantity --- */

.vena-qty {
    display: inline-grid;
    grid-template-columns: 40px 56px 40px;
    align-items: stretch;
    border: 1px solid #d8d2ca;
    height: 40px;
    background: #fff;
}

.vena-qty__btn {
    border: 0;
    background: #fff;
    color: #111;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.vena-qty__btn:hover {
    background: #f7f5f2;
}

.vena-qty__input {
    width: 100%;
    min-height: 38px;
    height: 38px;
    border: 0 !important;
    border-left: 1px solid #d8d2ca !important;
    border-right: 1px solid #d8d2ca !important;
    padding: 0 6px;
    text-align: center;
    font-size: 14px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.vena-qty__input::-webkit-outer-spin-button,
.vena-qty__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Footer koszyka (kupon, subtotal) --- */

.vena-checkout-cart__footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: end;
    margin-top: 20px;
}

.vena-checkout-cart__coupon {
    display: flex;
    gap: 10px;
}

.vena-checkout-cart__coupon input {
    min-width: 220px;
    min-height: 42px;
    padding: 0 12px;
}

.vena-checkout-cart__coupon button,
.vena-checkout-cart__update button {
    min-height: 42px;
    padding: 0 18px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
}

.vena-checkout-cart__totals {
    text-align: right;
}

.vena-checkout-cart__subtotal-label {
    font-size: 13px;
    color: #666;
}

.vena-checkout-cart__subtotal-value {
    font-size: 22px;
    line-height: 1.1;
}

/* --- Kupon jako wiersz w koszyku --- */

.vena-checkout-cart__row--coupon {
    opacity: 0.95;
}

.vena-checkout-cart__remove-placeholder {
    display: block;
    width: 12px;
    height: 12px;
}

.vena-checkout-cart__coupon-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #f1ede7, #e5ddd1);
    border: 1px solid #e0d8cd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

.vena-checkout-cart__coupon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 36px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.08);
    color: #111;
    font-family: "Afacad Flux", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}

.vena-checkout-cart__name--coupon {
    font-weight: 600;
}

.vena-checkout-cart__price--coupon {
    color: #111;
}

/* --- Checkout cart – mobile --- */

@media (max-width: 767px) {
    .vena-checkout-cart {
        padding: 14px;
    }

    .vena-checkout-cart__row {
        grid-template-columns: 24px 72px minmax(0, 1fr);
        gap: 10px;
        padding-bottom: 14px;
    }

    .vena-checkout-cart__remove {
        font-size: 20px;
    }

    .vena-checkout-cart__image img {
        height: 96px;
    }

    .vena-checkout-cart__name a {
        font-size: 14px;
    }

    .vena-checkout-cart__meta {
        font-size: 12px;
    }

    .vena-checkout-cart__price {
        font-size: 15px;
    }

    .vena-checkout-cart__qty-wrap {
        margin-top: 10px;
    }

    .vena-qty {
        grid-template-columns: 36px 48px 36px;
        height: 36px;
    }

    .vena-qty__btn {
        font-size: 16px;
    }

    .vena-qty__input {
        min-height: 34px;
        height: 34px;
        font-size: 13px;
    }

    .vena-checkout-cart__footer {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .vena-checkout-cart__coupon {
        flex-direction: column;
    }

    .vena-checkout-cart__coupon input {
        min-width: 0;
        width: 100%;
    }

    .vena-checkout-cart__totals {
        text-align: left;
    }

    .vena-checkout-cart__coupon-image {
        height: 96px;
    }

    .vena-checkout-cart__coupon-badge {
        min-width: 54px;
        min-height: 30px;
        font-size: 15px;
        padding: 5px 8px;
    }
}


/* =============================================================================
   17. CHECKOUT – review order, shipping, payment tiles
   ============================================================================= */

.woocommerce-checkout-review-order {
    border: 1px solid #e7ddd0;
    background: #fff;
    padding: 28px 24px;
}

#order_review_heading {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 400;
    text-transform: uppercase;
    color: #111;
}

/* --- Ukrycie domyślnych wierszy tabeli --- */

.woocommerce-checkout-review-order-table {
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table .cart_item,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total {
    display: none !important;
}

/* ukryj kupon w sekcji review */
.woocommerce-checkout-review-order-table .cart-discount,
.woocommerce-checkout-review-order-table tr[class*="cart-discount"],
.woocommerce-checkout-review-order-table .discount,
.woocommerce-checkout-review-order-table tr.coupon,
.woocommerce-checkout-review-order-table tr[class*="coupon"] {
    display: none !important;
}

/* --- Sekcja wysyłki --- */

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
    margin: 0 0 14px !important;
    font-family: "Afacad Flux", sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
}

/* --- Listy: shipping & payment --- */

#shipping_method,
.wc_payment_methods,
.woocommerce-checkout #payment ul.wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#shipping_method {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px !important;
}

.wc_payment_methods,
.woocommerce-checkout #payment ul.wc_payment_methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
}

#shipping_method li,
.wc_payment_methods > li,
.woocommerce-checkout #payment ul.wc_payment_methods > li {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* --- Ukrycie natywnych radio --- */

#shipping_method input[type="radio"],
#shipping_method input[type="checkbox"],
.wc_payment_methods input[type="radio"],
.wc_payment_methods input[type="checkbox"],
.woocommerce-checkout #payment input[type="radio"],
.woocommerce-checkout #payment input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* --- Kafelki (label) --- */

#shipping_method li label,
.wc_payment_methods > li > label,
.woocommerce-checkout #payment ul.wc_payment_methods > li > label {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    width: 100% !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    background: #fff !important;
    border: 1px solid #ddd1c2 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    color: #111 !important;
    text-align: left !important;
    font-family: "Afacad Flux", sans-serif !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease !important;
    outline: none !important;
}

/* usuń pseudo-elementy pluginów */
#shipping_method li label::before,
#shipping_method li label::after,
#shipping_method li label *::before,
#shipping_method li label *::after,
.wc_payment_methods > li > label::before,
.wc_payment_methods > li > label::after,
.wc_payment_methods > li > label *::before,
.wc_payment_methods > li > label *::after,
.woocommerce-checkout #payment label::before,
.woocommerce-checkout #payment label::after,
.woocommerce-checkout #payment label *::before,
.woocommerce-checkout #payment label *::after {
    content: none !important;
    display: none !important;
}

#shipping_method li label *,
.wc_payment_methods > li > label *,
.woocommerce-checkout #payment label * {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

#shipping_method li label:hover,
.wc_payment_methods > li > label:hover,
.woocommerce-checkout #payment ul.wc_payment_methods > li > label:hover {
    border-color: #cbb79f !important;
    background: #fcfaf7 !important;
}

/* --- Aktywny kafelek --- */

#shipping_method li.vena-choice--active label,
.wc_payment_methods > li.vena-choice--active > label,
.woocommerce-checkout #payment ul.wc_payment_methods > li.vena-choice--active > label,
#shipping_method input[type="radio"]:checked + label,
.wc_payment_methods input[type="radio"]:checked + label {
    background: #e1d4c0 !important;
    border-color: #bfa88d !important;
    box-shadow: inset 0 0 0 1px #bfa88d !important;
    color: #111 !important;
}

/* --- Shipping: tekst i cena --- */

#shipping_method li label {
    justify-content: space-between !important;
    padding-left: 10px !important;
    padding-right: 20px !important;
    text-indent: 0 !important;
}

#shipping_method li.vena-choice--active label {
    padding-left: 10px !important;
}

#shipping_method li label > * {
    margin-left: 0 !important;
}

#shipping_method li label .amount,
#shipping_method li label .woocommerce-Price-amount {
    margin-left: auto !important;
    font-family: "Playfair Display", serif !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    color: #111 !important;
}

/* --- Payment wrapper --- */

.woocommerce-checkout #payment {
    margin-top: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.woocommerce-checkout #payment::before,
.woocommerce-checkout #payment::after {
    display: none !important;
    content: none !important;
}

.wc_payment_methods > li > label img,
.woocommerce-checkout #payment ul.wc_payment_methods > li > label img {
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 10px !important;
    margin-right: 0 !important;
    max-height: 24px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    box-shadow: none !important;
    border: 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
    margin: 8px 0 0 !important;
    padding: 16px 18px !important;
    background: #f7f1ea !important;
    border: 1px solid #e4d9cc !important;
    box-shadow: none !important;
    color: #333 !important;
    font-family: "Afacad Flux", sans-serif !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
}

.woocommerce-checkout #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::after {
    display: none !important;
    content: none !important;
}

.woocommerce-checkout #payment div.payment_box p {
    margin: 0 !important;
}

/* --- Finalna kwota nad przyciskiem --- */

.vena-checkout-final-total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0 16px;
    padding: 16px 0 0;
    border-top: 1px solid #e4d9cc;
}

.vena-checkout-final-total__label {
    font-family: "Afacad Flux", sans-serif;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #111;
}

.vena-checkout-final-total__value,
.vena-checkout-final-total__value .amount,
.vena-checkout-final-total__value .woocommerce-Price-amount {
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
    color: #111;
}

.vena-checkout-final-total__value ins {
    text-decoration: none;
}

.vena-checkout-final-total__value del {
    opacity: 0.45;
    margin-right: 8px;
    font-size: 0.7em;
}

/* --- Przycisk "Zamawiam" --- */

.woocommerce-checkout #payment #place_order,
.woocommerce-checkout .place-order .button,
.woocommerce-checkout .place-order button[type="submit"] {
    width: 100% !important;
    min-height: 56px !important;
    margin-top: 22px !important;
    padding: 0 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-family: "Afacad Flux", sans-serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout .place-order .button:hover,
.woocommerce-checkout .place-order button[type="submit"]:hover {
    opacity: 0.92;
}

/* --- Checkout – mobile --- */

@media (max-width: 767px) {
    .woocommerce-checkout-review-order {
        padding: 18px 14px !important;
    }

    #order_review_heading {
        font-size: 26px !important;
        margin-bottom: 16px !important;
    }

    #shipping_method {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 24px !important;
    }

    #shipping_method li label,
    .wc_payment_methods > li > label,
    .woocommerce-checkout #payment ul.wc_payment_methods > li > label {
        min-height: 58px !important;
        padding: 15px 14px !important;
        font-size: 14px !important;
    }

    #shipping_method li label,
    #shipping_method li.vena-choice--active label {
        padding-left: 10px !important;
        padding-right: 14px !important;
    }

    #shipping_method li label .amount,
    #shipping_method li label .woocommerce-Price-amount {
        font-size: 20px !important;
    }

    .woocommerce-checkout #payment div.payment_box {
        padding: 14px !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
    }

    .vena-checkout-final-total {
        margin: 18px 0 14px;
        padding-top: 14px;
        align-items: center;
    }

    .vena-checkout-final-total__label {
        font-size: 11px;
    }

    .vena-checkout-final-total__value,
    .vena-checkout-final-total__value .amount,
    .vena-checkout-final-total__value .woocommerce-Price-amount {
        font-size: 28px;
    }
}


/* =============================================================================
   18. NARZĘDZIE RESIZE
   ============================================================================= */

#resize-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

#resize-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

#resize-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    bottom: 0;
    right: 0;
    background-color: #000;
    cursor: se-resize;
}