/* 
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 */
:focus-visible,
select:focus-visible {
    outline: none !important;
}

etrusted-rc-carousel-review-tile {
    background: red !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}

.woocommerce .quantity .qty {
    width: 60px;
}

.woocommerce div.product form.cart div.quantity {
    display: flex !important;
}

.woocommerce table.shop_table,
div#payment {
    background-color: #FFFFFF !important;
}

/* SINGLE PRODUCT */
/* wrapper select formato and price of selected product */
.single_variation_wrap {
    gap: 30px;
    display: flex;
    flex-direction: column;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap !important;
    gap: 30px;
}

/* sale banner hover product image */
.woocommerce .elementor-widget-woocommerce-product-images span.onsale {
    color: var(--e-global-color-d971b4c);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
    display: block !important;
    padding: 12px 18px !important;
    border-radius: 0;
    left: 0;
    top: 0;
    background: var(--e-global-color-secondary);
}

/* variations wrapper background */
table.variations tbody>tr:nth-child(odd)>td,
table.variations tbody>tr:nth-child(odd)>th {
    background: transparent;
}

/* Variations label and select direction column */
table.variations tr:first-child {
    display: flex;
    flex-direction: column;
}

/* variations input select style */
.woocommerce div.product form.cart .variations select {
    border-radius: 0;
    border: 0;
    border-right: 15px solid white !important;
    color: var(--e-global-color-primary) !important;
    -webkit-text-fill-color: var(--e-global-color-primary) !important;
    max-width: 350px;
    min-width: unset;
    width: 100%;
    padding: 10px 30px 10px 10px;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC);
    background-position: 100%;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

/* hide reset variations link and selected label variation */
a.reset_variations,
.woo-selected-variation-item-name {
    display: none !important;
}

/* variations price color */
/* .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    color: var(--e-global-color-primary);
}

/* margin bottom to variation price */
/* .woocommerce-variation-price {
    margin-bottom: 30px;
} */

/* Price label simple product */
/* .woocommerce div.product p.price {
    margin: 0 !important;
    font-family: var(--e-global-typography-text-font-family), Sans-serif !important;
    color: var(--e-global-color-primary) !important;
} */

/* Hide simple product price empty wrapper in variable products */
.single-product .product-type-variable .single-product-first-view .elementor-widget-woocommerce-product-price {
    display: none !important;
}

table.variations .label {
    padding: 0 !important;
    display: flex;
    align-items: center;
}

/* shortcode show variations style (archive products) */
span.attribute-name-shortcode {
    text-transform: capitalize;
}

/* Archive product olio extra vergine row-reverse in odd lines */
/* .term-25 .e-loop-item.product_cat-olio-extravergine-oliva:nth-child(odd) .e-con-inner {
    flex-direction: row-reverse !important;
} */

/* Format discount price label */
div.product p.price ins,
ul.products li.product .price ins {
    font-weight: normal !important;
    text-decoration: unset !important;
}

/* my profile items menu for mobile wrapper */
.custom-menu a {
    display: block;
    cursor: pointer;
    width: 21px;
    height: 21px;
}

.custom-menu svg {
    height: 100%;
    fill: var(--e-global-color-accent);
    width: 100%;
}

/* prezzo scheda prodotto */
.single-product .single-product-first-view .woocommerce-variation-price .woocommerce-Price-amount.amount {
    font-size: var(--e-global-typography-d5d5840-font-size) !important;
    line-height: var(--e-global-typography-d5d5840-line-height) !important;
    letter-spacing: var(--e-global-typography-d5d5840-letter-spacing) !important;
    word-spacing: var(--e-global-typography-d5d5840-word-spacing) !important;
}

/* checkout page remove item and product name wrapper */
.cart-summary-product-name-wrapper {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* hide reviews banner z-index for hide in popup menu */
div#trustbadge-container-98e3dadd90eb493088abdc5597a70810 {
    z-index: 9999 !important;
}

/* Woocommerce alert added to cart font color */
.woocommerce-message {
    color: var(--e-global-color-primary);
}


/* Stepper Woocommerce quantity */
.single-product .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled .quantity {
    display: flex;
}

button.minus,
button.plus {
    background-color: transparent !important;
    color: var(--e-global-color-primary) !important;
    border-color: var(--e-global-color-primary) !important;
    width: 50px;
    margin: 0 !important;
    border: solid !important;
}

button.minus {
    border-width: 1px 0px 1px 1px !important;
    border-radius: 6px 0 0 6px !important;
}

button.plus {
    border-width: 1px 1px 1px 0 !important;
    border-radius: 0 6px 6px 0 !important;
    margin: 0 !important;
}












