/*
Theme Name: Emilune Git
Theme URI: http://emilune.test
Author: Emilune Lab
Description: Tema personalizzato per Emilune - Laboratorio di Ricordi.
Version: 1.0
Text Domain: emilune
*/

:root {
    --primary-color: #8E9B84; /* Verde salvia calibrato esattamente sulla foto */
    --menu-bg: #C5CCA9;        /* Sfondo verde chiaro della barra menu e del footer come in foto */
    --secondary-color: #F6F4EF; /* Sfondo pastello caldo/neutro della pagina */
    --text-color: #2C2C2C;
    --white: #FFFFFF;
    --font-main: "Playfair Display", Georgia, serif;
    --font-sans: "Montserrat", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER & MENU --- */
.site-header {
    background-color: var(--white);
    padding: 5px 0 0 0; /* Riduce drasticamente lo spazio bianco iniziale */
    text-align: center;
}

.site-branding {
    text-align: center;
    padding: 8px 10px;  /* Spazio ridotto sopra e sotto il logo/titolo */
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.header-logo {
    max-height: 54px;   /* Logo leggermente più discreto per dare spazio al testo */
    width: auto;
    display: block;
}

.brand-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center; /* Allinea al centro la tagline sotto il titolo */
}

.site-title-text {
    font-family: var(--font-main);
    font-size: 36px;      /* Aumentata da 26px a 36px per renderla protagonista */
    letter-spacing: 3px;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    font-weight: 500;
}

.site-tagline-text {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 13px !important;
    color: #666 !important;
    font-style: italic !important;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Barra del menu con sfondo verde ripreso dalla foto */
.main-navigation {
    background-color: var(--menu-bg);
    margin-top: 5px;
    padding: 12px 0;
    border-top: 1px solid #B0B99B;
    border-bottom: 1px solid #B0B99B;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 5px 0;
}

.main-navigation a {
    position: relative;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #2C2C2C;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--text-color);
}

.main-navigation .emilune-cart-menu-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-navigation .emilune-cart-menu-item svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- HERO SECTION --- */
.hero-section-wrapper {
    width: 100%;
    background-color: #F6F4EF;
    text-align: center;
    padding: 40px 0;
}

.hero-image-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    max-height: 520px;
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero-main-image {
        max-height: 420px;
    }
}

@media (max-width: 600px) {
    .hero-main-image {
        max-height: 300px;
        width: 100%; /* fill small screens horizontally */
        height: auto;
    }
    .hero-image-container {
        padding: 20px 0;
    }
}

/* Regola per schermi molto grandi (oltre la larghezza dell'immagine) */
@media (min-width: 1921px) {
    .hero-section-wrapper {
        padding: 0;
    }
    .hero-image-container {
        max-width: 1921px;
    }
}

/* --- SEZIONE CATEGORIE (LE COLLEZIONI) --- */
.collections-section {
    padding: 45px 20px 55px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-main);
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: normal;
    letter-spacing: 1px;
}

/* Le card delle collezioni sono definite nella sezione dedicata più avanti. */


/* --- PERSONALIZZAZIONE PAGINA ARCHIVIO / CATEGORIA WOOCOMMERCE --- */

.woocommerce.archive .woocommerce-products-header {
    text-align: center;
    margin-bottom: 40px;
}

