/*
 Theme Name:   quarantacinque
 Theme URI:    https://45.quadracode.com/
 Description:  Neytri Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     neytri
 Version:      1.0.0
 Text Domain:  neytri-child
*/

html, body {
    height: 100%;
}


.archive .product-loop-filters-area-content-inner .dgwt-wcas-search-input{
    border-radius:5px !important;
}

.archive .product-loop-filters-area-content-inner .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent !important;
}

/* Rendi più strette le colonne specifiche */
table.shop_table th:nth-child(3), /* Variante colore */
table.shop_table td:nth-child(3),
table.shop_table th:nth-child(4), /* Codice prodotto */
table.shop_table td:nth-child(4),
table.shop_table th:nth-child(6), /* Prezzo unitario */
table.shop_table td:nth-child(6),
table.shop_table th:nth-child(7), /* Totale prodotti */
table.shop_table td:nth-child(7),
table.shop_table th:nth-child(8), /* Prezzo totale */
table.shop_table td:nth-child(8) {
    width: 140px; /* Puoi regolare il valore a piacere */
    text-align: center; /* Centra il testo */
}

/* Mantieni l'aspetto pulito su dispositivi mobili */
@media screen and (max-width: 768px) {
table.shop_table th:nth-child(3), /* Variante colore */
table.shop_table td:nth-child(3),
table.shop_table th:nth-child(4), /* Codice prodotto */
table.shop_table td:nth-child(4),
table.shop_table th:nth-child(6), /* Prezzo unitario */
table.shop_table td:nth-child(6),
table.shop_table th:nth-child(7), /* Totale prodotti */
table.shop_table td:nth-child(7),
table.shop_table th:nth-child(8), /* Prezzo totale */
table.shop_table td:nth-child(8) {
        width: 120px; /* Larghezza ridotta su schermi piccoli */
    }
}

.wdt-cart-button button{
    background:#55ba03 !important;
}

.zeroQty{
    color:#ff0000;
}

.inner-wrapper {
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    /* Rimuovere overflow */
    overflow: visible; /* oppure auto se necessario */
}

.header-top-absolute {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky !important;
    top: 0; /* Modifica l'offset dall'alto se necessario */
    z-index: 1000 !important;
}


.woocommerce-cart .container{
    max-width:1920px;
    width:100%;
    margin:0 auto;
    padding:20px;
}

.woocommerce-cart .woocommerce-cart-form__contents tr th{
    text-align:center !important;
    border-right:2px solid #000 !important;
    text-transform:uppercase !important;
    font-size:13px !important;
    line-height:18px !important;
}

.woocommerce-cart .cart-collaterals tr th{
    text-align:center !important;
    border-right:2px solid #000 !important;
    text-transform:uppercase !important;
    font-size:16px !important;
    line-height:18px !important;
}

.woocommerce-cart .cart_totals{
    border:0 !important;
}

.woocommerce-cart .cart_totals th{
    border-right:0 !important;
    border-bottom:2px solid #000 !important;
}

.woocommerce-cart .cart_totals td{
    border-bottom:2px solid #000 !important;
    font-size:18px !important;
}

.woocommerce-cart .shop_table .woocommerce-cart-form__cart-item .title_size{
    width:30%;
}

.woocommerce-cart .shop_table .woocommerce-cart-form__cart-item .title_qta{
    width:30%;
}

.woocommerce-cart .shop_table tr td{
    text-transform:uppercase;
}

.woocommerce-cart .shop_table form p {
    margin-bottom: 0;
}

.wdt-shop-menu-cart-content-wrapper{
    display:none !important;
}

.variations-table tr .row-total-quantity {
    font-weight: 400;
    font-size:13px;
}

.variation-qty-tooltip {
    position: relative;
    cursor: pointer;
}

.variation-qty-tooltip:hover span {
    display: block;
}

.variation-qty-tooltip span {
    display: none;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}


body select{
    border:1px solid #000;
        padding: 3px 30px 0 10px;
        height:38px;
}

body .woocommerce-checkout-header-coupon{
    display:none;
}

.woocommerce-checkout .addresses{
    display:none;
}

body .product-loop-filters-area-content {
    display: block;
}

body .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{
    text-transform: uppercase;
    color:#ff0000;
}

body table.cart td, .woocommerce-page table.cart td {
    background: none;
    border-width: 1px !important;
    padding: 15px;
}

