/* ==========================================================================
   Dai Sassalbini — tema crema & bordeaux sopra il template Max Restaurant
   ========================================================================== */

:root {
	--bordeaux: #6E1F2B;
	--bordeaux-scuro: #4A1219;
	--bordeaux-chiaro: #8E2E3D;
	--crema: #F5EDE0;
	--crema-chiara: #FBF7F0;
	--crema-scura: #E9DCC4;
	--sabbia: #CDB896;
	--inchiostro: #2B1D18;
	--testo: #6B5A51;
	--ombra: 0 18px 40px -22px rgba(74, 18, 25, 0.45);
}

html { scroll-behavior: smooth; }
body {
	background-color: var(--crema-chiara);
	color: var(--inchiostro);
	font-size: 15px;
}
a { color: var(--bordeaux); }
a:hover, a:focus { color: var(--bordeaux-scuro); }
::selection { background: var(--bordeaux); color: var(--crema); }
img { max-width: 100%; }

/* separatore delle intestazioni (al posto del png dorato) */
.section-header::before,
.surprise-content h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg fill='none' stroke='%236E1F2B' stroke-width='1.2'%3E%3Cpath d='M0 12h46M74 12h46'/%3E%3Cpath d='M60 4l8 8-8 8-8-8z'/%3E%3C/g%3E%3Ccircle cx='60' cy='12' r='2.2' fill='%236E1F2B'/%3E%3C/svg%3E");
}
.counter-section .section-header::before,
.book-table-section .section-header::before,
.testimonial-section .section-header::before,
.surprise-content h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cg fill='none' stroke='%23F5EDE0' stroke-width='1.2'%3E%3Cpath d='M0 12h46M74 12h46'/%3E%3Cpath d='M60 4l8 8-8 8-8-8z'/%3E%3C/g%3E%3Ccircle cx='60' cy='12' r='2.2' fill='%23F5EDE0'/%3E%3C/svg%3E");
}
.section-header h3 { color: var(--bordeaux); text-transform: none; }
.section-header h4 { color: var(--inchiostro); }
.section-header p.intro {
	color: var(--testo);
	max-width: 640px;
	margin: 0 auto;
	line-height: 26px;
}
.section-header2 h3 { color: var(--bordeaux); }
.section-header2::before { background: var(--bordeaux); background-image: none; }