/* Custom grid */
.wrapper-grid-variation {
    display: grid;
    gap: 60px;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.wrapper-grid-variation img {
    width: 100%;
}

@media screen and (max-width: 1420px) {
    .wrapper-grid-variation {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .wrapper-grid-variation {
        grid-template-columns: repeat(2, 1fr);
    }

    /* sticky sidebar unset for tablet or less in single post page */
    .single-post .elementor-sticky--active {
        position: relative !important;
        width: auto !important;
        top: auto !important;
        inset-inline-start: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .single-post .elementor-sticky__spacer {
        display: none !important;
    }

    /* Post card height */
    .post-card-wrapper .post-card-content-wrapper {
        height: unset !important;
    }
}

@media screen and (max-width: 767px) {

    /* custom loop grid variations */
    .wrapper-grid-variation {
        grid-template-columns: repeat(1, 1fr);
    }

    /* custom carousel variations */
    .custom-swiper .swiper-slide {
        height: auto !important;
    }

    /* Comment form fields in single post */
    .single-post .comment-form-email {
        width: 100% !important;
    }

    .single-post .comment-form-author {
        width: 100% !important;
        margin-right: 0 !important;
    }


}



.archive.term-olio-extravergine-oliva .product-variation span.woocommerce-Price-amount.amount {
    font-size: var(--e-global-typography-538f040-font-size);
    line-height: var(--e-global-typography-538f040-line-height);
    letter-spacing: var(--e-global-typography-538f040-letter-spacing);
    word-spacing: var(--e-global-typography-538f040-word-spacing);
    color: var(--e-global-color-primary);
}

/* Custom carosel */

.swiper-slide .price,
.wrapper-grid-variation .price,
.woocommerce-variation-price span.price {
    color: var(--e-global-color-primary) !important;
    font-family: var(--e-global-typography-538f040-font-family), Sans-serif;
    font-size: var(--e-global-typography-538f040-font-size);
    font-weight: var(--e-global-typography-538f040-font-weight);
    line-height: var(--e-global-typography-538f040-line-height);
    letter-spacing: var(--e-global-typography-538f040-letter-spacing);
    word-spacing: var(--e-global-typography-538f040-word-spacing);
}

.custom-swiper.elementor-swiper-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* padding: 0 15px; */
}

.custom-swiper .swiper-wrapper {
    display: flex;
    padding-bottom: 46px;
}

.custom-swiper .elementor-swiper-button-prev {
    position: absolute;
    left: 0;
    top: calc(50% - 15px);
    transform: translate(0, -50%);
    z-index: 99;
    cursor: pointer;
}

.custom-swiper .elementor-swiper-button-next {
    position: absolute;
    right: 0;
    top: calc(50% - 15px);
    transform: translate(0, -50%);
    z-index: 99;
    cursor: pointer;
}

.custom-swiper .elementor-swiper-button svg {
    fill: var(--e-global-color-primary) !important;
    width: 30px !important;
    height: 30px !important;
}

.custom-swiper .elementor-swiper-button-next {
    right: 0 !important;
}

.custom-swiper .elementor-swiper-button-prev {
    left: 0 !important;
}

.custom-swiper .swiper-pagination {
    bottom: -8px !important;
}

.custom-swiper span.swiper-pagination-bullet-active {
    background: var(--e-global-color-primary);
}

.product-variation {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    height: 100%;
    position: relative;
    justify-content: space-between;
}

.product-variation>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.product-variation h2 {
    font-family: var(--e-global-typography-f93ab1f-font-family), Sans-serif;
    font-size: var(--e-global-typography-f93ab1f-font-size);
    font-weight: var(--e-global-typography-f93ab1f-font-weight);
    line-height: var(--e-global-typography-f93ab1f-line-height);
    letter-spacing: var(--e-global-typography-f93ab1f-letter-spacing);
    word-spacing: var(--e-global-typography-f93ab1f-word-spacing);
    color: var(--e-global-color-primary);
    margin: 0 !important;
    padding: 0 8px;
}



.swiper-slide {
    flex: 1 0 auto;
    width: 300px;
}


.wooco_component_product_selection .dd-select {
    background-color: #ffffff !important;
    max-width: 500px !important;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-right: 15px solid white !important;
    -webkit-text-fill-color: var(--e-global-color-primary) !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAAdVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhMdQaAAAAJ3RSTlMAAAECAwQGBwsOFBwkJTg5RUZ4eYCHkJefpaytrsXGy8zW3+Do8vNn0bsyAAAAYElEQVR42tXROwJDQAAA0Ymw1p9kiT+L5P5HVEi3qJn2lcPjtIuzUIJ/rhIGy762N3XaThqMN1ZPALsZPEzG1x8LrFL77DHBnEMxBewz0fJ6LyFHTPL7xhwzWYrJ9z22AqmQBV757MHfAAAAAElFTkSuQmCC) !important;
    background-position: 100% !important;
    background-repeat: no-repeat !important;
}

.dd-pointer-down {
    display: none !important;
}

a.dd-selected,
a.dd-option {
    display: flex !important;
    align-items: center !important;
}

.wooco_components .wooco_component {
    border: 0 !important;
}

small.dd-selected-description.dd-desc.dd-selected-description-truncated {
    display: none;
}

/* Price on single product for composite type */
.wooco_summary.wooco-summary.wooco-text {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-d5d5840-font-family), Sans-serif;
    font-size: var(--e-global-typography-d5d5840-font-size);
    font-weight: var(--e-global-typography-d5d5840-font-weight);
    line-height: var(--e-global-typography-d5d5840-line-height);
    letter-spacing: var(--e-global-typography-d5d5840-letter-spacing);
    word-spacing: var(--e-global-typography-d5d5840-word-spacing);
    margin-bottom: 30px !important;
}

