/********************************************************
			Coderplace Custom Styles
********************************************************/

.cp-carousel {
  /*display: none;*/
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
}
/*.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  display: flex !important;
  flex-wrap: wrap;
}
 

.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-wrapper-outer {
  overflow-x: clip;
  position: relative;
  float: left;
  width: 100%;
  padding: 0;
}
.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}
.owl-carousel .owl-item {
float: none;
  width: 30% !important;
  height: auto;
}

.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}
.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}*/

/* mouse grab icon */
/*.customNavigation {
	position: absolute;
	z-index: 9;
	width: 100%;
	top: 50%;
	direction: ltr !important;
	right: 0;
	left: auto;
    opacity: 1 !important;
    pointer-events: auto;
    -khtml-opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
}
.products .customNavigation {
	top: 48%;
}
.testimonial-block-part .customNavigation {
  top: 58%;
}
.customNavigation a.prev::before {
	content: "\E314";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	right: 5px;
	top: -1px;
	color: #808080;
}
.customNavigation a.next::before {
	content: "\E315";
	font-family: "Material Icons";
	position: absolute;
	font-size: 20px;
	position: absolute;
	right: 3px;
	top: -1px;
	color: #808080;
}
.special-products .customNavigation {
	top: 52%;
}
.special-products:hover .customNavigation, 
.products:hover .customNavigation,
.testimonial-block-part:hover .customNavigation,
.product-accessories:hover .customNavigation,
.productscategory-products:hover .customNavigation{
  opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  -moz-opacity: 1;
}
.lastest_block .customNavigation {
	top: 44%;
}
.customNavigation i {
	color: #222 !important;
	cursor: pointer;
	font-size: 0;
	font-weight: 500;
	height: 38px;
	line-height: 32px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 38px;
	background: transparent;
	border-radius: 0;
	font-style: unset;
	box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.11);
}

.customNavigation i.prev {
	background: transparent;
	right: auto;
	background: #fff;
	border-radius: 50%;
	left: -5px;
}
.customNavigation i.next {
	background: transparent;
	right: 0px;
	background: #fff;
	border-radius: 50%;
	right: -5px;
}
.testimonial-block-part .customNavigation i.prev, 
.special-products .customNavigation i.prev,
.btn.prev.accessories_prev {
	left: -20px;
}
.testimonial-block-part .customNavigation i.next, 
.special-products .customNavigation i.next,
.btn.next.accessories_next  {
  right: -20px;
}
.customNavigation i.prev::before {
	content: '';
	-webkit-mask-image: url(/themes/PRS02044/assets/img/megnor/pro-left.svg);

	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(themes/PRS02044/assets/img/megnor/pro-left.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next::before {
	content: '';
	-webkit-mask-image: url(/themes/PRS02044/assets/img/megnor/pro-right.svg);
	-webkit-mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-image: url(/themes/PRS02044/assets/img/megnor/pro-right.svg);
	mask-position: center;
	mask-repeat: no-repeat;
	background-color: #000;
	mask-size: 14px;
	font-size: 14px;
	width: 38px;
	height: 38px;
	display: block;
  -webkit-mask-size: 14px;
}
.customNavigation i.next:hover::before,.customNavigation i.prev:hover::before  {
  color: #fff;
}
@media (max-width: 1449px) {
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: -15px;
  }
  .testimonial-block-part .customNavigation i.next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: -15px;
  }
  .customNavigation i.next {
    right: 0;
  }
  .customNavigation i.prev {
    left: 0;
  }
}
@media (max-width: 1199px) {
}

@media (max-width: 991px) {
  #cpleftbanner1 li img,
  #cpleftbanner2 li a {
    width: auto;
  }
}
@media (max-width: 767px) {
  .customNavigation {
    opacity: 1;
    -khtml-opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
  }
  
  .testimonial-block-part .customNavigation i.prev, 
  .special-products .customNavigation i.prev,
  .btn.prev.accessories_prev {
    left: 0;
  }
  .testimonial-block-part .customNavigation i.next,
   .special-products .customNavigation i.next,
   .btn.next.accessories_next {
    right: 0;
  }
  #main .images-container .js-qv-mask .customNavigation {
    top: 13px;
  }
  .quickview .mask.additional_slider .customNavigation i.prev {
    left: -10px !important;
  }
  .quickview .mask.additional_slider .customNavigation i.next {
    right: -10px !important;
  }*/
