/* Foglio di stile del tema per i contenuti senza Divi (spec 0011, nato come ftms-pilot.css
   nei piloti 0001 e 0002). Token presi dalle pagine live e dall'opzione et_divi:
   font titoli Gloock, font testo Archivo 300, colore link #7a5028, colore testo #000000. */

.page-ftms {
	/* Larghezze dei blocchi a layout vincolato: qui e non in theme.json, cosi le pagine
	   ancora rese da Divi tengono le larghezze di Divi (823px e 1080px). */
	--wp--style--global--content-size: 1280px;
	--wp--style--global--wide-size: 1400px;
	margin: 0;
	font-family: 'Archivo', Helvetica, Arial, sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 1.8;
	color: #000000;
}

.page-ftms h1,
.page-ftms h2,
.page-ftms h3,
.page-ftms h4 {
	font-family: 'Gloock', Georgia, serif;
	margin: 0 0 0.5em;
}

.page-ftms a {
	color: #7a5028;
}

/* Header */

.header-ftms__bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #000000;
	color: #ffffff;
	padding: 8px 5%;
	font-size: 14px;
}
.header-ftms__bar a {
	color: #ffffff;
	text-decoration: none;
	margin-right: 15px;
}
.header-ftms__contact a:last-child,
.header-ftms__lang a:last-child {
	margin-right: 0;
}
.ftms-lang {
	margin-left: 10px;
	opacity: 0.75;
}
.ftms-lang-current {
	opacity: 1;
	font-weight: 700;
}

.header-ftms__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 5%;
	background: #ffffff;
}
.header-ftms__logo img {
	max-height: 70px;
	height: 70px;
	width: auto;
	object-fit: contain;
	display: block;
}
.nav-ftms__list {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 18px;
}
.nav-ftms__list a {
	color: #000000;
	text-decoration: none;
}
.nav-ftms__list a:hover {
	color: #7a5028;
}
.header-ftms__actions {
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 14px;
}
.header-ftms__actions a {
	color: #000000;
	text-decoration: none;
}

/* Contenuto della pagina pilota (About Us): nessuna regola qui, i blocchi nativi portano
   i propri colori inline (vedi il contenuto ricostruito del post 936). */

.content-ftms {
	max-width: 100%;
	overflow-x: hidden;
}

/* Corpo della scheda prodotto (spec 0002, Build plan passo 6): token di stile mancanti,
   trovati in /check verify (2026-08-24, screenshot dell'ingegnere) confrontando la pagina
   convertita con l'originale Divi. Rimuovendo il CSS di Divi (AC-2) va via anche lo stile
   di base che Divi forniva a form/tab/bottoni su tutte le pagine, non solo dentro il
   Builder: qui non c'era nulla a sostituirlo, quindi gli elementi WooCommerce cadevano
   sullo stile minimo di default del plugin. Stessi token di header/footer: colore accento
   #7a5028, titoli Gloock, testo Archivo, sfondo scuro #1c1815 per gli elementi enfatizzati. */

.content-ftms--product {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 5% 60px;
}

.ftms-product-breadcrumb {
	font-size: 13px;
	letter-spacing: 0.02em;
	color: #7a7a7a;
	margin-bottom: 24px;
}
.ftms-product-breadcrumb a {
	color: #7a7a7a;
}

/* Galleria e riepilogo come nel corpo Theme Builder 243210: galleria su fondo bianco,
   riepilogo in una card bianca con bordo sottile. */
