@charset "utf-8";

/* ============================
	DESIGN SYSTEM - PANINI
   ============================ */

:root {
	--navy: #012B5D;
	--navy-secondary: #01324C;
	--yellow: #FFF02A;
	--grey-light: #EAEBEB;
	--text-dark: #231F20;
	--white: #FFFFFF;
}

/* ============================
	GENERALI
   ============================ */

body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 15px;
	letter-spacing: -0.2px;
	color: var(--text-dark);
	background-color: var(--white);
}

.row {
	margin-left:0px;
	margin-right:0px;
}

h1 {
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.5px;
}

h2 {
	font-size: 32px;
	font-weight: 700;
}

a {
	text-decoration: none;
	color: var(--navy-secondary);
}

.bg  {
	background-image: url('../img/bg.jpg');
	background-position: bottom center;
	background-size: contain;
	background-repeat: no-repeat;
}

.bg_blue {
	background-color: var(--navy);
	padding: .25rem 1rem;
}

/* ============================
	HEADER
   ============================ */

.top-strip {
	width: 100%;
	height: 3px;
	background-color: var(--yellow);
}

.skip-to-main-content-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 1em;
	background-color: black;
	color: white;
	opacity: 0;
}
.skip-to-main-content-link:focus {
	left: 50%;
	transform: translateX(-50%);
	opacity: 1;
}

/* Fascia 2: banner informativo */
.info-bar {
	background-color: var(--grey-light);
	color: var(--navy-secondary);
	font-size: 13px;
	text-align: center;
	padding: 7px 0;
}

/* Fascia 3: barra utility navy */
.utility-bar {
	background-color: var(--navy);
	padding: 14px 0;
}

.utility-bar a {
	color: var(--white);
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.3px;
	margin-left: 32px;
	padding: 6px 4px;
	display: inline-block;
}

.utility-bar a:hover {
	text-decoration: underline;
}

.utility-bar a:focus-visible {
	outline: 2px solid var(--yellow);
	outline-offset: 2px;
}

.utility-bar a[aria-current="page"] {
	text-decoration: underline;
	font-weight: 800;
}

/* Fascia 4: header principale */
.main-header {
	background-color: var(--white);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	padding: 16px 0;
	position: relative;
	z-index: 10;
}

.logo-img {
	max-height: 52px;
	width: auto;
}

.search-bar {
	display: flex;
	align-items: stretch;
	max-width: 480px;
	margin: 0 auto;
}

.search-input {
	flex: 1 1 auto;
	border: 1px solid var(--grey-light);
	border-right: none;
	border-radius: 3px 0 0 3px;
	padding: 10px 14px;
	font-size: 14px;
	font-family: inherit;
	color: var(--text-dark);
}

.search-input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 2px var(--navy);
}

.search-btn {
	background-color: var(--navy);
	color: var(--white);
	border: 1px solid var(--navy);
	border-radius: 0 3px 3px 0;
	padding: 0 16px;
	cursor: pointer;
}

.search-btn:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 2px;
}

.header-icons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: var(--navy);
	font-size: 22px;
	line-height: 1;
	padding: 8px;
	cursor: pointer;
}

.header-icon:hover {
	color: var(--navy-secondary);
}

.header-icon:focus-visible,
.logo-link:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

#attiva_menu {
	border-left: 1px solid var(--grey-light);
	margin-left: 4px;
	padding-left: 16px;
}

/* Menu mobile a comparsa (fascia 3) sotto i 992px */
@media (max-width: 991.98px) {
	.utility-bar {
		padding: 0;
	}

	#menu_list {
		text-align: left;
		padding-top: 8px;
		padding-bottom: 8px;
	}

	.utility-bar a {
		display: block;
		margin-left: 0;
		padding: 16px 4px;
		font-size: 15px;
		border-bottom: 1px solid rgba(255,255,255,.15);
	}

	.utility-bar a:last-child {
		border-bottom: none;
	}
}

/* ============================
	HOME - MECCANICA LOYALTY
   ============================ */

#edicola {
	background-image: url('../img/sfondo_basso.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.loyalty-ribbon-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.loyalty-ribbon {
	display: inline-block;
	background: var(--white);
	border: 3px solid var(--navy);
	color: var(--navy);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 22px;
	letter-spacing: -0.5px;
	padding: 14px 44px;
	clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
}

.loyalty-subtitle {
	max-width: 640px;
	margin: 0 auto 40px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text-dark);
}

.loyalty-steps {
	margin-bottom: 10px;
}

.loyalty-card {
	position: relative;
	height: 100%;
	background: var(--white);
	border: 2px solid var(--navy);
	border-radius: 3px;
	padding: 30px 20px 24px;
	text-align: center;
	transition: transform .2s ease, box-shadow .2s ease;
}