#cpleftbanner1 img,
#cpleftbanner2 img {
  max-width: 100%;
}
#cpleftbanner1 li,
#cpleftbanner2 li {
  overflow: hidden;
  position: relative;
  float: left;
}
#cpleftbanner1 li a,
#cpleftbanner2 li a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: top;
}


  .btn.next.brand_next {
    left: auto;
    right: 0;
    position: absolute;
  }
  .btn.prev.brand_prev {
    left: 0;
    right: auto;
  }
  .customNavigation i.next {
    left: auto;
    right: 0;
  }

@media (max-width: 480px) {
}

body {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, .page-heading, .block-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

:root {
  --primary-color: #1A1A40;
  --secondary-color: #FFD700;
  --background-color: #FAFAFA;
}

body {
  background-color: var(--background-color);
  color: #1A1A40;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: #1A1A40;
}

#cookieNotice {
  background-color: #003366 !important; /* blu profondo */
  color: #ffffff !important;
}

#cookieNotice .btn {
  background-color: #003d99 !important; /* arancione logo */
  color: #fff !important;
  border: none !important;
  font-weight: bold !important;
  padding: 10px 25px !important;
  border-radius: 4px !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2) !important;
}
#poscookielaw-accept {
    background-color: #003d99 !important;
    color: white !important;
    border: none !important;
}

/* Etichetta sopra il campo file */
.product-customization-item {
    display: block;
    margin-bottom: 18px;
    font-family: 'Poppins', sans-serif;
}

/* Etichetta blu */
.product-customization-item label {
    font-weight: 600;
    color: #003d99;
    margin-bottom: 6px;
    display: inline-block;
}

/* Input visivo coerente */
.product-customization-item input[type="file"] {
    background-color: #f5f9ff;
    border: 2px solid #003d99;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    width: 100%;
    max-width: 380px;
    font-family: 'Poppins', sans-serif;
    color: #003d99;
    cursor: pointer;
}

/* Pulsante scegli file */
.product-customization-item input[type="file"]::file-selector-button {
    background-color: #003d99;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.product-customization-item input[type="file"]::file-selector-button:hover {
    background-color: #002c75;
}

/* Stile personalizzato per il bottone "Scegli file" nella personalizzazione prodotto */
.product-customization-item .btn.btn-primary {
  background-color: #003d99 !important;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.2s ease-in-out;
}

.product-customization-item .btn.btn-primary:hover {
  background-color: #002870 !important;
}

.productpage_title {
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #0f1b52 !important; /* blu scuro coerente */
  margin-bottom: 5px !important;
}

#product-description-short p {
  font-size: 16px !important;
  color: #555 !important;
  line-height: 1.6em !important;
  margin-bottom: 20px !important;
  font-style: italic !important;
}

/* === BOTTONE "AGGIUNGI AL CARRELLO" === */
.product-add-to-cart button.btn-primary {
  background-color: #0a1a40;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.product-add-to-cart button.btn-primary:hover {
  background-color: #0043a4;
}


/* === BOTTONE "SALVA PERSONALIZZAZIONE" === */
button[name="submitCustomizedData"] {
  background-color: #0a1a40 !important;  /* Blu scuro coerente con il sito */
  color: #fff !important;                /* Testo bianco */
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 10px 25px !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

button[name="submitCustomizedData"]:hover {
  background-color: #0043a4 !important; /* tono più acceso al passaggio del mouse */
}


/* Nasconde barra quantità e countdown nella pagina prodotto */
.qtyprogress,
.countdown,
.running.is-countdown {
    display: none !important;
}

@media (max-width: 576px) {
  /* Aggiunge spazio sotto la pagina per evitare sovrapposizioni */
  body,
  #content-wrapper {
    padding-bottom: 100px !important;
  }

  /* Bottone "Aggiungi al Carrello" fisso e centrato */
  .product-add-to-cart .btn-primary,
  .product-add-to-cart .add-to-cart {
    position: fixed !important;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: auto !important;
    max-width: calc(100% - 40px);
    z-index: 9999;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: #0d2b56;
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  /* Nasconde eventuali bottoni duplicati */
  .product-add-to-cart .btn-secondary {
    display: none !important;
  }
}
/* Nasconde i pulsanti di condivisione social */
.social-sharing {
  display: none !important;
}

/* Nasconde il blocco con "Migliore offerta della settimana" */
section.special-products {
    display: none !important;
}

/* Nasconde il titolo "prodotti sponsorizzati" (in realtà dentro #featured-products) */
section#featured-products {
    display: none !important;
}