.content-ftms--product .ftms-product-top {
	gap: 4%;
	align-items: flex-start;
}
.content-ftms--product .ftms-product-gallery {
	background: #ffffff;
	padding: 16px;
}
.content-ftms--product .ftms-product-summary {
	background: #ffffff;
	border: 1px solid #e4dbd0;
	padding: 50px 40px;
}
.content-ftms--product .ftms-product-summary h1 {
	font-size: 50px;
	line-height: 1.2;
}
.content-ftms--product .ftms-product-breadcrumb {
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Informazioni aggiuntive in una sezione propria (non un tab), titolo centrato. */
.content-ftms--product .ftms-product-info {
	margin-top: 48px;
}
.content-ftms--product .ftms-product-info h2 {
	text-align: center;
	font-size: 28px;
}
.content-ftms--product .ftms-product-info table.shop_attributes {
	width: 100%;
	border-collapse: collapse;
}
.content-ftms--product .ftms-product-info table.shop_attributes th,
.content-ftms--product .ftms-product-info table.shop_attributes td {
	padding: 6px 12px;
	border-bottom: 1px solid #000000;
	text-align: left;
}

/* Correlati e recensioni sullo stesso pannello panna, come nella scheda Divi. */
.content-ftms--product .ftms-product-more {
	margin-top: 48px;
	padding: 50px 5%;
	background: #f5f0e8;
}
.content-ftms--product .ftms-product-more .related.products,
.content-ftms--product .ftms-product-more .upsells.products {
	margin-top: 0;
	padding: 0;
	background: transparent;
}
.content-ftms--product .ftms-product-more .related.products > h2 {
	font-size: 68px;
	line-height: 1.2;
}
.content-ftms--product #reviews {
	margin-top: 48px;
}
.content-ftms--product #reviews .woocommerce-Reviews-title {
	font-size: 52px;
	line-height: 1.2;
}
.content-ftms--product #reviews ol.commentlist {
	list-style: none;
	padding: 0;
}
.content-ftms--product #reviews ol.commentlist li img.avatar {
	display: none;
}
.content-ftms--product #reviews .comment-text {
	margin: 0 0 32px;
}
.content-ftms--product #reviews textarea,
.content-ftms--product #reviews input[type="text"],
.content-ftms--product #reviews input[type="email"] {
	width: 100%;
	border: 1px solid #e4dbd0;
	padding: 10px 12px;
	background: #ffffff;
}
.content-ftms--product #reviews .form-submit input[type="submit"] {
	background: #000000 !important;
	color: #ffffff !important;
	border: none;
	padding: 14px 32px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}

/* Nessun wrapper div.product qui: questo template chiama the_content() + funzioni
   classiche direttamente (spec, invariante sul piano B), quindi i selettori puntano
   alla classe reale osservata sull'elemento (form.cart, .single_add_to_cart_button),
   non alla struttura di un tema WooCommerce classico. */
.content-ftms--product form.cart select,
.content-ftms--product form.cart input[type="number"],
.content-ftms--product form.cart input[type="text"] {
	border: 1px solid #d8d3cb;
	padding: 10px 12px;
	font-family: 'Archivo', Helvetica, Arial, sans-serif;
	font-size: 16px;
	background: #ffffff;
}

.content-ftms--product form.cart .button,
.content-ftms--product form.cart button.single_add_to_cart_button {
	background: #000000 !important;
	color: #ffffff !important;
	border: none;
	padding: 14px 32px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 14px;
	cursor: pointer;
}
.content-ftms--product form.cart .button:hover,
.content-ftms--product form.cart button.single_add_to_cart_button:hover {
	background: #1c1815 !important;
}

.content-ftms--product .woocommerce-tabs.wc-tabs-wrapper ul.tabs {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0 0 8px;
	border-bottom: 1px solid #e6e1d8;
}
.content-ftms--product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
	text-decoration: none;
	color: #000000;
	font-family: 'Gloock', Georgia, serif;
}
.content-ftms--product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a {
	color: #7a5028;
	border-bottom: 2px solid #7a5028;
}

.content-ftms--product .related.products,
.content-ftms--product .upsells.products {
	margin-top: 48px;
	padding: 32px;
	background: #faf8f4;
}
.content-ftms--product .related.products h2,
.content-ftms--product .upsells.products h2 {
	text-align: center;
}
.content-ftms--product .related.products ul.products,
.content-ftms--product .upsells.products ul.products {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.content-ftms--product .related.products li.product,
.content-ftms--product .upsells.products li.product {
	text-align: center;
	max-width: 280px;
}

/* Titolo e prezzo, sia della scheda principale sia dei prodotti correlati/upsell:
   trovato in revisione (2026-08-24) che il prezzo restava su un colore estraneo alla
   palette (ereditato da un'altra regola, non un token nostro); uniformato al colore
   accento gia' usato per titoli e link. */
.content-ftms--product .ftms-product-summary .wp-block-woocommerce-product-price .woocommerce-Price-amount,
.content-ftms--product .woocommerce-loop-product__title {
	color: #7a5028;
}

/* Miniature galleria (markup classico flex-control-thumbs, richiamato dal blocco nativo
   Galleria fuori da un tema a blocchi vero e proprio): senza queste regole restano una
   lista numerata verticale (list-style di default del browser su un <ol>), invece della
   fila di miniature accanto alla foto principale. */
.content-ftms--product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}
.content-ftms--product .woocommerce-product-gallery .flex-control-thumbs li {
	width: 70px;
}
.content-ftms--product .woocommerce-product-gallery .flex-control-thumbs img {
	width: 100%;
	height: auto;
	display: block;
	cursor: pointer;
}

