.category-cover img {

    width: 100%;

}



img {

    max-width: 100%;

}


.header-top {
background: #3a3a3a !important;
}

.header-nav {
  background: #3a3a3a !important;  
}

.top-left-header .shop-now{
    color:#ce80b4 !important;
}

::-webkit-scrollbar-thumb{
    background-color: #ce80b4 !important;
    border-radius: 5px;
}

.top-right-header .ApBlockLink ul li:first-child::before, .top-right-header .ApBlockLink ul li:last-child::before{
    color: #ce80b4 !important;
}

.top-right-header .ApBlockLink ul li a:hover{
    color: #ce80b4 !important;
}

.right-top-header .popup-over .popup-content .dropdown-item {
    color: #ce80b4 !important;
}

.leo-megamenu .widget-subcategories .menu-title {
    border-bottom: 2px solid #ce80b4;
    padding: 10px 0;
}

.leo-megamenu .dropdown-menu li a:hover {
    background-color: #fff0;
    color: #ce80b4;
}

/* --- Spazio logo (desktop) --- */
.header_logo{
  /* aumenta l'area verticale del blocco logo */
  max-width: none !important;   /* oppure imposta un tetto: 280px */
  min-height: 120px;        /* cambia a 140/160 se vuoi più spazio */
  padding: 12px 0;          /* spazio interno sopra/sotto */
  display: flex;            /* mantiene il contenuto centrato */
  align-items: center;
  justify-content: center;
  text-align: center;       /* fallback */
  overflow: visible;        /* evita tagli */
}

/* controlla le dimensioni dell'immagine logo */
.header_logo img{
  max-height: 135px;         /* regola l’altezza massima del logo */
  height: auto;
  width: auto;
  object-fit: contain;
}

/* --- Mobile / tablet: leggermente più compatto --- */
@media (max-width: 991.98px){
  .header_logo{
    min-height: 90px;
    padding: 8px 0;
  }
  .header_logo img{
    max-height: 70px;
  }
}

/* Esclude il logo dalla regola img-fluid */
img.logo.img-fluid {
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}

#header .block-form .form-search .search_query {
    border: none;
    border-bottom: 2px solid #ce80b4;
    width: 100%;
    background: #fff0;
    color: #000;
    border-radius: 0;
    padding: .75rem 2.3125rem .75rem .625rem;
    max-width: 100%;
}

.text-html strong {
    color: #ce80b4;
}

.text-html .shop-now {
    background: #ce80b4;
    color: #FFF;
    padding: 7px 20px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    border: 1px solid #ebebeb;
    display: inline-block;
}

.text-html .shop-now:hover {
    background: #fff0;
    color: #ce80b4;
}

.bannercontainer .tp-caption.data-link.btn-slide:hover {
    color: #fff;
}

.bannercontainer .tp-caption.data-link.btn-slide:hover:after {
    background: #fff;
}

.bannercontainer .tp-caption.data-link.btn-slide:hover:before {
    display: block;
    color: #fff;
}

.ApColumn .title_block:before {
    content: "";
    bottom: 0;
    position: absolute;
    display: inline-block;
    width: 94px;
    height: 24px;
    background-image: url('../img/separatore.png') !important;
    left: 50%;
    -webkit-transform: translate(-50%,0);
    -moz-transform: translate(-50%,0);
    -ms-transform: translate(-50%,0);
    -o-transform: translate(-50%,0);
    transform: translate(-50%,0);
}

.service .icon-1:before {
    width: 42px;
    height: 52px;
    background-image: url('../img/truc1.png') !important;
}

.service .icon-2:before {
    width: 32px;
    height: 52px;
        background-image: url('../img/truc2.png') !important;
}

.service .icon-3:before {
    width: 48px;
    height: 52px;
    background-image: url('../img/truc6_cc7fb3.png') !important;
}

.service .icon-4:before {
    width: 53px;
    height: 50px;
    background-image: url('../img/truc5_cc7fb3.png') !important;
}

.service .icon-5:before {
    width: 37px;
    height: 54px;
    background-image: url('../img/truc4_cc7fb3.png') !important;
}

.service .icon-6:before {
    width: 41px;
    height: 52px;
    background-image: url('../img/truc3_cc7fb3.png') !important;
}

.iview-directionNav a:hover {
    background: #ce80b4;
}

.product-actions .add-to-cart {
    position: absolute;
    height: 54px;
    min-width: 240px;
    background-color: #4c4c4b;
    color: #a3a5a7;
    text-transform: capitalize;
    font-weight: 400;
    margin-top: 19px;
    margin-left: 24px;
    border-radius: 0;
    right: auto;
    left: auto;
}

#cart-block .cart-products-count {
    font-size: 10px;
    min-width: 18px;
    line-height: 15px;
    color: #FFF;
    background: #ce80b4;
    border-radius: 45%;
    position: absolute;
    text-align: center;
    right: -5px;
    left: auto;
    top: 12px;
    font-family: "Barlow",sans-serif;
    font-weight: 600;
}