/* Nasconde le sezioni banner sotto l'offerta */

footer.page-footer {
    display: none !important;
}





/* Rimuovi margini inutili e centra il contenuto */
.container-home,
#columns_inner {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero banner: rendilo più prominente */
#carousel {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sezione vantaggi: stile icone e testo */
#cpsserviceblock {
    background: #f5f7fa;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 30px auto;
    max-width: 1200px;
}

#cpsserviceblock .block {
    max-width: 220px;
}

#cpsserviceblock .block img {
    max-width: 50px;
    margin-bottom: 10px;
}

#cpsserviceblock .block h4 {
    font-weight: 700;
    color: #0a1f44;
    font-size: 1.1rem;
}

#cpsserviceblock .block p {
    font-size: 0.95rem;
    color: #555;
}
@media (max-width: 768px) {
  #cpsserviceblock {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #cpsserviceblock .block {
    margin-bottom: 20px;
  }
}
@media (max-width: 768px) {
  .service_block_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .service_image {
    margin-bottom: 10px;
  }

  .service_content {
    float: none;
    text-align: center;
    padding-inline: 0;
  }
}


/* Footer più pulito */
footer#footer {
    background: #125fa3;
    color: #fff;
}

footer#footer a {
    color: #ddd;
}

footer#footer .footer-container {
    padding-top: 40px;
    padding-bottom: 20px;
}



/* Titoli footer allineati a sinistra con stile elegante */
.footer-container h4 {
    text-align: left;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
}

/* Liste e testo del footer */
.footer-container ul,
.footer-container p {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Aumenta spaziatura verticale e laterale del footer */
.footer-container {
    padding: 60px 40px;
}

/* Rende le colonne del footer più bilanciate tra loro */
.footer-container .col-md-4 {
    margin-bottom: 30px;
}


/* STEP 7 - Miglioramento sezione recensioni */
/*.testimonial-block-part {
    background-color: #f8f9fa !important; 
    padding: 40px 0;
}

.testimonial-block-part .container {
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-block-part .col-md-4 {
    margin-bottom: 20px;
}

.testimonial-block-part .quote-box {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
    min-height: 240px;
}

.testimonial-block-part .quote-box img {
    border-radius: 50%;
    max-width: 70px;
    display: block;
    margin: 10

}*/
.fsb-notification-wrapper {
    display: none !important;
}




/* 1. Nasconde la riga in alto con "Crea la versione mini..." */
#cpheadercms1 {
    display: none !important;
}

/* 2. Nasconde "Localizzatore negozi", "Rintraccia ordine", "Il mio conto" */
.header-top .header-link,
#_desktop_user_info,
#_desktop_currency_selector {
    display: none !important;
}

/* 3. Centra la barra di ricerca e la rende più larga */
#search_widget {
    width: 60% !important;
    margin: 0 auto;
}
#search_widget input[type="text"] {
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
}

/* 4. Tieni solo il menu Home nella navbar */
.menu > li:not(:first-child) {
    display: none !important;
}
.menu > li:first-child a {
    font-weight: bold;
    font-size: 16px;
}

/* 5. Nasconde la barra gialla di spedizione gratuita */
.cpheadercms2 {
    display: none !important;
}



.services-section {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
  background: white;
  text-align: center;
  border: 1px solid #eee;
}

