/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* =========================================
   ANAISTYLE – kolory produktów
   ========================================= */

.anaistyle-product-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;

    margin-top: 12px;
    margin-bottom: 8px;
}


/* =========================================
   PODSTAWOWE KÓŁKO
   ========================================= */

.anaistyle-color-swatch {
    display: inline-block;

    width: 22px;
    height: 22px;

    flex: 0 0 22px;

    border: 0,5px solid #111111 !important;
    outline: none !important;

    border-radius: 50%;

    box-sizing: border-box;
}


/* =========================================
   PANTERKA
   ========================================= */

.anaistyle-color-swatch.anaistyle-panterka {
    background-color: #c89a5d !important;

    background-image:
        radial-gradient(
            ellipse at 27% 28%,
            #1e1712 0 9%,
            #755033 10% 17%,
            transparent 18%
        ),
        radial-gradient(
            ellipse at 72% 24%,
            #211710 0 8%,
            #71492c 9% 15%,
            transparent 16%
        ),
        radial-gradient(
            ellipse at 70% 71%,
            #1e1712 0 10%,
            #755033 11% 18%,
            transparent 19%
        ),
        radial-gradient(
            ellipse at 25% 75%,
            #251911 0 7%,
            #805438 8% 15%,
            transparent 16%
        ) !important;
}


/* =========================================
   BIAŁO-CZARNY
   ========================================= */

.anaistyle-color-swatch.anaistyle-bialo-czarny {
    background:
        repeating-linear-gradient(
            135deg,
            #111111 0,
            #111111 7px,
            #ffffff 7px,
            #ffffff 14px
        ) !important;
}

.anaistyle-product-colors .anaistyle-color-swatch {
    border: 1px solid #bba995 !important;
    box-sizing: border-box;
}


.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins *,
.woocommerce-page ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins * {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Cena wybranego wariantu */
.single-product .woocommerce-variation-price .price {
    color: #9b7147 !important;
    font-size: 32px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
}

/* Aktualna cena wariantu */
.single-product .woocommerce-variation-price .price ins,
.single-product .woocommerce-variation-price .price ins .woocommerce-Price-amount {
    color: #9b7147 !important;
    font-size: inherit !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

/* Stara cena przed promocją */
.single-product .woocommerce-variation-price .price del,
.single-product .woocommerce-variation-price .price del .woocommerce-Price-amount {
    color: #9b7147 !important;
    font-size: inherit !important;
    opacity: 0.65;
}

.single-product .woocommerce-variation-availability {
    display: none !important;
}

.single-product .woocommerce-variation-price {
    margin-bottom: 20px !important;
}


/* Anaistyle – montserat w kasie i koszyku */
.single-product .woocommerce-variation-description,
.single-product .woocommerce-variation-description p,
.single-product .woocommerce-variation-description span,
.single-product .woocommerce-variation-description div {
    font-family: "Montserrat", sans-serif !important;
}

/* Anaistyle – ukrycie wyboru dostawy tylko w koszyku */
body.woocommerce-cart .elementor-widget-woocommerce-cart .woocommerce-shipping-totals.shipping,
body.woocommerce-cart .elementor-widget-woocommerce-cart tr.woocommerce-shipping-totals,
body.woocommerce-cart .elementor-widget-woocommerce-cart tr.shipping {
    display: none !important;
}


}

/* Anaistyle – poprawka przycisków po filtrowaniu JetSmartFilters */

.elementor-widget-woocommerce-products ul.products li.product,
.elementor-products-grid ul.products li.product {
    align-items: flex-start !important;
}

.elementor-widget-woocommerce-products ul.products li.product a.button,
.elementor-widget-woocommerce-products ul.products li.product .button,
.elementor-products-grid ul.products li.product a.button,
.elementor-products-grid ul.products li.product .button {
    display: inline-flex !important;
    width: fit-content !important;
    min-width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    justify-self: start !important;
}

.single-product .summary .price,
.single-product .summary .price *,
.single-product .woocommerce-variation-price .price,
.single-product .woocommerce-variation-price .price * {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 25px !important;
    color: #802246 !important;
    font-weight: 500 !important;
}

/* =========================================
   ANAI STYLE - CENA PRODUKTU
   ========================================= */

.single-product .summary .price,
.single-product .summary .price *,
.single-product .woocommerce-variation-price .price,
.single-product .woocommerce-variation-price .price * {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 25px !important;
    color: #802246 !important;
    font-weight: 500 !important;
}


/* Cena regularna przekreślona */
.single-product .summary .price del,
.single-product .summary .price del *,
.single-product .summary .price del .woocommerce-Price-amount,
.single-product .summary .price del .woocommerce-Price-amount *,
.single-product .woocommerce-variation-price .price del,
.single-product .woocommerce-variation-price .price del *,
.single-product .woocommerce-variation-price .price del .woocommerce-Price-amount,
.single-product .woocommerce-variation-price .price del .woocommerce-Price-amount * {
    color: #802246 !important;
    opacity: 1 !important;
}


/* Cena promocyjna */
.single-product .summary .price ins,
.single-product .summary .price ins *,
.single-product .summary .price ins .woocommerce-Price-amount,
.single-product .summary .price ins .woocommerce-Price-amount *,
.single-product .woocommerce-variation-price .price ins,
.single-product .woocommerce-variation-price .price ins *,
.single-product .woocommerce-variation-price .price ins .woocommerce-Price-amount,
.single-product .woocommerce-variation-price .price ins .woocommerce-Price-amount * {
    color: #802246 !important;
    text-decoration: none !important;
}