/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ==========================================================================
   1. WIDGET FILTRO PREZZO WOOCOMMERCE (Selettori Corretti)
   ========================================================================== */

.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    border: none;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: #007cba;
    height: 8px;
    border-radius: 4px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: #007cba;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.3);
    top: -8px;
}

.widget_price_filter .price_slider_amount .button {
    background: #007cba;
    border-radius: 4px;
    color: #ffffff;
}

.widget_price_filter .price_slider_amount input {
    width: 70px;
    padding: 8px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

/* ==========================================================================
   2. RICERCA & ICONE ASTRA
   ========================================================================== */

/* Colore icona SVG ricerca */
.ast-icon.icon-search,
.ast-icon.icon-search svg {
    color: #193A5E;
    fill: #193A5E;
    transition: fill 0.15s ease, color 0.15s ease;
}

/* Form di ricerca personalizzata */
.aws-container.search-form {
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
    padding: 8px;
}

.aws-container.search-form input[type="search"],
.aws-container.search-form input[type="text"] {
    background: transparent;
    color: #222222;
    border: none;
}

.aws-container.search-form input::placeholder {
    color: #888888;
    opacity: 1;
}

.aws-container.search-form .ast-icon.icon-search,
.aws-container.search-form .ast-icon.icon-search svg {
    fill: #ff0000;
    color: #ff0000;
}

.aws-container.search-form:hover,
.aws-container.search-form:focus-within {
    background-color: #f5f5f5;
}

/* Spaziatura layout container Astra */
.ast-separate-container #primary,
.ast-separate-container.ast-left-sidebar #primary,
.ast-separate-container.ast-right-sidebar #primary {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 12px;
}

/* ==========================================================================
   3. SEZIONE ULTIMI ARRIVI (Home Page)
   ========================================================================== */

.home-latest-products-section {
    padding: 40px 0;
    margin: 0 auto;
    width: 100%;
}

.home-latest-products-section > h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--hp-inchiostro);
    position: relative;
}

.home-latest-products-section > h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--ast-global-color-0, #0066cc);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* Griglia Prodotti */
.home-latest-products-section ul.products {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 992px) {
    .home-latest-products-section ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .home-latest-products-section ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .home-latest-products-section ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Le schede prodotto usano lo stile comune: vedi "Schede prodotto" in fondo al file */

/* ==========================================================================
   4. PANNELLO FILTRI CARTONCINI
   ========================================================================== */

.paper-filter-toggle-wrapper {
    margin-bottom: 20px;
}

#toggle-paper-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}

#paper-filter-panel {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}

.paper-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.paper-filter-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

#close-paper-filters {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: #666;
}

.paper-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.filter-col h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
}

.filter-item {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-item input {
    margin-right: 6px;
}

.paper-filter-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: right;
}

ul.products.loading {
    transition: opacity 0.2s ease;
    pointer-events: none;
}

/* =========================================================================
   Layout home, barra in alto e footer (vedi sezione 14 di functions.php)
   ========================================================================= */