body .woocommerce .woocommerce-MyAccount-content p a{
    text-transform: uppercase;
    font-weight:700;
    color:#ff0000;    
}

.woocommerce-cart .woocommerce p{
    text-align:center;
    font-size:24px;
}

.breadcrumb{
    margin-bottom:50px;
    text-transform: uppercase;
    position:relative;
    z-index:5;
}

.breadcrumb svg{
    width:30px;
    height:30px;
}


.wdt-logo-container{
    position:relative;
    z-index:0;
}

.wdt-logo-container a img {
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:-35px;
}

.wdt-header-menu .sub-menu .menu-item span:after {
    content: attr(data-text);
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0) !important;
}

.wdt-header-menu .sub-menu .wdt-primary-nav>li>a {
    display: inline-block;
    padding: 8px 0 !important;
    vertical-align: middle;
}


.second-level-category-carousel .category-thumbnail a img{
    object-fit: cover;
    border-radius:50%;
    margin-right:10px;
}


.home .second-level-category-carousel .category-content h2{
    font-weight:600;
    font-size:15px;
}

.home .second-level-category-carousel .category-content h2 .find{
  font-size: 15px; 
  color: #555;
} 

.woocommerce-product-gallery .out-of-stock{
    height: 20px;
    line-height: 20px;
    margin: 0;
    max-width: 80px;
    width: 100%;
}

.product-sku {
    font-size: 18px;
    color: #05c131;
    margin-top: 5px;
}

.sku_wrapper{
        font-size: 18px;
    color: #05c131;
}

