/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

body, html {
    font-family: "Raleway", sans-serif !important;
}

/* Imposta Federo per tutti gli H */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Urbanist", sans-serif !important;
}

/* Imposta Urbanist per il menu */
#header .menu, 
.navbar, 
.nav, 
.navbar-nav, 
.navbar a {
    font-family: "Urbanist", sans-serif !important;
}

#header{ background: #5c0d3d !important; }

@media (max-width: 480px) {
    #header{ background: #f6f6f6 !important; }
    
    .header-nav a {
      color: #646464 !important; /* Imposta il colore del testo */
      text-decoration: none; /* Rimuove eventuali sottolineature */
    }
    
    .header-nav a:hover {
      color: #313131 !important; /* Colore al passaggio del mouse (opzionale) */
    }
    
}

#header a {
  color: #7a7a7a;
}

.header-nav a {
  color: #f2f2f2 !important; /* Imposta il colore del testo */
  text-decoration: none; /* Rimuove eventuali sottolineature */
  font-family: "Urbanist", sans-serif !important;
}

.header-nav a:hover {
  color: #ffffff !important; /* Colore al passaggio del mouse (opzionale) */
}

#header .header-top {
  padding: 15px;
  background:#f5f5f5 !important;
}

#header .header-top a[data-depth="0"] {
  text-transform: initial;
}

#header .header-top > .container {
    position: relative;
    max-width: 1200px;
}

@media (max-width: 991px) {
.header-top #search_widget input {
  padding-right: 1rem;
  width: 100px;
}
}


.header-nav > .container {
  max-width: 1140px; /* Larghezza massima del contenitore */
  margin: 0 auto; /* Centra il contenitore */
  padding: 0 15px; /* Aggiunge spazio ai lati per evitare che tocchi i bordi */
}


.breadcrumb {
  padding: 10px 20px;
  margin-bottom: 35px;
  border-radius: 0;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 0px;
}

.breadcrumb {
  list-style: none;
  text-align: center;
  font-family: "Urbanist", sans-serif !important;
}

/*** container ***/

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
}

@media (min-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 576px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}

/*** row ****/

@media (min-width: 1200px) {
.row {
    width: 100%;
    margin: 0 auto;
}
}

@media (min-width: 1200px) {
  .container {
    width: 100%;
  }
}

#footer {
    background: #f1f1f1;
}

#footer {
  padding-top: 20px;
}

.footer-container {
  width: 100%; /* Occupa tutta la larghezza dello schermo */
  padding-top: 2.5rem;
  overflow: hidden;
  background: #5c0d3d;;
  color: #fff; /* Testo bianco per migliorare la leggibilità */
}

.footer-container > .container {
  max-width: 1140px; /* Larghezza massima interna */
  margin: 0 auto; /* Centra il contenitore */
  padding: 0 15px; /* Aggiunge spazio ai lati per evitare che tocchi i bordi */
}

#wrapper {
  padding-top: 25px;
  background: #fff;
}

.featured-products {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-container .h1,
.footer-container .h2,
.footer-container .h3,
.footer-container .h4,
.footer-container .h5,
.footer-container .h6 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #fff;
}

.footer-container li a {
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
}

#block_myaccount_infos .myaccount-title a {
    color: #fff;
}

.block-contact {
    font-size: 0.875rem;
    color: #fff;
  }
  


#main .page-footer {
    margin-bottom: 0px;
  }


/** product home page icone **/

.product-miniature .product-flags li.product-flag {
  min-width: 3.125rem;
  min-height: 1.875rem;
  font-weight: 400;
  margin-left: 10px;
}
.product-flags li.product-flag {
  width: fit-content;
  padding: 0.3125rem 0.4375rem;
  margin-top: 0.625rem;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  word-break: break-word;
  pointer-events: auto;
  background: #fb84c7;
}

.product-flags li.product-flag.discount {
    background-color: #ffffff;
    color: #acacac;
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.14);
}


.product-miniature .thumbnail-container {
  position: relative;
  height: auto;
  margin-bottom: 1.563rem;
  overflow: hidden;
  background: #fff;
  width: 94%;
  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.14);
  transition: all 0.3s ease-in-out;
}

.product-miniature .thumbnail-container:hover {
box-shadow: 2px 2px 6px 3px rgba(0, 0, 0, 0.14);
}

.product-miniature .regular-price {
  display: inline-block;
  font-size: 0.875rem;
  color: #fb84c7;
  text-decoration: line-through;
}

.product-miniature .product-price-and-shipping {
  font-weight: 400;
  color: #606060;
  text-align: center;
  font-size: 18px;
}

/*** slide ****/

.carousel .carousel-inner {
  height: auto;
}
.carousel {
  background-color: rgba(0, 0, 0, 0);
  padding-left: 0px !important;
  position: relative;
  top: 0px;
  margin-top: -25px;
  padding-right: 0px !important;
  margin-right: -15px !important;
  margin-left: -15px !important;
  margin-bottom: 25px;
  cursor: pointer;
}