.loyalty-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(1,43,93,.15);
}

.loyalty-step-number {
	position: absolute;
	top: -16px;
	left: -16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--yellow);
	color: var(--navy);
	font-weight: 800;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--navy);
}

.loyalty-icon {
	width: 76px;
	height: 76px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--yellow);
	font-size: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}

.loyalty-card:hover .loyalty-icon {
	transform: rotate(-8deg) scale(1.05);
}

.loyalty-card-text {
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-dark);
	margin-bottom: 0;
}

/* ============================
	ATTIVITA PROMOZIONALI - HERO
   ============================ */

.promo-hero-img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 210 / 297;
	background: var(--grey-light);
	border: 2px solid var(--navy);
	border-radius: 3px;
	color: var(--navy);
	font-size: 64px;
}

.promo-hero-title {
	color: var(--navy);
	font-weight: 800;
	margin-bottom: 14px;
}

.promo-hero-subtitle {
	font-size: 18px;
	font-weight: 700;
	color: var(--navy-secondary);
	margin-bottom: 16px;
}

.promo-hero-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-dark);
	margin-bottom: 24px;
}

/* ============================
	HOME - NEWS / COLLEZIONI
   ============================ */

.news-title {
	color: var(--navy);
	font-weight: 800;
	margin-bottom: 24px;
}

.news-flash {
	display: inline-block;
	background: var(--yellow);
	color: var(--navy);
	padding: 2px 16px;
	border-radius: 3px;
	animation: news-flash-pulse 1.6s ease-in-out infinite;
}

@keyframes news-flash-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255,240,42,.6); }
	50% { box-shadow: 0 0 0 10px rgba(255,240,42,0); }
}

.news-intro p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-dark);
}

.no-orders-banner {
	background-color: #b3261e;
	color: var(--white);
	font-weight: 800;
	font-size: 15px;
	letter-spacing: -0.2px;
	line-height: 1.5;
	padding: 14px 20px;
	border-radius: 3px;
}

.section-grey {
	background-color: var(--grey-light);
}

/* ============================
	HOME - SCORRIMENTO COLLEZIONI
   ============================ */

.collection-scroll-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.collection-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	flex: 1 1 auto;
	min-width: 0;
	padding: 6px 2px 16px;
}

.collection-track::-webkit-scrollbar {
	height: 8px;
}

.collection-track::-webkit-scrollbar-thumb {
	background: var(--navy);
	border-radius: 4px;
}

.collection-item {
	flex: 0 0 calc(50% - 12px);
	max-width: calc(50% - 12px);
	scroll-snap-align: start;
}

.news-card-placeholder-img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	background: var(--grey-light);
	color: var(--navy);
	font-size: 48px;
}

.scroll-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 2px solid var(--navy);
	background: var(--white);
	color: var(--navy);
	font-size: 26px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.scroll-arrow:hover {
	background: var(--navy);
	color: var(--white);
}

.scroll-arrow:focus-visible {
	outline: 2px solid var(--navy);
	outline-offset: 3px;
}

@media (max-width: 767.98px) {
	.collection-item {
		flex-basis: 85%;
		max-width: 85%;
	}
}

@media (max-width: 575.98px) {
	.collection-item {
		flex-basis: 88%;
		max-width: 88%;
	}

	.scroll-arrow {
		width: 44px;
		height: 44px;
		font-size: 20px;
	}
}

.news-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 2px solid var(--navy);
	border-radius: 3px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(1,43,93,.15);
}

.news-card-img-wrap {
	padding: 20px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--navy-secondary) 100%);
}

.news-card-img {
	width: 100%;
	height: auto;
	display: block;
}

.news-card-img + .news-card-img {
	margin-top: 10px;
}

.news-card-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.news-card-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 10px;
}

.news-card-text {
	flex: 1 1 auto;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-dark);
	margin-bottom: 0;
}

.news-card-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--navy);
}

.news-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: max-content;
	margin-top: 14px;
	padding: 10px 16px;
	border: 2px solid var(--navy);
	border-radius: 3px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: -0.3px;
	color: var(--navy);
}

.news-card-link:hover {
	background: var(--navy);
	color: var(--white);
}

.news-card-link + .news-card-link {
	margin-left: 10px;
}

/* ============================
	HOME - CAROSELLO IMMAGINI COLLEZIONE
   ============================ */

.news-card-carousel .carousel-item img {
	margin-bottom: 0;
}

.news-card-carousel .carousel-control-prev,
.news-card-carousel .carousel-control-next {
	width: 40px;
	opacity: 1;
}

.news-card-carousel .carousel-nav-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--navy);
	color: var(--navy);
	font-size: 15px;
}