.service-box {
  flex: 1 1 200px;
  margin: 15px;
  padding: 20px;
  border-right: 1px solid #ddd;
}

.service-box:last-child {
  border-right: none;
}

.service-box i {
  font-size: 32px;
  color: #125fa3;
  margin-bottom: 10px;
}

.service-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #000;
}

.service-box p {
  font-size: 14px;
  color: #444;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .services-section {
    flex-direction: column;
    align-items: center;
  }

  .service-box {
    border-right: none;
    border-bottom: 1px solid #eee;
    width: 100%;
  }

  .service-box:last-child {
    border-bottom: none;
  }
}

.custom_icon img {
  width: 60px !important;
  height: auto !important;
  display: inline-block;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .custom_icon img {
    width: 45px !important;
  }
}

.service_image {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  display: inline-block !important;
  width: 48px !important;
  height: 48px !important;
}

.service-cms-banner-list.service-1 .service_image {
  background-image: url('/img/cms/icona-miniatura.png') !important;
}

.service-cms-banner-list.service-2 .service_image {
  background-image: url('/img/cms/icona-100.png') !important;
}

.service-cms-banner-list.service-3 .service_image {
  background-image: url('/img/cms/icona-regalo.png') !important;
}

.service-cms-banner-list.service-4 .service_image {
  background-image: url('/img/cms/icona-supporto.png') !important;
}








/* === Sezione testimonianze === */
.testimonial-block-part {
  position: relative; 
  background-color: #f9f9f9;
  padding: 60px 20px;
}
.testimonial-block-part:hover .customNavigation {
  opacity: 1 !important;
  pointer-events: auto;
}
.testimonial-block-part .container {
  max-width: 1100px !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .testimonial-block-part .container {
    max-width: 25% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #cptestimonial.testimonial-carousel {
    gap: 15px;
  }

  .testimonial-box {
    max-width: 100% !important;
    min-width: 280px;
  }
}

#spe_res {
  margin: 0;
  padding: 0;
}




#cptestimonial.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 30px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  align-items: stretch;
  position: relative;
  min-width: 100%;
  min-height: 1px;
}
#cptestimonial.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-box {
  flex: 0 0 auto;
  width: 100%;
  max-width: 33.333%;
  min-width: 280px;
  scroll-snap-align: start;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}


.testimonial-banner-description {
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.testimonial-img-title {
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-weight: 600;
  color: #222;
}

.testimonial-img-title img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}



@media (max-width: 991px) {
  .testimonial-box {
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .testimonial-box {
    max-width: 100%;
  }
}



/* === TESTIMONIAL SECTION – restyling === */
.testimonial-block-part {
  position: relative;
  background: #125fa3;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(255,255,255,0.12) 2px, transparent 0);
  background-size: 18px 18px;
  padding: clamp(60px,8vw,100px) 0;
  color: #fff;
}

/* contenitore centrale */
.testimonial-block-part .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* carosello */
#cptestimonial.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  gap: clamp(20px,3vw,30px);
  padding: clamp(20px,4vw,40px) 0;
  scroll-snap-type: x mandatory;
}
#cptestimonial.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

/* box testimonianza */
.testimonial-box {
  flex: 0 0 auto;
  width: 100%;
  max-width: 33.333%;
  min-width: 280px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: clamp(24px,3vw,36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  transition: transform .3s, box-shadow .3s;
}
.testimonial-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

/* citazione */
.testimonial-banner-description {
  position: relative;
  font-style: italic;
  font-size: clamp(1rem,2.5vw,1.125rem);
  line-height: 1.6;
  color: #fff;
  margin: 0 0 16px;
}
.testimonial-banner-description::before {
  content: "“";
  position: absolute;
  top: -10px; left: -10px;
  font-size: 3rem;
  color: #f5b600;
}

/* autore */
.testimonial-img-title {
  display: flex;
  align-items: center;
  margin-top: auto;
  font-weight: 600;
  color: #fff;
}
.testimonial-img-title img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #f5b600;
}

