/*
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  ***************/

.woocommerce-tabs a, .description a { color: #0033a0; }

.woocommerce-ordering select {
    width: auto;
}

.avatar::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f2f5"; /* è rimasto lo stesso codice */
}
#header .top-links > li.menu-item > a {
    line-height: 14px;
    color: var(--porto-tertiary-color);
}
.vcentra { align-content: center }

.header-wrapper.wide { z-index: 15; }
.header-wrapper.wide .container { padding-left: 20px; padding-right: 20px; }
.woo-page-header { background: #fff; }
@media (min-width: 1440px) {
    .container { max-width: 1404px; }
    .d-sl-inline-block { display: inline-block !important; }
    .main-content-wrap > .col-lg-9 { width: 80%; }
    .main-content-wrap > .col-lg-3 { width: 20%; }
    .porto-products-filter-body:not(.opened) .main-content { margin-left: -20%; }
}
@media (min-width: 1500px) {
    body { margin: 0px; overflow: hidden; background-color: #f4f4f4; }
}
@media (max-width: 991px) {
    .subheading-text-end .porto-u-sub-heading { text-align: left !important; }
}
@media (max-width: 480px) {
    .bg-pos-right .row { min-width: 390px; }
}
.bg-grey-gradient { background-image: linear-gradient(to bottom, #f4f4f4, #fff); }

/* COLORI */
.colori {
    background: red;
    background: linear-gradient(to right, #d2322d, #fe6c61, #f7be68, #00c1cf, #5aa1e3, violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1vw;
}
.single_add_to_cart_button, .cart-icon .cart-items { background-color: #c81d25!important }
.price { color: #c81d25!important }
.top-center { background-color: #fdd802!important }

/* CARRELLO */
.cart-popup .button.checkout, html .btn-v-dark, .wc-action-btn { background-color: var(--porto-tertiary-color)!important; color: white!important }
.showcoupon { color: var(--porto-tertiary-color)!important }
.porto-free-shipping { background-color: #eaf0fa } /* SFONDO AZZURRINO */
.woocommerce-shipping-destination { display: none }

#billing_company_field, #billing_codice_field, #billing_codicefiscale_field, #billing_partitaiva_field {
    background-color: #eaf0fa;
    padding: 5px 5px 5px 12px;
    margin-bottom: 0;
}
#ship-to-different-address { margin-top: 15px }
#billing_company_field { border-top: 3px solid #0033a0; padding-top: 10px; margin-top: 30px }
#billing_partitaiva_field { border-bottom: 3px solid #0033a0; padding-bottom: 12px }
.porto-free-shipping { margin-top: 5px }

.woocommerce-form-coupon-toggle {    
    background-color: #eaf0fa;
    border: 2px solid #00c1cf;
    padding: 7px 15px;
    text-align: center;
    border-color: var(--porto-tertiary-color);
}
.showlogin { color: var(--porto-tertiary-color)!important }
.woocommerce-error { color: var(--porto-h3-color)!important }

/* HOME */
#home-hero .custom_featured_image .img-thumbnail img { opacity: 0.10 }
#home-hero .img-thumbnail { background-color: transparent!important }
#home-hero .categoria_1 .img-thumbnail { background-color: #c6a520 }
#home-hero .categoria_2 .img-thumbnail { background-color: #cba5a1 }
#home-hero .categoria_3 .img-thumbnail { background-color: #b77b8f }
#home-hero .categoria_4 .img-thumbnail { background-color: #d0200a }
#home-hero .categoria_5 .img-thumbnail { background-color: #2f867e }

.custom_search_box { text-align: right }

#menu-main-menu, #menu-menu-principale { margin: 0 auto }

/* PRODOTTO SINGOLO */
.single-product .product_meta { font-size: 1.2em }
.woocommerce-product-details__short-description p { font-size: 1.25em!important; color: #333!important }
#product-tab p, #product-tab ul li { font-size: 1.2em!important; color: #333!important }

/* TRACCIA ORDINI */

.track-button { color: white; font-weight: 500; background-color: var(--porto-tertiary-color) }
.woocommerce-order-details { margin-top: 30px; margin-bottom: 30px; border: 2px solid var(--porto-gray-5) }
.woocommerce-order-details .featured-boxes { border: none }
.order-info .order-item { padding: 10px; border: 1px solid #e7e7e7 }
.ywot_order_details { border: 2px solid var(--porto-tertiary-color); background-color: rgba(246, 246, 246, 255); padding: 20px; }
.order-again { margin-top: 20px }
.order-again .button { background: var(--porto-gray-3); color: var(--porto-heading-color); border: none; font-weight: 700; text-transform: uppercase }
.woocommerce-customer-details .woocommerce-column--billing-address,
.woocommerce-customer-details .woocommerce-column--shipping-address { width: 50%; float: left }
.woocommerce-customer-details .porto-separator { clear: both }

/* Pulsante Pagamento minicart -> rosso classico (override, deve stare in fondo) */
.cart-popup .button.checkout { background-color: #c81d25 !important; color: #fff !important }

/* Bottone EFFETTUA ORDINE (checkout) -> rosso classico */
#place_order { background-color:#c81d25 !important; color:#fff !important }
#place_order:hover { background-color:#a3161c !important }