.news-card-carousel .carousel-indicators {
	margin-bottom: 2px;
}

.news-card-carousel .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--white);
	opacity: .6;
	border: none;
}

.news-card-carousel .carousel-indicators .active {
	opacity: 1;
	background-color: var(--yellow);
}

/* ============================
	CONTATTI - FAQ
   ============================ */

.faq-item {
	border: 2px solid var(--navy);
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 16px;
}

.faq-item:last-child {
	margin-bottom: 0;
}

.faq-question {
	width: 100%;
	text-align: left;
	background: var(--white);
	color: var(--navy);
	font-weight: 700;
	font-size: 15px;
	padding: 16px 20px;
	border: none;
	box-shadow: none;
}

.faq-question:not(.collapsed) {
	background: var(--navy);
	color: var(--white);
}

.faq-question:focus {
	box-shadow: none;
}

.faq-question::after {
	filter: none;
}

.faq-question:not(.collapsed)::after {
	filter: invert(1) grayscale(100%) brightness(2);
}

.faq-answer {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-dark);
	padding: 16px 20px;
}

.contact-box {
	border: 2px solid var(--navy);
	border-radius: 3px;
	padding: 16px 20px;
	background: var(--white);
}

.contact-box-title {
	color: var(--navy);
	font-weight: 700;
	font-size: 15px;
}

.contact-mail {
	color: var(--navy);
	font-weight: 700;
	text-decoration: underline;
	word-break: break-word;
}

/* ============================
	COOKIE POLICY (Cookiebot CookieDeclaration)
   ============================ */

.cookie-policy-box {
	border: 2px solid var(--navy);
	border-radius: 3px;
	padding: 24px;
	background: var(--white);
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-dark);
}

.cookie-policy-box .CookieDeclaration p,
.cookie-policy-box .CookieDeclarationDialogText,
.cookie-policy-box .CookieDeclarationTypeDescription {
	font-size: 14px;
	line-height: 1.6;
	color: var(--text-dark);
}

.cookie-policy-box a {
	color: var(--navy);
	font-weight: 700;
	text-decoration: underline;
	word-break: break-word;
}

.cookie-policy-box .CookieDeclarationType {
	border: 0 !important;
	border-top: 2px solid var(--grey-light) !important;
	padding: 20px 0 0 !important;
	margin: 20px 0 0 !important;
}

.cookie-policy-box .CookieDeclarationTypeHeader {
	color: var(--navy);
	font-weight: 800;
	text-transform: uppercase;
	font-size: 16px;
	margin-bottom: 8px;
}

.cookie-policy-box .CookieDeclarationTable {
	width: 100%;
	font-size: 13px;
	border-collapse: collapse;
	margin-top: 12px;
	table-layout: fixed;
}

.cookie-policy-box .CookieDeclarationTableHeader {
	background: var(--navy);
	color: var(--white);
	font-weight: 700;
	text-align: left;
	padding: 8px 10px;
}

.cookie-policy-box .CookieDeclarationTableCell {
	padding: 8px 10px;
	border-bottom: 1px solid var(--grey-light);
	vertical-align: top;
	word-break: break-word;
}

.cookie-policy-box #CookieDeclarationChangeConsent a,
.cookie-policy-box #CookieDeclarationChangeConsentChange,
.cookie-policy-box #CookieDeclarationChangeConsentWithdraw {
	display: inline-block;
	background: var(--yellow);
	color: var(--navy);
	border: 2px solid var(--navy);
	padding: 6px 16px;
	margin: 4px 8px 4px 0;
	text-decoration: none;
}

@media (max-width:767px) {
	.cookie-policy-box {
		padding: 16px;
	}

	.cookie-policy-box .CookieDeclarationTable {
		display: block;
		overflow-x: auto;
		table-layout: auto;
	}
}

/* ============================
	FORM
   ============================ */

.auth-main {
	background-color: var(--grey-light);
	padding-top: 40px;
	padding-bottom: 40px;
}

.sfondo,
.container-white {
	background-color: var(--white);
	border: 1px solid var(--grey-light);
	border-radius: 6px;
	box-shadow: none;
}

.sfondo h1, .sfondo .h1, .sfondo h2, .sfondo .h2,
.container-white h1, .container-white .h1, .container-white h2, .container-white .h2 {
	color: var(--navy);
}

.sfondo p, .container-white p {
	color: var(--text-dark);
}

.sfondo label,
.container-white label {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	color: var(--navy);
	margin-bottom: .35rem;
}

.sfondo small,
.container-white small {
	display: block;
	font-size: 12px;
	color: var(--navy-secondary);
	margin-top: .35rem;
}