/* TITOLI + SOTTOTITOLO della sezione */
.testimonial-block-part .custom-services-header {
  text-align: center;
  margin-bottom: clamp(32px,5vw,48px);
}
.testimonial-block-part .custom-services-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem,4vw,2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  position: relative;
}
.testimonial-block-part .custom-services-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f5b600;
  margin: 12px auto 0;
  border-radius: 2px;
}
.testimonial-block-part .custom-services-header p {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem,2.5vw,1.125rem);
  color: rgba(255,255,255,0.8);
  margin: 8px auto 0;
  max-width: 600px;
}

/* breakpoint per colonna unica su tablet/mobile */
@media (max-width: 991.98px) {
  .testimonial-box { max-width: 50%; }
}
@media (max-width: 767.98px) {
  .testimonial-box { max-width: 100%; }
}
/* NAV TESTIMONIAL: container full-width e bottoni ai lati */
.testimonial-block-part .customNavigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between; /* ‹ a sinistra, › a destra */
  align-items: center;
  pointer-events: none;           /* solo i bottoni sono cliccabili */
  transform: translateY(-50%);
  padding: 0 16px;                /* margine orizzontale */
  z-index: 2;
}

/* rendiamo cliccabili soltanto i button */
.testimonial-block-part .customNavigation button {
  pointer-events: all;
}

/* STILE DEI BOTTONI */
.testimonial-block-part .testimonial-nav {
  background: #fff;
  color: #125fa3;
  border: 2px solid #f5b600;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

/* HOVER */
.testimonial-block-part .testimonial-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,.1);
}



.customNavigation {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

.customNavigation i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
  cursor: pointer;
  z-index: 10;
  pointer-events: auto;
}

.customNavigation i.prev {
  left: -10px;
}

.customNavigation i.next {
  right: -10px;
}

.customNavigation i::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  -webkit-mask-size: 14px;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-size: 14px;
  mask-position: center;
  mask-repeat: no-repeat;
}

.customNavigation i.prev::before {
  -webkit-mask-image: url('/themes/PRS02044/assets/img/megnor/pro-left.svg');
  mask-image: url('/themes/PRS02044/assets/img/megnor/pro-left.svg');
}

.customNavigation i.next::before {
  -webkit-mask-image: url('/themes/PRS02044/assets/img/megnor/pro-right.svg');
  mask-image: url('/themes/PRS02044/assets/img/megnor/pro-right.svg');
}


@media (max-width: 767px) {
  .bestseller-products .container {
   max-width: 400px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}




.cookie-banner-custom {
  font-family: 'Segoe UI', sans-serif;
  background: #001f3f; /* blu scuro */
  color: #ffffff;
  padding: 25px 20px;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

.cookie-banner-custom p {
  margin: 0 auto 20px;
  font-size: 15px;
  max-width: 900px;
  line-height: 1.5;
}

.cookie-banner-custom a {
  color: #ffd700;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cookie-buttons button {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cookie-buttons .cookie-accept {
  background-color: #007bff;
  color: #fff;
}

.cookie-buttons .cookie-reject {
  background-color: #6c757d;
  color: #fff;
}

.cookie-buttons .cookie-customize {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #00cfff;
    
}

.cookie-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


#cookie-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  color: #000000;
  width: 90%;
  max-width: 500px;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  z-index: 10000;
  font-family: 'Segoe UI', sans-serif;
}

#cookie-modal h2 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
  color: #001f3f;
}

.cookie-category {
  margin-bottom: 16px;
  font-size: 16px;
}

.cookie-category input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 10px;
  cursor: pointer;
}

.cookie-category label {
  vertical-align: middle;
  cursor: pointer;
  color: #222;
}

#modal-buttons {
  text-align: right;
  margin-top: 25px;
}

#modal-buttons button {
  margin-left: 10px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  background-color: #001f3f;
  color: white;
  transition: background-color 0.2s ease;
}

#modal-buttons button:hover {
  background-color: #004080;
}

#close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.2s ease;
}

#close-modal:hover {
  color: #000;
}



button.closeFontAwesome {
  display: none !important;
}
#additional-carousel .owl-stage {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
}

