/*
Theme Name: Coiffure Child
Author: VamTam
Author URI: https://vamtam.com
Template: coiffure
*/



/*

put your child theme styles here


you don't need any @import rules

*/


/* ========================================
   COMPLIANZ COOKIE BANNER — Brand Ancora un Riccio
   ======================================== */

/* Box generale */
.cmplz-cookiebanner {
    background: #FEFCF5 !important;
    border: 1px solid #EEEBE2 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.10) !important;
    font-family: Helvetica, Arial, sans-serif !important;
    color: #191919 !important;
}

/* Titolo */
.cmplz-cookiebanner .cmplz-title,
.cmplz-cookiebanner h1,
.cmplz-cookiebanner h2 {
    font-family: Philosopher, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    color: #191919 !important;
}

/* Testo corpo */
.cmplz-cookiebanner .cmplz-body,
.cmplz-cookiebanner p {
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #191919 !important;
}

/* Tutti i pulsanti base */
.cmplz-cookiebanner .cmplz-btn {
    border-radius: 0 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 11px 22px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease !important;
}

/* Pulsante ACCETTA — pieno nero */
.cmplz-cookiebanner .cmplz-accept {
    background: #191919 !important;
    color: #FFFFFF !important;
    border: 1px solid #191919 !important;
}
.cmplz-cookiebanner .cmplz-accept:hover {
    opacity: 0.8 !important;
}

/* Pulsante NEGA — outline */
.cmplz-cookiebanner .cmplz-deny {
    background: transparent !important;
    color: #191919 !important;
    border: 1px solid #191919 !important;
}
.cmplz-cookiebanner .cmplz-deny:hover {
    background: #191919 !important;
    color: #FFFFFF !important;
}

/* Pulsante GESTISCI/PREFERENZE — testo */
.cmplz-cookiebanner .cmplz-manage-options,
.cmplz-cookiebanner .cmplz-view-preferences {
    background: transparent !important;
    color: #191919 !important;
    border: none !important;
    text-decoration: underline !important;
    font-size: 11px !important;
    padding: 8px 0 !important;
}

/* Link in fondo (Cookie Policy, Privacy, Imprint) */
.cmplz-cookiebanner .cmplz-links,
.cmplz-cookiebanner .cmplz-links a {
    color: #191919 !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
}
.cmplz-cookiebanner .cmplz-links a:hover {
    text-decoration: underline !important;
}

/* X chiudi */
.cmplz-cookiebanner .cmplz-close {
    color: #191919 !important;
}


/* ========================================
   PAGINE LEGALI COMPLIANZ — Layout fix
   ======================================== */

/* Contenuto shortcode cmplz: aggiungi contenitore e padding */
.cmplz-document,
.cmplz-document-wrapper {
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 40px 60px !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #191919 !important;
}

/* Nascondi titolo duplicato generato da Complianz dentro il documento */
.cmplz-document h1:first-child,
.cmplz-document > h1:first-of-type {
    display: none !important;
}

/* Headings interni */
.cmplz-document h1,
.cmplz-document h2 {
    font-family: Philosopher, serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    margin-top: 2em !important;
    margin-bottom: 0.5em !important;
    color: #191919 !important;
}
.cmplz-document h2 { font-size: 1.3em !important; }
.cmplz-document h3 { font-size: 1.1em !important; font-family: Helvetica, Arial, sans-serif !important; }

/* Paragrafi */
.cmplz-document p {
    margin-bottom: 1em !important;
    color: #191919 !important;
}

/* Link */
.cmplz-document a {
    color: #191919 !important;
    text-decoration: underline !important;
}

/* Tabella cookie */
.cmplz-document table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 13px !important;
    margin: 1.5em 0 !important;
}
.cmplz-document table th {
    background: #EEEBE2 !important;
    padding: 10px 12px !important;
    text-align: left !important;
    font-weight: 400 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
}
.cmplz-document table td {
    padding: 10px 12px !important;
    border-bottom: 1px solid #EEEBE2 !important;
    vertical-align: top !important;
}

/* Su mobile */
@media (max-width: 767px) {
    .cmplz-document,
    .cmplz-document-wrapper {
        padding: 0 20px 40px !important;
    }
}

/* ========================================
   PAGINE LEGALI — Titolo H1 via filtro PHP
   ======================================== */