/* bottoni */
.btn-sas,
a.btn-sas {
	background-color: var(--bordeaux);
	border: 1px solid var(--bordeaux);
	color: var(--crema);
	display: inline-block;
	font-family: 'Raleway', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.9px;
	padding: 13px 28px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .35s ease;
	cursor: pointer;
}
.btn-sas:hover, .btn-sas:focus { background-color: var(--bordeaux-scuro); border-color: var(--bordeaux-scuro); color: #fff; text-decoration: none; }
.btn-sas.chiaro { background: transparent; border-color: var(--crema); color: var(--crema); }
.btn-sas.chiaro:hover { background: var(--crema); color: var(--bordeaux); }
.btn-sas.vuoto { background: transparent; color: var(--bordeaux); }
.btn-sas.vuoto:hover { background: var(--bordeaux); color: var(--crema); }
.btn-sas i { margin-right: 8px; }

/* ---------------------------------------------------------------- Header */
.header_s { position: relative; z-index: 50; }
.header_s .top-header1 { background-color: var(--bordeaux-scuro); }
.header_s .top-header1 .top-left span,
.header_s .top-header1 .top-left span a,
.header_s .top-header1 .top-right .top-social li a { color: rgba(245, 237, 224, 0.78); }
.header_s .top-header1 .top-left span a:hover,
.header_s .top-header1 .top-right .top-social li a:hover { color: #fff; }
.header_s .top-header1 .top-left span strong { color: var(--crema); font-weight: 700; }
.header_s .top-header1 .top-right .top-social { margin-right: 0; }
.header_s .ownavigation {
	background-color: var(--crema-chiara);
	border-bottom: 1px solid var(--crema-scura);
}
.header_s .ownavigation.navbar-fixed-top { box-shadow: 0 10px 30px -18px rgba(74, 18, 25, 0.5); }
.header_s .ownavigation .navbar-nav li a { color: var(--inchiostro); font-size: 12.5px; letter-spacing: 1px; }
.header_s .ownavigation .navbar-nav > .active > a,
.header_s .ownavigation .navbar-nav > .active > a:focus,
.header_s .ownavigation .navbar-nav > .active > a:hover,
.header_s .ownavigation .navbar-nav li:hover > a,
.header_s .ownavigation .navbar-nav li a:hover { color: var(--bordeaux); }
.ownavigation .navbar-brand img { height: 78px; width: auto; margin: 12px 0; transition: height .3s ease; }
.ownavigation.navbar-fixed-top .navbar-brand img { height: 54px; margin: 8px 0; }
.ownavigation .navbar-nav > li.voce-cta > a {
	border: 1px solid var(--bordeaux);
	padding-left: 16px !important;
	padding-right: 16px !important;
	color: var(--bordeaux) !important;
}
.ownavigation .navbar-nav > li.voce-cta > a:hover { background: var(--bordeaux) !important; color: var(--crema) !important; }
@media (min-width: 992px) {
	.header_s1 .ownavigation { position: relative; }
	.header_s1 .ownavigation.navbar-fixed-top { position: fixed; }
	.ownavigation .navbar-nav > li > a { margin-top: 36px; margin-bottom: 36px; }
	.ownavigation.navbar-fixed-top .navbar-nav > li > a { margin-top: 20px; margin-bottom: 20px; }
	.ownavigation .navbar-nav > li > a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
		background: var(--bordeaux); transform: scaleX(0); transition: transform .35s ease;
	}
	.ownavigation .navbar-nav > li.active > a::after,
	.ownavigation .navbar-nav > li > a:hover::after { transform: scaleX(1); }
	.ownavigation .navbar-nav > li.voce-cta > a::after { display: none; }
}
@media (max-width: 991px) {
	#slidepanel { display: block !important; border-bottom: 0; }
	.header_s .top-header1 .top-right { display: none; }
	.header_s .top-header1 .top-left { text-align: center; margin: 6px 0; }
	.ownavigation .navbar-toggle { background-color: var(--bordeaux); border-color: var(--bordeaux); margin: 26px 0; }
	.ownavigation .navbar-nav > li.active a,
	.ownavigation .navbar-nav li a:hover { color: var(--bordeaux) !important; }
	.ownavigation .navbar-brand img { height: 58px; margin: 14px 0; }
	.ownavigation .navbar-nav > li.voce-cta > a { display: inline-block; margin-top: 8px; padding: 8px 16px !important; }
}

/* ---------------------------------------------------------------- Slider */
.slider-section { margin-bottom: 0; background: var(--bordeaux-scuro); }
.slider-section .tp-bullets.zeus .tp-bullet { background-color: rgba(245, 237, 224, 0.7); }
.slider-section .tp-bullets.zeus .tp-bullet.selected { border-color: var(--crema); }
.slider-section .tp-bullets.zeus .tp-bullet:hover::after,
.slider-section .tp-bullets.zeus .tp-bullet.selected::after { background-color: var(--crema); }
.tp-caption.slide-velo { background: linear-gradient(90deg, rgba(43, 13, 18, 0.78) 0%, rgba(43, 13, 18, 0.45) 55%, rgba(43, 13, 18, 0.15) 100%); }
.tp-caption.slide-sopra {
	color: var(--crema-scura) !important;
	font-family: 'Great Vibes', cursive;
	font-size: 58px; line-height: 64px;
	white-space: nowrap;
}
.tp-caption.slide-titolo {
	color: #fff !important;
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	font-size: 58px; line-height: 64px;
	letter-spacing: 2px;
	text-transform: uppercase;
	white-space: nowrap;
}
.tp-caption.slide-testo {
	color: rgba(245, 237, 224, 0.9) !important;
	font-family: 'Lato', sans-serif;
	font-size: 18px; line-height: 30px;
	letter-spacing: .3px;
}
.tp-caption.slide-bottoni a { margin-right: 12px; }

/* ---------------------------------------------------------------- About */
.about-section { margin-top: 95px; }
.about-detail > p { color: var(--testo); font-size: 15px; line-height: 27px; }
.about-detail .chef-detail { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.about-detail .chef-detail span, .about-detail .chef-detail .cnt { margin-left: 0; }
.about-detail .chef-detail i img { width: 96px; height: 96px; object-fit: cover; border: 3px solid var(--crema-scura); }
.about-detail .chef-detail .firma { font-family: 'Great Vibes', cursive; font-size: 40px; color: var(--bordeaux); line-height: 1; }
.about-detail .chef-detail .cnt h4 { color: var(--inchiostro); margin-bottom: 4px; }
.about-detail .chef-detail .cnt p { color: var(--testo); margin: 0; font-size: 13px; }
.about-img-block img { width: 100%; height: 280px; object-fit: cover; box-shadow: var(--ombra); }
.about-img-block .col-md-12:first-child img { height: 330px; }

/* ---------------------------------------------------------------- Sezione foto piena */
.surprise-section {
	background-image: url("../img/slide-pecorino.webp");
	background-size: cover;
	background-attachment: fixed;
	padding-top: 190px; padding-bottom: 190px;
	margin-bottom: 0;
}
.surprise-section::before { background-color: rgba(43, 13, 18, 0.62); }
.surprise-content h3 { color: var(--crema); text-transform: none; }
.surprise-section .container, .counter-section .container, .book-table-section .container, .testimonial-section .container { position: relative; z-index: 1; }
.surprise-content p { color: rgba(245, 237, 224, .85); font-size: 17px; max-width: 620px; margin: 0 auto 30px; line-height: 29px; }
.surprise-content img.logo-sez { width: 220px; opacity: .95; }
@media (max-width: 991px) { .surprise-section { background-attachment: scroll; } }

/* ---------------------------------------------------------------- Categorie (services) */
.services-section { margin-top: 95px; }
.services-section .srv-box .img-box { border-color: var(--crema-scura); background: var(--crema); padding: 8px; }
.services-section .srv-box .img-box img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s ease; }
.services-section .srv-box:hover .img-box img { transform: scale(1.06); }
.services-section .srv-box .img-box .srv-content { background-color: rgba(74, 18, 25, 0.9); padding: 28px 24px; }
.services-section .srv-box .img-box .srv-content span { font-size: 13px; line-height: 22px; text-transform: none; font-family: 'Lato', sans-serif; font-weight: 400; letter-spacing: .2px; }
.services-section .srv-box .img-box .srv-content span.link { display: block; color: var(--crema-scura); text-transform: uppercase; font-family: 'Raleway', sans-serif; font-weight: 700; letter-spacing: .8px; margin-top: 10px; }
.services-section .srv-box > h4 { color: var(--inchiostro); margin-top: 14px; }
.services-section .srv-box > h4 a { color: inherit; text-decoration: none; }
.services-section .srv-box > p.conta { color: var(--testo); font-size: 13px; margin: 4px 0 0; }

/* ---------------------------------------------------------------- Numeri (counter) */
.counter-section { background-image: url("../img/banco-famiglia.webp"); background-position: center; background-attachment: fixed; }
.counter-section::before { background-color: rgba(74, 18, 25, 0.84); }
.counter-section .section-header h4 { color: var(--crema-scura); }
.counter-section .counter-box > i {
	color: var(--crema);
	font-size: 26px;
	width: 66px; height: 66px; line-height: 64px;
	border: 1px solid rgba(245, 237, 224, .5);
	border-radius: 50%;
}
.counter-section .counter-box span { color: var(--crema); font-family: 'Raleway', sans-serif; font-weight: 300; }
.counter-section .counter-box h6 { color: var(--crema-scura); text-transform: uppercase; font-style: normal; font-size: 13px; }
@media (max-width: 991px) { .counter-section { background-attachment: scroll; } }

/* ---------------------------------------------------------------- Selezione (menu card) */
.menu-section { background: var(--crema); padding-top: 95px; padding-bottom: 70px; }
.menu-item { cursor: pointer; padding: 10px; transition: background .3s ease; display: flex; align-items: center; gap: 16px; min-height: 0; }
.menu-item:hover { background: var(--crema-chiara); }
.menu-item .item-thumb { float: none; width: 89px; flex: 0 0 89px; }
.menu-item .item-thumb i img { width: 89px; height: 89px; object-fit: cover; border: 2px solid var(--crema-scura); }
.menu-item h3 { float: none; width: auto; flex: 1 1 auto; margin: 0; color: var(--bordeaux); }
.menu-item h3 > span { color: var(--testo); font-weight: 400; font-size: 13px; margin-top: 2px; }
.menu-item > span { float: none; width: auto; flex: 0 0 auto; margin: 0; color: var(--bordeaux); font-size: 20px; white-space: nowrap; }
.menu-item > span::before { width: 60px; border-top-color: var(--sabbia); }
.menu-item > span.freccia { font-size: 13px; font-family: 'Raleway', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.menu-section .tutti { text-align: center; margin-top: 30px; }
@media (max-width: 767px) {
	.menu-item > span::before { display: none; }
	.menu-item h3 { font-size: 14px; line-height: 20px; }
}

/* ---------------------------------------------------------------- Mercati oggi (book table) */
.book-table-section { background-image: url("../img/sez-coppa.webp"); background-position: center; margin: 0; padding: 120px 0; }
.book-table-section::before { background-color: rgba(43, 13, 18, 0.74); }
.book-table-section .section-header h3 { color: var(--crema-scura); }
.book-table-section .section-header h4 { color: #fff; }
.oggi-tappe { list-style: none; padding: 0; margin: 0 0 34px; text-align: center; }
.oggi-tappe li {
	display: inline-block;
	margin: 6px;
	padding: 12px 22px;
	border: 1px solid rgba(245, 237, 224, 0.55);
	color: var(--crema);
	font-family: 'Raleway', sans-serif;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 14px;
}
.oggi-tappe li i { margin-right: 8px; color: var(--crema-scura); }
.oggi-tappe li.nota-li { display: block; border: 0; padding: 0 0 8px; font-weight: 400; text-transform: none; letter-spacing: .3px; font-family: 'Lato', sans-serif; }
.oggi-nota { color: rgba(245, 237, 224, .8); text-align: center; margin-bottom: 26px; font-size: 15px; }
.settimana-mini { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.settimana-mini span {
	color: rgba(245, 237, 224, .75);
	font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
	padding: 6px 12px; border: 1px solid rgba(245, 237, 224, .2);
}
.settimana-mini span.oggi { background: var(--crema); color: var(--bordeaux); border-color: var(--crema); }
.settimana-mini span.chiuso { opacity: .45; text-decoration: line-through; }

/* ---------------------------------------------------------------- Linee (events) */
.latest-events-section { margin-top: 95px; }
.events-item { overflow: hidden; }
.events-item img { width: 100%; height: 470px; object-fit: cover; transition: transform 1s ease; }
.events-item:hover img { transform: scale(1.05); }
.events-item .event-content { background: linear-gradient(0deg, rgba(43, 13, 18, 0.95) 0%, rgba(43, 13, 18, 0.75) 70%, rgba(43, 13, 18, 0) 100%); padding-top: 80px; }
.events-item:hover .event-content { background: linear-gradient(0deg, rgba(43, 13, 18, 0.97) 0%, rgba(43, 13, 18, 0.85) 80%, rgba(43, 13, 18, 0.2) 100%); }
.events-item .event-content h4 { font-style: normal; font-family: 'Raleway', sans-serif; text-transform: uppercase; letter-spacing: 1.2px; font-size: 17px; }
.events-item .event-content h4::before { background-color: var(--crema-scura); }
.events-item .event-content span { color: var(--crema-scura); }
.events-item .event-content > a { background-color: var(--crema); color: var(--bordeaux); }
.events-item:hover .event-content > a:hover { background-color: var(--bordeaux); color: var(--crema); }

/* ---------------------------------------------------------------- Citazione (testimonial) */
.testimonial-section { background-image: url("../img/sez-formaggi.webp"); background-position: center; padding: 130px 0; margin: 0; }
.testimonial-section::before { background-color: rgba(74, 18, 25, 0.86); }
.testimonial-section .section-header h3 { color: var(--crema-scura); }
.testimonial-section .item > p { color: var(--crema); font-size: 21px; line-height: 36px; font-style: italic; font-family: Georgia, 'Times New Roman', serif; }
.testimonial-section .item > i { color: var(--crema-scura); font-size: 30px; margin-top: 26px; }
.testimonial-section .item > h5 { color: var(--crema-scura); margin-top: 22px; }
.testimonial-section .carousel-indicators li { background-color: rgba(245, 237, 224, .35); }
.testimonial-section .carousel-indicators li.active { background-color: var(--crema); }

/* ---------------------------------------------------------------- Invito (newsletter) */
.newsletter-section { background-image: none; background-color: var(--bordeaux); margin: 0; padding: 46px 0; }
.newsletter-section::before { display: none; }
.newsletter-section .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.newsletter-section .container > h3 { margin-right: 0; color: var(--crema); }
.newsletter-section .container > p { color: rgba(245, 237, 224, 0.85); flex: 1 1 320px; }
.newsletter-section .azioni { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Footer */
.top-footer { background-color: var(--crema); border-top: 1px solid var(--crema-scura); padding-top: 70px; }
.widget-title { color: var(--inchiostro); }
.widget-title::before { background-color: var(--bordeaux); }
.widget_about .logo-footer { width: 210px; margin-bottom: 18px; }
.widget_about p { color: var(--testo); }
.widget_social ul li a { border-color: var(--sabbia); color: var(--bordeaux); }
.widget_social ul li a:hover { border-color: var(--bordeaux); background: var(--bordeaux); color: var(--crema); }
.widget_links ul li::before,
.widget_category ul li::before {
	background-image: none;
	content: "\f105";
	font-family: 'FontAwesome';
	color: var(--bordeaux);
	width: auto; height: auto;
	margin-right: 10px;
}
.widget_links ul li a, .widget_category ul li a { color: var(--testo); }
.widget_links ul li a:hover, .widget_category ul li a:hover { color: var(--bordeaux); }
.widget_workingtime td { color: var(--testo); font-weight: 400; vertical-align: top; padding-bottom: 7px; }
.widget_workingtime td:first-child { font-weight: 700; color: var(--inchiostro); white-space: nowrap; padding-right: 12px; }
.widget_workingtime tr.oggi td { color: var(--bordeaux); }
.widget_contatti p { color: var(--testo); margin-bottom: 8px; }
.widget_contatti p i { color: var(--bordeaux); width: 18px; }
.widget_contatti a { color: var(--testo); }
.bottom-footer { background-color: var(--bordeaux-scuro); }
.bottom-footer p { color: rgba(245, 237, 224, .7); text-transform: none; }
.bottom-footer a { color: rgba(245, 237, 224, .7); }
.bottom-footer a:hover { color: #fff; }

/* ---------------------------------------------------------------- Page banner */
.page-banner { background-image: url("../img/banco-famiglia.webp"); background-position: center; margin-bottom: 0; padding: 110px 0; }
.page-banner::before { background: linear-gradient(90deg, rgba(43, 13, 18, .85), rgba(74, 18, 25, .55)); }
.page-banner h3 { color: var(--crema); font-family: 'Great Vibes', cursive; font-size: 64px; line-height: 70px; text-transform: none; font-weight: 400; letter-spacing: 1px; }
.page-banner p.sotto { color: rgba(245, 237, 224, .85); text-transform: none; font-weight: 400; font-size: 16px; margin: 6px 0 16px; letter-spacing: .3px; }
.page-banner ol.breadcrumb li.active { color: var(--crema-scura); }

/* ---------------------------------------------------------------- Catalogo prodotti */
.catalogo { padding: 60px 0 40px; }
.filtri-barra {
	position: sticky;
	top: 78px;
	z-index: 20;
	background: rgba(251, 247, 240, 0.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--crema-scura);
	padding: 14px 0;
	margin-bottom: 30px;
}
.filtri-barra .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.filtri-cat { display: flex; gap: 8px; flex-wrap: wrap; }
.filtri-cat button {
	background: transparent;
	border: 1px solid var(--sabbia);
	color: var(--inchiostro);
	font-family: 'Raleway', sans-serif;
	font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	padding: 9px 18px;
	transition: all .25s ease;
}
.filtri-cat button span { color: var(--testo); font-weight: 400; margin-left: 4px; }
.filtri-cat button:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.filtri-cat button.attivo { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--crema); }
.filtri-cat button.attivo span { color: var(--crema-scura); }
.filtri-cerca { position: relative; flex: 0 1 280px; }
.filtri-cerca input {
	width: 100%;
	border: 1px solid var(--sabbia);
	background: #fff;
	padding: 9px 14px 9px 38px;
	font-size: 14px;
	outline: none;
}
.filtri-cerca input:focus { border-color: var(--bordeaux); }
.filtri-cerca i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--testo); }

.categoria-blocco { margin-bottom: 70px; scroll-margin-top: 170px; }
.categoria-blocco .section-header { margin-bottom: 40px; }
.griglia-prodotti {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 30px;
}
.prodotto-card {
	background: #fff;
	border: 1px solid var(--crema-scura);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.prodotto-card:hover { transform: translateY(-4px); box-shadow: var(--ombra); border-color: var(--sabbia); }
.prodotto-card:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }
.prodotto-foto { position: relative; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--crema); }
.prodotto-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.prodotto-card:hover .prodotto-foto img { transform: scale(1.05); }
.prodotto-badge {
	position: absolute; left: 12px; top: 12px;
	background: var(--bordeaux); color: var(--crema);
	font-family: 'Raleway', sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	padding: 5px 10px;
}
.prodotto-info { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.prodotto-info h3 {
	font-family: 'Raleway', sans-serif;
	font-size: 16px; font-weight: 700; letter-spacing: .5px; line-height: 23px;
	color: var(--inchiostro);
	text-transform: uppercase;
	margin: 0 0 6px;
}
.prodotto-info .sottotitolo { color: var(--testo); font-size: 13px; line-height: 20px; margin-bottom: 14px; }
.prodotto-piede {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--crema-scura);
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.prodotto-piede .prezzo { color: var(--bordeaux); font-weight: 700; font-size: 18px; }
.prodotto-piede .prezzo small { color: var(--testo); font-weight: 400; font-size: 12px; }
.prodotto-piede .banco { color: var(--testo); font-size: 12px; font-style: italic; }
.prodotto-piede .scopri { color: var(--bordeaux); font-family: 'Raleway', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.nessun-risultato { text-align: center; color: var(--testo); padding: 40px 0 80px; font-size: 16px; }
.catalogo-caricamento { text-align: center; padding: 80px 0; color: var(--testo); }
.catalogo-caricamento i { color: var(--bordeaux); font-size: 26px; display: block; margin-bottom: 12px; }

/* ---------------------------------------------------------------- Finestra prodotto */
.modal-backdrop.in { opacity: .7; background: var(--bordeaux-scuro); }
#modale-prodotto .modal-dialog { width: 1000px; max-width: calc(100% - 20px); margin: 40px auto; }
#modale-prodotto .modal-content { border-radius: 0; border: 0; background: var(--crema-chiara); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
#modale-prodotto .chiudi {
	position: absolute; right: 12px; top: 10px; z-index: 5;
	width: 40px; height: 40px; border-radius: 50%;
	background: var(--crema-chiara); border: 1px solid var(--crema-scura);
	color: var(--bordeaux); font-size: 18px; line-height: 38px; text-align: center;
}
.scheda { display: flex; flex-wrap: wrap; }
.scheda-galleria { flex: 1 1 52%; min-width: 300px; background: var(--crema); padding: 16px; }
.scheda-galleria .principale { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; cursor: zoom-in; }
.scheda-galleria .principale img { width: 100%; height: 100%; object-fit: cover; }
.scheda-miniature { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.scheda-miniature button { padding: 0; border: 2px solid transparent; width: 64px; height: 64px; background: none; opacity: .7; transition: all .2s ease; }
.scheda-miniature button img { width: 100%; height: 100%; object-fit: cover; }
.scheda-miniature button.attiva, .scheda-miniature button:hover { border-color: var(--bordeaux); opacity: 1; }
.scheda-testo { flex: 1 1 40%; min-width: 280px; padding: 44px 40px 36px; display: flex; flex-direction: column; }
.scheda-testo .cat { color: var(--bordeaux); font-family: 'Great Vibes', cursive; font-size: 30px; line-height: 1; margin-bottom: 8px; }
.scheda-testo h2 { font-family: 'Raleway', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 32px; letter-spacing: .5px; margin: 0 0 8px; color: var(--inchiostro); }
.scheda-testo .sottotitolo { color: var(--testo); font-size: 14px; margin-bottom: 18px; }
.scheda-testo .badge-riga { margin-bottom: 18px; }
.scheda-testo .badge-riga span {
	display: inline-block; margin: 0 6px 6px 0; padding: 5px 10px;
	border: 1px solid var(--bordeaux); color: var(--bordeaux);
	font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.scheda-testo .descrizione { color: var(--inchiostro); font-size: 15.5px; line-height: 27px; white-space: pre-line; }
.scheda-testo .ingredienti { color: var(--testo); font-size: 13px; line-height: 21px; margin-top: 16px; white-space: pre-line; }
.scheda-testo .ingredienti strong { display: block; color: var(--inchiostro); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 2px; }
.scheda-testo .prezzo-riga { margin: 22px 0; padding: 16px 0; border-top: 1px dashed var(--sabbia); border-bottom: 1px dashed var(--sabbia); }
.scheda-testo .prezzo-riga .prezzo { color: var(--bordeaux); font-size: 26px; font-weight: 700; }
.scheda-testo .prezzo-riga small { color: var(--testo); }
.scheda-testo .azioni { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.scheda-testo .azioni .nota { color: var(--testo); font-size: 13px; width: 100%; margin: 0 0 4px; }
@media (max-width: 767px) {
	.scheda-testo { padding: 26px 20px; }
	.scheda-testo h2 { font-size: 21px; line-height: 27px; }
	#modale-prodotto .modal-dialog { margin: 10px auto; }
}

/* ---------------------------------------------------------------- Mercati */
.mercati-intro { padding: 70px 0 20px; }
.mercati-griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-bottom: 50px; }
.giorno-card { background: #fff; border: 1px solid var(--crema-scura); padding: 22px 22px 18px; cursor: pointer; transition: all .3s ease; position: relative; }
.giorno-card:hover { border-color: var(--sabbia); box-shadow: var(--ombra); }
.giorno-card.attivo { border-color: var(--bordeaux); box-shadow: inset 0 0 0 1px var(--bordeaux); }
.giorno-card.oggi::after {
	content: "Oggi"; position: absolute; right: 14px; top: 14px;
	background: var(--bordeaux); color: var(--crema);
	font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px;
}
.giorno-card h4 { font-family: 'Great Vibes', cursive; color: var(--bordeaux); font-size: 34px; margin: 0 0 12px; line-height: 1; }
.giorno-card ul { list-style: none; padding: 0; margin: 0; }
.giorno-card li { color: var(--inchiostro); padding: 6px 0; border-top: 1px dashed var(--crema-scura); font-size: 14px; }
.giorno-card li i { color: var(--bordeaux); margin-right: 8px; }
.giorno-card.chiuso { background: var(--crema); cursor: default; }
.giorno-card.chiuso p { color: var(--testo); font-style: italic; margin: 0; }
.mappa-mercati { height: 520px; border: 1px solid var(--crema-scura); margin-bottom: 90px; z-index: 1; }
.mappa-mercati .leaflet-popup-content-wrapper { border-radius: 0; }
.mappa-mercati .leaflet-tile-pane { filter: grayscale(.55) sepia(.22) brightness(1.03) contrast(.95); }
.mappa-mercati .leaflet-popup-content { font-family: 'Lato', sans-serif; }
.mappa-mercati .leaflet-popup-content strong { color: var(--bordeaux); font-family: 'Raleway', sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.pin-mercato {
	background: var(--bordeaux); color: var(--crema);
	border: 2px solid var(--crema-chiara);
	border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
	width: 30px !important; height: 30px !important;
	box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6);
	display: flex; align-items: center; justify-content: center;
}
.pin-mercato span { transform: rotate(45deg); font-size: 10px; font-weight: 700; font-family: 'Raleway', sans-serif; }
.pin-mercato.spento { opacity: .35; }

/* ---------------------------------------------------------------- Storia */
.storia-capitoli { padding: 40px 0 30px; }
.capitolo { display: flex; align-items: center; gap: 60px; margin-bottom: 90px; }
.capitolo:nth-child(even) { flex-direction: row-reverse; }
.capitolo-media { flex: 0 0 44%; position: relative; }
.capitolo-media img, .capitolo-media video { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: var(--ombra); display: block; background: var(--crema); }
.capitolo-media::before {
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--sabbia); z-index: -1;
}
.capitolo:nth-child(even) .capitolo-media::before { inset: 18px 18px -18px -18px; }
.capitolo-media.polaroid { flex: 0 0 36%; display: flex; justify-content: center; }
.capitolo-media.polaroid::before { display: none; }
.capitolo-media.polaroid img {
	width: 100%; max-width: 330px; aspect-ratio: 1 / 1;
	background: #fff; padding: 14px 14px 46px;
	transform: rotate(-2.5deg);
	filter: sepia(.25) contrast(1.02);
}
.capitolo:nth-child(even) .capitolo-media.polaroid img { transform: rotate(2deg); }
.capitolo-testo { flex: 1; }
.capitolo-testo .numero { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--crema-scura); font-size: 72px; line-height: 1; letter-spacing: 2px; }
.capitolo-testo .gen { color: var(--bordeaux); font-family: 'Great Vibes', cursive; font-size: 34px; line-height: 1; margin: 6px 0 10px; }
.capitolo-testo h3 { font-family: 'Raleway', sans-serif; font-weight: 800; text-transform: uppercase; font-size: 24px; letter-spacing: .6px; margin: 0 0 16px; color: var(--inchiostro); }
.capitolo-testo p { color: var(--testo); font-size: 16px; line-height: 29px; }
@media (max-width: 991px) {
	.capitolo, .capitolo:nth-child(even) { flex-direction: column; gap: 34px; margin-bottom: 70px; }
	.capitolo-media { flex: none; width: 100%; }
}
.team-section .team-box img { width: 100%; aspect-ratio: 3 / 3.6; object-fit: cover; }
.team-box::before { background-color: rgba(74, 18, 25, 0.88); border-color: var(--crema-scura); }
.team-content { background: var(--crema-chiara); padding-bottom: 14px; }
.team-content > h4 { color: var(--inchiostro); }
.team-content > h6 { color: var(--testo); text-transform: none; line-height: 20px; }
.team-content > h6::before { background-color: var(--bordeaux); }
.team-box:hover .team-content h4 { color: var(--crema-scura); }

/* ---------------------------------------------------------------- Contatti */
.contact-details { margin-top: 80px; }
.cnt-detail-box { background: #fff; border: 1px solid var(--crema-scura); padding: 34px 20px 30px; }
.cnt-detail-box i { color: var(--bordeaux); font-size: 30px; height: auto; line-height: 1; margin-bottom: 18px; }
.cnt-detail-box h4 { margin-bottom: 14px; color: var(--inchiostro); }
.cnt-detail-box p, .cnt-detail-box p a { color: var(--testo); }
.cnt-detail-box p i { display: inline; width: auto; height: auto; font-size: 15px; margin: 0 6px 0 0; color: inherit; }
.contact-form { margin-top: 30px; margin-bottom: 90px; }
.contact-form h3 { color: var(--inchiostro); }
.contact-form h3::before { background-color: var(--bordeaux); }
.contact-form .form-control { color: var(--inchiostro); text-transform: none; font-weight: 400; border-color: var(--crema-scura); background: #fff; font-size: 14px; }
.contact-form .form-control:focus { border-color: var(--bordeaux); }
.contact-form .form-control::placeholder { color: #a8968a; }
.contact-form button { background-color: var(--bordeaux); }
.contact-form button:hover { background-color: var(--bordeaux-scuro); }
.contact-form button[disabled] { opacity: .6; }
.alert-msg { padding-left: 0; font-size: 14px; }
.alert-msg-success { color: #2f7a3a; }
.alert-msg-failure { color: #a3212f; }
.campo-trappola { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contatti-mercati { background: var(--crema); padding: 40px 34px; margin-top: 30px; margin-bottom: 90px; }
.contatti-mercati h3 { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.contatti-mercati p { color: var(--testo); line-height: 26px; }

/* ---------------------------------------------------------------- Varie */
.vuoto-avviso { background: var(--crema); border: 1px dashed var(--sabbia); padding: 18px; color: var(--testo); text-align: center; }
.mfp-bg { background: var(--bordeaux-scuro); }
.error-block h2 { color: var(--bordeaux); }
.error-block { padding-bottom: 90px; }
@media (max-width: 767px) {
	.section-header h3 { font-size: 48px; line-height: 50px; }
	.section-header h4 { font-size: 19px; line-height: 28px; }
	.page-banner { padding: 70px 0; }
	.page-banner h3 { font-size: 46px; line-height: 52px; }
	.filtri-barra { top: 0; position: relative; }
	.filtri-cerca { flex: 1 1 100%; }
	.griglia-prodotti { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.prodotto-info { padding: 12px 12px 14px; }
	.prodotto-info h3 { font-size: 13px; line-height: 18px; letter-spacing: .3px; }
	.prodotto-info .sottotitolo { font-size: 12px; line-height: 17px; margin-bottom: 10px; }
	.prodotto-badge { font-size: 9px; padding: 4px 7px; left: 8px; top: 8px; }
	.prodotto-piede { flex-wrap: wrap; gap: 4px; }
	.prodotto-piede .scopri { display: none; }
	.tp-caption.slide-bottoni a { padding: 11px 16px; font-size: 12px; margin-right: 6px; }
	.events-item img { height: 380px; }
	.testimonial-section .item > p { font-size: 17px; line-height: 30px; }
	.mappa-mercati { height: 400px; }
	.newsletter-section .container { display: block; text-align: center; }
	.newsletter-section .azioni { justify-content: center; margin-top: 16px; }
}