.woocommerce.archive .woocommerce-products-header__title {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: normal;
    color: var(--text-color);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.woocommerce.archive .woocommerce-products-header .term-description {
    font-size: 15px;
    color: #666;
}

.woocommerce.archive .woocommerce-result-count,
.woocommerce.archive .woocommerce-ordering {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.woocommerce.archive .woocommerce-ordering select {
    padding: 6px 12px;
    border: 1px solid #E2DDD5;
    background-color: var(--white);
    border-radius: 0;
    font-size: 14px;
}

.woocommerce.archive ul.products.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border: 1px solid #E2DDD5;
    padding: 15px;
    margin-bottom: 0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.woocommerce ul.products li.product img {
    margin-bottom: 15px;
    border-radius: 0;
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-family: var(--font-main) !important;
    font-size: 18px !important;
    color: var(--text-color) !important;
    text-align: center;
    margin-bottom: 8px !important;
}

.woocommerce ul.products li.product .price {
    font-size: 15px;
    color: #666 !important;
    text-align: center;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .button {
    background-color: var(--text-color) !important;
    color: #fff !important;
    border-radius: 0 !important;
    text-align: center;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    transition: background 0.2s ease;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #444 !important;
}

@media (max-width: 768px) {
    .woocommerce.archive ul.products.columns-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Home: la sezione collezioni ha una gerarchia da titolo di pagina,
   con spaziatura bilanciata rispetto all'hero e alle card. */
body.home .hero-section-wrapper {
    padding-bottom: 10px;
}

body.home .collections-section {
    padding-top: 35px;
    padding-bottom: 65px;
}

body.home .collections-section .section-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    body.home .hero-section-wrapper {
        padding-bottom: 0;
    }

    body.home .collections-section {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    body.home .collections-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }
}

/* Testo di orientamento SEO: discreto, coerente con il layout vetrina. */
body.home .collections-seo-intro {
    max-width: 740px;
    margin: 0 auto 25px;
    padding: 0 6px;
    color: #5f625a;
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 768px) {
    body.home .collections-seo-intro {
        margin: 0 auto 20px;
        font-size: 13px;
    }
}

/* --- SEZIONE CHI SIAMO --- */
.about-section {
    background-color: var(--white);
    padding: 70px 20px;
    border-top: 1px solid #E2DDD5;
    border-bottom: 1px solid #E2DDD5;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text h2 {
    font-family: var(--font-main);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: normal;
}

.about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

/* Newsletter */
.newsletter-section {
    background-color: #eef1e5;
    border-bottom: 1px solid #dce3cf;
    padding: 24px 20px 30px;
    text-align: center;
}

.newsletter-content {
    margin: 0 auto;
    max-width: 1100px;
}

.newsletter-eyebrow {
    color: #657253;
    display: block;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.newsletter-content h2 {
    color: #2c352b;
    font-family: var(--font-main);
    font-size: clamp(1.5rem, 1.9vw, 1.9rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 auto 4px;
    max-width: 700px;
}

.newsletter-content > p {
    color: #5f625a;
    font-size: clamp(0.8rem, 0.88vw, 0.9rem);
    line-height: 1.45;
    margin: 0 auto 0;
    max-width: 660px;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-form-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: min(100%, 650px);
}

.newsletter-form input,
.newsletter-form button {
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    padding: 12px 14px;
    height: 48px;
}

.newsletter-form input {
    background: #ffffff;
    border: 1px solid #d4dac8;
    color: #494d46;
    min-width: 0;
    width: min(100%, 420px);
}

.newsletter-form input::placeholder {
    color: #7c7f76;
}

.newsletter-form button {
    background-color: #C8D6B9;
    border: 2px solid #9EAF8E;
    border-radius: 4px;
    color: #4a4a4a;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    height: auto;
    letter-spacing: 1.2px;
    min-width: 0;
    padding: 10px 22px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #B4C4A3;
    border-color: #879977;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: #2c2c2c;
    transform: translateY(-2px);
}

.newsletter-intro {
    margin-top: 10px !important;
}

.newsletter-note {
    font-size: 0.75rem;
    margin-top: 4px !important;
}

.newsletter-consent {
    align-items: center;
    display: flex;
    justify-content: center;
    width: min(100%, 620px);
}

.newsletter-consent label {
    align-items: center;
    color: #56604d;
    display: inline-flex;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    gap: 8px;
    line-height: 1.3;
    margin-top: 2px;
    text-align: left;
}

.newsletter-consent input {
    width: 16px;
    height: 16px;
    accent-color: #8ea17c;
    margin: 0;
    flex-shrink: 0;
}

.newsletter-message {
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    margin: 18px auto 0;
    max-width: 520px;
    padding: 10px 12px;
}

.newsletter-message-success {
    background: #edf4e7;
    border: 1px solid #c9d8bd;
    color: #3d5631;
}

.newsletter-message-error {
    background: #f9efef;
    border: 1px solid #e1c3c3;
    color: #7a2d2d;
}

/* MailPoet: mantiene il modulo integrato nella grafica della home Emilune. */
.newsletter-mailpoet-form {
    margin: 12px auto 0;
    max-width: 650px;
    width: 100%;
}

.newsletter-mailpoet-form .mailpoet_form {
    background: transparent !important;
    margin: 0 auto !important;
    max-width: 650px !important;
    padding: 0 !important;
}

.newsletter-mailpoet-form .mailpoet_paragraph {
    margin: 0 0 8px !important;
}

.newsletter-mailpoet-form input[type="email"],
.newsletter-mailpoet-form input[type="text"] {
    background: #ffffff !important;
    border: 1px solid #d4dac8 !important;
    border-radius: 4px !important;
    color: #494d46 !important;
    font-family: var(--font-sans) !important;
    font-size: 0.8rem !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    width: 100% !important;
}

.newsletter-mailpoet-form .mailpoet_submit,
.newsletter-mailpoet-form input[type="submit"] {
    background-color: #C8D6B9 !important;
    border: 2px solid #9EAF8E !important;
    border-radius: 4px !important;
    color: #4a4a4a !important;
    cursor: pointer;
    font-family: var(--font-main) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 1.2px !important;
    padding: 10px 22px !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease;
    width: 100% !important;
}

.newsletter-mailpoet-form .mailpoet_submit:hover,
.newsletter-mailpoet-form input[type="submit"]:hover {
    background-color: #B4C4A3 !important;
    border-color: #879977 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    color: #2c2c2c !important;
    transform: translateY(-2px);
}

.newsletter-mailpoet-form label,
.newsletter-mailpoet-form p,
.newsletter-mailpoet-form .mailpoet_form_paragraph {
    color: #56604d;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    line-height: 1.4;
}

.newsletter-mailpoet-form a {
    text-decoration: underline;
}

@media (min-width: 640px) {
    .newsletter-mailpoet-form form.mailpoet_form {
        display: grid;
        gap: 8px;
    }
}

.cookie-consent-banner {
    background: rgba(35, 40, 33, 0.97);
    bottom: 0;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.15);
    color: #f5f0e9;
    left: 0;
    padding: 24px 20px;
    position: fixed;
    width: 100%;
    z-index: 9999;
}

.cookie-consent-banner[hidden],
.cookie-preferences-modal[hidden] {
    display: none !important;
}

.cookie-consent-content {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
}

.cookie-consent-copy {
    flex: 1;
    max-width: 760px;
}

.cookie-consent-copy h2 {
    color: #f7f4ef;
    font-family: var(--font-main);
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin: 0 0 8px;
}

.cookie-consent-copy p {
    color: rgba(245, 240, 233, 0.9);
    line-height: 1.7;
    margin: 0;
}

.cookie-consent-copy a {
    color: #d7e2c9;
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-button {
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 12px 18px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-button:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.cookie-button-primary {
    background: #c7d4b4;
    border-color: #b1c09d;
    color: #2d342d;
}

.cookie-button-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #f5f0e9;
}

.cookie-preferences-modal {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10000;
}

.cookie-preferences-backdrop {
    background: rgba(18, 18, 18, 0.38);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.cookie-preferences-panel {
    background: #fffdfb;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    margin: 10vh auto 0;
    max-width: 540px;
    padding: 28px 24px 24px;
    position: relative;
    width: min(90vw, 540px);
}

.cookie-modal-close {
    background: transparent;
    border: 0;
    color: #4e5149;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 12px;
}

.cookie-preferences-panel h2 {
    color: #2c352b;
    font-family: var(--font-main);
    font-size: 2rem;
    margin: 0 0 10px;
}

.cookie-preferences-panel p {
    color: #4d5448;
    line-height: 1.7;
    margin-bottom: 18px;
}

.cookie-category {
    align-items: center;
    background: #f5f2eb;
    border: 1px solid #e0dbc8;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.cookie-category-disabled {
    background: #f0efe9;
    border-style: dashed;
    opacity: 0.8;
}

.cookie-category span {
    color: #2f362d;
    display: block;
    font-family: var(--font-sans);
    line-height: 1.5;
}

.cookie-category small {
    color: #5e645d;
    display: block;
    margin-top: 3px;
}

.cookie-category input {
    accent-color: #8ea47b;
    transform: scale(1.1);
}

.cookie-save-preferences {
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-consent-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: min(100%, 360px);
    }
}

.about-button-container {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.emilune-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: #C8D6B9; /* Sfondo verde salvia */
    color: #4a4a4a;            /* Testo scuro */
    font-family: var(--font-main);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border: 2px solid #9EAF8E; /* Cornice/riquadro verde più intenso intorno al pulsante */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.emilune-btn:hover {
    background-color: #B4C4A3; /* Verde leggermente più intenso al passaggio */
    color: #2c2c2c;
    border-color: #879977;     /* Scurisce anche la cornice */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--menu-bg);
    padding: 30px 20px;
    text-align: center;
    font-size: 13px;
    color: #2C2C2C;
    border-top: 1px solid #B0B99B;
}

.footer-content-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-cookie-settings {
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-cookie-settings:hover,
.footer-socials a:hover {
    color: var(--white);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #2c2c2c;
    border: 1px solid rgba(44, 44, 44, 0.35);
    border-radius: 50%;
    transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.footer-socials a:hover {
    border-color: var(--white);
    transform: translateY(-2px);
}

.footer-socials svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-socials .social-icon-fill,
.footer-socials .social-icon-dot {
    fill: currentColor;
    stroke: none;
}

.copyright {
    font-size: 12px;
    color: #444;
}

/* Centra il blocco di intestazione della pagina */
.page-header-section {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Centra specificamente il titolo */
.page-header-section .page-title {
    text-align: center;
}

/* Centra e allarga leggermente il sottotitolo per bilanciarlo */
.page-header-section .page-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* --- SEZIONE COLLEZIONI CON IMMAGINE INTERA E TESTO SOPRA --- */
.collections-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.collections-header {
    text-align: center;
    margin-bottom: 40px;
}

.collections-header h1 {
    font-family: var(--font-main);
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.collections-header p {
    color: #666;
    font-size: 15px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    justify-content: center; /* center grid when there are fewer items */
    justify-items: center;   /* center content inside grid cells */
    max-width: 1200px;
    margin: 0 auto;
}

.collection-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 18px 14px; /* reduced padding so cards feel more compact */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Sfumatura scura elegante in basso per la leggibilità */
.collection-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.collection-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.collection-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    width: 100%;
}

.collection-card h3 {
    font-family: var(--font-main);
    font-size: 26px;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.collection-content p {
    font-size: 13px;
    color: #F1F1F1;
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.emilune-btn-small {
    display: inline-block;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.emilune-btn-small:hover {
    background-color: #78856e;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================================_
   MIGLIORAMENTO PAGINA PRODOTTI E "LEGGI TUTTO" - EMILUNE
   =================================================* */

/* 1. Stile pulito per i bottoni e la scritta nelle card - consentiamo andata a capo */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .button,
.woocommerce-loop-product__link .read-more,
.ast-loop-product__link .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8E9B84 !important; /* Verde salvia Emilune */
    color: #FFFFFF !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-align: center;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4; /* piccola riduzione per maggiore compatibilità */
    height: auto !important; /* Impedisce al box di avere un'altezza fissa che tronca il testo */
    white-space: normal; /* Permetti a capo in caso di testo lungo */
    word-break: break-word;
}

/* Effetto hover elegante sul bottone */
ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
    background-color: #798570 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 2. Spaziatura e ordine della griglia prodotti */
ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center items */
    gap: 36px;
    list-style: none;
    padding: 0;
}

/* 3. Sfondo e stile delle singole card prodotto */
ul.products li.product {
    background: #FFFFFF;
    border: 1px solid #E2DDD5;
    border-radius: 8px;
    padding: 22px;
    min-height: 420px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    max-width: 640px;
    width: auto;
    flex: 0 0 320px;
    margin-bottom: 0 !important;
}

ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

/* 4. Titoli dei prodotti raffinati */
ul.products li.product h2, 
ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif;
    font-size: 20px; /* leggermente più grande */
    color: #2C2C2C;
    margin-top: 12px;
    margin-bottom: 8px;
    white-space: normal; /* consenti a capo */
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 5. Prezzi coordinati */
ul.products li.product .price {
    color: #555555;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
}

/* Assicuriamo che il contenuto non esca dalla card */
ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .price,
ul.products li.product .woocommerce-loop-product__link,
ul.products li.product p {
    max-width: 100%;
    box-sizing: border-box;
}

ul.products li.product .button {
    margin-top: auto; /* spinge il bottone in fondo alla card */
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

@media (max-width: 700px) {
    /* Su mobile la lista prodotti usa il flex layout definito sopra */
    ul.products {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 12px;
    }

    ul.products li.product {
        width: 100%;
        max-width: 420px;
        flex: 0 1 auto;
    }
}

/* responsive behavior handled elsewhere (taxonomy inline or other rules) */

/* =========================================================
   RESTYLING SCHEDA PRODOTTO (SINGLE PRODUCT) - EMILUNE
   ========================================================= */

/* Contenitore principale della pagina prodotto */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: transparent;
}

/* Colonna Immagine (Sinistra) */
.woocommerce div.product div.images {
    flex: 1 1 450px;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
}

.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: none;
    max-width: 100%;
    height: auto;
}

.woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

/* Gallery Thumbnails - Miniature Interattive */
.woocommerce-product-gallery__image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    border: none !important;
    box-shadow: none !important;
}

/* Gallery wrapper con transizione smooth */
.woocommerce-product-gallery__wrapper {
    transition: opacity 0.3s ease;
}

/* Flex slider specifico - mostra tutte le miniature in una riga */
.flex-control-nav {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.flex-control-nav li {
    list-style: none;
    margin: 0;
    flex: 0 0 auto;
}

.flex-control-nav img {
    border-radius: 6px;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 80px;
    width: 80px;
    height: auto;
    display: block;
    opacity: 0.5; /* Effetto opaco di base */
}

.flex-control-nav img:hover,
.flex-control-nav li.flex-active img {
    opacity: 1; /* Piena visibilità su hover e quando attiva */
    transform: scale(1.05); /* Leggero feedback di zoom */
}

/* Colonna Contenuti / Dettagli (Destra) */
.woocommerce div.product .summary {
    flex: 1 1 500px;
}

/* Titolo del Prodotto */
.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2c352b;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Prezzo */
.woocommerce div.product p.price, 
.woocommerce div.product span.price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #8E9B84;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Descrizione Breve */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    border-top: 1px solid #eae5df;
    border-bottom: 1px solid #eae5df;
    padding: 20px 0;
}

/* Selettori di Variazione (Attributi come Colore, Scatola, ecc.) */
.woocommerce div.product form.cart .variations {
    margin-bottom: 25px;
    display: table;
    width: 100%;
}

.woocommerce div.product form.cart .variations tr {
    display: table-row;
}

.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td {
    display: table-cell;
    padding: 12px 0;
    font-family: 'Montserrat', sans-serif;
    color: #444;
    vertical-align: middle;
}

.woocommerce div.product form.cart .variations th {
    font-weight: 500;
    width: 30%;
    padding-right: 15px;
    text-align: left;
}

.woocommerce div.product form.cart .variations td {
    width: 70%;
}

/* Select dropdown per le variabili */
.woocommerce div.product form.cart .variations select {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #dcd6cd;
    background-color: #fdfcfa;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    width: 100%;
    max-width: 300px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce div.product form.cart .variations select:hover {
    border-color: #8E9B84;
}

.woocommerce div.product form.cart .variations select:focus {
    border-color: #8E9B84;
    box-shadow: 0 0 0 2px rgba(142, 155, 132, 0.1);
    outline: none;
}

/* Pallini di colore (variabili con swatch di colore) */
.woocommerce div.product form.cart .variations .variable-item {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 8px;
}

.woocommerce div.product form.cart .variations .color,
.woocommerce div.product form.cart .variations .variable-item {
    padding: 8px 12px;
    border: 2px solid #dcd6cd;
    border-radius: 4px;
    background-color: #fdfcfa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .variations .variable-item:hover,
.woocommerce div.product form.cart .variations .color:hover {
    border-color: #8E9B84;
    background-color: #f0ede8;
}

/* Contenitore quantità e pulsante */
.woocommerce div.product form.cart .quantity {
    margin-bottom: 20px;
    margin-right: 15px;
}

.woocommerce div.product form.cart .quantity input.qty {
    padding: 10px 15px;
    border: 1px solid #dcd6cd;
    border-radius: 6px;
    width: 60px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

/* Pulsante "Aggiungi al carrello" */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button.single_add_to_cart_button {
    background-color: #8E9B84 !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    border: none !important;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(142, 155, 132, 0.25);
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #798570 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(142, 155, 132, 0.35);
}

/* Metadati del prodotto (Categorie, SKU) */
.woocommerce div.product .product_meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px dashed #eae5df;
    padding-top: 20px;
    margin-top: 30px;
}

.woocommerce div.product .product_meta span {
    display: block;
    margin-bottom: 8px;
}

.woocommerce div.product .product_meta a {
    color: #8E9B84;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce div.product .product_meta a:hover {
    color: #798570;
    text-decoration: underline;
}

.woocommerce div.product .product_meta .emilune-artisan-brand {
    color: #59694d;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.woocommerce div.product .product_meta .emilune-artisan-brand strong {
    color: #59694d;
    font-weight: 700;
}

/* Stile per eventuali campi di testo aggiuntivi (es. nome per il tag personalizzato) */
.woocommerce-product-attributes-item, 
.extra-product-options input[type="text"],
.woocommerce div.product form.cart input.input-text {
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #dcd6cd;
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfcfa;
    transition: border-color 0.3s ease;
}

.extra-product-options input[type="text"]:focus,
.woocommerce div.product form.cart input.input-text:focus {
    border-color: #8E9B84;
    outline: none;
    box-shadow: 0 0 0 2px rgba(142, 155, 132, 0.1);
}

/* Responsive: su schermi piccoli torna al layout verticale */
@media (max-width: 768px) {
    .woocommerce div.product {
        flex-direction: column;
        gap: 20px;
    }
    
    .woocommerce div.product div.images {
        flex: 1 1 100%;
    }
    
    .woocommerce div.product .summary {
        flex: 1 1 100%;
    }
    
    .woocommerce div.product .product_title,
    .woocommerce div.product h1.product_title {
        font-size: 1.8rem;
    }
    
    .woocommerce div.product form.cart .variations th,
    .woocommerce div.product form.cart .variations td {
        display: block;
        width: 100%;
        padding: 8px 0;
    }
    
    .woocommerce div.product form.cart .variations th {
        padding-bottom: 5px;
    }
}

/* --- NASCONDI PRODOTTI CORRELATI --- */
.related.products {
    display: none !important;
}

.upsells.products {
    display: none !important;
}

/* =========================================================
   PAGINA CONTATTI (NEW DESIGN 2026)
   ========================================================= */

.contacts-page-wrapper {
    max-width: 100%;
    background-color: var(--secondary-color);
    padding: 60px 20px 100px 20px;
}

.contacts-page-wrapper .page-header-section {
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.contacts-page-wrapper .page-title {
    font-family: var(--font-main);
    font-size: 2.6rem;
    color: #2c352b;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 1px;
}

.contacts-page-wrapper .page-subtitle {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
}

/* Griglia asimmetrica: 1.3fr per il form (più largo), 1fr per le info */
.contacts-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Card del Form e delle Info */
.contact-form-card,
.contact-info-card {
    background-color: #ffffff;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* Colonna Info (Riferimenti) */
.contact-info-card {
    border-top: 4px solid var(--primary-color); /* Dettaglio verde salvia */
}

.contact-card-title {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: #2c352b;
    margin-bottom: 25px;
    font-weight: normal;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.info-item-text h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item-text p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.info-item-text a.email-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item-text a.email-link:hover {
    color: #798570;
    text-decoration: underline;
}

.reassurance-divider {
    height: 1px;
    background-color: #eae5df;
    margin: 30px 0;
}

.reassurance-text {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-style: italic;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Social Buttons */
.social-buttons-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    background-color: #fdfcfa;
    border: 1px solid #dcd6cd;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-btn-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f6fdf3;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(142, 155, 132, 0.1);
}

/* Modulo di contatto form styling */
.contact-form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #dcd6cd;
    background-color: #fdfcfa;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(142, 155, 132, 0.12);
    outline: none;
    background-color: #ffffff;
}

/* Privacy Checkbox */
.form-group-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.form-group-privacy input[type="checkbox"] {
    margin-top: 4px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-group-privacy label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.form-group-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group-privacy a:hover {
    color: #798570;
}

/* Campo invisibile destinato ai bot: gli utenti non lo vedono né lo compilano. */
.emilune-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Pulsante Invia */
.btn-submit-contact {
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(142, 155, 132, 0.2);
    margin-top: 10px;
    text-align: center;
}

.btn-submit-contact:hover {
    background-color: #798570;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(142, 155, 132, 0.3);
}

/* Feedback messaggi (successo/errore) */
.contact-alert {
    padding: 15px 20px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.contact-alert-success {
    background-color: #eaf6ea;
    border: 1px solid #c3e6c3;
    color: #2b542c;
}

.contact-alert-error {
    background-color: #fdf2f2;
    border: 1px solid #f8d7da;
    color: #721c24;
}

/* Responsive per Tablet e Cellulari */
@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .contacts-page-wrapper .page-title {
        font-size: 2rem;
    }
    
    .contact-form-card,
    .contact-info-card {
        padding: 30px 20px;
    }
}

/* --- BANNER DI REINDIRIZZAMENTO CONTATTI --- */
.personalize-redirect-banner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

.redirect-banner-icon {
    color: var(--primary-color);
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.redirect-banner-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #444;
}

.redirect-banner-text strong {
    font-size: 1.1rem;
    color: #2c352b;
    display: block;
    margin-bottom: 5px;
}

.redirect-banner-text p {
    margin-bottom: 12px;
    color: #666;
}

.redirect-banner-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.redirect-banner-link:hover {
    color: #798570;
    text-decoration: underline;
}

/* --- FAQ CONTATTI --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #eae5df;
    padding-bottom: 15px;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
    display: block;
}

.faq-answer {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================================
   PAGINA PERSONALIZZA IL TUO EVENTO (LANDING PAGE)
   ========================================================= */

.personalize-page-wrapper {
    background-color: var(--secondary-color);
    padding: 60px 20px 100px 20px;
}

.personalize-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.personalize-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.personalize-title {
    font-family: var(--font-main);
    font-size: 2.8rem;
    color: #2c352b;
    margin-bottom: 25px;
    font-weight: normal;
    letter-spacing: 1px;
}

.personalize-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
}

.personalize-header-cta {
    margin-top: 28px;
}

/* Process Section */
.process-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
}

.section-divider-title {
    font-family: var(--font-main);
    font-size: 2rem;
    color: #2c352b;
    text-align: center;
    margin-bottom: 40px;
    font-weight: normal;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    position: relative;
    border-top: 3px solid #eae5df;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(142, 155, 132, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.process-step-card h3 {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: #2c352b;
    margin-bottom: 15px;
    font-weight: normal;
}

.process-step-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Informazioni pratiche per pianificare un evento personalizzato. */
.event-planning-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
}

.event-planning-card,
.event-timing-card {
    padding: 36px 40px;
    border-radius: 12px;
}

.event-planning-card {
    background: #ffffff;
    border: 1px solid #eae5df;
}

.event-planning-card h2,
.event-timing-card h3 {
    font-family: var(--font-main);
    color: #2c352b;
    font-weight: normal;
    margin-bottom: 14px;
}

.event-planning-card p,
.event-timing-card p,
.event-details-list {
    color: #666;
    line-height: 1.7;
}

.event-details-list {
    margin: 20px 0 0 20px;
}

.event-details-list li + li {
    margin-top: 6px;
}

.event-timing-card {
    background: #e9eddc;
    border: 1px solid #d6dec4;
}

.event-timing-label {
    display: block;
    color: #657253;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

/* Portfolio Section */
.inspiration-section {
    max-width: 1100px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.section-description {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    margin-top: -30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 53, 43, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-overlay span {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Form Richiesta Preventivo */
.quote-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.quote-form-container {
    background-color: #ffffff;
    padding: 55px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.quote-form-title {
    font-family: var(--font-main);
    font-size: 2rem;
    color: #2c352b;
    text-align: center;
    margin-bottom: 15px;
    font-weight: normal;
}

.quote-form-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 40px;
}

.elegant-quote-form .form-group-row-inner {
    display: flex;
    gap: 15px;
    flex: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .event-planning-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .personalize-title {
        font-size: 2.2rem;
    }
    
    .quote-form-container {
        padding: 35px 25px;
    }
    
    .personalize-redirect-banner {
        flex-direction: column;
        padding: 20px;
        gap: 12px;
    }
    
    .elegant-quote-form .form-group-row-inner {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PAGINA POLITICA DI SPEDIZIONE
   ========================================================= */

.shipping-policy-page {
    background-color: var(--secondary-color);
    padding: 60px 20px 100px 20px;
}

.shipping-policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-header {
    text-align: center;
    margin-bottom: 50px;
}

.policy-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
}

.policy-title {
    font-family: var(--font-main);
    font-size: 2.6rem;
    color: #2c352b;
    margin-bottom: 20px;
    font-weight: normal;
    letter-spacing: 1px;
}

.policy-intro {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
}

/* Griglia card delle politiche */
.policy-sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.policy-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(142, 155, 132, 0.08);
}

.policy-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.policy-icon svg {
    width: 100%;
    height: 100%;
}

.policy-card h3 {
    font-family: var(--font-main);
    font-size: 1.4rem;
    color: #2c352b;
    margin-bottom: 15px;
    font-weight: normal;
}

.policy-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.policy-card strong {
    color: #2c2c2c;
}

/* Banner dei costi di spedizione */
.rates-banner-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-color);
    margin-bottom: 50px;
}

.rates-title {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: #2c352b;
    margin-bottom: 25px;
    font-weight: normal;
    text-align: center;
}

.rates-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: #444;
}

.rate-price {
    font-weight: 600;
    color: #2c2c2c;
}

.rate-divider {
    height: 1px;
    background-color: #eae5df;
}

.highlight-rate {
    color: var(--primary-color);
    font-weight: 500;
}

.highlight-rate .rate-price {
    color: var(--primary-color);
    background-color: #f6fdf3;
    padding: 4px 10px;
    border-radius: 4px;
}

/* Box Ricezione (Caution) */
.caution-policy-box {
    display: flex;
    gap: 20px;
    background-color: #fff9f4; /* tonalità calda allerta delicata */
    border-left: 4px solid #e2954a;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.caution-icon {
    color: #e2954a;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}

.caution-icon svg {
    width: 100%;
    height: 100%;
}

.caution-content h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-weight: 600;
}

.caution-content p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.caution-content p:last-of-type {
    margin-bottom: 0;
}

.caution-content strong {
    color: #2c2c2c;
}

.caution-content a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.caution-content a:hover {
    color: #798570;
}

.caution-subtext {
    font-size: 0.85rem !important;
    color: #777 !important;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-sections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rates-banner-card,
    .caution-policy-box {
        padding: 25px 20px;
    }
    
    .caution-policy-box {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-title {
        font-size: 2.1rem;
    }
}

/* =========================================================
   PAGINA POLITICA DI RESO E RIMBORSO
   ========================================================= */

.refund-policy-page {
    background-color: var(--secondary-color);
    padding: 60px 20px 100px 20px;
}

.refund-policy-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Griglia tipologia prodotti */
.product-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 55px;
}

.product-type-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-products-card {
    border-top: 4px solid #cc8d8d; /* Rosso spento per restrizione */
}

.standard-products-card {
    border-top: 4px solid var(--primary-color); /* Verde salvia per permesso */
}

/* Badge di stato */
.card-status-badge {
    align-self: flex-start;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}

.restriction-badge {
    background-color: #fdf2f2;
    color: #a84a4a;
}

.allowance-badge {
    background-color: #f6fdf3;
    color: var(--primary-color);
}

.product-type-card h3 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: #2c352b;
    margin: 5px 0 0 0;
    font-weight: normal;
}

.policy-highlight-text {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.custom-products-card .policy-highlight-text {
    color: #a84a4a;
}

.standard-products-card .policy-highlight-text {
    color: var(--primary-color);
}

.product-type-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

.policy-note {
    font-size: 0.85rem !important;
    color: #777 !important;
    font-style: italic;
    margin-top: auto !important;
    padding-top: 15px;
    border-top: 1px dashed #eae5df;
}

/* Griglia Danni & Assistenza */
.refund-support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.damaged-card .support-icon {
    color: #e2954a; /* Giallo avviso per i danni */
}

.support-icon svg {
    width: 100%;
    height: 100%;
}

.support-card h4 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    color: #2c352b;
    margin: 0;
    font-weight: normal;
}

.support-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.support-card a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.support-card a:hover {
    color: #798570;
}

.sub-detail {
    font-size: 0.85rem !important;
    color: #777 !important;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .product-types-grid,
    .refund-support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-type-card,
    .support-card {
        padding: 30px 20px;
    }
}

/* =========================================================
   PAGINA PRIVACY & COOKIE POLICY
   ========================================================= */

.privacy-policy-page {
    background-color: var(--secondary-color);
    padding: 60px 20px 100px 20px;
}

.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-update-date {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
}

.privacy-index-nav {
    background-color: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px 35px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.index-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.privacy-index-nav ol {
    list-style: decimal;
    padding-left: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 30px;
    margin: 0;
}

.privacy-index-nav li a {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-index-nav li a:hover {
    color: var(--primary-color);
}

.privacy-sections {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.privacy-section {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.03);
    padding: 40px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.section-number {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.section-content { flex: 1; }

.section-content h2 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: #2c352b;
    font-weight: normal;
    margin-bottom: 15px;
}

.section-content p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 15px;
}

.privacy-email-link {
    color: var(--primary-color);
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
    display: inline-block;
}

.privacy-email-link:hover { color: #798570; }

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.privacy-list li {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.privacy-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.privacy-note-inline {
    background-color: #f6fdf3;
    border-left: 3px solid var(--primary-color);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.9rem !important;
    color: #555 !important;
    margin-top: 10px;
}

.data-types-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.data-type-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eae5df;
}

.data-type-item:last-child { border-bottom: none; padding-bottom: 0; }

.data-type-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex: 0 0 24px;
    margin-top: 2px;
}

.data-type-icon svg { width: 100%; height: 100%; }

.data-type-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #2c2c2c;
    margin-bottom: 5px;
}

.data-type-item p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0 !important;
}

.cookie-types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cookie-type-card {
    background-color: #fdfcfa;
    border: 1px solid #eae5df;
    border-radius: 8px;
    padding: 25px;
}

.cookie-type-card h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.cookie-type-card p { font-size: 0.9rem !important; margin-bottom: 0 !important; }

.gdpr-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.gdpr-right-item {
    background-color: #fdfcfa;
    border: 1px solid #eae5df;
    border-radius: 8px;
    padding: 20px;
}

.gdpr-right-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.gdpr-right-item p {
    font-size: 0.85rem !important;
    color: #666 !important;
    line-height: 1.5;
    margin: 0 !important;
}

.garante-notice {
    background-color: #f6fdf3;
    border: 1px solid #c7dfc1;
    border-radius: 8px;
    padding: 20px 25px;
    margin-top: 20px;
}

.garante-notice strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #2c352b;
    margin-bottom: 8px;
}

.garante-notice p { font-size: 0.9rem !important; color: #555 !important; margin: 0 !important; }
.garante-notice a { color: var(--primary-color); text-decoration: underline; }
.garante-notice a:hover { color: #798570; }

.rights-section {
    background-color: #fafdf8;
    border: 1px solid #dce8d6;
}

@media (max-width: 768px) {
    .privacy-index-nav ol { grid-template-columns: 1fr; }
    .privacy-section { flex-direction: column; gap: 15px; padding: 25px 20px; }
    .gdpr-rights-grid { grid-template-columns: repeat(2, 1fr); }
    .cookie-types-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .gdpr-rights-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SISTEMA VISIVO CONDIVISO
   Mantiene tutte le pagine allineate alla gerarchia della home.
   ========================================================= */

/* Titoli di pagina: stessa voce editoriale della home. */
.collections-header h1,
.emilune-category-title,
.contacts-page-wrapper .page-title,
.chi-siamo-page .page-header .page-title,
.personalize-title,
.policy-title {
    font-family: var(--font-main);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-color);
}

/* Il template categoria include regole locali dopo style.css. */
.emilune-category-title {
    font-size: 2rem !important;
    font-family: var(--font-main) !important;
    font-weight: 400 !important;
    color: var(--text-color) !important;
}

/* Le intestazioni interne adottano l'allineamento arioso della home. */
.collections-header,
.contacts-page-wrapper .page-header-section,
.chi-siamo-page .page-header,
.personalize-header,
.policy-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.collections-header p,
.contacts-page-wrapper .page-subtitle,
.personalize-subtitle,
.policy-intro,
.chi-siamo-page .page-header p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    line-height: 1.7;
}

/* Le categorie WooCommerce attive usano un blocco Gutenberg separato dal template PHP. */
.woocommerce .wp-block-heading.has-cardo-font-family {
    font-family: var(--font-main) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    letter-spacing: 1px;
    color: var(--text-color) !important;
}

/* Titoli di sezione: equivalenti a "Le Collezioni" in home. */
.section-title,
.about-text h2,
.section-divider-title,
.quote-form-title,
.rates-title {
    font-family: var(--font-main);
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--text-color);
}

/* Titoli delle card e dei blocchi informativi. */
.collection-card h3,
.contact-card-title,
.process-step-card h3,
.policy-card h3,
.product-type-card h3,
.section-content h2,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-main) !important;
    font-weight: 400;
    color: var(--text-color) !important;
}

/* Card prodotto: immagini e informazioni rimangono ordinate e confrontabili. */
.woocommerce ul.products li.product a img {
    aspect-ratio: 4 / 3;
    background-color: #faf9f6;
    display: block;
    margin: 0 auto 18px;
    object-fit: contain;
    width: 100%;
}

.emilune-product-badge {
    background-color: #edf1e5;
    border: 1px solid #d2dbc2;
    color: #59654d;
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.7px;
    margin: 2px 0 10px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.emilune-loop-product-description {
    color: #6d6a65;
    display: -webkit-box;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 auto 12px;
    max-width: 30ch;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.woocommerce ul.products li.product .price {
    color: #394334 !important;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px !important;
}

.emilune-product-detail-button,
.emilune-single-product-contact .button {
    background-color: #C8D6B9 !important;
    border: 2px solid #9EAF8E !important;
    border-radius: 4px !important;
    color: #2c2c2c !important;
    display: inline-block !important;
    font-family: var(--font-sans) !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

body .price,
body .amount,
body .woocommerce-Price-amount,
body .single_add_to_cart_button,
body .add_to_cart_button,
body .woocommerce-mini-cart__buttons,
body .menu-item.emilune-cart-menu-item,
body .wc-block-grid__product-add-to-cart,
body .woocommerce-Reviews,
body .woocommerce-Tabs-panel--reviews,
body #reviews,
body .commentlist,
body .stars,
body .woocommerce-product-rating {
    display: none !important;
}

/* Informazioni essenziali nella scheda prodotto. */
.emilune-variations-intro {
    color: #666;
    font-family: var(--font-sans);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0 0 18px;
}

.emilune-product-reassurance {
    background: #f7f8f2;
    border-left: 3px solid #9eaf8e;
    margin: 24px 0 14px;
    padding: 16px 20px;
}

.emilune-product-reassurance ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.emilune-product-reassurance li {
    color: #555;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
}

.emilune-product-reassurance li + li {
    margin-top: 8px;
}

.emilune-product-reassurance li::before {
    color: #718061;
    content: '✓';
    left: 0;
    position: absolute;
}

.emilune-product-event-cta {
    color: #666;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 22px;
}

.emilune-product-event-cta a {
    color: #59694d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* I nomi delle collezioni restano leggibili sulle immagini scure. */
.collection-card h3 {
    color: #FFFFFF !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* CTA: un solo linguaggio visivo, derivato dal pulsante della home. */
.emilune-btn,
.emilune-btn-small,
.btn-submit-contact,
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart .button,
body .emilune-products-wrapper ul.products li.product .button {
    background-color: #C8D6B9 !important;
    border: 2px solid #9EAF8E !important;
    border-radius: 4px !important;
    color: #2c2c2c !important;
    font-family: var(--font-sans) !important;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.emilune-btn:hover,
.emilune-btn-small:hover,
.btn-submit-contact:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce div.product form.cart .button:hover,
body .emilune-products-wrapper ul.products li.product .button:hover {
    background-color: #B4C4A3 !important;
    border-color: #879977 !important;
    color: #2c2c2c !important;
}

@media (max-width: 768px) {
    .collections-header h1,
    .emilune-category-title,
    .contacts-page-wrapper .page-title,
    .chi-siamo-page .page-header .page-title,
    .personalize-title,
    .policy-title {
        font-size: 1.75rem !important;
    }

    .section-title,
    .about-text h2,
    .section-divider-title,
    .quote-form-title,
    .rates-title {
        font-size: 1.625rem;
    }
}

/* =========================================================
   STILI TEMPLATE CENTRALIZZATI
   Regole spostate dai template PHP per mantenere il markup pulito.
   ========================================================= */

/* Home: immagine della sezione Chi siamo. */
.about-section .about-image {
    background-size: cover;
    background-position: center;
    width: 320px;
    height: 240px;
    border-radius: 4px;
    border: 1px solid #E2DDD5;
}

/* Pagina Contatti: varianti prima definite inline. */
.info-item-text--full {
    width: 100%;
}

.contact-card-title--faq {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Pagina Personalizza evento: CTA del preventivo. */
.quote-submit-button {
    width: 100%;
    margin-top: 15px;
}

/* Scheda prodotto. */
.emilune-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Pagina Chi siamo. */
.chi-siamo-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: inherit;
    color: #333;
    line-height: 1.8;
}

.chi-siamo-page .page-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #8E9B84;
    text-transform: uppercase;
}

.chi-siamo-page section {
    margin-bottom: 60px;
}

.chi-siamo-page .uniform-text {
    font-size: 1.2rem;
    font-weight: normal;
    text-align: left;
}

.chi-siamo-page .justified-text {
    text-align: justify;
}

.chi-siamo-page .content-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.chi-siamo-page .text-col {
    flex: 1 1 520px;
}

.chi-siamo-page .image-col {
    flex: 0 0 320px;
    max-width: 320px;
    margin: 0 auto;
}

.chi-siamo-page .image-col img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: block;
}

.chi-siamo-page h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #8E9B84;
    text-transform: uppercase;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.chi-siamo-page .uniform-values-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.chi-siamo-page .uniform-values-list li {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: normal;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.chi-siamo-page .uniform-values-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #c5b39c;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
}

.chi-siamo-page .uniform-values-list strong {
    color: #2c2c2c;
}

.chi-siamo-page .conclusion-section {
    text-align: left;
    max-width: 100%;
    margin: 0;
}

.chi-siamo-page .quote-footer {
    margin-top: 20px;
    color: #666;
}

@media (max-width: 768px) {
    .chi-siamo-page .content-row {
        flex-direction: column;
    }

    .chi-siamo-page .image-col {
        flex: 1 1 100%;
        max-width: 100%;
        order: -1;
    }

    .chi-siamo-page .image-col img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* Categorie prodotto WooCommerce. */
.emilune-category-page {
    padding: 60px 4% 90px 4%;
    background-color: var(--bg-color, #FAF8F5);
    min-height: 60vh;
}

.emilune-category-container {
    max-width: 1200px;
    margin: 0 auto;
}

.emilune-category-header {
    text-align: center;
    margin-bottom: 50px;
}

.emilune-category-title {
    font-family: var(--font-main, serif);
    font-size: 38px;
    font-weight: 400;
    color: var(--text-color, #2C2A29);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}

.emilune-category-divider {
    width: 60px;
    height: 1px;
    background-color: #D3CEC4;
    margin: 0 auto;
}

.emilune-products-wrapper ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.emilune-products-wrapper ul.products li.product {
    background: #ffffff !important;
    border: 1px solid #EAE6DF !important;
    border-radius: 0 !important;
    padding: 25px !important;
    margin: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 640px !important;
    width: auto !important;
    flex: 0 0 320px !important;
}

.emilune-products-wrapper ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.emilune-products-wrapper ul.products li.product img {
    margin-bottom: 20px;
    width: 100%;
    height: 220px !important;
    object-fit: contain;
    background-color: #faf9f6;
}

.emilune-products-wrapper ul.products li.product h2 {
    font-family: var(--font-main, serif) !important;
    font-size: 20px !important;
    color: var(--text-color, #2C2A29) !important;
    margin: 12px 0 !important;
}

.emilune-products-wrapper ul.products li.product .price {
    color: #666 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
}

.emilune-products-wrapper ul.products li.product .button {
    background-color: var(--text-color, #2C2A29) !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 1.5px;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    margin-top: auto;
    transition: background 0.2s ease;
}

.emilune-products-wrapper ul.products li.product .button:hover {
    background-color: #444 !important;
}

@media (max-width: 700px) {
    .emilune-products-wrapper ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 12px !important;
    }
}

/* Firma del produttore nella scheda prodotto.
 * Il fallback :last-of-type copre anche versioni WooCommerce Brands precedenti
 * al filtro woocommerce_product_brands_output.
 */
.woocommerce div.product .product_meta > span.posted_in.emilune-brand-signature {
    color: #59694d;
    font-weight: 500;
}

.woocommerce div.product .product_meta > span.posted_in.emilune-brand-signature a {
    color: #59694d;
    font-weight: 700;
}

/* Fallback legacy: WooCommerce Brands stampa il marchio come ultimo posted_in. */
.woocommerce div.product .product_meta > span.posted_in:last-of-type {
    font-size: 0;
}

.woocommerce div.product .product_meta > span.posted_in:last-of-type::before {
    content: "Creazione artigianale ";
    color: #59694d;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
}

.woocommerce div.product .product_meta > span.posted_in:last-of-type a {
    color: #59694d;
    font-size: 0.85rem;
    font-weight: 700;
}



/* =========================================================
   MENU MOBILE
   Menu hamburger compatto e leggibile su smartphone.
   ========================================================= */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .site-branding {
        padding: 10px 14px;
    }

    .brand-link {
        max-width: 100%;
        gap: 10px;
    }

    .header-logo {
        max-height: 44px;
        flex: 0 0 auto;
    }

    .site-title-text {
        font-size: clamp(24px, 8vw, 30px);
        letter-spacing: 2px;
    }

    .site-tagline-text {
        font-size: 11px !important;
    }

    .main-navigation {
        margin-top: 2px;
        padding: 0;
        position: relative;
        text-align: left;
    }

    .menu-toggle {
        appearance: none;
        align-items: center;
        background: transparent;
        border: 0;
        color: var(--text-color);
        cursor: pointer;
        display: flex;
        font-family: var(--font-sans);
        font-size: 13px;
        font-weight: 600;
        gap: 9px;
        justify-content: center;
        letter-spacing: 1px;
        margin: 0 auto;
        min-height: 50px;
        padding: 10px 18px;
        text-transform: uppercase;
        width: 100%;
    }

    .menu-toggle-icon {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        width: 21px;
    }

    .menu-toggle-icon span {
        background: currentColor;
        display: block;
        height: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
        width: 100%;
    }

    .main-navigation.mobile-menu-ready > ul,
    .main-navigation.mobile-menu-ready > div > ul {
        display: none;
    }

    .main-navigation.mobile-menu-ready.is-open > ul,
    .main-navigation.mobile-menu-ready.is-open > div > ul {
        display: flex;
    }

    .main-navigation ul {
        align-items: stretch;
        background: var(--menu-bg);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0 14px 12px;
        width: 100%;
    }

    .main-navigation li {
        border-top: 1px solid rgba(44, 44, 44, 0.14);
        width: 100%;
    }

    .main-navigation li:last-child {
        border-bottom: 1px solid rgba(44, 44, 44, 0.14);
    }

    .main-navigation a {
        display: block;
        font-size: 13px;
        letter-spacing: 0.8px;
        padding: 12px 6px;
        text-align: center;
        width: 100%;
    }

    .main-navigation a::after {
        display: none;
    }

    .main-navigation.is-open .menu-toggle-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .main-navigation.is-open .menu-toggle-icon span:nth-child(2) {
        opacity: 0;
    }

    .main-navigation.is-open .menu-toggle-icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}

@media (max-width: 380px) {
    .site-title-text {
        font-size: 23px;
        letter-spacing: 1.5px;
    }

    .header-logo {
        max-height: 40px;
    }

    .main-navigation a {
        font-size: 12px;
    }
}


/* MOBILE: COLLEZIONI DUE PER RIGA */
@media (max-width: 600px) {
    .collections-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .collections-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 260px;
        column-gap: 16px;
        row-gap: 14px;
        align-items: stretch;
        width: 100%;
    }

    .collection-card {
        width: 100%;
        min-width: 0;
        height: 260px;
        padding: 12px 8px;
        border-radius: 8px;
        transform: none;
    }

    .collection-card:hover {
        transform: none;
    }

    .collection-card h3 {
        font-size: 20px;
        line-height: 1.05;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
    }

    .collection-content p {
        font-size: 11px;
        line-height: 1.25;
        margin-bottom: 8px;
    }

    .collection-card .emilune-btn-small {
        width: 100%;
        max-width: 100%;
        padding: 8px 5px;
        font-size: 9px;
        line-height: 1.15;
        letter-spacing: 0.45px;
        white-space: normal;
    }
}


/* MOBILE: HOME CHI SIAMO E NEWSLETTER */
@media (max-width: 600px) {
    body.home .about-section {
        padding: 38px 16px 34px;
    }

    body.home .about-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        width: 100%;
        max-width: 100%;
    }

    body.home .about-section .about-image {
        width: 100%;
        height: 220px;
        margin: 0;
        border-radius: 10px;
        background-position: center;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    body.home .about-text {
        width: 100%;
        text-align: center;
    }

    body.home .about-text h2 {
        font-size: 30px !important;
        line-height: 1.15;
        margin: 0 0 14px;
    }

    body.home .about-text p {
        max-width: 34ch;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.65;
        color: #555;
    }

    body.home .about-button-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin: 22px auto 0;
    }

    body.home .about-button-container .emilune-btn {
        width: 100%;
        padding: 12px 14px !important;
        font-size: 11px !important;
        line-height: 1.3;
        letter-spacing: 1px;
        text-align: center;
    }

    body.home .newsletter-section {
        padding: 30px 16px 34px;
        overflow: hidden;
    }

    body.home .newsletter-content {
        width: 100%;
        max-width: 100%;
    }

    body.home .newsletter-eyebrow {
        font-size: 11px;
        letter-spacing: 0.16em;
        margin-bottom: 8px;
    }

    body.home .newsletter-content h2 {
        max-width: 12ch;
        margin: 0 auto 16px;
        font-size: 29px;
        line-height: 1.08;
    }

    body.home .newsletter-form {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        gap: 10px;
    }

    body.home .newsletter-form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }

    body.home .newsletter-form input,
    body.home .newsletter-form button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 46px;
        margin: 0;
    }

    body.home .newsletter-form button {
        padding: 10px 14px;
        font-size: 12px;
    }

    body.home .newsletter-consent {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        margin-top: 2px;
    }

    body.home .newsletter-consent label {
        align-items: flex-start;
        width: 100%;
        font-size: 11px;
        line-height: 1.45;
        text-align: left;
    }

    body.home .newsletter-consent input {
        width: 16px;
        min-width: 16px;
        height: 16px;
        margin-top: 1px;
    }

    body.home .newsletter-intro,
    body.home .newsletter-note {
        max-width: 36ch;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0;
        text-align: center;
    }

    body.home .newsletter-intro {
        margin-top: 14px !important;
        font-size: 12px;
        line-height: 1.45;
    }

    body.home .newsletter-note {
        margin-top: 6px !important;
        font-size: 11px;
        line-height: 1.4;
    }
}


/* MOBILE: FIX OVERFLOW NEWSLETTER E FOOTER */
@media (max-width: 600px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.home .newsletter-section,
    .site-footer {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.home .newsletter-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.home .newsletter-content,
    body.home .newsletter-form,
    body.home .newsletter-form-row,
    body.home .newsletter-consent {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.home .newsletter-form-row input,
    body.home .newsletter-form button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.home .newsletter-consent input[type="checkbox"] {
        flex: 0 0 16px;
        width: 16px;
        max-width: 16px;
        min-width: 16px;
        height: 16px;
    }

    body.home .newsletter-consent label,
    body.home .newsletter-intro,
    body.home .newsletter-note {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .site-footer {
        padding: 26px 16px 24px;
        overflow: hidden;
    }

    .footer-content-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 14px;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
    }

    .footer-links a,
    .footer-cookie-settings {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        width: 100%;
        padding: 7px 5px;
        font-size: 11px;
        line-height: 1.35;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer-socials {
        display: flex;
        justify-content: center;
        gap: 14px;
        width: 100%;
        max-width: 100%;
    }

    .footer-socials a {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .copyright {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding-top: 2px;
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}


/* MOBILE: PERSONALIZZA EVENTO COMPATTA */
.process-copy--mobile,
.mobile-event-summary {
    display: none;
}

@media (max-width: 600px) {
    .personalize-page-wrapper {
        padding: 30px 14px 48px;
    }

    .personalize-header {
        margin: 0 auto 34px;
        max-width: 100%;
    }

    .personalize-tagline {
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
        margin-bottom: 10px;
    }

    .personalize-title {
        font-size: 2rem !important;
        line-height: 1.08;
        margin-bottom: 14px;
        letter-spacing: 0.5px;
    }

    .personalize-subtitle {
        max-width: 34ch;
        margin: 0 auto;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .personalize-header-cta {
        display: block;
        width: min(100%, 340px);
        margin: 20px auto 0;
        padding: 11px 12px !important;
        font-size: 0.76rem !important;
    }

    .process-section {
        margin: 0 auto 34px;
    }

    .process-section .section-divider-title {
        font-size: 1.65rem !important;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
        align-items: stretch;
    }

    .process-step-card {
        min-height: 168px;
        padding: 16px 10px 14px;
        border-radius: 10px;
        border-top-width: 2px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .process-step-card:hover {
        transform: none;
    }

    .step-number {
        width: 30px;
        height: 30px;
        margin: 0 auto 10px;
        font-size: 0.85rem;
    }

    .process-step-card h3 {
        min-height: 2.4em;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem !important;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .process-copy--desktop {
        display: none;
    }

    .process-copy--mobile {
        display: block;
        font-size: 0.72rem !important;
        line-height: 1.4 !important;
        margin: 0;
    }

    .event-planning-section {
        display: none;
    }

    .mobile-event-summary {
        display: block;
        margin: 0 auto 34px;
        padding: 20px 16px;
        background: #ffffff;
        border: 1px solid #e5e1d9;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .mobile-event-summary h2 {
        font-family: var(--font-main);
        color: #2c352b;
        font-size: 1.45rem;
        font-weight: 400;
        line-height: 1.15;
        text-align: center;
        margin: 0 0 16px;
    }

    .mobile-event-summary-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .mobile-event-summary-grid > div {
        padding: 12px 13px;
        background: #f7f8f2;
        border-radius: 8px;
        text-align: left;
    }

    .mobile-event-summary strong {
        display: block;
        color: #657253;
        font-family: var(--font-sans);
        font-size: 0.72rem;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .mobile-event-summary p {
        color: #62645f;
        font-family: var(--font-sans);
        font-size: 0.78rem;
        line-height: 1.45;
        margin: 0;
    }

    .inspiration-section {
        margin: 0 auto 36px;
    }

    .inspiration-section .section-divider-title {
        font-size: 1.55rem !important;
        line-height: 1.15;
        margin-bottom: 10px;
    }

    .inspiration-section .section-description {
        max-width: 34ch;
        margin: 0 auto 18px;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .portfolio-item {
        height: 145px;
        border-radius: 8px;
    }

    .portfolio-overlay {
        display: none;
    }

    .quote-form-section {
        width: 100%;
        max-width: 100%;
    }

    .quote-form-container {
        padding: 24px 16px 22px !important;
        border-radius: 12px;
    }

    .quote-form-title {
        font-size: 1.65rem !important;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .quote-form-subtitle {
        max-width: 34ch;
        margin: 0 auto 22px;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .elegant-quote-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .elegant-quote-form .form-group-row,
    .elegant-quote-form .form-group-row-inner {
        gap: 12px !important;
    }

    .elegant-quote-form .form-group {
        gap: 5px;
    }

    .elegant-quote-form .form-group label {
        font-size: 0.7rem;
        line-height: 1.3;
        letter-spacing: 0.45px;
    }

    .elegant-quote-form .form-group input[type="text"],
    .elegant-quote-form .form-group input[type="email"],
    .elegant-quote-form .form-group input[type="tel"],
    .elegant-quote-form .form-group input[type="date"],
    .elegant-quote-form .form-group select,
    .elegant-quote-form .form-group textarea {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .elegant-quote-form .form-group input,
    .elegant-quote-form .form-group select {
        min-height: 44px;
    }

    .elegant-quote-form .form-group textarea {
        min-height: 112px;
    }

    .elegant-quote-form .form-group-privacy {
        gap: 8px;
        margin-top: 2px;
    }

    .elegant-quote-form .form-group-privacy label {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .quote-submit-button {
        margin-top: 4px;
        padding: 11px 12px !important;
        font-size: 0.74rem !important;
        line-height: 1.3;
    }
}



/* MOBILE: CTA PRE-LANCIO PERSONALIZZAZIONI */
@media (max-width: 600px) {
    .personalize-page-wrapper {
        padding-bottom: 28px;
    }

    .quote-form-section--showroom {
        margin-top: 0;
    }

    .quote-form-container--showroom {
        padding: 20px 18px 18px !important;
        border-radius: 12px;
    }

    .quote-form-container--showroom .quote-form-title {
        max-width: 24ch;
        margin: 0 auto 10px;
        font-size: 1.35rem !important;
        line-height: 1.12;
        letter-spacing: 0.2px;
    }

    .quote-form-container--showroom .quote-form-subtitle {
        max-width: 31ch;
        margin: 0 auto 16px;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .quote-showroom-cta {
        display: block;
        width: min(100%, 300px);
        margin: 0 auto !important;
        padding: 10px 12px !important;
        font-size: 0.72rem !important;
        line-height: 1.25;
        letter-spacing: 1.1px;
    }
}

/* MOBILE: FIX CATALOGO PRODOTTI */
@media (max-width: 700px) {
    .emilune-category-page {
        width: 100%;
        max-width: 100%;
        padding: 36px 14px 60px;
        box-sizing: border-box;
        overflow: visible;
    }

    .emilune-category-container,
    .emilune-products-wrapper,
    .woocommerce {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .emilune-category-header {
        margin-bottom: 28px;
    }

    .emilune-category-title {
        font-size: 28px !important;
        line-height: 1.15;
        letter-spacing: 1px;
    }

    .emilune-products-wrapper ul.products,
    .woocommerce .emilune-products-wrapper ul.products {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        overflow: visible !important;
    }

    .emilune-products-wrapper ul.products li.product,
    .woocommerce .emilune-products-wrapper ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 420px !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        margin: 0 auto !important;
        padding: 18px !important;
        box-sizing: border-box !important;
        transform: none !important;
    }

    .emilune-products-wrapper ul.products li.product:hover {
        transform: none !important;
    }

    .emilune-products-wrapper ul.products li.product a,
    .emilune-products-wrapper ul.products li.product .woocommerce-loop-product__link {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .emilune-products-wrapper ul.products li.product img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 220px !important;
        object-fit: contain !important;
        margin: 0 auto 14px !important;
    }
}


/* MOBILE: CHI SIAMO COERENTE CON PERSONALIZZA */
@media (max-width: 600px) {
    .chi-siamo-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .chi-siamo-page .page-header.chi-siamo-hero {
        max-width: 100%;
        margin: 0 auto 34px;
        text-align: center;
    }

    .chi-siamo-tagline {
        display: block;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-family: var(--font-sans);
        font-size: 0.7rem;
        font-weight: 500;
        letter-spacing: 1.7px;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .chi-siamo-page .page-title {
        margin: 0 0 14px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        letter-spacing: 0.5px;
        line-height: 1.08;
        text-transform: none;
    }

    .chi-siamo-subtitle {
        max-width: 34ch;
        margin: 0 auto;
        color: #555;
        font-family: var(--font-sans);
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .chi-siamo-page .entry-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .chi-siamo-page section.chi-siamo-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 16px;
        padding: 20px 16px;
        background: #ffffff;
        border: 1px solid #e5e1d9;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
        box-sizing: border-box;
    }

    .chi-siamo-page .story-section {
        text-align: left;
    }

    .chi-siamo-page .uniform-text,
    .chi-siamo-page .uniform-values-list li {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .chi-siamo-page .justified-text {
        text-align: left;
    }

    .chi-siamo-page .story-section .uniform-text + .uniform-text {
        margin-top: 10px;
    }

    .chi-siamo-page .content-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .chi-siamo-page .text-col,
    .chi-siamo-page .image-col {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .chi-siamo-page .image-col {
        order: -1;
        margin: 0;
    }

    .chi-siamo-page .image-col img {
        display: block;
        width: 100%;
        height: 180px;
        aspect-ratio: auto;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: none;
    }

    .chi-siamo-page h2 {
        margin: 0 0 12px;
        padding: 0 0 8px;
        color: #2c352b;
        border-bottom: 1px solid #e5e1d9;
        font-family: var(--font-main);
        font-size: 1.45rem !important;
        font-weight: 400;
        line-height: 1.15;
        text-align: center;
        text-transform: none;
    }

    .chi-siamo-page .uniform-values-list {
        display: grid;
        gap: 9px;
        margin: 0;
    }

    .chi-siamo-page .uniform-values-list li {
        margin: 0;
        padding: 11px 12px 11px 28px;
        background: #f7f8f2;
        border-radius: 8px;
    }

    .chi-siamo-page .uniform-values-list li::before {
        left: 12px;
        top: 12px;
        font-size: 1rem;
        color: #7c8d6c;
    }

    .chi-siamo-page .conclusion-section {
        text-align: left;
    }

    .chi-siamo-page .quote-footer {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e5e1d9;
        color: #657253;
        text-align: center;
    }

    .chi-siamo-cta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        max-width: 360px;
        margin: 20px auto 0;
    }

    .chi-siamo-cta .emilune-btn {
        width: 100%;
        padding: 11px 12px !important;
        font-size: 0.76rem !important;
        line-height: 1.3;
        text-align: center;
    }
}


/* MOBILE: CONTATTI COERENTI CON PERSONALIZZA */
@media (max-width: 600px) {
    .contacts-page-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .contacts-page-wrapper .page-header-section.contacts-hero {
        max-width: 100%;
        margin: 0 auto 34px;
        text-align: center;
    }

    .contacts-tagline {
        display: block;
        margin-bottom: 10px;
        color: var(--primary-color);
        font-family: var(--font-sans);
        font-size: 0.7rem;
        font-weight: 500;
        letter-spacing: 1.7px;
        line-height: 1.35;
        text-transform: uppercase;
    }

    .contacts-page-wrapper .page-title {
        margin: 0 0 14px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        letter-spacing: 0.5px;
        line-height: 1.08;
    }

    .contacts-page-wrapper .page-subtitle {
        max-width: 34ch;
        margin: 0 auto;
        color: #555;
        font-family: var(--font-sans);
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .personalize-redirect-banner {
        display: grid;
        grid-template-columns: 30px 1fr;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 18px;
        padding: 16px 14px;
        border-left-width: 3px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .redirect-banner-icon {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }

    .redirect-banner-text {
        min-width: 0;
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .redirect-banner-text strong {
        margin-bottom: 5px;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .redirect-banner-text p {
        margin-bottom: 8px;
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .redirect-banner-link {
        font-size: 0.76rem;
    }

    .contacts-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .contact-form-card,
    .contact-info-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
        border-radius: 12px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .contact-info-card {
        border-top-width: 3px;
    }

    .contact-card-title {
        margin: 0 0 16px;
        color: #2c352b;
        font-family: var(--font-main) !important;
        font-size: 1.45rem !important;
        font-weight: 400;
        line-height: 1.15;
        text-align: center;
    }

    .contact-form-card form {
        gap: 12px;
    }

    .contact-form-card .form-group {
        gap: 5px;
    }

    .contact-form-card .form-group label {
        font-size: 0.7rem;
        line-height: 1.3;
        letter-spacing: 0.45px;
    }

    .contact-form-card .form-group input[type="text"],
    .contact-form-card .form-group input[type="email"],
    .contact-form-card .form-group textarea {
        min-width: 0;
        width: 100%;
        padding: 11px 12px;
        font-size: 0.85rem;
        box-sizing: border-box;
    }

    .contact-form-card .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

    .contact-form-card .form-group-privacy {
        gap: 8px;
        margin-top: 0;
    }

    .contact-form-card .form-group-privacy input[type="checkbox"] {
        flex: 0 0 16px;
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }

    .contact-form-card .form-group-privacy label {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .btn-submit-contact {
        width: 100%;
        margin-top: 2px;
        padding: 11px 12px;
        border: 2px solid #9EAF8E;
        border-radius: 4px;
        background-color: #C8D6B9;
        color: #2c2c2c;
        box-shadow: none;
        font-size: 0.76rem;
        letter-spacing: 1px;
    }

    .btn-submit-contact:hover {
        transform: none;
        box-shadow: none;
    }

    .info-item {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 10px;
        margin-bottom: 14px;
        padding: 12px 13px;
        background: #f7f8f2;
        border-radius: 8px;
    }

    .info-item-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .info-item-text {
        min-width: 0;
    }

    .info-item-text h4 {
        margin-bottom: 3px;
        font-size: 0.7rem;
        line-height: 1.3;
        letter-spacing: 0.7px;
    }

    .info-item-text p,
    .info-item-text a.email-link {
        font-size: 0.78rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .social-buttons-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        width: 100%;
        margin-top: 9px;
    }

    .social-btn-link {
        min-width: 0;
        padding: 8px 4px;
        gap: 4px;
        font-size: 0.64rem;
        line-height: 1.2;
    }

    .social-btn-link svg {
        width: 14px;
        height: 14px;
    }

    .reassurance-divider {
        margin: 18px 0;
    }

    .contact-card-title--faq {
        margin-bottom: 12px;
        font-size: 1.3rem !important;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-item {
        padding: 12px 13px;
        border: 0;
        border-radius: 8px;
        background: #f7f8f2;
    }

    .faq-question {
        margin-bottom: 5px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .faq-answer {
        margin: 0;
        font-size: 0.74rem;
        line-height: 1.45;
    }

    .contact-alert {
        padding: 11px 12px;
        margin-bottom: 14px;
        font-size: 0.78rem;
        line-height: 1.4;
    }
}


/* CATALOGO MOBILE ROBUSTO */
.emilune-no-products {
    max-width: 520px;
    margin: 20px auto;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5e1d9;
    border-radius: 10px;
    color: #666;
    font-family: var(--font-sans);
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 700px) {
    body.tax-product_cat .emilune-category-page,
    body.tax-product_cat .emilune-category-container,
    body.tax-product_cat .emilune-products-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products::before,
    body.tax-product_cat .emilune-products-wrapper ul.products::after {
        display: none !important;
        content: none !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product {
        display: flex !important;
        float: none !important;
        clear: none !important;
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        max-width: 420px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 16px !important;
        box-sizing: border-box !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product a,
    body.tax-product_cat .emilune-products-wrapper ul.products li.product img {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        object-fit: contain !important;
        margin: 0 auto 14px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    body.tax-product_cat .emilune-no-products {
        margin: 10px 0 0;
        font-size: 0.85rem;
    }
}


/* MOBILE: RESI E RIMBORSI COERENTE CON PERSONALIZZA */
@media (max-width: 600px) {
    .refund-policy-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .refund-policy-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .refund-policy-page .policy-header {
        max-width: 100%;
        margin: 0 auto 34px;
        text-align: center;
    }

    .refund-policy-page .policy-tagline {
        margin-bottom: 10px;
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
    }

    .refund-policy-page .policy-title {
        margin: 0 0 14px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: 0.5px;
    }

    .refund-policy-page .policy-intro {
        max-width: 34ch;
        margin: 0 auto;
        color: #555;
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .refund-policy-page .product-types-grid,
    .refund-policy-page .refund-support-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
        max-width: 100%;
    }

    .refund-policy-page .product-types-grid {
        margin-bottom: 14px;
    }

    .refund-policy-page .product-type-card,
    .refund-policy-page .support-card {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 12px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
        gap: 10px;
    }

    .refund-policy-page .custom-products-card,
    .refund-policy-page .standard-products-card {
        border-top-width: 3px;
    }

    .refund-policy-page .card-status-badge {
        padding: 4px 8px;
        font-size: 0.62rem;
        line-height: 1.25;
        letter-spacing: 0.7px;
    }

    .refund-policy-page .product-type-card h3 {
        margin: 2px 0 0;
        font-family: var(--font-main);
        font-size: 1.4rem !important;
        font-weight: 400;
        line-height: 1.15;
    }

    .refund-policy-page .policy-highlight-text {
        margin: 0;
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .refund-policy-page .product-type-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .refund-policy-page .policy-note {
        margin-top: 2px !important;
        padding-top: 10px;
        font-size: 0.72rem !important;
        line-height: 1.45;
    }

    .refund-policy-page .support-card {
        display: grid;
        grid-template-columns: 28px 1fr;
        column-gap: 10px;
        row-gap: 7px;
        align-items: start;
    }

    .refund-policy-page .support-icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 24px;
        height: 24px;
        margin-top: 1px;
    }

    .refund-policy-page .support-card h4,
    .refund-policy-page .support-card p {
        grid-column: 2;
    }

    .refund-policy-page .support-card h4 {
        margin: 0;
        font-family: var(--font-main);
        font-size: 1.15rem;
        font-weight: 400;
        line-height: 1.2;
    }

    .refund-policy-page .support-card p {
        margin: 0;
        font-size: 0.78rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .refund-policy-page .support-card .sub-detail {
        margin-top: 2px;
        font-size: 0.7rem !important;
        line-height: 1.45;
    }

    .refund-policy-page .support-card a {
        overflow-wrap: anywhere;
    }
}


/* MOBILE: POLITICA SPEDIZIONE COERENTE CON PERSONALIZZA */
@media (max-width: 600px) {
    .shipping-policy-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .shipping-policy-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .shipping-policy-page .policy-header {
        max-width: 100%;
        margin: 0 auto 34px;
        text-align: center;
    }

    .shipping-policy-page .policy-tagline {
        margin-bottom: 10px;
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
    }

    .shipping-policy-page .policy-title {
        margin: 0 0 14px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: 0.5px;
    }

    .shipping-policy-page .policy-intro {
        max-width: 34ch;
        margin: 0 auto;
        color: #555;
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .shipping-policy-page .policy-sections-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .shipping-policy-page .policy-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
        min-height: 190px;
        padding: 16px 12px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.035);
    }

    .shipping-policy-page .policy-card:hover {
        transform: none;
    }

    .shipping-policy-page .policy-icon {
        width: 28px;
        height: 28px;
        margin: 0 auto 10px;
    }

    .shipping-policy-page .policy-card h3 {
        min-height: 2.3em;
        margin: 0 0 8px;
        font-family: var(--font-main);
        font-size: 1.03rem !important;
        font-weight: 400;
        line-height: 1.15;
        text-align: center;
    }

    .shipping-policy-page .policy-card p {
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.45;
        text-align: left;
    }

    .shipping-policy-page .rates-banner-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
        padding: 20px 16px;
        border-top-width: 3px;
        border-radius: 12px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .shipping-policy-page .rates-title {
        margin: 0 0 16px;
        font-size: 1.45rem !important;
        line-height: 1.15;
    }

    .shipping-policy-page .rates-grid {
        gap: 10px;
    }

    .shipping-policy-page .rate-item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .shipping-policy-page .rate-label {
        min-width: 0;
    }

    .shipping-policy-page .rate-price {
        white-space: nowrap;
        font-size: 0.78rem;
    }

    .shipping-policy-page .highlight-rate .rate-price {
        padding: 4px 7px;
    }

    .shipping-policy-page .caution-policy-box {
        display: grid;
        grid-template-columns: 28px 1fr;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-left-width: 3px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.025);
    }

    .shipping-policy-page .caution-icon {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        margin-top: 1px;
    }

    .shipping-policy-page .caution-content {
        min-width: 0;
    }

    .shipping-policy-page .caution-content h4 {
        margin: 0 0 7px;
        font-family: var(--font-main);
        font-size: 1.08rem;
        font-weight: 400;
        line-height: 1.2;
    }

    .shipping-policy-page .caution-content p {
        margin-bottom: 7px;
        font-size: 0.76rem;
        line-height: 1.48;
        overflow-wrap: anywhere;
    }

    .shipping-policy-page .caution-subtext {
        font-size: 0.68rem !important;
        line-height: 1.45 !important;
    }

    .shipping-policy-page .caution-content a {
        overflow-wrap: anywhere;
    }
}


/* MOBILE: TERMINI E CONDIZIONI COERENTI CON PERSONALIZZA */
@media (max-width: 600px) {
    .terms-policy-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .terms-policy-page .shipping-policy-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .terms-policy-page .policy-header {
        max-width: 100%;
        margin: 0 auto 34px;
        text-align: center;
    }

    .terms-policy-page .policy-tagline {
        margin-bottom: 10px;
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
    }

    .terms-policy-page .policy-title {
        margin: 0 0 10px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: 0.5px;
    }

    .terms-policy-page .policy-update-date {
        margin: 0 auto 12px;
        font-size: 0.68rem;
        line-height: 1.4;
    }

    .terms-policy-page .policy-intro {
        max-width: 34ch;
        margin: 0 auto;
        color: #555;
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .terms-policy-page > .shipping-policy-container > .caution-policy-box {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px;
        padding: 18px 16px;
        border-left-width: 3px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.025);
    }

    .terms-policy-page .caution-content {
        min-width: 0;
    }

    .terms-policy-page .caution-content h4 {
        margin: 0 0 8px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 1.15rem;
        font-weight: 400;
        line-height: 1.2;
    }

    .terms-policy-page .caution-content p {
        margin: 0 0 7px;
        font-size: 0.76rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .terms-policy-page .caution-content p:last-child {
        margin-bottom: 0;
    }

    .terms-policy-page .caution-content a {
        overflow-wrap: anywhere;
    }

    .terms-policy-page .policy-sections-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px !important;
    }

    .terms-policy-page .policy-card {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        padding: 18px 16px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
    }

    .terms-policy-page .policy-card:hover {
        transform: none;
    }

    .terms-policy-page .policy-card h3 {
        min-height: 0;
        margin: 0 0 8px;
        font-family: var(--font-main);
        font-size: 1.18rem !important;
        font-weight: 400;
        line-height: 1.2;
        text-align: left;
    }

    .terms-policy-page .policy-card p {
        margin: 0;
        color: #555;
        font-size: 0.78rem;
        line-height: 1.5;
        text-align: left;
        overflow-wrap: anywhere;
    }

    .terms-policy-page .policy-card a {
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: underline;
        overflow-wrap: anywhere;
    }
}


/* MOBILE: PRIVACY E COOKIE COERENTE CON PERSONALIZZA */
@media (max-width: 600px) {
    .privacy-policy-page {
        width: 100%;
        max-width: 100%;
        padding: 30px 14px 48px;
        background-color: var(--secondary-color);
        box-sizing: border-box;
        overflow: hidden;
    }

    .privacy-policy-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .privacy-policy-page .policy-header {
        max-width: 100%;
        margin: 0 auto 28px;
        text-align: center;
    }

    .privacy-policy-page .policy-tagline {
        margin-bottom: 10px;
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
    }

    .privacy-policy-page .policy-title {
        margin: 0 0 10px;
        color: #2c352b;
        font-family: var(--font-main);
        font-size: 2rem !important;
        font-weight: 400;
        line-height: 1.08;
        letter-spacing: 0.5px;
    }

    .privacy-policy-page .policy-update-date {
        margin: 0 auto 12px;
        font-size: 0.68rem;
        line-height: 1.4;
    }

    .privacy-policy-page .policy-intro {
        max-width: 35ch;
        margin: 0 auto;
        color: #555;
        font-size: 0.84rem;
        font-weight: 300;
        line-height: 1.55;
    }

    .privacy-index-nav {
        width: 100%;
        max-width: 100%;
        margin: 0 0 16px;
        padding: 16px 14px;
        border-left-width: 3px;
        border-radius: 10px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .privacy-index-nav .index-label {
        margin-bottom: 9px;
        font-size: 0.66rem;
        letter-spacing: 0.9px;
    }

    .privacy-index-nav ol {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        margin: 0;
        padding-left: 18px;
    }

    .privacy-index-nav li,
    .privacy-index-nav li a {
        font-size: 0.74rem;
        line-height: 1.4;
    }

    .privacy-sections {
        gap: 14px;
    }

    .privacy-section {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 12px;
        box-sizing: border-box;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    }

    .privacy-section .section-number {
        width: 28px;
        height: 28px;
        flex: none;
        margin: 0;
        font-size: 0.72rem;
    }

    .privacy-section .section-content {
        min-width: 0;
    }

    .privacy-section .section-content h2 {
        margin: 1px 0 9px;
        font-family: var(--font-main);
        font-size: 1.18rem !important;
        font-weight: 400;
        line-height: 1.2;
    }

    .privacy-section .section-content p {
        margin-bottom: 9px;
        font-size: 0.76rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .privacy-email-link {
        max-width: 100%;
        font-size: 0.76rem;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .privacy-list {
        gap: 7px;
        margin: 10px 0;
    }

    .privacy-list li {
        padding-left: 14px;
        font-size: 0.74rem;
        line-height: 1.48;
    }

    .privacy-note-inline {
        margin-top: 8px;
        padding: 10px 11px;
        border-left-width: 3px;
        font-size: 0.7rem !important;
        line-height: 1.45 !important;
    }

    .data-types-list {
        gap: 9px;
        margin-top: 10px;
    }

    .data-type-item {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 9px;
        padding: 10px 11px;
        border: 0;
        border-radius: 8px;
        background: #f7f8f2;
    }

    .data-type-icon {
        width: 20px;
        height: 20px;
        flex: none;
        margin-top: 1px;
    }

    .data-type-item strong {
        margin-bottom: 3px;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .data-type-item p {
        font-size: 0.7rem !important;
        line-height: 1.45;
    }

    .cookie-types-grid {
        grid-template-columns: 1fr !important;
        gap: 9px;
        margin-top: 10px;
    }

    .cookie-type-card {
        padding: 12px 13px;
        border-radius: 8px;
        background: #f7f8f2;
    }

    .cookie-type-card h4 {
        margin-bottom: 5px;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .cookie-type-card p {
        font-size: 0.7rem !important;
        line-height: 1.45 !important;
    }

    .gdpr-rights-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px;
        margin: 10px 0;
    }

    .gdpr-right-item {
        min-width: 0;
        padding: 11px 10px;
        border-radius: 8px;
        background: #f7f8f2;
    }

    .gdpr-right-item strong {
        margin-bottom: 4px;
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .gdpr-right-item p {
        font-size: 0.66rem !important;
        line-height: 1.4 !important;
    }

    .garante-notice {
        margin-top: 10px;
        padding: 12px 13px;
        border-radius: 8px;
    }

    .garante-notice strong {
        margin-bottom: 5px;
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .garante-notice p,
    .garante-notice a {
        font-size: 0.7rem !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .privacy-policy-page .gdpr-rights-grid {
        grid-template-columns: 1fr !important;
    }
}


/* CATEGORIE PRODOTTO COERENTI CON IL RESTO DEL SITO */
.emilune-category-tagline {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.emilune-category-description {
    max-width: 620px;
    margin: 12px auto 0;
    color: #555;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 600px) {
    body.tax-product_cat .emilune-category-page {
        padding: 30px 14px 48px !important;
        background-color: var(--secondary-color) !important;
    }

    body.tax-product_cat .emilune-category-header {
        max-width: 100%;
        margin: 0 auto 28px !important;
        text-align: center;
    }

    body.tax-product_cat .emilune-category-tagline {
        margin-bottom: 10px;
        font-size: 0.7rem;
        line-height: 1.35;
        letter-spacing: 1.7px;
    }

    body.tax-product_cat .emilune-category-title {
        margin: 0 !important;
        color: #2c352b !important;
        font-family: var(--font-main) !important;
        font-size: 2rem !important;
        font-weight: 400 !important;
        line-height: 1.08 !important;
        letter-spacing: 0.5px !important;
        text-transform: none !important;
    }

    body.tax-product_cat .emilune-category-description {
        max-width: 34ch;
        margin: 12px auto 0;
        color: #555;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    body.tax-product_cat .emilune-category-divider {
        display: none;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 11px !important;
        border: 1px solid #e5e1d9 !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.03) !important;
        overflow: hidden !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product:hover {
        transform: none !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product img {
        width: 100% !important;
        height: 130px !important;
        max-height: none !important;
        margin: 0 auto 9px !important;
        border-radius: 7px;
        background: #faf9f6;
        object-fit: contain !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product h2,
    body.tax-product_cat .emilune-products-wrapper ul.products li.product .woocommerce-loop-product__title {
        min-height: 2.4em;
        margin: 5px 0 6px !important;
        font-size: 0.98rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    body.tax-product_cat .emilune-product-badge {
        align-self: center;
        margin: 0 auto 7px;
        padding: 3px 5px;
        font-size: 0.52rem;
        line-height: 1.2;
        letter-spacing: 0.35px;
        text-align: center;
    }

    body.tax-product_cat .emilune-loop-product-description {
        display: none !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product .button,
    body.tax-product_cat .emilune-product-detail-button {
        width: 100%;
        max-width: 100%;
        margin: auto 0 0 !important;
        padding: 8px 5px !important;
        border-radius: 4px !important;
        font-size: 0.6rem !important;
        line-height: 1.2;
        letter-spacing: 0.45px;
        white-space: normal;
        box-sizing: border-box;
    }

    body.tax-product_cat .emilune-no-products {
        grid-column: 1 / -1;
        margin: 0;
        padding: 18px 16px;
        border-radius: 12px;
        font-size: 0.82rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    body.tax-product_cat .emilune-products-wrapper ul.products {
        grid-template-columns: 1fr !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product {
        max-width: 420px !important;
        margin: 0 auto !important;
        padding: 16px !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product img {
        height: 210px !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product h2,
    body.tax-product_cat .emilune-products-wrapper ul.products li.product .woocommerce-loop-product__title {
        min-height: 0;
        font-size: 1.15rem !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product .button,
    body.tax-product_cat .emilune-product-detail-button {
        padding: 10px 12px !important;
        font-size: 0.72rem !important;
    }
}


/* RIFINITURA CATEGORIE: CARD UNIFORMI E CTA FINALE */
.emilune-category-back {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 34px;
}

.emilune-category-back .emilune-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 220px;
    max-width: 100%;
    padding: 11px 18px !important;
    font-size: 0.72rem !important;
    line-height: 1.25;
    text-align: center;
}

@media (max-width: 600px) {
    body.tax-product_cat .emilune-products-wrapper ul.products {
        align-items: stretch !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product {
        height: 100% !important;
        min-height: 286px !important;
        box-sizing: border-box !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product > a.woocommerce-loop-product__link {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product h2,
    body.tax-product_cat .emilune-products-wrapper ul.products li.product .woocommerce-loop-product__title {
        min-height: 2.4em !important;
    }

    body.tax-product_cat .emilune-product-badge {
        min-height: 22px;
        box-sizing: border-box;
    }

    body.tax-product_cat .emilune-products-wrapper ul.products li.product .button,
    body.tax-product_cat .emilune-product-detail-button {
        margin-top: auto !important;
    }

    body.tax-product_cat .emilune-category-back {
        margin-top: 24px;
    }

    body.tax-product_cat .emilune-category-back .emilune-btn {
        width: auto !important;
        min-width: 0 !important;
        max-width: 240px !important;
        padding: 10px 15px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.7px;
        line-height: 1.25;
    }
}

/* Emilune: H1 testuale visibile sotto la fotografia, prima delle collezioni. */
body.home .collections-section > h1.emilune-home-heading {
    max-width: 820px;
    margin: 0 auto 18px;
    padding: 0 8px;
    color: #657253;
    font-family: var(--font-main);
    font-size: clamp(1.3rem, 2.6vw, 1.75rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.015em;
    text-align: center;
    text-wrap: balance;
}
@media (max-width: 768px) {
    body.home .collections-section > h1.emilune-home-heading {
        max-width: 620px;
        margin-bottom: 16px;
        font-size: clamp(1.18rem, 4.5vw, 1.45rem);
    }
}
