 /* Sovrascrivo Qwigley con MoonTime */
@font-face {
    font-family: 'Qwigley';
    src: url('../fonts/MoonTime/Moontime-Regular.woff2') format('woff2'),
         url('../fonts/MoonTime/Moontime-Regular.woff') format('woff'),
         url('../fonts/MoonTime/Moontime-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MoonTime';
    src: url('../fonts/MoonTime/Moontime-Regular.woff2') format('woff2'),
         url('../fonts/MoonTime/Moontime-Regular.woff') format('woff'),
         url('../fonts/MoonTime/Moontime-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
  font-family: 'Chathura';
  src: url('../fonts/Glacial-Indifference/GlacialIndifference.woff2') format('woff2'),
       url('../fonts/Glacial-Indifference/GlacialIndifference.woff') format('woff'),
       url('../fonts/Glacial-Indifference/GlacialIndifference.ttf') format('truetype');
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: 'Chathura';
  src: url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.woff2') format('woff2'),
       url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.woff') format('woff'),
       url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.ttf') format('truetype');
  font-weight: 700; /* Bold */
  font-style: normal;
}
@font-face {
  font-family: 'Glacial'; /* Nuovo nome */
  src: url('../fonts/Glacial-Indifference/GlacialIndifference.woff2') format('woff2'),
       url('../fonts/Glacial-Indifference/GlacialIndifference.woff') format('woff'),
       url('../fonts/Glacial-Indifference/GlacialIndifference.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Glacial'; /* Nuovo nome */
  src: url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.woff2') format('woff2'),
       url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.woff') format('woff'),
       url('../fonts/Glacial-Indifference/GlacialIndifference-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

:root {
    --font-titoli: 'Moontime';
    --font-sottotitoli: 'Forum', sans-serif;
    --e-global-typography-text-font-family: 'Glacial', sans-serif;
    --font-corpo: 'Glacial', sans-serif;
    --main-color: #BFCFB2;
    --verde-scuro: #3F5850;
    --verde-medio: #8DA28E;
    --crema: #EFECE6;
    --tortora-chiaro: #DCD5C5;
}

body {
    font-family: var(--font-corpo) !important;
}
button:focus, button:hover {
    background-color: inherit;
    border-color: inherit;
}

.titoloCustom *,
.titoloCustom{
    font-family: var(--font-titoli) !important;
}
.fontCorpo *{
    font-family: var(--font-corpo) !important;
}
.box {
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
    min-height: 250px;
}
@media screen and (min-width:992px) {
    .p-absolute {
        position: absolute;
        right: 60px;
        bottom: 70px;
    }
}
.p-absolute > div {
        padding: 50px 30px !important;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
} 
.boxTitoletto b {
    background: #fff;
    color: #333;
    padding: 15px 30px;
    font-size: 30px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}
.boxCard {
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    background: var(--verde-scuro);
    padding: 30px 15px;
    border-radius: 20px;
    min-height: 200px;
}
.boxCard p {
    color: #fff !important;
}
/*Header*/
.hfe-site-logo {
    position: absolute;
    left: 50px;
}
.hfe-side {
    width: 100% !important;
}
/*Sidebar Menu Nascosto*/
 /* Overlay */
 #panelMenu {
    cursor: pointer;
 }
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>') 12 12, pointer;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    transition: right 0.3s ease;
    overflow-y: auto;
    cursor: default;
}

.sidebar-menu.active {
    right: 0; 
}

/* Header */
.sidebar-header {
    background-color: var(--tortora-chiaro);
    padding: 20px; 
    position: relative;
}

.sidebar-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #000;
}

/* Content */
.sidebar-content {
    padding: 20px;
    height: calc(100% - 68.8px); 
    background: var(--tortora-chiaro);
}

/* Centro Card */
.centro-card {
    background-color: var(--tortora-chiaro);
    border-radius: 0px;
    padding: 20px;
    margin-bottom: 20px;  
}

.centro-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}
.centro-card * {
    font-size: 14px;
}
.centro-info {
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
}

.info-row svg {
    margin-right: 10px;
    flex-shrink: 0;
}

.info-row a {
    color: #666;
    text-decoration: none;
}

.info-row a:hover {
    color: var(--verde-scuro) !important;
}

/* Status */
.status {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.status.aperto {
    background-color: #d4edda;
    color: #155724;
}

.status.chiuso {
    background-color: #f8d7da;
    color: #721c24;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status.aperto .status-dot {
    background-color: #28a745;
}

.status.chiuso .status-dot {
    background-color: #dc3545;
}

/* Orari */
.orari-toggle {
    background: var(--verde-scuro) !important;
    border: 0 !important; 
    padding: 10px 15px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
}

.orari-toggle:hover {
    background-color: #f8f9fa;
}

.orari-toggle svg {
    transition: transform 0.3s ease;
}

.orari-toggle.active svg {
    transform: rotate(180deg);
}

.orari-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 15px;
}

.orari-content.active {
    max-height: 200px;
}

.orari-list {
    padding: 10px 15px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.8;
}

/* Prenota Button */
.prenota-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--verde-scuro);
    color: white !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 0px;
    font-weight: 500;
    margin-top: 5px;
    transition: background-color 0.3s ease;
}

