/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/


/*** HEADER ***/

#mini-cart .cart-items, .gutenberg-hb .compare-count, .my-wishlist .wishlist-count, header .compare-count {
    background-color: #00608A;
}

#header .main-menu .narrow li.menu-item:hover > a, #header .main-menu .wide li.menu-item li.menu-item:hover > a {
    background: #fff;
    color: #00608A;
}

.inner,
.popup {
    border-radius: 20px !important;
}

.popup a  {
    font-weight: 500 !important;
}

.popup a.current {
    text-decoration: underline;
}

#nav-menu-item-171682:has(.current-menu-item) > a {
    color: #00608A !important;
}


.header-main.sticky {
    max-width: 70rem !important;
}

.clbk-header-icons .elementor-icon,
.clbk-header-icons #mini-cart {
    background: #DCE7F7;
    padding: 0.7813rem;
    border-radius: 3.125rem;
    width: 3.125rem;
    height: 3.125rem;
}

.clbk-header-icons .elementor-icon:hover,
.clbk-header-icons #mini-cart:hover {
    background: #FFEC00;
    color: #000;
}


/*** HOME ***/

.slider-cat-home .thumb-info-title {
    position: relative;
}

.slider-cat-home .thumb-info-title .sub-title {
    color: #000 !important;
    text-align: center;
    font-weight: 500 !important;
    font-size: 0.875rem;
    text-transform: none;
}

.slider-cat-home .thumb-info-type {
    display: none;
}

.slider-cat-home .thumb-info-wrapper::before,
.slider-cat-home .thumb-info-wrapper::after {
    display: none;
}

.hp-prodotti-momento p {
    margin-bottom: 0;
}

.product-type-CLBK {
    border-radius: 1.25rem;
}

.product-type-CLBK .porto-tb-featured-image {
    border-radius: 0 !important;
    border: 0;
}

.product-type-CLBK .yith-wcwl-add-button {
    width: 2.375rem;
    height: 2.375rem;
    border-width: 1px;
}

.product-type-CLBK .porto-tb-wishlist a:before {
    padding-top: 6px;
}

.product-type-CLBK .price {
    text-align: left !important;
    margin-top: 0.625rem;
}

.hp-collezione-alien {
    margin-top: -1.875rem;
}

.hp-collezione-unicorn .porto-tb-item,
.hp-collezione-alien .porto-tb-item {
    margin-bottom: 0 !important;
}

.hp-collezione-unicorn p,
.hp-collezione-alien p {
    display: none;
}

.porto-tb-featured-image {
    min-height: 16.25rem !important;
}

.elementor-element-9e970da {
    width: 100%;
}

.hp-momento-caratteristiche {
    display: flex !important;
    justify-content: center !important; 
    width: 100% !important;
    margin: 0 auto;
    max-width: 1140px;
}

.hp-momento-caratteristiche p {
    margin-bottom: 0 !important;
}

.clbk-quick-cart,
.clbk_product-type {
    display: none !important;
}


/*** LISTING PRODOTTI ***/

.product-type-CLBK .wp-block-columns .wp-block-column:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product-type-CLBK .porto-tb-addcart {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #00608A; 
    color: #fff;
    text-decoration: none;
    transition: .3s;
    margin-top: 0.625rem;
}

.product-type-CLBK .porto-tb-addcart:hover {
    background: #FFEC00;
    color: #000;
}

.product-type-CLBK .porto-tb-addcart i {
    font-size: 20px;
    line-height: 1;
}

[class*=" porto-icon-"]:before, [class^=porto-icon-]:before {
    font-weight: 500 !important;
}

.product-type-CLBK .bottom-cart {
    display: none !important;
}

.product-type-CLBK .wp-block-columns {
    margin-bottom: 0;
}

.product-type-CLBK .porto-tb-featured-image {
    height: 20rem;
}

.product-type-CLBK .porto-heading {
    height: 2.5rem;
}


/*** PAGINE GENERICHE ***/

.rank-math-breadcrumb span.separator {
    padding: 0 0.3rem !important;
    margin-top: -0.5rem;
}

.pagination span.current {
    background-color: #00608A;
    border-color: #00608A;
}

@media (min-width: 768px) {
    .vc_hidden-md,
    .vc_hidden-lg {
        display: none;
    }
}

@media (max-width: 767px) {
    .vc_hidden-xs,
    .vc_hidden-sm {
        display: none;
    }
}

/*** COLLEZIONI ***/