.colore-galleria {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.colore-galleria h3 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.galleria-immagini {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.galleria-immagine img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.variations-table input[type="number"] {
    -moz-appearance: textfield; /* Rimuove le frecce nei browser Firefox */
    -webkit-appearance: none; /* Rimuove le frecce nei browser Webkit */
    appearance: none; /* Standard */
    width: 60px; /* Larghezza del campo */
    height: 30px; /* Altezza del campo */
    text-align: center; /* Centra il testo */
    border: 2px solid #000; /* Bordo */
    border-radius: 4px; /* Bordo arrotondato */
    font-size: 14px; /* Dimensione del testo */
    padding: 5px; /* Spaziatura interna */
        margin: 10px auto;
}

.variations-table input[type="number"]::-webkit-inner-spin-button,
.variations-table input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none; /* Nasconde le frecce nei browser Webkit */
    margin: 0;
}

.variations-table td {
    vertical-align: middle; /* Allinea il contenuto verticalmente al centro */
}

.variations-table h4{
    color:#000;
    font-size:13px;
}


.single-product .type-product .related{
  clear:both;
  margin-top:50px;
  border-top:1px solid rgba(0,0,0,1);
}

.woocommerce-mini-cart__buttons button{
    font-size:12px;
    font-weight:700;
}

.product-rating-wrapper{
    display:none !important;
}

.product-wrapper .product-thumb .product-labels span{
    min-width:100px !important;
    width:100%;
}

.variations-table{
    text-transform: uppercase;
}

.variations-table tr{
    font-weight:700;
    color:#000;
}

.single-product .variations-wrapper{
    clear:both;
    padding-top:80px;
}

.single-product .select-variations-button button{
    background:#000;
}

.totals-summary p{
    text-transform: uppercase;
    color:#000;
}

body .actions.wdt-cart-coupon-holder{
    display:none;
}


.wdt-header-menu .wdt-primary-nav>li>a:empty {
   display:block;
}


/* Stile generale */
.home .second-level-category-carousel {
     display: flex; 
     flex-wrap: wrap; 
     gap: 10px; 
     justify-content: center; 
     align-items: center; 
     margin-top: 20px;
}

.home .second-level-category-carousel .category-box {
     display: flex; 
     align-items: flex-start; 
     width: 200px;
}

.home .second-level-category-carousel  .category-thumbnail{
  margin-right: 10px;
}


/* Immagine */
.home .second-level-category-carousel  .category-thumbnail img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.home .second-level-category-carousel .category-content h2{
    margin:0;
}


.cart_totals{
    width:45% !important;
}

.woocommerce-shipping-methods{
    width: 100%;
    text-align: center;
}

/* Layout Mobile */
@media (max-width: 980px) {
    .cart_totals{
      width:100% !important;
    }

    body .wdt-shop-menu-cart-content-wrapper {
      right: -95px !important;
    }

    .single-product .container {
        width: 100%;
        max-width: 492px;
        padding: 20px;
    }
    .single-product .variations-wrapper {
      padding-top: 20px;
    }

    .single-product .summary .select-variations-button{
        display:none !important;
    }

    .single-product div.product.type-product > div.images {
      width: 100%;
    }

    .single-product div.product.type-product > div.summary {
        width: 100%;
        margin: 0 0 0 0%;
    }

    .home .second-level-category-carousel .category-box {
     width: 150px;
     }

    .archive .product-loop-filters-area-content .widget {
      max-width: 100%;
      flex:100%;
    }

    .archive .product-loop-filters-area-title {
      margin: 0 auto;
    }
}


/* Rende la tabella scorrevole solo su dispositivi mobili */
@media (max-width: 1024px) {
    .variations-table-wrapper {
        overflow-x: auto; /* Aggiunge lo scrolling orizzontale */
        -webkit-overflow-scrolling: touch; /* Migliora lo scrolling sui dispositivi iOS */
        margin-bottom: 20px; /* Spazio inferiore per un aspetto migliore */
    }

    .variations-table {
        min-width: 600px; /* Imposta una larghezza minima per la tabella */
        display: block; /* Evita che la tabella venga compressa */
        width: 100%; /* Adatta la larghezza */
    }
}

.archive .product-style-default{
    padding-left:15px !important;
    padding-right:15px !important;
}

.archive .product-thumb .primary-image img {
    min-height: 445px;
    object-fit: cover;
}

.single-product .related ul li img {
    min-height: 480px;
    object-fit: cover;
}

.product-loop-filters-area-title {
  width:35px; /* Larghezza dell'icona */
  height: 35px; /* Altezza dell'icona */
  background-image: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 24 24%22 fill%3D%22none%22%3E%3Cg id%3D%22style%3Dlinear%22%3E%3Cg id%3D%22filter-circle%22%3E%3Cpath d%3D%22M2 17.5H7%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M22 6.5H17%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M13 17.5H22%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M11 6.5H2%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M10 20.3999C8.34315 20.3999 7 19.0568 7 17.3999C7 15.743 8.34315 14.3999 10 14.3999C11.6569 14.3999 13 15.743 13 17.3999C13 19.0568 11.6569 20.3999 10 20.3999Z%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3Cpath d%3D%22M14 9.3999C15.6569 9.3999 17 8.05676 17 6.3999C17 4.74305 15.6569 3.3999 14 3.3999C12.3431 3.3999 11 4.74305 11 6.3999C11 8.05676 12.3431 9.3999 14 9.3999Z%22 stroke%3D%22%23000%22 stroke-width%3D%221.5%22 stroke-miterlimit%3D%2210%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  text-indent: -9999px; /* Nasconde il testo */
  overflow: hidden; /* Assicura che il testo nascosto non influisca sul layout */
  white-space: nowrap; /* Impedisce che il testo vada a capo */
  color:transparent;
}

.archive .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: #000;
    padding: 0;
    border-radius: 0;
}

.archive .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 0;
    line-height: 36px;
    font-size: 16px;
    border: 1px solid #000;
    border-radius: 30px;
    height: auto;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    background-color: #fff;
    padding-left:35px;
}

.archive .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    left: 0;
    top: 4px;
}

.archive .product-loop-filters-area-content .product-loop-filters-area-content-inner{
    border-top:0;
    border-bottom:2px solid #000;
    padding-top:0;
}

body .swiper, swiper-container {
    z-index: 0;
}

header .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: #000;
    padding: 0;
    border-radius:8px;
}


header .main-header{
    padding: 10px 0px 20px 0px !important;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    top: 5px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    padding: 10px 10px 10px 58px;
    line-height: 15px;
    font-size: 15px;
    font-family:'Jost', sans-serif;
}

.wc-cart-total{
    color:#000;
    font-size:14px;
}

body .agent-user-switcher {
    border-radius: 30px;
    background: #fff;
    color: #000;
    font-size: 16px;
    padding: 10px 14px 10px 18px;
    margin-right: 15px;
    color:#000;
}

@media only screen and (min-width: 768px) {
    .woocommerce table.shop_table tr td:not(:last-child), .woocommerce-page table.shop_table tr td:not(:last-child) {
        text-align: center !important;
    }
}