#additional-carousel .owl-item {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: auto !important;
}
/* SLIDER IMMAGINI – riempie tutta la colonna */
.additional_slider .item img {
  width: 100%;
  height: auto;
}

/* rimuove padding/margini intorno al box immagini */
.product-leftside,
.images-container {
  padding: 0;
  margin: 0;
}

/* gestione pulsanti custom (opzionale) */
.customNavigation .btn {
  background: #ffcc00;
  border: none;
  padding: 4px 18px;
  font-size: 26px;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
}
/* Frecce Owl più grandi e posizionate al centro dell’immagine */
#additional-carousel .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;            /* ingrandisci qui */
  height: 42px;
  font-size: 28px;        /* dimensione simbolo */
  line-height: 42px;
  border: none;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 50%;
  transition: background .2s;
}
#additional-carousel .owl-prev { left: 8px; }
#additional-carousel .owl-next { right: 8px; }

#additional-carousel .owl-nav button:hover {
  background: rgba(0,0,0,0.55);
}




/* === SERVICE SECTION WRAPPER ======================================= */
#service-wrap {
  background: #125fa3;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, .12) 2px, transparent 0);   /* fondo bianco più pulito */
  padding: clamp(36px,5vw,60px) 0;
}

/* — TITOLO SEZIONE — */
.custom-services-header {
  text-align: center;
  margin-bottom: clamp(24px,4vw,40px);
}
.custom-services-header h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem,4vw,2.5rem);
  font-weight: 800;
  color: #0e1d3a;
  margin: 0;
  line-height: 1.2;
  position: relative;
}
.custom-services-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #f5b600;
  margin: 12px auto 0;
  border-radius: 2px;
}
.custom-services-header p {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem,2.5vw,1.125rem);
  color: #384255;
  margin: 8px auto 0;
  max-width: 600px;
}

/* === GRID RESPONSIVE ============================================== */
#bl3d-service-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(24px,3vw,32px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 991.98px) {
  #bl3d-service-block {
    grid-template-columns: repeat(2,1fr);
    gap: clamp(20px,3vw,28px);
    padding: 0 20px;
  }
}
@media (max-width: 767.98px) {
  #bl3d-service-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }
}

/* === CARD ========================================================== */
#bl3d-service-block .service-item {
  position: relative;
  background: #f8f9fc;          /* leggero contrasto sul bianco */
  border-radius: 16px;
  padding: clamp(24px,3vw,36px);
  text-align: center;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
#bl3d-service-block .service-item::before {
  /* piccolo accento giallo in alto a destra */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 6px;
  background: #f5b600;
}
#bl3d-service-block .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

/* icona */
#bl3d-service-block .service-ico {
  width: 64px; height: 64px;
  margin: 0 auto clamp(12px,2vw,18px);
  background-size: contain!important;
  background-repeat: no-repeat;
  background-position: center;
}

/* titolo */
#bl3d-service-block .service-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1rem,2vw,1.125rem);
  font-weight: 700;
  color: #0e1d3a;
  margin: 0 0 clamp(8px,1.5vw,12px);
  line-height: 1.3;
}

/* descrizione */
#bl3d-service-block .service-desc {
  font-family: "Inter", sans-serif;
  font-size: clamp(.875rem,1.5vw,.935rem);
  color: #5e6474;
  margin: 0;
  line-height: 1.6;
}

/* spaziatura mobile leggermente ridotta */
@media (max-width: 575.98px) {
  #service-wrap { padding: clamp(24px,5vw,36px) 0; }
  #bl3d-service-block .service-item {
    padding: clamp(20px,3vw,28px);
  }
}


/* === HOT-FIX TABLET LANDSCAPE (≤1024px) === */
@media (max-width: 1024px) {
  #bl3d-service-block {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
    padding: 0 20px;
  }
  #service-wrap {
    padding: 40px 0;
  }
}

/* === TABLET PORTRAIT (≤768px) === */
@media (max-width: 768px) {
  #bl3d-service-block {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 16px;
  }
  #service-wrap {
    padding: 36px 0;
  }
  #bl3d-service-block .service-item {
    padding: 28px 20px;
  }
}

