/* Stili del tema Shop Welfare Pellegrini.
   Il file style.css nella ROOT del tema contiene solo l'intestazione
   (identità del tema per WordPress): gli stili veri stanno qui.
   Accodato da functions.php. */

 
/* Font del sito: Titillium Web (base) + Inter (titoli/sottotitoli).
   Stessa URL accodata dal plugin sulle pagine wizard: il browser la scarica una volta sola. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Titillium+Web:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap');

:root {
--inter: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h2 {
    font-weight: bold !important;
}
/*-------------------------------------- PAGINA HOME --------------------------------------*/
/* Selezione prodotto in stile wizard (stessi token di assets/css/style.css (core) del plugin:
   primary #00b7cc, ink #3d3c3c, bordo #e5e7eb, radius 10px, pattern aquilone).
   Le card si comportano come le wp-select-card: bordo teal 5px + dettagli
   rivelati su hover e mantenuti sulla card selezionata (.is-selected). */

#bg-aquiloni {
  background-image: url("/wp-content/plugins/shop-welfarepellegrini/assets/img/background.svg");
  background-repeat: repeat;
  background-size: 45px 45px;
}

.sfuma {
    background-image: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 140px);
    background-repeat: no-repeat;
    background-size: 100% 140px;
    padding-bottom: 50px;
}

.thank-title-row {
	display: flex;
	align-items: center;      /* icona e testo allineati in altezza */
	justify-content: center;  /* centra il gruppo nella pagina */
	gap: 10px;                /* spazio tra simbolo e testo */
}
.thank-title-row h2 {
	margin: 0;                /* evita che il margine mandi l'icona a capo */
}
.thank-checkmark {
	display: flex;
	line-height: 0;           /* toglie lo spazio extra sotto l'svg */
}

/* Full-width: il tema padre (hello-elementor/kit Elementor) limita main#content
   (max-width ~500px): come fa il wizard con #wp-wizard, rimuoviamo il vincolo
   SOLO sul contenitore che ospita la sezione prodotti della home */
.site-main:has(.hp-section),
main:has(.hp-section),
#content:has(.hp-section) {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* sezione a tutta larghezza con pattern aquilone; la dissolvenza bianca in alto
   raccorda l'area bianca del titolo (header-home) con il pattern */
.hp-section {
  background-color: #f4fbfc;
  background-image: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 260px), url('../img/background.svg');
  background-repeat: no-repeat, repeat;
  background-size: 100% 260px, 45px 45px;
  padding: 10px 20px 70px;
  font-family: 'Titillium Web', sans-serif;
}

.hp-choose {
  text-align: center;
  color: #6b7280;
  font-family: var(--inter) !important;
  font-size: 20px;
  margin: 0 0 30px;
}

.hp-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;   /* la card non espansa non si stira all'altezza dell'altra */
  justify-content: center;
  gap: 36px;
  max-width: 1080px;
  margin: 0 auto;
}

.hp-card {
  flex: 1 1 380px;
  max-width: 512px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 16px 26px;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(0,0,0,.08);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hp-card:hover { transform: translateY(-2px); }
.hp-card:hover,
.hp-card.is-selected {
  border-color: #00b7cc;
  border-width: 5px;
  /* compensa i 3.5px di bordo in più (come le wp-select-card del wizard):
     il contenuto non "salta" quando appare il bordo spesso */
  padding: calc(16px - 3.5px) calc(16px - 3.5px) calc(26px - 3.5px);
  box-shadow: 0 8px 24px rgba(0,183,204,.12);
}

.hp-card-img img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  transition: height .3s ease;
}
/* su hover/selezione l'immagine si riduce per far posto ai dettagli */
.hp-card:hover .hp-card-img img,
.hp-card.is-selected .hp-card-img img { height: 130px; }

.hp-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
}
.hp-card-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
}
/* badge di prodotto (prodotto-buono-*.svg): SVG completo di sfondo,
   stesso usato accanto al titolo dei wizard */
.hp-card-ico img {
  width: 100%;
  height: 100%;
  display: block;
}
.hp-card-title {
  font-size: 28px;
  font-weight: 400;
  color: #3d3c3c;
  line-height: 52px;               /* centrata rispetto al badge icona (52px) */
  transition: line-height .3s ease;
}
/* con la descrizione visibile il titolo torna compatto e allineato in alto */
.hp-card:hover .hp-card-title,
.hp-card.is-selected .hp-card-title { line-height: 1.2; }

/* descrizione: nascosta finché la card non è hover/selezionata */
.hp-card-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  font-size: 16px;
  font-family: var(--inter) !important;
  color: #3d3c3c;
  line-height: 1.4;
  transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease;
}
.hp-card:hover .hp-card-desc,
.hp-card.is-selected .hp-card-desc {
  max-height: 100px;
  opacity: 1;
  margin-top: 6px;
}