.prenota-btn:hover {
    background-color: var(--verde-medio);
    color: white !important;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #25D366;
    color: white !important;
    text-decoration: none !important;
    border-radius: 0px;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #20bd5a;
    color: white !important;
}

.whatsapp-btn svg {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .hfe-site-logo {
        position: absolute;
        left: 0px;
    }
}
/* Responsive */
@media (max-width: 480px) {
    .sidebar-menu {
        width: 100%;
        right: -100%;
    }
}

/*Trattamento*/

.listino-prezzi-lista ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servizio-item {
    border-bottom: 1px solid #eee; 
}

.servizio-item:last-child {
    border-bottom: none;
}

.servizio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.servizio-nome {
    margin: 0;
    font-size: 1.1em;
}

.servizio-prezzo {
    font-weight: bold;
    color: #333;
    font-size: 1.2em;
}

.servizio-durata {
    font-size: 0.9em;
    color: #666;
}

.listino-prezzi-tabella table {
    width: 100%;
    border-collapse: collapse;
}

.listino-prezzi-tabella th,
.listino-prezzi-tabella td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.listino-prezzi-tabella th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.listino-prezzi-tabella tr:hover {
    background-color: #f9f9f9;
}

/* Hover effects */
.carousel-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-link-arrow:hover span {
    transform: translateX(5px);
}

.carousel-nav-btn {
    backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
    background: var(--verde-scuro, #3F5850) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Disabilita stile per bottoni inattivi */
.carousel-nav-btn[disabled],
.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn[disabled]:hover,
.carousel-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--verde-scuro, #3F5850) !important;
    transform: translateY(-50%) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 250px !important;
    }
    
    .carousel-main-container {
        padding: 0 50px !important;
    }
    
    .carousel-nav-btn {
        width: 40px !important;
        height: 40px !important;
    }
    
    .carousel-nav-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Hover effects */
.carousel-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-link-arrow:hover span {
    transform: translateX(5px);
}

.carousel-nav-btn {
    backdrop-filter: blur(10px);
}

.carousel-nav-btn:hover {
    background: var(--verde-scuro, #3F5850) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Disabilita stile per bottoni inattivi */
.carousel-nav-btn[disabled],
.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn[disabled]:hover,
.carousel-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--verde-scuro, #3F5850) !important;
    transform: translateY(-50%) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(50% - 15px) !important;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 100% !important;
        min-width: 250px !important;
    }
    
    .carousel-main-container {
        padding: 0 50px !important;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================= */
/* --- Stili di Base per la Galleria --- */
/* ============================================= */
/* 1. Stile per immagini uniformi nel carosello */
.custom-gallery-carousel-wrapper .owl-carousel .item a {
    display: block;
    height: 250px; /* Imposta l'altezza che preferisci */
    overflow: hidden;
}

.custom-gallery-carousel-wrapper .owl-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene le proporzioni e copre l'area */
    transition: transform 0.3s ease;
}

.custom-gallery-carousel-wrapper .owl-carousel .item a:hover img {
    transform: scale(1.05); /* Leggero effetto zoom al passaggio del mouse */
}


/* 2. Stile migliorato per frecce e pallini ✨ */
.custom-gallery-carousel-wrapper {
    position: relative; /* Necessario per posizionare le frecce */
}

.custom-gallery-carousel-wrapper .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--main-color) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transition: background 0.3s ease;
}

.custom-gallery-carousel-wrapper .owl-nav button:hover {
    background: var(--verde-scuro) !important;
}
.owl-theme .owl-dots .owl-dot span {
    margin: 0 1px !important;
}
.custom-gallery-carousel-wrapper .owl-nav .owl-prev {
    left: -20px; /* Posizione freccia sinistra */
}

.custom-gallery-carousel-wrapper .owl-nav .owl-next {
    right: -20px; /* Posizione freccia destra */
}

.custom-gallery-carousel-wrapper .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.custom-gallery-carousel-wrapper .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s ease;
}

.custom-gallery-carousel-wrapper .owl-dots .owl-dot.active {
    background: var(--main-color) !important; /* Colore del pallino attivo */
}
/* Stile migliorato per frecce SVG e pallini */
.custom-gallery-carousel-wrapper {
    position: relative;
}