.hp-topbar { background: var(--ast-global-color-0, #0066cc); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }

body.home.ast-plain-container #primary { margin-top: 16px; } /* meno spazio tra menu e slider */
.hp-home-sezione { margin: 40px 0; }
.hp-home-titolo { font-size: 1.5rem; margin: 0 0 18px; }
.hp-home-intestazione { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hp-home-intestazione a { font-weight: 600; white-space: nowrap; }
.hp-home-riga ul.products { margin-bottom: 0; }
.home .reviews-section-wrapper { margin: 40px 0; }

.hp-garanzie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #e2e8f0; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; margin: 24px 0 40px; }
.hp-garanzia { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px; background: #fff; color: inherit; text-decoration: none; }
.hp-garanzia svg { width: 34px; height: 34px; fill: none; stroke: var(--ast-global-color-0, #0066cc); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.hp-garanzia strong { font-size: 15px; }
.hp-garanzia span { font-size: 13px; color: #64748b; }

/* Foto di prodotti e categorie in home con angoli arrotondati */
.home ul.products li.product img,
.home .wc-product-image-wrapper,
.home .wcoe-category-grid img { border-radius: 6px; }

.hp-footer-colonne { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 40px 20px; border-top: 1px solid #e2e8f0; }
.hp-footer-colonne h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 12px; }
.hp-footer-colonne ul { list-style: none; margin: 0; padding: 0; }
.hp-footer-colonne li { margin: 0 0 8px; font-size: 14px; }

@media (max-width: 921px) {
	.hp-garanzie, .hp-footer-colonne { grid-template-columns: repeat(2, 1fr); }
	.wcoe-category-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 544px) {
	.hp-footer-colonne { grid-template-columns: 1fr; }
}

/* Smartphone: slider a tutta larghezza */
@media (max-width: 768px) {
	.my-swiper { width: calc(100% + 40px) !important; max-width: none !important; margin-left: -20px !important; margin-right: -20px !important; }
}

/* Smartphone e tablet: campo di ricerca a tutta larghezza nell'intestazione */
@media (max-width: 921px) {
	.ast-mobile-header-wrap .ast-below-header-bar .ast-builder-grid-row { grid-template-columns: 1fr; }
	.ast-mobile-header-wrap .ast-below-header-bar .site-header-section,
	.ast-mobile-header-wrap .ast-below-header-bar .ast-builder-layout-element,
	.ast-mobile-header-wrap .ast-below-header-bar .ast-header-html,
	.ast-mobile-header-wrap .ast-below-header-bar .ast-builder-html-element { width: 100%; flex: 1 1 auto; }
	.ast-mobile-header-wrap .fws-v4-box,
	.ast-mobile-header-wrap .fws-v4-form,
	.ast-mobile-header-wrap .fws-v4-input { width: 100% !important; max-width: none !important; }
	.ast-mobile-header-wrap .fws-v4-dropdown { left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; }
}

/* =========================================================================
   Font e palette colori "carta e inchiostro"
   Terracotta (pulsanti, link) - Inchiostro (titoli) - Carta (sfondi)
   ========================================================================= */
:root {
	--hp-terracotta: #B5523B;
	--hp-terracotta-scuro: #943F2C;
	--hp-inchiostro: #2E2A47;
	--hp-testo: #4B4763;
	--hp-testo-chiaro: #6B6680;
	--hp-carta: #FBF7F2;
	--hp-bordo: #EADFD3;
	--hp-stelle: #E0A526;

	/* Colori globali di Astra */
	--ast-global-color-0: var(--hp-terracotta);
	--ast-global-color-1: var(--hp-terracotta-scuro);
	--ast-global-color-2: var(--hp-inchiostro);
	--ast-global-color-3: var(--hp-testo);
	--ast-global-color-4: var(--hp-carta);
	--ast-global-color-5: #FFFFFF;
	--ast-global-color-6: var(--hp-bordo);
}

/* Font */
body, button, input, select, textarea,
body .ast-button, body .button, body .main-header-menu .menu-link {
	font-family: 'Inter', sans-serif;
}
body { color: var(--hp-testo); }
body h1, body h2, body h3, body h4, body h5, body h6,
body .entry-content h1, body .entry-content h2, body .entry-content h3, body .entry-content h4,
body .woocommerce-loop-product__title, body .product_title {
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: var(--hp-inchiostro);
	letter-spacing: -0.01em;
}

/* Link e menu */
body a { color: var(--hp-terracotta); }
body a:hover { color: var(--hp-terracotta-scuro); }
body .main-header-menu .menu-link { color: var(--hp-inchiostro); font-weight: 500; }
body .main-header-menu .menu-item:hover > .menu-link,
body .main-header-menu .current-menu-item > .menu-link { color: var(--hp-terracotta); }

/* Pulsanti */
body .button, body button.button, body input[type="submit"], body .wp-block-button__link,
.woocommerce ul.products li.product .button, .woocommerce a.button.alt, .woocommerce button.button.alt {
	background-color: var(--hp-terracotta);
	border-color: var(--hp-terracotta);
	color: #fff;
	border-radius: 6px;
}
body .button:hover, body button.button:hover, body input[type="submit"]:hover,
.woocommerce ul.products li.product .button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover {
	background-color: var(--hp-terracotta-scuro);
	border-color: var(--hp-terracotta-scuro);
	color: #fff;
}

/* Prezzi e categorie nelle schede prodotto */
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--hp-inchiostro); font-weight: 600; }
.woocommerce ul.products li.product .ast-woo-product-category { color: var(--hp-testo-chiaro); }

/* Sezioni della home e barra in alto */
.hp-topbar { background: var(--hp-inchiostro); }
.hp-garanzie { background: var(--hp-bordo); border-color: var(--hp-bordo); }
.hp-garanzia { background: var(--hp-carta); }
.hp-garanzia strong { color: var(--hp-inchiostro); }
.hp-garanzia span { color: var(--hp-testo-chiaro); }
body .reviews-section-wrapper { background-color: var(--hp-carta); border-color: var(--hp-bordo); }
body .review-card { border-color: var(--hp-bordo); }
body .stars-overall, body .review-stars { color: var(--hp-stelle); }
.hp-footer-colonne { border-top-color: var(--hp-bordo); }
.hp-footer-colonne h4 { color: var(--hp-inchiostro); }

/* Ricerca live */
body .fws-v4-input { border-color: var(--hp-bordo) !important; color: var(--hp-inchiostro) !important; }
body .fws-v4-input:focus { border-color: var(--hp-terracotta) !important; box-shadow: 0 0 0 3px rgba(181, 82, 59, 0.15) !important; }
body .fws-v4-card:hover { background-color: var(--hp-carta) !important; }
body .fws-v4-price { color: var(--hp-terracotta) !important; }
body .fws-v4-more-btn { color: var(--hp-terracotta) !important; }
body .fws-v4-more-btn:hover { background-color: var(--hp-terracotta) !important; color: #fff !important; }

/* Slider: frecce e punti */
.my-swiper .swiper-button-prev, .my-swiper .swiper-button-next { color: var(--hp-inchiostro); }
.my-swiper .swiper-pagination-bullet-active { background: var(--hp-terracotta); }

/* =========================================================================
   Fasce colorate a tutta larghezza (home e footer)
   Il trucco box-shadow + clip-path estende lo sfondo fino ai bordi dello
   schermo senza cambiare la larghezza del contenuto.
   ========================================================================= */
:root {
	--hp-salvia-chiaro: #EBF0EA;
	--hp-rosa-carta: #F7E8E2;
	--hp-sabbia: #F3ECE2;
	--hp-footer-testo: #D6D2E3;
	--hp-footer-link: #F2C6B4;
}

.hp-fascia,
.home .reviews-section-wrapper,
.home .home-latest-products-section,
.hp-footer-colonne {
	background: var(--hp-fascia-colore);
	box-shadow: 0 0 0 100vmax var(--hp-fascia-colore);
	clip-path: inset(0 -100vmax);
}

/* Categorie: salvia, schede bianche */
.hp-fascia-categorie { --hp-fascia-colore: var(--hp-salvia-chiaro); margin: 40px 0 0; padding: 48px 0; }
.hp-fascia-categorie .wcoe-category-item a { background: #fff; padding: 10px 10px 14px; border-radius: 8px; box-shadow: 0 2px 8px rgba(46, 42, 71, 0.06); transition: transform .2s ease, box-shadow .2s ease; }
.hp-fascia-categorie .wcoe-category-item a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(46, 42, 71, 0.12); }
.hp-fascia-categorie .wcoe-category-item span { color: var(--hp-inchiostro); }

/* Recensioni: rosa carta, attaccate alla fascia categorie */
.home .reviews-section-wrapper { --hp-fascia-colore: var(--hp-rosa-carta); margin: 0 !important; padding: 56px 0; border: 0; }
.home .reviews-badge, .home .review-card { background: #fff; }

/* Ultimi arrivi: sabbia, attaccati al footer */
.home .home-latest-products-section { --hp-fascia-colore: var(--hp-sabbia); margin: 0 !important; padding: 48px 0; }

/* Footer: inchiostro con testo chiaro */
.hp-footer-colonne { --hp-fascia-colore: var(--hp-inchiostro); border-top: 0; padding: 48px 20px 32px; }
.hp-footer-colonne h4 { color: #fff; }
.hp-footer-colonne a { color: var(--hp-footer-link); }
.hp-footer-colonne a:hover { color: #fff; }
body .site-footer,
body .site-footer .site-above-footer-wrap,
body .site-footer .site-primary-footer-wrap,
body .site-footer .site-below-footer-wrap { background-color: var(--hp-inchiostro) !important; border-top-color: rgba(255, 255, 255, 0.12) !important; }
body .site-footer, body .site-footer p, body .site-footer .ast-footer-copyright, body .site-footer .widget { color: var(--hp-footer-testo); }
body .site-footer a { color: var(--hp-footer-link); }
body .site-footer a:hover { color: #fff; }

/* Recensioni: tiene le etichette per screen reader dentro le schede (evita lo scorrimento orizzontale della pagina) */
.reviews-scroll, .review-card, .review-source { position: relative; }

/* Home: nessuno spazio bianco tra l'ultima fascia e il footer */
body.home.ast-plain-container #primary { margin-bottom: 0; }

/* Pulsanti "Scegli" in tutte le griglie prodotto */
body.woocommerce-js ul.products li.product a.button { background-color: var(--hp-terracotta); border-color: var(--hp-terracotta); color: #fff; border-radius: 6px; }
body.woocommerce-js ul.products li.product a.button:hover { background-color: var(--hp-terracotta-scuro); border-color: var(--hp-terracotta-scuro); color: #fff; }

/* Footer: testo del copyright leggibile sul fondo scuro */
body .site-footer .ast-footer-copyright span { color: var(--hp-footer-testo) !important; }

/* =========================================================================
   Schede prodotto nelle griglie (home, negozio, categorie)
   ========================================================================= */
body.woocommerce-js ul.products li.product {
	position: relative;
	background: #fff;
	border: 1px solid var(--hp-bordo);
	border-radius: 12px;
	padding: 12px 12px 64px;
	text-align: center;
	transition: box-shadow .2s ease, transform .2s ease;
}
body.woocommerce-js ul.products li.product:hover { box-shadow: 0 10px 24px rgba(46, 42, 71, 0.10); transform: translateY(-2px); }
body.woocommerce-js ul.products li.product img,
body.woocommerce-js ul.products li.product .wc-product-image-wrapper { border-radius: 8px; }
body.woocommerce-js ul.products li.product .ast-woo-product-category { display: none; }
body.woocommerce-js ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--hp-inchiostro); margin: 10px 0 0; }

/* Prezzo: pillola scura; in offerta prezzo barrato sopra e pillola terracotta */
body.woocommerce-js ul.products li.product .price { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 10px auto 0; }
body.woocommerce-js ul.products li.product .price:not(:has(del)) { flex-direction: row; width: fit-content; background: var(--hp-inchiostro); color: #fff; padding: 5px 12px; border-radius: 6px; font-weight: 700; font-size: 16px; }
body.woocommerce-js ul.products li.product .price:not(:has(del)) .amount { color: #fff; }
body.woocommerce-js ul.products li.product .price del { color: var(--hp-testo-chiaro); font-size: 13px; opacity: 1; }
body.woocommerce-js ul.products li.product .price del .amount { color: var(--hp-testo-chiaro); }
body.woocommerce-js ul.products li.product .price ins { text-decoration: none; background: var(--hp-terracotta); padding: 5px 12px; border-radius: 6px; font-weight: 700; font-size: 16px; }
body.woocommerce-js ul.products li.product .price ins .amount { color: #fff; }

/* Pulsante carrello tondo in basso a destra */
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello {
	position: absolute; right: 12px; bottom: 12px; margin: 0;
	width: 42px; height: 42px; padding: 0; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--hp-carta); border: 1px solid var(--hp-bordo); color: var(--hp-inchiostro);
}
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello:hover { background: var(--hp-terracotta); border-color: var(--hp-terracotta); color: #fff; }
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello.loading { opacity: .6; }
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello::after { display: none; }
body.woocommerce-js ul.products li.product a.button.hp-btn-carrello.added { background: #5E7D68; border-color: #5E7D68; color: #fff; }
body.woocommerce-js ul.products li.product .added_to_cart { display: none; }

/* Etichetta Promo in alto a sinistra */
body.woocommerce-js span.onsale.hp-promo,
body.woocommerce-js ul.products li.product span.onsale.hp-promo,
body.woocommerce-js div.product span.onsale.hp-promo {
	position: absolute; top: 8px; left: 8px; right: auto; z-index: 2;
	width: auto; height: auto; min-width: 0; min-height: 0; margin: 0;
	padding: 4px 10px; border-radius: 6px; line-height: 1.2;
	background: var(--hp-terracotta); color: #fff; font-size: 13px; font-weight: 700;
}

@media (max-width: 544px) {
	body.woocommerce-js ul.products li.product { padding: 8px 8px 56px; }
	body.woocommerce-js ul.products li.product a.button.hp-btn-carrello { width: 38px; height: 38px; right: 8px; bottom: 8px; }
	body.woocommerce-js ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
}

/* Home: sfondo molto chiaro color carta per le sezioni senza fascia colorata */
body.home, body.home #page, body.home .site-content { background-color: #FCFAF7; }
body.home .hp-garanzia { background: #fff; }

/* Slider: altezza da Personalizza > Slider home */
.my-swiper { width: 100%; max-width: 1200px; margin: 0 auto; overflow: hidden; height: var(--hp-slider-h, 250px); }
.my-swiper .swiper-slide, .my-swiper .swiper-slide a { display: block; height: 100%; }
.my-swiper img.my-slider-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .my-swiper { height: var(--hp-slider-h-mobile, 140px); } }

/* Schede prodotto: testi centrati */
body.woocommerce-js ul.products li.product .astra-shop-summary-wrap,
body.woocommerce-js ul.products li.product .woocommerce-loop-product__title { text-align: center; }

/* Schede categoria in home: numero di prodotti */
.hp-cat-conteggio { display: block; margin-top: 2px; font-size: 13px; color: var(--hp-testo-chiaro); }

/* Prezzo per foglio (griglie e pagina prodotto) */
.hp-prezzo-foglio { display: block; margin-top: 6px; font-size: 12px; color: var(--hp-testo-chiaro); }
.single-product .hp-prezzo-foglio { font-size: 14px; margin: 0 0 6px; }

/* Footer: colonne centrate nella pagina, testo allineato a sinistra */
@media (min-width: 922px) {
	.hp-footer-colonne { width: 100%; box-sizing: border-box; grid-template-columns: repeat(4, max-content); justify-content: space-evenly; }
}

/* Home: approfondimento e domande frequenti in fondo alla pagina */
.hp-home-approfondimento { max-width: 900px; margin: 0 auto; padding: 56px 0 64px; }
.hp-home-approfondimento h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.hp-home-approfondimento h2:first-child { margin-top: 0; }
.hp-home-approfondimento h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.hp-home-approfondimento details { background: #fff; border: 1px solid var(--hp-bordo); border-radius: 8px; padding: 14px 18px; margin: 0 0 10px; }
.hp-home-approfondimento summary { cursor: pointer; font-weight: 600; color: var(--hp-inchiostro); }
.hp-home-approfondimento details[open] summary { margin-bottom: 8px; }
.home .entry-content h1 { font-size: 2rem; margin-bottom: 12px; }

/* Smartphone: garanzie in una striscia che scorre di lato */
@media (max-width: 768px) {
	body.home .hp-garanzie { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; background: none; border: 0; border-radius: 0; margin: 16px 0 24px; padding-bottom: 4px; scrollbar-width: none; }
	body.home .hp-garanzie::-webkit-scrollbar { display: none; }
	body.home .hp-garanzia { flex: 0 0 68%; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--hp-bordo); border-radius: 8px; scroll-snap-align: start; }
	body.home .hp-garanzia svg { grid-row: span 2; width: 28px; height: 28px; margin: 0; }
	body.home .hp-garanzia strong { font-size: 14px; }
	body.home .hp-garanzia span { font-size: 12px; }
}

/* Tabella sconti a scaglioni nella pagina prodotto */
.hp-scaglioni { background: var(--hp-carta); border: 1px solid var(--hp-bordo); border-radius: 8px; padding: 12px 16px; margin: 12px 0 18px; }
.hp-scaglioni ul { margin: 6px 0; padding-left: 18px; }
.hp-scaglioni small { color: var(--hp-testo-chiaro); }
