/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* ROBOTO */
body, button, input, select, textarea, .woocommerce {
  font-family: 'Roboto', sans-serif !important;
}

body {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}
/* BANNER */
.buono-banner {
  background: #e07141 !important;
  border: 2px solid #f9a825 !important;
  color: #1e366e !important;
  padding: 15px !important;
  margin: 15px 0 !important;
  font-size: 1.2em !important;
  text-align: center !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
/* SLIDER */
.product-slider-wrapper {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.swiper-slide.product-card {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  margin: 5px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.swiper-slide.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e366e;
  margin: 8px 0 4px;
  line-height: 1.3;
}

.product-price {
  font-size: 14px;
  margin-bottom: 10px;
  color: #1e366e;
}

.product-price del {
  color: #1e366e;
  font-size: 13px;
}

.product-price ins {
  font-weight: 700;
  color: #1e366e;;
  font-size: 15px;
  text-decoration: none;
}

.badge-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #e07141;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Assicurati che .product-card sia relatively positioned */
.product-card {
  position: relative;
}

/* css barra arancione sopra menu */
.top-info-bar {
  background-color: #e07141;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 8px 0;
  z-index: 10;
  position: relative;
}
.top-info-bar a{
  color: #fff;
}
.top-info-bar a:hover{
  color: #1e366e;
}
/* css barra grigia con tel email etc */
.top-contact-bar {
  background-color: #e2e2e2;
  font-size: 13px;
  padding: 10px;
}

.top-contact-bar .contact-box {
  background-color: #f5f5f5;
  color: #1e366e;
  padding: 6px 26px 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  margin-right: 2px;
  margin-top: 4px;
  margin-left: 2px;
  white-space: nowrap;
}

.top-contact-bar .contact-box i {
  font-size: 16px;
  margin-left: 3px;
  color: #1e366e;
}

.top-contact-bar .contact-box:hover {
  background-color: #dedede;
}

.top-contact-bar .dropdown-menu {
  font-size: 13px;
}
/* SCOMPARE LA BARRA GRIGIA SU MOBILE */
@media (max-width: 767px) {
  .top-contact-bar {
    display: none !important;
  }
}

/* RIMPICCIOLISCE LA BARRA ARANCIONE SU MOBILE */
@media (max-width: 767px) {
  .top-info-bar {
    font-size: 10px;
    padding: 6px 8px;
  }
}
/* immagine a pieno schermo */
.fullwidth-banner-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.fullwidth-banner-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border: none;
    border-radius: 0; /* oppure 6px se vuoi tenerlo */
}
.fullwidth-banner-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .fullwidth-banner-wrapper img {
		padding-top:30px;
        transform: scale(1.4);  /* zooma l’immagine del 20% su mobile */
        object-fit: cover;
        object-position: center;
    }
}
/* TESTO sotto immagine piu largo */
.fullwidth-banner-wrapper h4 {
    font-size: clamp(16px, 4vw, 22px);  /* adatta la dimensione in base allo schermo */
    text-align: center;
    margin: 10px auto;
	margin-top: 30px;
    max-width: 90vw; /* impedisce che il testo venga stretto troppo */
    line-height: 1.3;
    word-break: keep-all;
}
/* Nasconde la barra con classe "barra-mobile-solo" su desktop */
@media (min-width: 992px) {
  .barra-mobile-solo {
    display: none !important;
  }
}