/* === MOBILE (≤576px) === */
@media (max-width: 576px) {
  #bl3d-service-block {
    gap: 16px;
    padding: 0 12px;
  }
  #bl3d-service-block .service-item {
    padding: 24px 16px;
  }
  #bl3d-service-block .service-ico {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  #bl3d-service-block .service-title {
    font-size: 1rem;
  }
  #bl3d-service-block .service-desc {
    font-size: .875rem;
    line-height: 1.5;
  }
}

/* ─── HOTFIX TABLET LARGE (≤1024px) ─────────────────────────────── */
@media (max-width: 1024px) {
  /* due card per riga */
  #bl3d-service-block {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
    padding: 0 20px;
  }
}

/* ─── HOTFIX TABLET SMALL / IPAD PORTRAIT (≤768px) ─────────────── */
@media (max-width: 768px) {
  /* una sola card per riga */
  #bl3d-service-block {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 16px;
  }
}



/* ================================================================
   HERO MINIATURA  –  v 3.2 (desktop-first, mobile-friendly)
   * fix rapporto immagine (object-fit / max-height)
   * limite altezza banner
   * layout 45 | 55 % su tablet “large” (820-991 px)
   * card verticale sotto i 768 px
================================================================ */

/* — WRAPPER — */
#bl3d-banner-split{padding:68px 0;}

.banner-split-wrapper{
  /* layout base */
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:56px;

  /* decorazioni */
  border-radius:28px;
  padding:60px 72px;
  overflow:hidden;
  box-shadow:0 25px 50px rgba(0,0,0,.06);

  /* limite d’altezza desktop */
  max-height:620px;
}

/* trapezio blu puntinato */
.banner-split-wrapper::before{
  content:"";
  position:absolute; inset:0;
  background:#125fa3;
  clip-path:polygon(0 0, 55% 0, 45% 100%, 0% 100%);
  background-image:radial-gradient(circle at 2px 2px,rgba(255,255,255,.12) 2px,transparent 0);
  background-size:18px 18px;
  z-index:0;
}

/* — IMG — */
.banner-split-img{max-width:520px;transform:rotate(-2deg);position:relative;z-index:1;}
.banner-split-img img{
  width:100%;
  height:auto;                       /* no stretch */
  max-height:500px;                  /* mai oltre 500 px */
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 20px 24px rgba(0,0,0,.15));
}

/* — TESTO — */
.banner-split-content{position:relative;z-index:1;}

.banner-title{
  font-size:clamp(26px,2.8vw,38px);
  font-weight:900;
  line-height:1.22;
  margin:0 0 18px;
  color:#0e1d3a;
  text-shadow:2px 2px 0 #f5b600;
}

.banner-text{
  font-size:clamp(15px,1.05vw,18px);
  line-height:1.66;
  margin:0 0 34px;
  max-width:600px;
  color:#384255;
}
.banner-text strong{color:#f5b600;}

.banner-btn{
  display:inline-block;
  padding:16px 46px;
  background:#125fa3;
  color:#fff;
  font-weight:700;
  border-radius:50px;
  border:2px solid transparent;
  box-shadow:0 6px 14px rgba(18,95,163,.35);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
.banner-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(245,182,0,.45);
  border-color:#f5b600;
}
/* ========== TABLET (≤ 991px) ========== */
@media (max-width: 991.98px) {
  .banner-split-wrapper {
    /* diventa colonna singola con fascia blu in alto */
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 32px;
    text-align: center;
    max-height: none;
  }
  .banner-split-wrapper::before {
    /* fascia blu alta il 50% */
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 60%);
    height: 50%;
  }
  .banner-split-img {
    /* immagine al centro e responsiva */
    width: 80vw;
    max-width: 360px;
    transform: rotate(-3deg);
    margin: 0 auto;
  }
  .banner-split-content {
    padding: 0 20px;
    /* testo centrato */
    justify-self: center;
  }
}