body.single-collezioni .page-top {
    display: none;
} 

.collection-box_text a {
    text-decoration: underline;
}

/*** SINGLE PRODUCT ***/

h2.sp-linked-heading {
    color: #00608A;
}

.product-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 50px;
    overflow: hidden;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
    padding: 0;
}

.product-summary-wrap .quantity {
    border-radius: 3.75rem;
    border: 2px solid #000;
}

.single-product .product-summary-wrap .quantity .minus,
.single-product .product-summary-wrap .quantity .plus {
    font-weight: 700;
}

.single_add_to_cart_button,
.woocommerce-variation-add-to-cart {
    border-radius: 3.75rem;
}

h2.title-faq {
    font-family: "Montserrat", Montserrat;
    font-size: 26px;
    font-weight: 500;
    color: #5A467A;
    text-align: center;
}

.product-faqs summary {
    font-weight: 700;
    font-size: 1.125rem;
}

.product-faqs .e-n-accordion-item summary::after{
    content:"+";
    font-size:1.5rem;

    order: 2 !important;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    border-radius: 50% !important;
    background: #111111 !important;
    color: #ffffff !important;
    margin-left: auto !important;
    padding: 0 5px !important;
    line-height: 1 !important;
    position: relative !important;
    display: block !important;
}

.product-faqs .e-n-accordion-item[open] summary::after{
    content:"−";
}

.product-faqs .faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    padding: 0 6px;
}

.product-faqs .e-n-accordion-item[open] .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

.stock {
    padding-bottom: 1rem !important;
}

.single-product .woocommerce-variation-availability .stock,
.single-product .product_meta .stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #009932;
    border-radius: 0;
    padding: 0.35rem 1.8rem;
    margin-bottom: 0;
    line-height: 1;
    background-color: #fff;
    font-size: 14px;
    text-transform: none;
}

.single-product .woocommerce-variation-availability .stock::before,
.single-product .product_meta .stock::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 22px;
    background: url('/wp-content/themes/porto-child/assets/icons/ico-disponibile.svg') no-repeat center;
    background-size: contain;
    mask-size: contain;
    padding-left: 0.625rem;
}

.single-product .woocommerce-variation-availability .stock.out-of-stock,
.single-product .product_meta .stock.out-of-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #B40003;
    border-radius: 0;
    padding: 0.35rem 1.8rem;
    margin-bottom: 0;
    line-height: 1;
    background-color: #fff;
    font-size: 14px;
    text-transform: none;
}

.single-product .woocommerce-variation-availability .stock.out-of-stock::before,
.single-product .product_meta .stock.out-of-stock::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 22px;
    background: url('/wp-content/themes/porto-child/assets/icons/ico-esaurito.svg') no-repeat center;
    background-size: contain;
    mask-size: contain;
    padding-left: 0.625rem;
}

.product_meta .product-stock {
    font-size: 0;
}

.product_meta .product-stock .stock {
    font-size: 0.875rem; 
    padding: 0.35rem  0;
}

.cwginstock-subscribe-form .panel-primary>.panel-heading {
    background-color: #00608A;
     border-color: #00608A;
}

.cwg_iagree_checkbox {
    margin-bottom: 1rem;
}

.cwgstock_button {
    border-radius: 3.75rem !important;
    font-weight: 600;
    background-color: #00608A;
    padding: 0.7rem;
    text-transform: uppercase;
}


.owl-carousel .owl-dots .owl-dot span {
    width: 0.9375rem;
    height: 0.9375rem;
}

#select-pin .owl-item {
    margin-bottom: 1.25rem;
}

 ul.product-features {
    list-style-type: none !important;
    padding-left: 0;
}

ul.product-features li img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-right: 15px;
}

.woocommerce-ordering select {
    width: auto;
}

.product-inner {
    background-color: #fff;
    border-radius: 15px;
}

.consegna-stimata-row .stile1,
.consegna-stimata-row .stile2 {
    color: #00608A;
}

.consegna-stimata-row .stile2 {
    font-weight: normal !important;
}

.consegna-stimata-row #clock {
    font-weight: 700;
}

.clbk-vendite-totali {
    color: #FF8000;
    font-weight: 700;
}

.clbk-vendite-totali::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 23px;
    margin-right: 8px;
    background: url('/wp-content/themes/porto-child/assets/icons/ico-like.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}

.consegna-stimata-row::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 17px;
    margin-right: 8px;
    background: url('/wp-content/themes/porto-child/assets/icons/ico-spedizione.svg') no-repeat center;
    background-size: contain;
    vertical-align: middle;
}


