/* ==========================================================================
   Gruppo prodotti: Prodotti, Integratori, Dispositivi medici, Farmaci,
   scheda prodotto, archivio categoria prodotto.
   ========================================================================== */

/* Contenitore con i padding del tema originale */
.prod-boxed { padding-left: var(--fbv-gutter-l); padding-right: var(--fbv-gutter-r); }

/* ---------- Titolo con banda ---------- */
.prod-title-band .title-band__text { padding-left: 0; }
@media (max-width: 1500px) {
	.prod-title-band .title-band__text { padding-left: 10px; }
}
/* Su schermi stretti la linea non si annulla: il titolo va a capo e la linea resta visibile (come l'originale). */
.prod-title-band .title-band__line { flex: 9 0 115px; }

/* ---------- Pagina Prodotti (hub) ---------- */
.prod-hub .page-hero { margin-bottom: 96px; }
.prod-hub__title { display: flow-root; }

.prod-cats { margin-top: 90px; padding-bottom: 110px; }
.prod-cats__row { --bs-gutter-x: 0; }
.prod-cats__row--desktop { padding-left: 30px; padding-right: 30px; }
.prod-cats__row--desktop .prod-cats__col { display: flex; }
.prod-cats__row--desktop .cat-card { flex: 1; padding: 35px 20px 15px; border-right: 1px solid #bfbfbf; }
.prod-cats__row--desktop .prod-cats__col:last-child .cat-card { border-right: 0; }
.prod-cats__row--mobile { display: none; padding-left: 30px; padding-right: 30px; }
.prod-cats__row--mobile .cat-card { padding: 0; }
@media (max-width: 991px) {
	.prod-cats__row--desktop { display: none; }
	.prod-cats__row--mobile { display: flex; }
}
@media (max-width: 575px) {
	.prod-cats { margin-top: 0; padding-bottom: 30px; }
	.prod-cats .cat-card__img { margin-bottom: 10px; }
}

/* ---------- Elenco prodotti (Integratori, Dispositivi medici, Farmaci) ---------- */
.prod-list { padding-top: 70px; padding-bottom: 5px; }
.prod-list .prod-boxed > * { max-width: 1794px; margin-left: auto; margin-right: auto; }
.prod-grid { display: flex; flex-wrap: wrap; }
.prod-grid__item { display: flex; width: 100%; padding: 0 30px 30px 0; }
@media (min-width: 768px) {
	.prod-grid__item { width: 33.3333%; }
}
@media (max-width: 768px) {
	.prod-grid { margin-right: 0; }
	.prod-grid__item { padding-right: 0; }
}

.prod-card { display: flex; flex-direction: column; flex: 1; padding: 0 5px; }
@media (min-width: 769px) {
	/* Separatore verticale tra 1° e 2° e tra 2° e 3° prodotto di ogni riga. */
	.prod-grid__item:not(:nth-child(3n)) .prod-card { border-right: 1px solid #ddd; }
}
.prod-card__media { padding: 10px 10px 0; margin-bottom: 15px; text-align: center; }
.prod-card__img { width: 100%; height: auto; }
.prod-card__body { display: flex; flex-direction: column; flex-grow: 9; padding: 10px; }
.prod-card__title {
	margin: 10px 0 4px;
	color: var(--fbv-heading);
	font-size: 25px;
	font-weight: 700;
	line-height: 33px;
	text-align: left;
}
.prod-card__text {
	flex-grow: 9;
	margin-bottom: 15px;
	color: var(--fbv-text);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.3em;
	text-align: left;
}
.prod-card__btn { margin-bottom: 10px; }
.prod-card__btn .btn-default { margin: 20px 0 15px; }
@media (max-width: 1500px) {
	.prod-card__btn .btn-default { margin-top: 0; }
}
@media (max-width: 991px) {
	.prod-card__btn .btn-default { font-size: 14px; }
}

/* ---------- Box contenuti riservati (Farmaci) ---------- */
.reserved-gate { padding: 50px 10%; }
.reserved-gate__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1500px;
	margin: auto;
	padding: 75px 20px;
	background-color: var(--fbv-blue);
}
.reserved-gate__block {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 464px;
	max-width: 100%;
	color: #fff;
}
.reserved-gate__icon { width: 100px; height: 100px; }
.reserved-gate__title {
	margin: 0;
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	line-height: 40px;
	text-align: center;
}
.reserved-gate p.reserved-gate__text {
	margin: 20px 0 0 !important;
	color: #fff;
	font-size: 18px !important;
	font-weight: 500;
	line-height: 22px !important;
	text-align: center;
}
.reserved-gate__text::after { content: ""; display: block; height: 22px; }
.reserved-gate__register { margin: 0 0 15px; }
.reserved-gate p.reserved-gate__or { margin: 0 0 26px !important; color: #fff; font-size: 16px !important; font-weight: 500; line-height: 1.6 !important; }
.reserved-gate__form { width: 100%; }
.reserved-gate .reserved-gate__form p { margin: 16px 0 !important; font-size: 16px !important; line-height: 1.6 !important; }
.reserved-gate__form label { color: #fff; }
.reserved-gate__form input[type="text"],
.reserved-gate__form input[type="password"] { display: inline-block; }
.reserved-gate__form input[type="checkbox"] { width: 13px; height: 13px; margin: 3px 3px 3px 4px; vertical-align: middle; }
.reserved-gate__submit {
	position: relative;
	width: 100%;
	padding: 12px 24px;
	border: 0;
	background: var(--fbv-cyan);
	color: #fff;
	font-size: 14.4px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: .2s;
}
.reserved-gate__submit:hover, .reserved-gate__submit:focus { background: #fff; color: var(--fbv-blue); }

/* ---------- Scheda prodotto ---------- */
.prod-single { padding-left: var(--fbv-gutter-l); padding-right: var(--fbv-gutter-r); }
.prod-article { max-width: 1500px; margin: 60px auto 0; }

.prod-head { margin-bottom: 62px; }
.prod-head__name {
	margin: 0 0 3px;
	color: var(--fbv-text);
	font-size: 65px;
	font-weight: 700;
	line-height: 40px;
	text-align: left;
}
.prod-head__cat {
	margin: 10px 0 20px;
	padding-bottom: 30px;
	color: var(--fbv-blue);
	font-size: 24px;
	font-weight: 500;
	line-height: 26px;
	text-align: left;
}
@media (max-width: 1500px) {
	.prod-head__name { font-size: 36px; }
}

.prod-article__img { display: block; width: 100%; max-width: none; }
.prod-article__img--mobile { display: none; }
@media (max-width: 991px) {
	.prod-article__img--desktop { display: none; }
	.prod-article__img--mobile { display: block; }
}

.prod-article__content { margin-top: 15px; }
.prod-article__content .borded-content { margin: 16px 0; font-size: 16px; }
.prod-article__content .borded-content h2 { margin: 0 0 16px; color: var(--fbv-heading); font-size: 30px; font-weight: 700; line-height: 1.6; }
.prod-article__content .borded-content h3 { margin: 0 0 16px; color: var(--fbv-heading); font-size: 24px; font-weight: 700; }
.prod-article__content .borded-content p,
.prod-article__content .borded-content li { color: var(--fbv-grey); }
.prod-article__content .borded-content p { margin: 0 0 18px; }
.prod-article__content .borded-content ul { margin: 17px 0; padding-left: 40px; font-weight: 400; }
.prod-article__content .borded-content b,
.prod-article__content .borded-content strong { font-weight: 700; }
.prod-article__content .foglietto { color: var(--fbv-text); font-style: italic; font-weight: 400; }
.prod-article__content .link_shop {
	margin: 15px 0;
	padding: 10px 25px;
	color: #e8edf7;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}
.prod-article__content .link_shop:hover,
.prod-article__content .link_shop:focus { color: #000; } /* sfondo bianco all'hover: testo scuro come gli altri pulsanti */

/* prossimo prodotto */
.prod-article__footer { display: flow-root; }
@media (min-width: 992px) {
	.prod-article__footer { margin-top: 45px; }
}
.prod-next {
	height: 400px;
	margin-top: 48px;
	padding: 32px 0;
	overflow: hidden;
	border-top: 1px solid #ccc;
	transition: padding .2s ease-in-out;
}
.prod-next:hover, .prod-next:focus-within { padding-top: 52px; }
.prod-next__label { margin-bottom: 36px; color: var(--fbv-cyan); font-size: 16px; font-weight: 700; }
.prod-next__link { display: block; }
.prod-head--next { margin-bottom: 32px; }
.prod-head--next .prod-head__name { margin-bottom: 20px; font-size: 65px; line-height: 32px; }
.prod-next__img { display: block; width: 100%; }
@media (max-width: 1500px) {
	.prod-head--next .prod-head__name { font-size: 36px; }
}
@media (max-width: 575px) {
	.prod-head--next .prod-head__name { font-size: 30px; }
}

/* barra fissa precedente / successivo */
.prod-sticky {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 9;
	display: none;
	justify-content: center;
	width: 100%;
	background-color: #fff;
}
.prod-sticky.is-visible { display: flex; animation: fbv-fade .4s ease; }
.prod-sticky__inner { display: flex; width: 100%; background-image: linear-gradient(#f2f2f2, #fff 5px); }
.prod-sticky__inner > div { padding: 20px; color: var(--fbv-text); font-size: 24px; line-height: 1.6; text-align: center; }
.prod-sticky__prev, .prod-sticky__next { display: flex; flex: 0 1 48%; align-items: start; }
.prod-sticky__next { justify-content: right; }
.prod-sticky__current { width: 100%; }
.prod-sticky a { color: #939393; font-size: 30px; }
.prod-sticky a:hover, .prod-sticky a:focus { color: #686868; }

/* ---------- Archivio categoria prodotto (stessa griglia delle pagine elenco) ---------- */
.prod-term-desc { margin-bottom: 30px; color: var(--fbv-text); font-size: 17px; font-weight: 300; line-height: 1.3em; }
.prod-term-desc p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
	.prod-card__media { margin-bottom: 10px; }
}
.prod-cats .cat-card .btn-default { margin-bottom: 0; }
.prod-cats__row--mobile .cat-card p.cat-card__text,
.prod-cats__row--mobile .cat-card p:last-child { margin-bottom: 35px !important; }
@media (max-width: 575px) {
	.prod-cats__row--mobile .cat-card p.cat-card__text,
	.prod-cats__row--mobile .cat-card p:last-child { margin-bottom: 20px !important; }
}