/* ========== MOBILE “large” (≤ 767px) ========== */
@media (max-width: 767.98px) {
  .banner-split-wrapper {
    padding: 40px 16px;
    gap: 24px;
  }
  .banner-split-img img {
    width: 84vw;
    max-width: 280px!important;
    transform: none; /* niente rotazione su smartphone */
  }
  .banner-title {
    font-size: 1.5rem; /* ~24px */
  }
  .banner-text {
    font-size: 0.875rem; /* ~14px */
    margin-bottom: 24px;
  }
  .banner-btn {
    width: 100%;
    padding: 14px 0;
  }
}

/* ========== MOBILE “small” (≤ 575px) ========== */
@media (max-width: 575.98px) {
  .banner-split-wrapper {
    padding: 32px 12px;
    gap: 16px;
  }
  .banner-split-img img{
    width: 90vw;
    max-width: 240px!important;
  }
  .banner-title {
    font-size: 1.25rem; /* ~20px */
  }
  .banner-text {
    font-size: 0.75rem; /* ~12px */
  }
}






/* === CUSTOM MINIATURES SHOWCASE ================================== */
.custom-miniatures-wrapper {
  background: #f8f9fc;
  padding: 64px 16px;
  text-align: center;
}

.custom-miniatures-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0e1d3a;
  margin-bottom: 8px;
}

.custom-miniatures-subtitle {
  font-size: 1rem;
  color: #5e6474;
  margin-bottom: 32px;
}

/* responsive grid: 1–4 colonne */
.custom-miniatures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.custom-miniatures-item {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.custom-miniatures-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* assicura che tutte le immagini riempiano la card senza distorsioni */
.custom-miniatures-item img {
  max-width: 100%;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  border-radius: 8px;
  transition: transform .3s;
}

.custom-miniatures-item:hover img {
  transform: scale(1.05);
}

/* ===== MEDIA QUERIES ===== */

/* tablet portrait */
@media (max-width: 991.98px) {
  .custom-miniatures-wrapper {
    padding: 48px 12px;
  }
  .custom-miniatures-title {
    font-size: 1.75rem;
  }
  .custom-miniatures-subtitle {
    font-size: 0.95rem;
  }
  .custom-miniatures-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* mobile */
@media (max-width: 575.98px) {
  .custom-miniatures-wrapper {
    padding: 32px 8px;
  }
  .custom-miniatures-title {
    font-size: 1.5rem;
  }
  .custom-miniatures-subtitle {
    font-size: 0.9rem;
  }
  .custom-miniatures-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .custom-miniatures-item {
    padding: 12px;
  }
}














/* — CONTAINER GENERALE — */
.bl3d-about-content {
  background: #ffffff;
  padding: 64px 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* — SOTTOTITOLO — */
.bl3d-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #125fa3;             /* blu primario */
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* — TITOLO PRINCIPALE — */
.bl3d-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #0e1d3a;             /* blu scuro */
  margin-bottom: 32px;
  line-height: 1.2;
  position: relative;
}

/* piccolo accento giallo sotto il titolo */
.bl3d-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #f5b600;        /* giallo accent */
  margin: 12px auto 0;
  border-radius: 2px;
}

/* — PARAGRAFI — */
.bl3d-about-content p {
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.7;
  color: #384255;             /* grigio/blu scuro */
  max-width: 700px;
  margin: 0 auto 24px;
}

/* evidenziamo le parole chiave in giallo */
.bl3d-about-content p strong {
  color: #f5b600;
}

/* — LOGO FINALE — */
.bl3d-logo-signature {
  margin-top: 40px;
}
.bl3d-logo-signature img {
  width: 120px;
  height: auto;
  opacity: 0.85;
  transition: opacity .3s;
}
.bl3d-logo-signature img:hover {
  opacity: 1;
}

/* — RESPONSIVE — */
@media (max-width: 767.98px) {
  .bl3d-about-content {
    padding: 48px 16px;
  }
  .bl3d-title {
    font-size: 2rem;
  }
  .bl3d-about-content p {
    margin-bottom: 20px;
  }
  .bl3d-logo-signature {
    margin-top: 32px;
  }
}

/* Esempio alternativo generico */
.customNavigation .bestseller_prev,
.customNavigation .bestseller_next {
  display: none !important;
}