.sfondo .note a,
.container-white .note a {
	color: var(--navy-secondary);
	font-weight: 700;
	text-decoration: underline;
}

#errore {
	color: #b3261e;
	font-weight: 700;
	font-size: 15px;
	background-color: #fbeaea;
	border: 1px solid #f1c6c4;
	border-radius: 3px;
	padding: 10px 14px;
}

.form-control, .form-select {
	border-radius: 3px;
	border: 1px solid var(--navy);
	color: var(--text-dark);
}

.form-control:focus, .form-select:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 2px rgba(1,43,93,.15);
}

.form-group {
	margin-bottom: 15px;
}

label[for=reg], label[for=tratt_dati]  {
	display: block;
}

   label a {
   	color: inherit;
   	text-decoration: underline;
   }

   small.small {
   	font-size: 10px;
   	line-height: 9px;
   }


.button {
	background: var(--yellow);
	color: var(--navy);
	border-radius: 3px;
	border: 2px solid var(--yellow);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	padding: 17px 27px;
	width: max-content;
	max-width: 300px;
	box-shadow: none;
	text-decoration: none;
}
.button:hover {
	color: var(--yellow);
	background: var(--navy);
	border-color: var(--navy);
}

.button.disabled {
	background: var(--grey-light);
	border-color: var(--grey-light);
	color: var(--text-dark);
	opacity: .7;
	cursor: not-allowed;
	pointer-events: none;
	max-width: 340px;
}
.button.disabled:hover {
	background: var(--grey-light);
	color: var(--text-dark);
}

.btn-outline-footer {
	display: inline-block;
	background: transparent;
	color: var(--navy-secondary)!important;
	border: 1px solid var(--navy-secondary);
	border-radius: 3px;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	padding: 12px 24px;
}
.btn-outline-footer:hover {
	background: var(--white);
	color: var(--navy);
}

.btn-outline-footer.disabled {
	background: transparent;
	color: var(--text-dark)!important;
	border-color: var(--text-dark);
	opacity: .55;
	cursor: not-allowed;
	pointer-events: none;
}
.btn-outline-footer.disabled:hover {
	background: transparent;
	color: var(--text-dark)!important;
}

@media (max-width:375px) {
	.button {
		font-size: 12px;
		padding: 14px 20px;
	}
}

   @media (max-width: 575px) {
   	label {
   		font-size: .80rem;
   	}
   }

.modal-body {
	background-color: var(--navy);
}


/* ============================
	FOOTER
   ============================ */

.site-footer {
	background-color: var(--navy);
	color: var(--white);
	font-size: 13px;
}

.site-footer a {
	color: var(--white);
}

/* CTA / newsletter band */
.footer-cta {
	background-color: var(--yellow);
	padding: 22px 0;
}

.footer-cta-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--text-dark);
}

/* Colonne */
.footer-columns {
	padding: 30px 0 10px;
}

.footer-col-title {
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.footer-col-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col-list li {
	margin-bottom: 8px;
}

.footer-col-list a {
	color: var(--white);
	font-weight: 400;
	font-size: 13px;
}

.footer-col-list a:hover {
	text-decoration: underline;
}

/* Loghi brand/partner */
.footer-brands {
	background-color: var(--white);
	margin-top: 20px;
}

/* Testo legale obbligatorio */
.footer-legal-block {
	padding: 10px 0;
}

.footer-legal-text {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--grey-light);
	text-align: left;
	margin-bottom: 0;
}

.footer-legal-text a {
	text-decoration: underline;
	font-weight: 700;
	color: var(--white);
}

.footer-cookie-manage {
	display: flex;
	justify-content: center;
	padding: 10px 0 30px;
}

.cookie-manage-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.cookie-manage-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--yellow);
	flex-shrink: 0;
}

.cookie-manage-label {
	color: var(--yellow);
	font-weight: 800;
	font-size: 16px;
}

.cookie-manage-link:hover .cookie-manage-icon {
	background: var(--white);
}

.cookie-manage-link:hover .cookie-manage-label {
	text-decoration: underline;
}

.cookie-manage-link:focus-visible {
	outline: 2px solid var(--yellow);
	outline-offset: 4px;
}

/* =========================
	COOKIE BAR
	======================= */

	.cc-window {
		font-size: .85rem !important;
		line-height: 1.2em !important;
	}

	@media (max-width:767px) {
		.cc-window {
			font-size: .75rem !important;
			line-height: 1.1em !important;
		}
	}



/* =========================
	 OCR LOADING
	======================= */

#ocr_loading, #ocr_loading > .modal-dialog, #ocr_loading > .modal-dialog > .modal-content, #ocr_loading > .modal-dialog > .modal-content > .modal-body {
	background-color: transparent !important;
} 