.carousel .carousel-item .caption {
  position: absolute;
  z-index: 2;
  top: 20%;
  left: 15%;
  font-size: 14px;
  text-align: left;
  max-width: 600px;
  min-height: 230px;
  padding: 3em 6em 3em;
  animation: fadeIn 2s;
}


@media (max-width: 991px) {
  .carousel .carousel-item .caption {
  position: absolute;
  z-index: 2;
  top: 0%;
  left: 15%;
  font-size: 14px;
  text-align: left;
  max-width: 600px;
  min-height: 230px;
  padding: 3em 6em 3em;
  animation: fadeIn 2s;
}
}

@media (max-width: 480px) {
  .carousel .carousel-item .caption .caption-description {
    display:none;
  }
}


@media (max-width: 991px) {
  .carousel {
    background-color: rgba(0, 0, 0, 0);
    padding-left: 0px !important;
    position: relative;
    top: 0px;
    left: 0px;
    padding-right: 0px !important;
    margin-right: -15px !important;
    margin-left: -15px !important;
    margin-bottom: 15px;
    cursor: pointer;
  }
}



/*** iscrivi newsletter ***/

.block_newsletter {
  display: flex;
  flex-direction: column; /* Imposta una disposizione verticale */
  align-items: center; /* Centra gli elementi */
  width: 100%;
  max-width: 640px;
  margin: auto;
  margin-bottom: 25px !important;
  background: #f1f1f1;
  padding: 25px;
  text-align: center;
}

.block_newsletter .row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.block_newsletter p {
  width: 100%;
  font-size: 1rem;
  margin-bottom: 15px;
}

.block_newsletter .col-md-7 {
  width: 100%;
}

.block_newsletter form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block_newsletter .input-wrapper {
  width: 100%;
  max-width: 360px;
  margin-bottom: 10px;
}

.block_newsletter input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.block_newsletter input[type="submit"] {
  width: 140px;
  padding: 10px;
  font-size: 1rem;
  color: white;
  border: none;
  cursor: pointer;
}

.block_newsletter input[type="submit"]:hover {
  background: #f068ff;
}

/*** menu ***/

@media (max-width: 991px) {
  #header .header-top .position-static {
  position: static;
  display: flex;
  flex-wrap: nowrap;
}
}


/*** product ***/

@media (max-width: 991px) {
.page-index .product, .page-search .product {
  width: 33%;
  min-width: 250px;
}
}

@media (max-width: 480px) {
.page-index .product, .page-search .product {
  width: 100%;
  min-width: 250px;
}
}

/*** form ***/

.form-group {
  margin-bottom: 1rem;
}


/*** banner ***/

#wrapper .banner {
  display: block;
  margin-bottom: 0px;
  margin-right: -15px;
  margin-left: -15px;
}


.banner .img-fluid {
  width: 100%;
  height: auto;
}


/*** custom text ***/
#custom-text {
  padding: 3.125rem;
  margin-bottom: 1.5rem;
  text-align: center;
  background: #f2f2f2;
  border-radius: 0px;
  margin-left: -15px;
  margin-right: -15px;
}

.featured-products .all-product-link {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  clear: both;
  font-weight: 500;
  color: #fff;
  display: block;
  margin: 10px 40px 40px 0px;
  padding: 10px 20px;
  border-radius: 5px;
  background: #f59bff;
}

.featured-products .all-product-link:hover {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  clear: both;
  font-weight: 500;
  color: #fff;
  display: block;
  margin: 10px 40px 40px 0px;
  padding: 10px 20px;
  border-radius: 5px;
  background: #f068ff;
}


.featured-products .products-section-title {
  margin: 2.5rem 0;
  font-weight: 500;
  text-align: center;
  color: #fb84c7;
  background: #ffffff;
  padding: 12px 0px;
  border-radius: 5px;
}

.product-flags li.product-flag.discount {
  background-color: #ffffff;
  color: #fb84c7;
  box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.14);
}

.product-miniature .product-price-and-shipping {
  font-weight: 400;
  color: #fb84c7;
  text-align: center;
  font-size: 18px;
}

.product-miniature .regular-price {
  display: inline-block;
  font-size: 0.875rem;
  color: #7a7a7a;
  text-decoration: line-through;
  font-weight: normal;
}


.wishlist-button-add i {
  color: #7a7a7a;
}

.wishlist-button-add:hover i {
  color: #fb84c7;
}

.top-menu a.dropdown-submenu {
  font-weight: 600;
  color: #3c3c3c;
  text-transform: none;
}

#header .header-nav .blockcart {
  font-family: "Urbanist", sans-serif !important;
}

.header-top .search-widgets form input[type="text"] {
  font-family: "Urbanist", sans-serif !important;
}


/*** product details ****/

.product-prices {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 20px; 
}

.product-discount {
    order: 2;
    font-size: 1.2em;
}