/* Icona zoom (lente): senza posizionamento resta l'emoji nuda in linea col resto del
   testo, invece del piccolo pulsante rotondo sopra l'immagine dell'originale. */
.content-ftms--product .woocommerce-product-gallery {
	position: relative;
}
.content-ftms--product .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	z-index: 2;
	text-decoration: none;
}
/* Nasconde l'emoji 🔍 che WooCommerce stampa dentro lo span (troppo grezza per il
   design del sito). Un cerchio + trattino disegnati a mano con due pseudo elementi
   (primo tentativo) restavano storti a schermo, non riconoscibili come lente: sostituiti
   con un'icona SVG vera (inline via data URI, nessun file esterno da caricare), stessa
   forma "lente di ingrandimento" standard. */
.content-ftms--product .woocommerce-product-gallery__trigger span {
	display: none;
}
.content-ftms--product .woocommerce-product-gallery__trigger::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 16px;
	transform: translate(-50%, -50%);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1815' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* Footer: footer Theme Builder 7651 (sezione nera, quattro colonne, testo e link bianchi). */

.footer-ftms {
	background: #000000;
	color: #ffffff;
	padding: 54px 5% 40px;
}
.footer-ftms__row {
	display: flex;
	gap: 5.5%;
	max-width: 1080px;
	margin: 0 auto;
}
.footer-ftms__col {
	flex: 1 1 0;
	min-width: 0;
}
.footer-ftms p {
	margin: 0;
}
.footer-ftms ul {
	margin: 0;
	padding: 0 0 0 1em;
	line-height: 1.8;
}
.footer-ftms a {
	color: #ffffff;
	text-decoration: none;
}
.footer-ftms a:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	/* Barra superiore: contatti e lingue vanno a capo invece di uscire dallo schermo. */
	.header-ftms__bar {
		flex-direction: column;
		gap: 4px;
		padding: 8px 16px;
		font-size: 13px;
	}
	.header-ftms__lang {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 10px;
	}
	.header-ftms__lang .ftms-lang,
	.header-ftms__bar a {
		margin: 0;
	}
	.header-ftms__main {
		flex-direction: column;
		gap: 12px;
	}
	.nav-ftms__list {
		flex-wrap: wrap;
		justify-content: center;
	}
	.footer-ftms__row {
		flex-direction: column;
		gap: 24px;
	}
	.footer-ftms {
		font-size: 1.2rem;
	}
	.content-ftms--product .ftms-product-summary {
		padding: 24px 16px;
	}
	.content-ftms--product .ftms-product-summary h1 {
		font-size: 34px;
	}
	.content-ftms--product .ftms-product-more .related.products > h2,
	.content-ftms--product #reviews .woocommerce-Reviews-title {
		font-size: 36px;
	}
}

/* Avviso negozio di WooCommerce (Impostazioni > Personalizza > Avviso negozio): il foglio di
   WooCommerce lo fissa in alto sopra l'header; qui sta in basso, sfondo nero come in et_divi. */
.page-ftms .woocommerce-store-notice,
.page-ftms p.demo_store {
	top: auto;
	bottom: 0;
	background-color: #000000;
}

/* Blocchi comuni delle pagine convertite (spec 0011, Lotto 3). */

/* Righe di prodotti (pagina Products): separatore come nel ciclo Divi. */
.ftms-product-rows .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ftms-product-row {
	padding: 50px 0;
	margin: 0 0 50px;
	border-bottom: 1px solid #e4dbd0;
	gap: 4%;
}
.ftms-product-row .wp-block-post-title a {
	color: #000000;
	text-decoration: none;
}
.ftms-product-row__buy .wp-block-woocommerce-product-price,
.ftms-product-row__buy .woocommerce-Price-amount {
	color: #7a5028;
}
.ftms-product-row__buy {
	text-align: center;
}

/* Pulsante scuro (Leggi di piu' usato come "Configure Model"). */
.ftms-button-dark,
a.wp-block-read-more.ftms-button-dark {
	display: inline-block;
	background: #000000;
	color: #ffffff;
	padding: 10px 22px;
	text-decoration: none;
	font-size: 1.1rem;
}
.ftms-button-dark:hover {
	background: #1c1815;
	color: #ffffff;
}