.custom-gallery-carousel-wrapper .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--main-color) !important;    
    width: 45px; /* Leggermente più grandi per l'SVG */
    height: 45px;
    border-radius: 50% !important;
    transition: background 0.3s ease;
    display: flex !important; /* Per centrare l'immagine SVG */
    align-items: center;
    justify-content: center;
}

.custom-gallery-carousel-wrapper .owl-nav button:hover {
    background: var(--verde-scuro) !important;
}

/* Stile per le immagini SVG nelle frecce */
.custom-gallery-carousel-wrapper .owl-nav button img {
    width: 20px; /* Imposta la larghezza dell'icona */
    height: auto;
    /* Se i tuoi SVG sono neri, questo li renderà bianchi. 
       Se sono già del colore giusto, puoi rimuovere questa riga. */
    filter: brightness(0) invert(1);
}

.custom-gallery-carousel-wrapper .owl-nav .owl-prev {
    left: -22px;
}

.custom-gallery-carousel-wrapper .owl-nav .owl-next {
    right: -22px;
}

/* Stile per i pallini (invariato) */
.custom-gallery-carousel-wrapper .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.custom-gallery-carousel-wrapper .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: background 0.3s ease;
}
 
.glightbox-clean .gclose {
    width: 60px !important;
    height: 60px !important;
}
/* Contenitore principale della galleria */
.custom-gallery-wrapper {
    display: flex; /* Impostazione di base, sovrascritta dal masonry */
    flex-wrap: wrap;
    gap: 15px; /* Spazio tra le immagini */
    padding: 15px 0; /* Un po' di spazio sopra e sotto */
}

/* Contenitore di ogni singola immagine */
.gallery-item {
    box-sizing: border-box;
    overflow: hidden; /* Nasconde l'eccesso dell'immagine durante lo zoom */
    border-radius: 5px; /* Angoli leggermente arrotondati */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Leggera ombra per profondità */
}

/* Stile per le immagini */
.gallery-item img {
    display: block; /* Rimuove lo spazio extra sotto l'immagine */
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita che le immagini si distorcano, le ritaglia per riempire lo spazio */
    transition: transform 0.3s ease-in-out; /* Transizione fluida per l'effetto hover */
}

/* Effetto hover: ingrandisce leggermente l'immagine */
.gallery-item a:hover img {
    transform: scale(1.05);
}


/* ============================================= */
/* --- Layout GRID (a griglia) --- */
/* ============================================= */
.gallery-layout-grid .gallery-item {
    /* Su desktop: 3 colonne */
    flex: 1 1 calc(33.333% - 15px);
    aspect-ratio: 4 / 3; /* Mantiene una proporzione costante per un look più ordinato */
}

/* Su tablet: 2 colonne */
@media (max-width: 768px) {
    .gallery-layout-grid .gallery-item {
        flex: 1 1 calc(50% - 15px);
    }
}

/* Su mobile: 1 colonna */
@media (max-width: 480px) {
    .gallery-layout-grid .gallery-item {
        flex: 1 1 100%;
    }
}


/* ============================================= */
/* --- Layout MASONRY (a mosaico) --- */
/* ============================================= */
.gallery-layout-masonry {
    /* Per il masonry usiamo CSS Columns, non flexbox */
    display: block;
    column-count: 3; /* 3 colonne su desktop */
    column-gap: 15px;
}

.gallery-layout-masonry .gallery-item {
    margin-bottom: 15px;
    break-inside: avoid; /* Importantissimo: impedisce che un'immagine venga spezzata tra le colonne */
}

/* Su tablet: 2 colonne */
@media (max-width: 768px) {
    .gallery-layout-masonry {
        column-count: 2;
    }
}

/* Su mobile: 1 colonna */
@media (max-width: 480px) {
    .gallery-layout-masonry {
        column-count: 1;
    }
}

/*Pagina listino*/
/* Stile per i Titoli delle Categorie Principali (rimane uguale) */
.listino-categoria-titolo {
    font-size: 1.8em;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #EAEAEA;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 25px;
}

/* NUOVO: Stile per i Titoli delle Sottocategorie (es. Laminazione) */
.listino-sottocategoria-titolo {
    font-size: 1.4em;
    color: #555;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 3px solid #d35400; /* Bordo arancione per evidenziare */
}

/* Il resto dello stile rimane invariato... */
.listino-servizi {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px; /* Aggiunge spazio dopo un gruppo di servizi */
}

.servizio-item {
    display: flex;
    flex-direction: column;
}

.servizio-info {
    display: flex;
    align-items: baseline;
    width: 100%;
}

.servizio-titolo {
    font-size: 1.1em;
    color: var(--verde-scuro);
    font-weight: 600;
}

.servizio-spacer {
    flex-grow: 1;
    border-bottom: 2px dotted #ccc;
    margin: 0 10px;
    transform: translateY(-4px);
}