/* box statistiche: rivelati come i dettagli delle card del wizard */
.hp-card-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin-top .3s ease;
}
.hp-card:hover .hp-card-details,
.hp-card.is-selected .hp-card-details {
  max-height: 300px;
  opacity: 1;
  margin-top: 20px;
}
.hp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hp-stat {
  background: #fff;
  border: 1px solid #eef1f3;
  border-radius: 10px;
  box-shadow: 0 3px 9px rgba(0,0,0,.08);
  padding: 18px 10px;
  text-align: center;
}
.hp-stat-value {
  display: block;
  color: #00b7cc;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hp-stat-label {
  display: block;
  font-size: 14px;
  font-family: var(--inter) !important;
  color: #3d3c3c;
  line-height: 1.3;
}

/* AVANTI: stesso stile dei bottoni primari del wizard (squadrato, teal) */
.hp-actions { text-align: center; margin-top: 44px; }
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  background: #00b7cc;
  color: var(--wp-btn-text, #fff);
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: 15px 28px;
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: .03em;
  line-height: 1;
  cursor: pointer;
  transition: filter .15s ease, background .15s ease;
}
.hp-btn:hover { filter: brightness(.95); }
.hp-btn[disabled] {
  background: var(--wp-btn-disabled, #b8e8ee);
  color: #fff;
  cursor: not-allowed;
}

/* Il tema padre/kit Elementor RESETTA i <button> (sfondo, padding, font) con
   specificità più alta della sola classe: ri-affermiamo l'intero aspetto del
   bottone AVANTI (stessa tecnica degli override anti-tema del wizard) */
main#content button.hp-btn,
.hp-section button.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 200px;
  background: #00b7cc;
  color: var(--wp-btn-text, #000);
  border: 1.5px solid transparent;
  border-radius: 4px;
  padding: 15px 28px;
  font-family: 'Titillium Web', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}
main#content button.hp-btn:hover,
.hp-section button.hp-btn:hover { background: #00a4b7; }
main#content button.hp-btn[disabled],
.hp-section button.hp-btn[disabled] {
  background: var(--wp-btn-disabled, #b8e8ee);
  color: #888;
  cursor: not-allowed;
}

@media only screen and (max-width: 768px) {
  .hp-section { padding: 10px 12px 50px; }
  .hp-cards { gap: 20px; }
  .hp-card-img img { height: 220px; }
  .hp-stat-value { font-size: 20px; }
  .hp-stat-label { font-size: 12px; }
}

.page-content {
  border-radius: 10px;
  box-shadow: 0 0 5px 5px rgba(167, 167, 167, 0.3);
  margin-bottom: 20px;
  background: #fff;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 60px 60px 60px;
  font-family: 'titillium web', Roboto, sans-serif;
}

.text-center {
  text-align:center;
}

@media only screen and (max-width: 1200px) {
  .page-content {
      padding: 20px;
  }
}

/*--------------------------------------FIME PAGINA HOME --------------------------------------------------------*/
header#site-header, .page-header{
	display:none;
}
hr {
	border: 1px solid #fff;
}

a.link-bianco {
  color:#fff;
}
a.link-bianco:hover {
  color:#FCBE00;
}
.mt-20 {
  margin-top:20px;
}

  .caricamento {
      display: flex;
      justify-content: center;
      font-size:18px;
      font-weight:700;
      place-self: center;
      background: linear-gradient(90deg, #000, #1991A6, #000) -100%/ 200%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      animation: shimmer 1s linear infinite
      }
      @keyframes shimmer { to { background-position: 100% } }


/*-----------------------------------------------------------------------------------------------*/
/*------------------------------------------ HEADER --------------------------------------------*/
/*-----------------------------------------------------------------------------------------------*/
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Titillium Web', sans-serif !important;
        }

        body {
          font-family: 'Titillium Web', sans-serif !important;
        }

        /* full-width come la topbar del wizard: logo e bottone verso i bordi,
           stessi margini laterali (24px mobile / 48px desktop = px-4/px-md-5) */
        .header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 48px;
        }
				
				.header-left {
            flex: 1;
            display: flex;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 65px;
            display: block;
        }

        .header-right {
            flex: 1;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        /* stesso stile dei bottoni primari del wizard (squadrato, bold, uppercase) */
        .btn-cliente {
            background-color: #00b7cc;
            color: var(--wp-btn-text, #000);
            border: none;
            padding: 14px 24px;
            font-family: 'Titillium Web', sans-serif;
            font-size: 15px;
            font-weight:400;
            letter-spacing: .03em;
            text-transform: uppercase;
            cursor: pointer;
            border-radius: 4px;
        }
        .btn-cliente:hover {
            background-color: #00454d;
            color: #fff;
        }		

				/* badge "IN SOLI 5 MINUTI": stesso stile del wp-badge-time del wizard */
				.sottotitolo {
					display:inline-block;
					color:#5a4500;
					background:#fcbe00;
					width:auto;
					font-weight:700;
					font-size:14px;
					letter-spacing:.03em;
					padding:.35rem .8rem;
					border-radius:6px;
					margin: 0 auto;
				}

        .main-content {
            text-align: center;
            padding: 20px 20px 20px;
            font-family: 'Titillium Web', sans-serif !important;
        }

        .main-content h1 {
            font-size: 42px;
            font-weight: 700;
            color: #333333;
            margin-bottom: 20px;
            font-family: 'Titillium Web', sans-serif !important;
        }

        .main-content p {
            font-size: 18px;
            /*color: #333333;*/
            margin-bottom: 40px;
        }

			.footer-content {
				max-width: 1200px;
				margin: 0 auto;
				display: flex;
				flex-wrap: wrap;
				gap: 20px;
				padding-top:30px
			}
			
			.footer-content h1 {
					font-size: 42px;
					font-weight: 700;
					color: #333333;
					margin-bottom: 20px;
          font-family: 'Titillium Web', sans-serif !important;
			}

        /***************** Mobile Responsive ********************/
				
        @media (max-width: 768px) {
            .header {
                flex-direction: row;
                align-items: flex-start;
                padding-left:24px;
								padding-right:24px;
								padding-bottom:0px;
                position: relative;
								justify-content: space-between;
            }
          
            .footer-content {
            padding:20px
          }

            .logo {
                position: static;
                transform: none;
                margin-bottom: 20px;
            }

            .logo img {
                height: 60px;
            }

            .btn-cliente {
                position: absolute;
                top: 20px;
                right: 20px;
								font-size:16px;
            }
						
						.main-content {
							text-align: center;
							padding: 0px;
						}
            .main-content h1 {
                /*font-size: 32px;*/
                line-height: 1.2;
                font-family: 'Titillium Web', sans-serif !important;
            }

            .main-content p {
                font-size: 16px;
            }

						.footer-content {
								max-width: 1200px;
								margin: 0 auto;
								display: flex;
								flex-wrap: wrap;
								gap: 20px;
								padding-top:30px;
								padding-left: 20px;
						}
        }
/*------------------------------------------ FINE HEADER --------------------------------------------*/


/*--------------------------------------------------------------------------------------------------*/
/*-------------------------------------------- INFO.PHP --------------------------------------------*/
/*--------------------------------------------------------------------------------------------------*/

.aquilone {
	background-image: url('../img/aquilone.webp');
	background-repeat:repeat;
	padding:20px;
	height:160px;
	color:#fff;
	text-align:center;
	font-family:'titillium web';
}
.p1 {
	font-size:24px;
	font-family:'titillium web';
}
.p2 {
	font-family:'titillium web';
	font-size:30px;
	font-weight:600;
	padding-top:10px;
}

.left-column-faq {
	flex: 0 0 calc(40% - 10px);
	padding: 30px;
	border-radius: 8px;
	font-family:'titillium web';
}

.right-column-faq {
		flex: 0 0 calc(60% - 10px);
		background-color: #FFFAEB;
		padding: 30px;
		border-radius: 8px;
		font-family:'titillium web';
}

.faq {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top:30px;
	font-family:'titillium web';
}
.bg-white{ 
	background-color: #FFF;
}
p.domande {
	font-size:30px;
}

.accordion-item {
	background-color: white;
	margin-bottom: 10px;
	border-radius: 4px;
	overflow: hidden;
}

.accordion-header {
	color: #1a1a1a;
	padding: 5px 10px 5px 10px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
	border: 1px solid #CCCCCC;
	border-radius:5px;
}

.accordion-header:hover {
	background-color: #FFF;
}
.accordion-icon {
	font-size: 24px;
	transition: transform 0.3s ease;
	color:#1a1a1a;
	margin-top: 5px;
	width: 80px;
  text-align: right;
}

.accordion-item.active .accordion-icon {
	/*transform: rotate(180deg);*/
	margin-top: 5px;
	font-size: 24px;
	
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: white;
}

.accordion-content-inner {
	padding: 20px;
	color: #666;
	line-height: 1.6;
}

.accordion-item.active .accordion-content {
	max-height: 500px;
}


/* *************************** STILE PER LO SLIDE DELLE ICONE ************************** */
.slider-container {
		overflow: hidden;
		width: 100%;
		background: #fff;
		padding: 40px 0;
}

.slider-wrapper {
		display: flex;
		width: fit-content;
		animation: slide-infinite 30s linear infinite;
}

.slider-wrapper.speed-slow {
		animation-duration: 40s;
}

.slider-wrapper.speed-normal {
		animation-duration: 25s;
}

.slider-wrapper.speed-fast {
		animation-duration: 8s;
}

.slider-wrapper.speed-ultrafast {
		animation-duration: 8s;
}

.slider-wrapper.slide-left {
		animation-name: slide-left-infinite;
}

.slider-wrapper.slide-right {
		animation-name: slide-right-infinite;
}

.slide {
		flex-shrink: 0;
		padding: 0 30px;
		display: flex;
		align-items: center;
		justify-content: center;
}

.slide img {
		height: 60px;
		width: auto;
		object-fit: contain;
		user-select: none;
		-webkit-user-drag: none;
}

/* Animazione per scorrimento a sinistra */
@keyframes slide-left-infinite {
		0% {
				transform: translateX(0);
		}
		100% {
				transform: translateX(-50%);
		}
}

/* Animazione per scorrimento a destra */
@keyframes slide-right-infinite {
		0% {
				transform: translateX(-50%);
		}
		100% {
				transform: translateX(0);
		}
}

/* Responsive per mobile */
@media (max-width: 768px) {
		.slider-container {
				padding: 10px 0;
		}

		.slide {
				padding: 10px 10px;
		}

		.slide img {
				height: 40px;
				min-width: 120px;
		}
.left-column-faq {
	flex: 0 0 calc(100% - 10px);
	padding-left: 30px;
  padding-right: 30px;
  padding-top: 0px;
  padding-bottom: 0px;
	border-radius: 8px;
	font-family:'titillium web';
}

.right-column-faq {
		flex: 0 0 calc(100% - 10px);
		padding: 30px;
		border-radius: 8px;
		font-family:'titillium web';
}    
}

@media (max-width: 480px) {
		.slide img {
				height: 40px;
				min-width: 100px;
		}
}
/* *************************** FINE STILE PER LO SLIDE DELLE ICONE ************************** */

/*------------------------------------------ FINE INFO.PHP -----------------------------------------*/



/*--------------------------------------------------------------------------------------------------*/
/*-------------------------------------------- FOOTER ----------------------------------------------*/
/*--------------------------------------------------------------------------------------------------*/
.footer {
    background-color: #11616F;
    width: 100%;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    color:#fff;
}

.footer-logo img {
    height: 60px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer-social svg {
    width: 24px;
    height: 24px;
}
.footer-logo a {
    color: #fff;
}
.footer-logo a:hover {
    color: #00a4b7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-text {
        font-size: 12px;
    }
}

.footer-content p {font-family: var(--inter) !important;}

/*---------------------------------------- FINE FOOTER ------------------------------------------*/

/*---------------------------------------- PAGINA THANKYOU ------------------------------------------*/
p.col-primary, span.col-primary {
  color:#00a4b7 !important;
}
/*
.main-content h1{
  font-family:'titillium web';
}
*/  
.container-thank {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family:'titillium web';
}

.thank-header {
  text-align: center;
  margin-bottom: 2rem;
  border-bottom:1px solid #ddd;
}

.thank-header h2 {
  margin-bottom: 1rem;
}

.thank-checkmark {
  margin-bottom: 1rem;
}

.thank-confirm-text {
  font-size: 1rem;
  color: #555;
  max-width: 720px;
  margin: 0 auto 2rem;
}

.row-thank {
  display: flex;
  gap: 1rem;
}

.col-text-thank {
  flex: 0 0 50%;
}

.col-image-thank {
  flex: 0 0 50%;
}

.col-image-thank img {
  width: 100%;
  height: auto;
}


.col-text-thank h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  font-family:'titillium web';
}

.col-text-thank p {
  color: #555;
  margin-bottom: 1rem;
}

.block-bank {
  background:#E9F9FB;
  border-radius:10px;
  padding:20px;
  max-width: 420px;
}
.payment-value {
  font-weight:700;
}

/* Mobile: colonne una sotto l'altra */
@media (max-width: 768px) {
  .container-thank {
    padding: 0px;
  }
  .block-bank {
    background:#E9F9FB;
    padding:5px;
  }
  .row-thank {
    flex-direction: column;
  }
  .col-text-thank, .col-image-thank {
    width: 100%;
    min-width: unset;
  }
  .col-text-thank h1 {
    font-size: 1.5rem;
  }
}

/*---------------------------------------- FINE PAGINA THANKYOU ------------------------------------------*/

		
/*-----------------------------------------------------------------------------------------------*/
/*------------------------------------------ DESKTOP --------------------------------------------*/
/*-----------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1024px) {

}	


/*-----------------------------------------------------------------------------------------------*/
/*-------------------------------------- TABLET VERTICALE ---------------------------------------*/
/*-----------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 768px) and (max-width: 1023px) {  

}

/*-----------------------------------------------------------------------------------------------*/
/*-------------------------------------- MOBILE VERTICALE ---------------------------------------*/
/*-----------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 767px) {

}