.product-price {
    order: 1; 
    font-weight: bold;
    font-size: 24px;
}

.tax-shipping-delivery-label {
    order: 3;
    font-size: 0.9em;
    color: #7a7a7a
}

.product-price {
    display: flex;
    align-items: center; /* Allinea i prezzi sulla stessa riga */
    gap: 10px; /* Spazio tra prezzo scontato e sconto */
    font-weight: bold;
    font-size: 2.2em;
}

.current-price {
    display: flex;
    align-items: center;
    gap: 5px; /* Distanza tra valore e sconto */
}

.discount-percentage {
    color: red;
    font-size: 1em;
    font-weight: bold;
}

.product-discount {
    display: flex;
    align-items: center;
    font-size: 1.0em;
    text-decoration: line-through;
    color: gray;
}

.tax-shipping-delivery-label {
    font-size: 0.9em;
    color: #777;
}

.has-discount.product-price, .has-discount p, .has-discount .page-content.page-cms ul, .page-content.page-cms .has-discount ul {
  color: #e14cbc;
}

.has-discount .discount {
  background: #f59bff;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  text-transform: none;
}

.product-actions .product-add-to-cart {
  word-wrap: break-word;
  border-top: 1px dashed #a7a7a7;
  padding: 25px 0 25px 0;
  border-bottom: 1px dashed #a7a7a7;
}

.product-container {
max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.07);
  padding: 40px 8px;
}

.product-container .col-md-6 {
    flex: 1;
    min-width: 50%;
}

label .color, .variant-links .color, .custom-checkbox input[type="checkbox"] + span.color {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 0.3125rem;
    margin-top: 0.3125rem;
    margin-right: 0.3125rem;
    margin-left: 0.3125rem;
  margin-right: 0.5rem;
  cursor: pointer;
  background-size: contain;
  border: 1px solid #979797;
  border-radius: 50px;
}

/*** ***/

.bootstrap-touchspin .input-group-btn-vertical .touchspin-down::after {
  content: '\e15b';
}

.bootstrap-touchspin .input-group-btn-vertical .touchspin-up::after {
  content: '\e145';
}

.bootstrap-touchspin .input-group-btn-vertical {
  float: left;
  width: auto;
  color: #7a7a7a;
  margin-left: 15px;
  display: flex;
  gap: 15px;
}

.product-quantity .input-group-btn-vertical .btn {
  padding: 0.5rem 0.6875rem;
  border: none;
  height: 40px;
  width: 40px;
  line-height: unset;
}

.product-quantity .input-group-btn-vertical .btn i {
  font-size: 1rem;
  position: initial;
  color: #7a7a7a;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up {
  border-radius: 0;
  order: 1;
  box-shadow: 2px 2px 4px rgba(0,0,0,.14);
  margin-right: 5px;
  border: 1px solid #eee;
  transition: all .3s ease-in-out;
  float: right;
}

.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down {
  border-radius: 0;
  order: 1;
  box-shadow: 2px 2px 4px rgba(0,0,0,.14);
  margin-right: 5px;
  border: 1px solid #eee;
  transition: all .3s ease-in-out;
  float: right;
  margin-top: 0px;
}

.product-quantity #quantity_wanted {
  width: 40px;
  height: 40px;
  padding: 0.175rem 1rem;
  color: #7a7a7a;
  background-color: #fff;
  margin-right: 5px;
}

.product-quantity input.form-control, .product-quantity input.input-group {
  color: #232323;
  background-color: #fff;
  height: 2.5rem;
  padding: .175rem .5rem;
  width: 3rem;
  border: 1px solid rgba(0,0,0,.07);
  float: left;
}

.blockreassurance_product .item-product svg {
  height: 25px;
  width: 25px;
}

.nav-item .nav-link  {
  font-weight: 400;
}

#product-comments-list-header {
  max-width: 1400px;
  margin: auto;
}


/* Forza layout a colonna su mobile */
/* Rende responsive il blocco prodotto su schermi piccoli */
@media (max-width: 767.98px) {
  .product-container .col-md-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: block;
  }

  /* Centra l'immagine, se non già centrata */
  .product-cover img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }

  /* Spaziatura sotto immagine per separare le sezioni */
  .product-cover {
    margin-bottom: 20px;
  }
}



/* Corregge layout add-to-cart su mobile */
@media (max-width: 767.98px) {
  .product-quantity {
    display: block !important;
  }

  .product-quantity .qty,
  .product-quantity .add,
  .product-quantity .wishlist-button-add {
    width: auto;
    margin-bottom: 10px;
  }

  .product-quantity .add-to-cart {
    width: 100%;
  }

  .product-quantity .wishlist-button-add {
    display: block;
    width: auto;
    text-align: center;
  }
}


/* aggiungi alo carrelo anteprime */

.product-miniature .thumbnail-container:hover .highlighted-informations.no-variants, .product-miniature .thumbnail-container:focus .highlighted-informations.no-variants {
  top: calc(100% - 4.4rem);
}