/* Domande frequenti (toggle Divi -> core/details): riquadri con bordo e freccia. */
.page-ftms .wp-block-details {
	background: #ffffff;
	border: 1px solid #e4dbd0;
	padding: 20px 24px;
	margin: 0 0 30px;
}
.page-ftms .wp-block-details summary {
	font-family: 'Gloock', Georgia, serif;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 28px;
}
.page-ftms .wp-block-details summary::-webkit-details-marker {
	display: none;
}
.page-ftms .wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 0.35em;
	width: 8px;
	height: 8px;
	border-right: 2px solid #000000;
	border-bottom: 2px solid #000000;
	transform: rotate(45deg);
	transition: transform 0.2s;
}
.page-ftms .wp-block-details[open] summary::after {
	transform: rotate(-135deg);
}
.page-ftms .wp-block-details[open] summary {
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.ftms-hero h1 {
		font-size: 34px !important;
	}
	.ftms-product-row__buy {
		text-align: left;
	}
}

/* Pulsante con bordo chiaro su fondo scuro ("Go to shipping", "More About Us"). */
.ftms-button-outline .wp-block-button__link {
	background: transparent;
	color: #ffffff;
	border: 2px solid #e4dbd0;
	border-radius: 0;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.ftms-button-outline .wp-block-button__link:hover {
	background: #ffffff;
	color: #000000;
}
.wp-block-button.ftms-button-dark .wp-block-button__link {
	background: #000000;
	color: #ffffff;
	border-radius: 0;
	padding: 10px 22px;
}

/* Riquadri con bordo (es. "Looking for the Best FTM Packer?"). */
.ftms-cards > .wp-block-column {
	background: #ffffff;
	border: 1px solid #e4dbd0;
	padding: 24px;
}
.ftms-cards h3 {
	font-size: 20px;
}

/* Fascia di servizi (ex blurb Divi). */
.ftms-blurbs h4 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}
.ftms-blurbs p {
	font-size: 14px;
	line-height: 1.6;
	color: #555555;
}

/* Galleria verticale (ritratto). */
.ftms-gallery-portrait.wp-block-gallery img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

/* Griglia di articoli (ex modulo Blog). */
.ftms-blog-card {
	background: #ffffff;
	border: 1px solid #e4dbd0;
	padding: 0 0 20px;
}
.ftms-blog-card > :not(.wp-block-post-featured-image) {
	padding-left: 20px;
	padding-right: 20px;
}
.ftms-blog-card .wp-block-post-title a {
	color: #000000;
	text-decoration: none;
}

/* Modulo di contatto ftms/contact-form (al posto del modulo Divi): campi panna con bordo,
   pulsante scuro maiuscolo, come le impostazioni del modulo Divi. */