/*** POPUP CART ***/
.quantity .amount,
.quantity,
.cart-popup .quantity, 
.cart-popup .quantity .amount, 
.wishlist-popup .quantity, 
.wishlist-popup .amount {
    border: none;
}

#mini-cart .quantity, 
#mini-cart .quantity .amount {
    font-weight: 700;
}

/*** ACCOUNT ***/



.woocommerce-MyAccount-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 4rem;
}

.woocommerce-MyAccount-content h2:first-of-type {
    margin-top:0 !important;
}

.woocommerce-MyAccount-content a {
    font-weight: 600;
    text-decoration: underline;
}

.woocommerce-MyAccount-content a:hover {
    color: #00608A;
}

.woocommerce-button.button {
    border: none;
    text-transform: uppercase;
    font-weight: 600;
}

.woocommerce-Button,
.woocommerce-MyAccount-content a.button {
    border-radius: 3.125rem;
    background-color: #00608A !important;
    padding: 0.8rem 2rem;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-Button:hover,
.woocommerce-MyAccount-content a.button:hover {
    background-color: #FFEC00 !important;
    color: #000 !important;
}

.woocommerce-account .account-sub-title i, 
.woocommerce-account .featured-box i {
    color: #00608A;
}

.woocommerce-Giftcards .woocommerce-Price-amount {
    font-weight: 500;
}

/*** CART / CHECKOUT ***/

.checkout-order-review .featured-boxes {
    padding: 1rem;
}

.checkout-order-review .product-price > div:first-child{
    width:auto !important;
    flex:none;
}

.checkout-order-review .product-total{
    flex:none;
    margin-left:12px;
}

.woocommerce-checkout-review-order-table th {
    border-bottom: 0 !important;
}

.woocommerce-checkout-review-order-table tr.cart_item {
    border-bottom: 2px solid #f4f4f4 !important;
    padding-bottom: 20px !important;
}

.woocommerce-checkout-review-order-table .product-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100%;
}

.woocommerce-checkout-review-order-table .product-name {
    display: block !important;
    overflow: hidden !important;
    margin-bottom: 5px !important;
}

.woocommerce-checkout-review-order-table .product-price {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 0px !important; 
    padding-top: 5px !important;
}

.woocommerce-checkout-review-order-table .quantity.buttons_added {
    display: inline-flex !important;
    margin-bottom: 0 !important;
}

.woocommerce-checkout-review-order-table .ts-product-image {
    height: auto !important;
}

.porto-free-shipping,
.shipping-progress-checkout-row {

    background-color: #E4F1FE;
    border: 0 !important;
}

.porto-free-shipping {
    padding: 1rem;
    margin-bottom: 2rem;
}

.shipping-progress-checkout-row {
    padding: 0 0.5rem;
}

.porto-free-shipping .progress,
.shipping-progress-checkout-row .progress {
    height: 0.625rem;
    background: #F7FBFF;
    margin-bottom: 5px !important;
}

.porto-free-shipping .progress-bar,
.shipping-progress-checkout-row .progress-bar {
    background-color: #00608A;
}

.shipping-progress-checkout-row .porto-free-shipping-notice {
    margin-bottom: 8px !important;
    font-size: 13px !important;
}

.checkout-order-review tr td:last-child, .order_details tr td:last-child {
    text-align: left;
}

.add_gift_card_form {
    padding-top: 0.625rem;
}


/*** BLOG ***/

a.wp-block-button__link:hover{
    background-color: #FFEC00;
}

.porto-tb-item .btn {
    text-decoration: underline;
    margin-top: 0.625rem;
}

.porto-tb-item .btn:hover {
    color:#00608A !important;
}


/*** FOOTER ***/

.footer .widget_sidebar_menu .widget-title {
    background: none;
    border-bottom: 0;
    color: #fff;
    text-transform: none;
    font-weight: 700;
    font-size: 1rem;
    padding-left: 5px;
}

#menu-footer-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 1.875rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-footer-copy a {
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
}


#menu-footer-copy a:hover {
    color: #FFEC00;
}

@media (max-width: 768px) {

    .footer .elementor-widget-porto_sidebar_menu {
        border-top: 1px solid #ffffff80;
        padding-top: 3.125rem;
    }

    #menu-footer-copy {
        flex-direction: column;
        gap: 10px;
        list-style: none;
        padding-top: 1.875rem;
    }
}