.thumbnail-container .functional-buttons>div .icon-btn-product:hover {
    color: #ce80b4;
}

.thumbnail-container .functional-buttons>div .btn-product {
    color: #4c4c4b;
    display: inline-block;
    font-size: 1rem;
    border: 2px solid #4c4c4b;
    background: #fff;
    cursor: pointer;
    position: relative;
    width: 45px;
    height: 42px;
    padding: 10px 12px;
}

.box-product-seller .box-2 .title_htmls {
    font-size: 36px;
    color: #ce80b4 !important;
    padding-top: 8px;
    margin: 0;
}

.box-product-seller .box-2 {
    width: 80px;
    height: 85px;
    border: 3px solid #ce80b4 !important;
    text-align: center;
}

.icons-1 {
    font-size: 12px;
    color: #ce80b4;
    padding-right: 10px;
}

.leo-fly-cart .leo-fly-cart-icon {
    background: #ce80b4;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    line-height: 28px;
}

.leo-fly-cart-total {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    color: #222;
    text-align: center;
    font-size: .75rem;
    line-height: 25px;
    display: inline-block;
    top: 0;
    background: #FFF;
    z-index: 99999;
    padding: 0 5px;
    position: relative;
    border: 2px solid #4c4c4b;
}

.footer-top {
    background: #3b3b3b;
}

.footer-center, .footer-bottom {
    background: #3b3b3b !important;
}

.footer-container .contact_info li a:hover {
    color: #cd7fb5 !important;
}

.block-toggler.ApBlockLink ul li a:hover:before, .footer-container .links.ApBlockLink ul li a:hover:before {
    background: #ce7fb4 !important;
    width: 5px;
    right: auto;
    left: -10px;
}

.footer-container li a:hover {
    color: #ce80b4 !important;
}

.block_newsletter form .btn {
    position: absolute;
    bottom: 18px;
    padding: 0;
    background: #fff0;
    color: #ce80b4 !important;
    font-family: "Barlow",sans-serif;
    font-weight: 600;
    border: none;
    right: 10px;
    width: 150px;
}

.block_newsletter form .btn:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 150px;
    top: 25px;
    background: #cf7fb2;
    right: 0;
    left: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

#back-top a {
    width: 45px;
    height: 45px;
    background: #ca7fb2 !important;
    color: #3b3b3b;
    font-size: 1.25rem;
    line-height: 45px;
}

.off-canvas-nav-megamenu .offcanvas-mainnav {
    background-color: #3a3a3a !important;
    position: absolute;
    top: 0;
    width: 234px;
    overflow: hidden;
    left: -234px;
}

.off-canvas-nav-megamenu .navbar-nav>li>a {
    display: inline-block;
    color: #ce7fb5 !important;
    font-size: .9375rem;
    font-weight: 700;
    padding: 1.0625rem .625rem;
}
.breadcrumb,
.breadcrumb a,
.breadcrumb span {
  font-size: 13px;
  color: #7a6858;
  font-weight: 500;
}

@media (max-width: 767px) {
  .breadcrumb,
  .breadcrumb a,
  .breadcrumb span {
    font-size: 15px;
  }
}
.product-add-to-cart .product-quantity {
  display: grid !important;
  grid-template-columns: 100px 240px;
  gap: 10px;
  align-items: center !important;
}

.product-add-to-cart .qty,
.product-add-to-cart .add,
.product-add-to-cart .wishlist,
.product-add-to-cart .compare {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
}

.product-add-to-cart .qty {
  grid-column: 1;
}

.product-add-to-cart .add {
  grid-column: 2;
  display: flex;
  align-items: center;
}

.product-add-to-cart .wishlist {
  grid-column: 1 / 2;
}

.product-add-to-cart .compare {
  grid-column: 2 / 3;
}

/* Quantità */
.product-add-to-cart .qty .input-group,
.product-add-to-cart .qty input {
  height: 48px !important;
}

/* Pulsanti */
.product-add-to-cart .add .btn,
.product-add-to-cart .add .add-to-cart,
.product-add-to-cart .wishlist .btn,
.product-add-to-cart .compare .btn {
  min-height: 48px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Larghezza pulsante carrello */
.product-add-to-cart .add .btn,
.product-add-to-cart .add .add-to-cart {
  width: 240px !important;
  max-width: 240px !important;
}

/* Mobile */
@media (max-width: 767px) {

  /* Riga quantità + carrello */
  .product-add-to-cart .product-quantity {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .product-add-to-cart .qty {
    width: 80px !important;
    flex: 0 0 80px !important;
    margin: 0 !important;
  }

  .product-add-to-cart .add {
    flex: 1 !important;
    margin: 0 !important;
  }

  .product-add-to-cart .add .btn,
  .product-add-to-cart .add .add-to-cart {
    width: 100% !important;
    margin: 0 !important;
  }

  /* Wishlist sotto */
  .product-add-to-cart .wishlist {
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
  }

  /* Nascondi confronta */
  .product-add-to-cart .compare {
    display: none !important;
  }
}
#subcategories .subcategory-block .subcategory-image {
    display: none !important;
}