.ftms-contact-form form {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4%;
}
.ftms-contact-form__field {
	flex: 1 1 48%;
	margin: 0 0 16px;
}
.ftms-contact-form__field.is-fullwidth,
.ftms-contact-form__turnstile,
.ftms-contact-form__message,
.ftms-contact-form__submit {
	flex-basis: 100%;
}
.ftms-contact-form input[type="text"],
.ftms-contact-form input[type="email"],
.ftms-contact-form textarea,
.ftms-contact-form select {
	width: 100%;
	box-sizing: border-box;
	background: #f5f0e8;
	border: 1px solid #e4dbd0;
	padding: 16px;
	font: inherit;
	font-size: 16px;
	color: #000000;
}
.ftms-contact-form__submit {
	text-align: right;
	margin: 0;
}
.ftms-contact-form button[type="submit"] {
	background: #1c1815;
	color: #f4f4f4;
	border: none;
	padding: 12px 28px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 15px;
	cursor: pointer;
}
.ftms-contact-form button[disabled] {
	opacity: 0.6;
}
.ftms-contact-form__message.is-success {
	color: #1f6f3a;
}
.ftms-contact-form__message.is-error {
	color: #b3261e;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Pagina Contact us: barra a quattro schede sul fondo dell'immagine (ex interazioni Divi). */
.ftms-hero--contact .wp-block-cover__inner-container {
	padding-bottom: 0;
}
.ftms-tabs {
	display: flex;
	background: #1c1815;
	margin-top: 40px;
}
.ftms-tabs__tab {
	flex: 1 1 25%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 30px 10px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.ftms-tabs__tab:hover,
.ftms-tabs__tab.is-active {
	background: #2b2520;
}
.ftms-tabs__icon svg {
	display: block;
}
.ftms-tab-panel[hidden] {
	display: none;
}
.ftms-whatsapp-box {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #1c1815;
	color: #ffffff;
	padding: 36px 40px;
	text-decoration: none;
	font-family: 'Gloock', Georgia, serif;
	font-size: 32px;
	line-height: 1.25;
}
.ftms-whatsapp-box svg {
	color: #25d366;
	flex: none;
}
.ftms-whatsapp-box strong {
	display: block;
	font-weight: 400;
}
.ftms-tab-panel .wp-block-details {
	margin-bottom: 16px;
}

@media (max-width: 767px) {
	.ftms-hero--contact h1 {
		font-size: 44px !important;
	}
	.ftms-tabs {
		flex-wrap: wrap;
	}
	.ftms-tabs__tab {
		flex-basis: 50%;
		padding: 18px 6px;
	}
	.ftms-whatsapp-box {
		font-size: 22px;
		padding: 24px;
	}
}

/* Link chiari su fondo scuro: piu' specifici della regola generale .page-ftms a. */
.page-ftms .ftms-tabs__tab,
.page-ftms .ftms-whatsapp-box,
.page-ftms .ftms-button-outline .wp-block-button__link,
.page-ftms .wp-block-button.ftms-button-dark .wp-block-button__link,
.page-ftms a.wp-block-read-more.ftms-button-dark {
	color: #ffffff;
}
.ftms-hero--contact .wp-block-cover__inner-container {
	padding: 0 5%;
	box-sizing: border-box;
}
.ftms-hero--contact h1 {
	max-width: 780px;
}

/* Separatore (ex divider Divi): linea sottile chiara a tutta larghezza. */
.page-ftms .wp-block-separator {
	border: 0;
	border-top: 1px solid #e4dbd0;
	width: 100%;
	max-width: none;
	margin: 1.5em 0;
}
.page-ftms .content-ftms .wp-block-buttons {
	margin-bottom: 1.5em;
}

/* Articolo (template singolo di Divi). */
.ftms-post {
	max-width: 1080px;
	margin: 0 auto;
	padding: 60px 20px 80px;
}
.ftms-post__title {
	font-size: 36px;
	margin-bottom: 4px;
}
.ftms-post__meta {
	font-size: 14px;
	color: #000000;
	margin: 0 0 24px;
}
.ftms-post__meta a {
	color: #7a7a7a;
	text-decoration: none;
}
.ftms-post__image img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 48px;
}
.ftms-post blockquote {
	border-left: 5px solid #000000;
	margin: 1.5em 0;
	padding-left: 20px;
}
.ftms-post .comment-respond textarea,
.ftms-post .comment-respond input[type="text"],
.ftms-post .comment-respond input[type="email"],
.ftms-post .comment-respond input[type="url"] {
	background: #eeeeee;
	border: 0;
	padding: 12px;
	width: 100%;
	box-sizing: border-box;
	font: inherit;
}
.ftms-post .comment-respond .form-submit input[type="submit"] {
	background: #000000;
	color: #ffffff;
	border: 0;
	padding: 12px 20px;
	font-size: 18px;
	cursor: pointer;
	float: right;
}

/* Voce di glossario (corpo Theme Builder 8524). */
.ftms-glossary-title {
	background: #000000;
	color: #ffffff;
	text-align: center;
	padding: 60px 20px;
}
.ftms-glossary-title h1 {
	color: #ffffff;
	font-size: 28px;
	margin: 0;
}
.ftms-glossary-entry {
	max-width: 620px;
	margin: 0 auto;
	padding: 100px 20px 120px;
	font-size: 17px;
}
.ftms-glossary-products {
	background: #f0f0f0;
	padding: 60px 5% 100px;
}
.ftms-glossary-products ul.products {
	display: flex;
	gap: 3%;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 1080px;
}
.ftms-glossary-products li.product {
	flex: 1 1 0;
	text-align: center;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
.ftms-glossary-products li.product a {
	color: #000000;
	text-decoration: none;
}
.ftms-glossary-products .woocommerce-loop-product__title {
	font-family: 'Gloock', Georgia, serif;
	font-size: 18px;
}
.ftms-glossary-products .star-rating {
	margin: 0 auto 6px;
	color: #e02b20;
}
.ftms-glossary-products .price {
	color: #666666;
	font-size: 14px;
}
.ftms-glossary-products .button {
	display: none;
}
@media (max-width: 767px) {
	.ftms-glossary-products ul.products {
		flex-direction: column;
		gap: 30px;
	}
}

/* Elenco del glossario (pagina FTM Glossary): riquadri con bordo e pulsante marrone. */
.ftms-glossary-list .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ftms-glossary-card {
	border: 2px solid #000000;
	background: #faf8f4;
	padding: 30px 36px;
	margin-bottom: 30px;
}
.ftms-glossary-card .wp-block-post-title a {
	color: #000000;
	text-decoration: none;
}
.page-ftms a.wp-block-read-more.ftms-button-brown {
	display: block;
	background: #7a5028;
	color: #ffffff;
	text-align: center;
	padding: 6px 20px;
	text-decoration: none;
}
.ftms-blog-list .wp-block-post-template {
	list-style: none;
	padding: 0;
}
.ftms-blog-list .wp-block-post-title a {
	color: #000000;
	text-decoration: none;
}
.page-ftms .wp-block-query-pagination a {
	color: #000000;
	text-decoration: none;
}

.ftms-glossary-products .star-rating {
	float: none;
}


/* Layout con barra laterale (template di riserva, Shop): come il layout predefinito di Divi. */
.ftms-with-sidebar {
	display: flex;
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 20px;
}
.ftms-with-sidebar__main {
	flex: 1 1 auto;
	min-width: 0;
	padding: 58px 5.5% 60px 0;
}
.ftms-with-sidebar__aside {
	flex: 0 0 21%;
	border-left: 1px solid #e2e2e2;
	padding: 58px 0 40px 30px;
}
.ftms-with-sidebar__aside .widgettitle {
	font-size: 18px;
}
.ftms-with-sidebar__aside ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ftms-with-sidebar__aside a {
	color: #666666;
	text-decoration: none;
	font-weight: 600;
}
.ftms-with-sidebar__aside img {
	float: right;
	width: 32px;
	height: auto;
	margin-left: 4px;
}
.ftms-with-sidebar__aside li {
	margin-bottom: 18px;
	clear: both;
}
.ftms-entry {
	margin-bottom: 50px;
}
.ftms-entry__title {
	font-size: 30px;
	margin-bottom: 4px;
}
.ftms-entry__title a {
	color: #000000;
	text-decoration: none;
}
.ftms-entries-nav {
	display: flex;
	justify-content: space-between;
}
.ftms-archive-title {
	font-size: 36px;
}
.content-ftms--archive ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 5.5%;
	list-style: none;
	margin: 20px 0;
	padding: 0;
}
.content-ftms--archive ul.products::before,
.content-ftms--archive ul.products::after {
	display: none;
}
.content-ftms--archive ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
.content-ftms--archive li.product a {
	color: #000000;
	text-decoration: none;
}
.content-ftms--archive .woocommerce-loop-product__title {
	font-family: 'Gloock', Georgia, serif;
	font-size: 20px;
}
.content-ftms--archive li.product .button {
	display: none;
}
.content-ftms--archive .price {
	color: #666666;
	font-size: 14px;
}
.ftms-term-title {
	background: #000000;
	text-align: center;
	padding: 20px;
}
.ftms-term-title h1 {
	color: #ffffff;
	font-size: 56px;
	margin: 0;
}
.ftms-term-products {
	background: #f5f0e8;
	padding: 150px 20px;
}
.ftms-term-products__box {
	max-width: 1080px;
	margin: 0 auto;
	background: #faf8f4;
	border: 1px solid #e4dbd0;
	padding: 50px;
}
.ftms-term-products li.product {
	text-align: center;
}
.ftms-term-products .star-rating {
	margin: 0 auto 6px;
	float: none;
}
@media (max-width: 980px) {
	.ftms-with-sidebar {
		flex-direction: column;
	}
	.ftms-with-sidebar__main {
		padding-right: 0;
	}
	.ftms-with-sidebar__aside {
		border-left: 0;
		padding-left: 0;
	}
	.content-ftms--archive ul.products {
		grid-template-columns: 1fr;
	}
	.ftms-term-products {
		padding: 60px 16px;
	}
}

/* Griglie prodotto degli archivi: come la pagina Shop di Divi (nessun pulsante, prezzo grigio). */
.content-ftms--archive ul.products li.product .button,
.ftms-glossary-products ul.products li.product .button {
	display: none !important;
}
.content-ftms--archive ul.products li.product .price,
.ftms-glossary-products ul.products li.product .price {
	color: #666666 !important;
	font-size: 14px;
}
.content-ftms--archive .woocommerce-result-count {
	font-size: 14px;
	color: #666666;
}
.content-ftms--archive .woocommerce-ordering select {
	font-size: 12px;
	padding: 4px 8px;
	background: #eeeeee;
	border: 0;
}