.cmplz-page-h1 {
    font-family: Philosopher, serif !important;
    font-weight: 400 !important;
    font-size: 2.2em !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #191919 !important;
    margin: 0 0 1.5em 0 !important;
    padding-top: 0.5em !important;
}

/* ========================================
   FORM RICHIESTA DATI COMPLIANZ — Fix layout
   ======================================== */
.cmplz-document .cmplz-form,
.cmplz-document form {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.cmplz-document .cmplz-form table,
.cmplz-document form table {
    width: auto !important;
    border-collapse: separate !important;
    border: none !important;
    font-size: 15px !important;
    margin: 0 !important;
}
.cmplz-document .cmplz-form table td,
.cmplz-document form table td {
    border: none !important;
    padding: 6px 12px 6px 0 !important;
    vertical-align: middle !important;
}
.cmplz-document .cmplz-form table td:first-child,
.cmplz-document form table td:first-child {
    white-space: nowrap !important;
    color: #191919 !important;
    font-weight: 400 !important;
    padding-right: 16px !important;
    min-width: 80px !important;
}
.cmplz-document input[type=text],
.cmplz-document input[type=email],
.cmplz-document textarea {
    border: 1px solid #EEEBE2 !important;
    background: #FAFAFA !important;
    padding: 8px 12px !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    color: #191919 !important;
    outline: none !important;
    border-radius: 0 !important;
    min-width: 280px !important;
    box-sizing: border-box !important;
}
.cmplz-document input[type=text]:focus,
.cmplz-document input[type=email]:focus {
    border-color: #191919 !important;
}
.cmplz-document input[type=checkbox] {
    margin-right: 8px !important;
    accent-color: #191919 !important;
}
.cmplz-document input[type=submit],
.cmplz-document button[type=submit] {
    background: #191919 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 11px 28px !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    margin-top: 12px !important;
    transition: opacity 0.2s !important;
}
.cmplz-document input[type=submit]:hover,
.cmplz-document button[type=submit]:hover {
    opacity: 0.8 !important;
}
/* Checkbox label lines */
.cmplz-document .cmplz-checkbox-label,
.cmplz-document label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
}

/* COMPLIANZ LEGAL PAGES */
.cmplz-page-h1 { font-family: Philosopher, serif; font-size: 2.2em; color: #191919; margin-bottom: 0.5em; }
.cmplz-document { max-width: 860px; margin: 0 auto; padding: 40px 20px; font-family: Helvetica, Arial, sans-serif; color: #191919; line-height: 1.7; }
.cmplz-document h2 { font-family: Philosopher, serif; font-size: 1.4em; margin-top: 1.8em; color: #191919; }
.cmplz-document h3 { font-family: Philosopher, serif; font-size: 1.15em; margin-top: 1.3em; }
.cmplz-document table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.cmplz-document table th, .cmplz-document table td { border: 1px solid #EEEBE2; padding: 8px 12px; text-align: left; }
.cmplz-document table th { background: #FEFCF5; font-family: Philosopher, serif; }
.cmplz-table-of-contents { background: #FEFCF5; border: 1px solid #EEEBE2; padding: 20px 30px; border-radius: 4px; margin-bottom: 2em; }
/* COMPLIANZ FORM */
.cmplz-form input, .cmplz-form textarea { border: 1px solid #EEEBE2 !important; font-family: Helvetica, Arial, sans-serif !important; padding: 8px !important; }
.cmplz-form button, .cmplz-form input[type=submit] { background: #191919 !important; color: #FEFCF5 !important; border: none !important; padding: 10px 24px !important; font-family: Philosopher, serif !important; cursor: pointer !important; }
/* END COMPLIANZ */

/* SCROLL TO TOP - arrow fix */
#scroll-to-top-text::after {
    color: #FEFCF5 !important;
}
/* END SCROLL TO TOP */

/* WHATSAPP FLOATING BUTTON */
.elementor-element-b798d51 .elementor-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.elementor-element-b798d51 .elementor-button-icon {
    margin: 0 !important;
}
.elementor-element-b798d51 .elementor-button-icon .fab.fa-whatsapp {
    color: #FEFCF5 !important;
    font-size: 2.4em !important;
}
/* END WHATSAPP FLOATING BUTTON */