.servizio-prezzo {
    font-size: 1.1em;
    font-weight: 300;
    color: var(--verde-scuro);
    white-space: nowrap;
}

.servizio-extra, .servizio-content {
    font-size: 0.9em;
    color: #777;
    margin-left: 5px;
    padding-left: 10px;
    border-left: 2px solid #EAEAEA;
    margin-top: 5px;
}
.servizio-extra p, .servizio-content p{
    margin: 0;
}

/*Pagina contatti form*/
/* Container del form */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(63, 89, 80, 0.1);
    font-family: 'Arial', sans-serif;
}

/* Layout flessibile per i gruppi di input */
.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

/* Gruppo di input base */
.input-group {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

/* Gruppo di input a larghezza piena */
.input-group.w-100 {
    flex-basis: 100%;
}

/* Stile delle etichette */
.input-group label {
    font-weight: 600;
    color: #3F5950;
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.3px;
}
.wpcf7 form>div {
    margin-bottom: 0 !important;
}

/* Stile base per tutti i campi input */
.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

/* Focus sui campi */
.form-control:focus {
    outline: none;
    border-color: #3F5950;
    box-shadow: 0 0 0 3px rgba(63, 89, 80, 0.1);
    background-color: #fafafa;
}

/* Placeholder styling */
.form-control::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Stile specifico per textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Stile per select */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Privacy policy checkbox */
.wpcf7-acceptance {
    margin: 25px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3F5950;
}

.wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #3F5950;
    flex-shrink: 0;
    margin-top: 2px;
}

.wpcf7-acceptance a {
    color: #3F5950;
    text-decoration: none;
    font-weight: 600;
}

.wpcf7-acceptance a:hover {
    text-decoration: underline;
}

/* Pulsante di invio */
.btn {
    background-color: #3F5950;
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(63, 89, 80, 0.2);
}

.btn:hover {
    background-color: #2d4138;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 89, 80, 0.3);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(63, 89, 80, 0.2);
}

/* Stati di errore */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Messaggi di validazione */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}

/* Messaggio di successo */
.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Messaggio di errore */
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Loader durante l'invio */
.wpcf7-form.submitting .btn {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.wpcf7-form.submitting .btn:after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--verde-scuro) !important;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .wpcf7-form {
        padding: 20px;
        margin: 10px;
    }
    
    .input-group {
        min-width: 100%;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px; /* Previene zoom su iOS */
    }
     
}

@media (max-width: 480px) {
    .wpcf7-form {
        padding: 15px;
        border-radius: 8px;
    }
    
    .input-group label {
        font-size: 13px;
    }
    
    .wpcf7-acceptance {
        padding: 15px;
    }
    
    .wpcf7-acceptance label {
        font-size: 13px;
    }
}

/*Privacy*/
/* Stile per la Pagina Privacy Policy */

.privacy-policy-container { 
    line-height: 1.7;
    color: #4a4a4a; 
    margin: 20px auto;
    padding: 20px;
}

/* Box riassuntivo in alto */
.privacy-summary {
    background-color: #f9f1ef; /* Un rosa tenue ripreso dal tuo sito */
    border-left: 5px solid #e1b7b1; /* Un rosa più scuro per l'accento */
    padding: 20px 25px;
    margin-bottom: 40px;
    border-radius: 8px;
}

.privacy-summary h2 {
    color: #333;
    margin-top: 0;
    font-size: 1.5em;
}

.privacy-summary ul {
    list-style-type: none;
    padding-left: 0;
}

.privacy-summary ul li {
    padding-bottom: 10px;
}

/* Stile per i titoli delle sezioni */
.privacy-full-text h3.privacy-section-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #333;
}

.privacy-full-text h4 {
    font-size: 1.3em;
    color: #333;
    border-bottom: 2px solid #f0e6e4;
    padding-bottom: 8px;
    margin-top: 30px;
}

/* Stile per i paragrafi e le liste */
.privacy-full-text p, .privacy-full-text ul {
    margin-bottom: 15px;
}

.privacy-full-text ul {
    list-style-position: inside;
    padding-left: 15px;
}

/* Stile per i link */
.privacy-full-text a {
    color: #d39a9a;
    text-decoration: none;
    font-weight: bold;
}

.privacy-full-text a:hover {
    text-decoration: underline;
}

.edit-trattamento-link {
    text-decoration: none;
    color: #888; /* Un colore grigio discreto */
    font-size: 0.8em; /* Leggermente più piccolo del testo */
    margin-left: 8px; /* Spazio tra il titolo e l'icona */
    display: inline-block; /* Per allineamento corretto */
    transition: color 0.2s;
}

.edit-trattamento-link:hover {
    color: #0073aa; /* Colore blu di WordPress al passaggio del mouse */
}