.wooco_component_product_selection .dd-selected-text,
.wooco_component_product_selection .dd-option-text,
.wooco_components .wooco_component .wooco_component_name {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

.wooco_components .wooco_component.wooco_component_required .wooco_component_name:after {
    color: var(--e-global-color-primary) !important;
}

/* Text top "Selezionare nello spazio sottostante le due bottiglie desiderate" on single product for composite type */
.wooco_before_text.wooco-before-text.wooco-text {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

/* Hide default price when product is composite type and show plugin prices */
.single-product .product-type-composite .elementor-widget-woocommerce-product-price {
    display: none !important;
}

/* Custom preorder message in single product */
.wpro-pre-order-availability-date {
    width: 100%;
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    font-style: normal !important;
    margin: 0 !important;
}

.wpro-pre-order-availability-date-cart,
.wpro-pre-order-availability-date-cart {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 11px;
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
}

/* Woocommerce alert message color */
.woocommerce-info::before {
    color: var(--e-global-color-primary) !important;
}

.woocommerce-info {
    border-top-color: var(--e-global-color-primary) !important;
}

/* Paypal message in single product*/
.single-product .ppcp-messages {
    margin-top: 20px;
}

/* Hide woocommerce default back-order string  */
p.stock.available-on-backorder {
    display: none !important;
}

/* cta back label in single product */
.back-label-cta {
    color: var(--e-global-color-primary);
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    text-decoration: underline !important;
}

.back-label-cta:hover {
    color: var(--e-global-color-secondary);
}


/* FIX CAROSEL */
.swiper-container:not(.swiper-container-initialized)>.swiper-wrapper {
    overflow: unset !important;
}

/* CSS MORE READ */
.more-link.elementor-more-link {
    text-decoration: none;
    color: #594A37;
    margin: 20px;
    background-color: var(--e-global-color-primary);
}

/* Product page short description ul */
.woocommerce-product-details__short-description li {
    padding: 6px 0;
}

/* Fix pagination dots product carousel */
/* .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 50% !important;
    width: max-content !important;
} */

/* Badge annata raccolta shortcode */
.badge-raccolta {
    position: absolute;
    background: var(--e-global-color-secondary);
    border-radius: 100%;
    padding: 2px;
    width: 100%;
    height: 100%;
}

/* Thank you page line-height shipping and billing address*/
.woocommerce-order-received.elementor-customer-details-wrapper .wfty_view {
    line-height: 20px
}

body {
    font-family: 'Libre Baskerville', serif !important;
}

/* Product composite box duo hide sezione scheda tecnica and caratteristiche*/
.postid-1037 .product-specs-section,
.postid-1037 .product-specs-section {
    display: none !important;
}

/* Post featured image aspect ratio */
.post-featured-image-wrapper img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

/* Post content spacing */
/* Post Content - Margine titoli paragrafi h2 */
.single-post .elementor-widget-theme-post-content h2 {
    padding: 40px 0 20px;
    margin: 0 !important;
}

/* Post Content - Margine titoli paragrafi h3 */
.single-post .elementor-widget-theme-post-content h3 {
    padding: 30px 0 20px;
    margin: 0 !important;
}

/* Post Content - Margine zero se post inizia con un titolo */
.single-post .elementor-widget-theme-post-content>span:first-child+h2,
.single-post .elementor-widget-theme-post-content>span:first-child+h3,
.single-post .elementor-widget-theme-post-content>span:first-child+h4 {
    padding-top: 0 !important;
}

.single-post .elementor-widget-theme-post-content ul+p {
    margin-top: .9rem;
}


/* Chip categories in single post */
.single-post .categorie-articolo-corrente {
    display: flex;
}

.single-post .categoria-chip {
    background: var(--e-global-color-primary);
    color: var(--e-global-color-accent);
    padding: 4px 10px;
    border-radius: 100px;
    width: max-content !important;
    font-size: 13px !important;
    margin-right: 6px;
}

.single-post .categoria-chip:last-child {
    margin-right: 16px;
}

/* Comment form fields in single post */
.single-post .comment-form-email {
    width: 49%;
    float: right;
}

.single-post .comment-form-author {
    width: 49%;
    float: left;
    margin-right: 2%;
}

.single-post .comment-form-cookies-consent {
    display: flex;
    width: 100%;
    gap: 8px;
    align-items: baseline;
}

/* Color comment form links */
.single-post form#commentform a {
    color: var(--e-global-color-secondary) !important;
}

/* Post card height */
.post-card-wrapper,
.post-card-wrapper a,
.post-card-wrapper .post-card-content-wrapper {
    height: 100%;
}