/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/
select#wom_mielenie_opcja { color: #000 !important; }
.woocommerce .quantity input.qty { color: #000 !important; }
.szybkiezakupy { cursor: pointer;}
span.product-badge.badge-nowosc {
 display: none !important;
}
.wcpt-qty-stepper {
    border-bottom: 0;
    padding: 0;
}
.icon-add-to-cart {
    display: inline-flex;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
tr.wcpt-heading-row {
    display: none;
}
.icon-add-to-cart:hover {
    transform: translateY(-3px) scale(1.08);
}

.icon-add-to-cart:active {
    transform: translateY(-1px) scale(1.02);
}
p.stock.in-stock { display: none; }
span.wpcf7-list-item-label {    font-size: 13px;}
.wpcf7-submit { width: 100% !important; }
.wpt_action input.input-text.qty.text { color: #000 !important;}
.mfn-arrows-standard .swiper-button-next, .mfn-arrows-standard .swiper-button-prev {
    position: static;
    align-self: normal;
    margin-top: 11%;
}
.woocommerce span.onsale { display: none !important; }

.woocommerce div.product form.cart,
form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.woocommerce div.product form.cart .wom-opcja-mielenia,
form.cart .wom-opcja-mielenia {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    order: -1 !important;
    margin: 0 0 15px 0 !important;
}

.woocommerce div.product form.cart .quantity,
form.cart .quantity {
    order: 1 !important;
    flex: 0 0 auto !important;
    width: auto !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button,
form.cart .single_add_to_cart_button {
    order: 2 !important;
    flex: 1 1 auto !important;
    width: auto !important;
}

.wom-opcja-mielenia .wom-tytul {
    display: block;
    margin: 0 0 8px 0;
}

.wom-opcja-mielenia .wom-select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
}









h2.title.mfn-mask-shape {    display: table;    white-space: nowrap;}

h2.title.mfn-mask-shape::before,
h2.title.mfn-mask-shape::after {
    border-top: 2px solid #000;
    content: '';
    display: table-cell;
    position: relative;
    top: 0.5em;
    width: 45%;
}

h2.title.mfn-mask-shape::before {
    right: 1.5%;
}

h2.title.mfn-mask-shape::after {
    left: 1.5%;
}


.product-tag-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.product-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 80px !important;      /* stała szerokość - dostosuj wg potrzeb */
    flex: 0 0 20px !important;
    padding: 3px 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    border-radius: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;     /* jeśli tekst nie zmieści się, obetnie z "..." */
    text-align: center;
    box-sizing: border-box;
}

.badge-nowosc     { background: #40E0D0; }
.badge-promocja   { background: #F958B8; }
.badge-washed     { background: #0092E3; }
.badge-natural    { background: #FF643C; }
.badge-experimental   { background: #B583F4; }

/* Zapewnij, że kontener obrazka ma position: relative - potrzebne do pozycjonowania badge */
.woocommerce-product-gallery__image,
.mfn-woo-product-image,
.product-image-badge-wrap {
    position: relative;
}

/* Mniejszy rozmiar na stronie pojedynczego produktu (większe zdjęcie = mniejsze proporcjonalnie badge) */
.single-product .product-tag-badges {
    top: 15px;
    left: 15px;
}

.single-product .product-badge {
    padding: 0px 16px;
    font-size: 11px;
}

.mfn-cart-holder .product-tag-badges {
    display: none !important;
}
a.added_to_cart.wc-forward { display: none; }