/*
 Theme Name:   Escort Child
 Template:     escortwp362
 Description:  Child theme per Escort Candy
 Version:      1.0.0
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
    --ec-bg:          #ffffff;
    --ec-surface:     #faf7fb;
    --ec-surface-2:   #f4eef6;
    --ec-border:      rgba(0, 0, 0, 0.08);

    --ec-text:        #1c1a22;
    --ec-text-muted:  #6f6a7a;

    --ec-accent:      #e6337a;
    --ec-accent-h:    #c92566;
    --ec-accent-2:    #7b3fa0;

    --ec-premium:     #f5a623;
    --ec-verified:    #2ecc71;
    --ec-featured:    #e6337a;

    --ec-radius:      12px;
    --ec-radius-sm:   8px;
    --ec-radius-pill: 999px;
    --ec-gap:         24px;

    --ec-shadow-sm:   0 2px 6px rgba(20, 10, 30, 0.06);
    --ec-shadow:      0 6px 20px rgba(20, 10, 30, 0.10);
    --ec-shadow-lg:   0 14px 40px rgba(20, 10, 30, 0.16);

    --ec-font:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --ec-font-size:   16px;
    --ec-line:        1.6;
}

/* =========================================================
   2. BASE
   ========================================================= */
body {
    font-family: var(--ec-font);
    font-size: var(--ec-font-size);
    line-height: var(--ec-line);
    color: var(--ec-text);
    background: var(--ec-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ec-accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ec-accent-h); }
img { max-width: 100%; height: auto; display: block; }

/* =========================================================
   3. SEZIONI
   ========================================================= */
.ec-section { margin: 56px 0; }
.ec-section:first-child { margin-top: 24px; }
.ec-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ec-border);
}
.ec-section__title,
h2.ec-section__title,
.contentwrapper .body h2.ec-section__title {
    margin: 0 !important;
    font-family: var(--ec-font) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    color: var(--ec-text) !important;
    border: 0 !important;
    padding: 0 !important;
}

/* =========================================================
   4. BOTTONI
   ========================================================= */
.ec-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--ec-radius-pill);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.ec-btn--primary {
    background: var(--ec-accent) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 11px 22px !important;
    box-shadow: 0 4px 14px rgba(230, 51, 122, .28) !important;
}
.ec-btn--primary:hover {
    background: var(--ec-accent-h) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(230, 51, 122, .38) !important;
}
.ec-btn--ghost {
    background: transparent;
    color: var(--ec-text);
    border-color: var(--ec-border);
}
.ec-btn--ghost:hover {
    background: var(--ec-surface-2);
    color: var(--ec-text);
}
.ec-btn--lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* =========================================================
   5. GRIGLIA PROFILI
   ========================================================= */
.ec-grid { display: grid; gap: var(--ec-gap); }
.ec-grid--profiles {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* =========================================================
   6. NASCONDI ADMIN LINKS AI NON-ADMIN
   ========================================================= */
body:not(.admin-bar) .admin-links,
body:not(.admin-bar) .adminlinks {
    display: none !important;
}

/* =========================================================
   7. CARD PROFILO
   ========================================================= */
.ec-card {
    position: relative;
    border-radius: var(--ec-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ec-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    isolation: isolate;
}
.ec-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ec-shadow-lg);
}
.ec-card__link { display: block; color: inherit; text-decoration: none; }

.ec-card__media {
    position: relative;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden;
    background: var(--ec-surface-2);
}
.ec-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform .4s ease;
}
.ec-card:hover .ec-card__img { transform: scale(1.05); }

.ec-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .68) 0%,
        rgba(0, 0, 0, .28) 40%,
        rgba(0, 0, 0, 0)   70%
    ) !important;
    pointer-events: none;
    z-index: 1;
}

.ec-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 14px 14px 16px;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}
.ec-card__name {
    margin: 0 0 4px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 6px rgba(0,0,0,.6) !important;
}
.ec-card__location {
    margin: 0 !important;
    font-size: .82rem !important;
    color: rgba(255,255,255,.9) !important;
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 3px rgba(0,0,0,.5) !important;
}
.ec-icon-pin { flex-shrink: 0; opacity: .9; }

/* Badge PREMIUM */
.ec-badge {
    position: absolute;
    z-index: 3;
    font-size: .68rem !important;
    font-weight: 700;
    letter-spacing: .06em !important;
    text-transform: uppercase;
    padding: 5px 12px !important;
    border-radius: var(--ec-radius-pill);
    line-height: 1;
    backdrop-filter: blur(6px);
}
.ec-badge--premium {
    top: 14px !important;
    left: 14px !important;
    background: var(--ec-premium);
    color: #1c1a22;
    box-shadow: 0 3px 10px rgba(245, 166, 35, .5) !important;
}

/* Icona video */
.ec-card__video {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    backdrop-filter: blur(6px);
}

/* Badge extra (VERIFIED / FEATURED) */
.ec-card__badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin-top: 8px !important;
    pointer-events: auto;
}
.ec-card__badges > * {
    all: unset !important;
    display: inline-block !important;
    font-size: .65rem !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    padding: 4px 9px !important;
    border-radius: var(--ec-radius-pill) !important;
    line-height: 1 !important;
    color: #fff !important;
    background: var(--ec-verified) !important;
    font-family: var(--ec-font) !important;
}
/* Nascondi se vuoto */
.ec-card__badges:empty,
.ec-card__badges:has(> .labels:empty) {
    display: none !important;
}

.ec-card__manage {
    padding: 10px 12px;
    border-top: 1px solid var(--ec-border);
    background: #fff;
}

/* =========================================================
   8. STELLE RECENSIONI
   ========================================================= */
.ec-stars {
    display: inline-block;
    width: 70px;
    height: 14px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 14'><g fill='%23dddddd'><path d='M7 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L7 10.8 2.8 13l.8-4.7L.2 5l4.7-.7z'/><path d='M21 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L21 10.8 16.8 13l.8-4.7L14.2 5l4.7-.7z'/><path d='M35 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L35 10.8 30.8 13l.8-4.7L28.2 5l4.7-.7z'/><path d='M49 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L49 10.8 44.8 13l.8-4.7L42.2 5l4.7-.7z'/><path d='M63 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L63 10.8 58.8 13l.8-4.7L56.2 5l4.7-.7z'/></g></svg>") no-repeat left center;
    background-size: contain;
    position: relative;
}
.ec-stars::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 14'><g fill='%23f5a623'><path d='M7 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L7 10.8 2.8 13l.8-4.7L.2 5l4.7-.7z'/><path d='M21 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L21 10.8 16.8 13l.8-4.7L14.2 5l4.7-.7z'/><path d='M35 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L35 10.8 30.8 13l.8-4.7L28.2 5l4.7-.7z'/><path d='M49 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L49 10.8 44.8 13l.8-4.7L42.2 5l4.7-.7z'/><path d='M63 0l2.1 4.3 4.7.7-3.4 3.3.8 4.7L63 10.8 58.8 13l.8-4.7L56.2 5l4.7-.7z'/></g></svg>") no-repeat left center;
    background-size: contain;
    width: 0;
    overflow: hidden;
    transition: width .3s ease;
}
.ec-stars--1::after { width: 20%; }
.ec-stars--2::after { width: 40%; }
.ec-stars--3::after { width: 60%; }
.ec-stars--4::after { width: 80%; }
.ec-stars--5::after { width: 100%; }

/* =========================================================
   9. RECENSIONI
   ========================================================= */
.ec-reviews {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 20px !important;
}
.ec-review {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid var(--ec-border) !important;
    border-radius: var(--ec-radius) !important;
    padding: 20px !important;
    box-shadow: var(--ec-shadow-sm) !important;
}
.ec-review__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: .85rem;
    color: var(--ec-text-muted);
}
.ec-review__author strong { color: var(--ec-text); font-weight: 700; }
.ec-review__text {
    margin: 0 !important;
    font-size: .92rem !important;
    line-height: 1.6 !important;
    color: var(--ec-text) !important;
}
.ec-review__text a {
    font-weight: 600;
    margin-left: 4px;
    white-space: nowrap;
}

/* =========================================================
   10. LIVE DOT
   ========================================================= */
.ec-live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .7);
    animation: ec-pulse 1.8s infinite;
}
@keyframes ec-pulse {
    0%   { box-shadow: 0 0 0 0    rgba(34, 197, 94, .7); }
    70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);  }
    100% { box-shadow: 0 0 0 0    rgba(34, 197, 94, 0);  }
}

/* =========================================================
   11. STATO VUOTO
   ========================================================= */
.ec-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--ec-text-muted);
    background: var(--ec-surface);
    border-radius: var(--ec-radius);
    border: 1px dashed var(--ec-border);
}

/* =========================================================
   12. HERO PROMO
   ========================================================= */
section.ec-hero-promo {
    position: relative !important;
    margin: 0 0 40px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 45%),
        linear-gradient(135deg, #7b3fa0 0%, #e6337a 55%, #f5a623 120%) !important;
    box-shadow: 0 20px 50px rgba(123, 63, 160, .25) !important;
    color: #fff !important;
    padding: 0 !important;
}
section.ec-hero-promo .ec-hero-promo__inner {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 30px !important;
    padding: 44px 48px !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
}
section.ec-hero-promo .ec-hero-promo__eyebrow {
    display: inline-block !important;
    font-size: .72rem !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
    margin-bottom: 16px !important;
}
section.ec-hero-promo h1.ec-hero-promo__title {
    margin: 0 0 12px !important;
    font-family: var(--ec-font, sans-serif) !important;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.2) !important;
}
section.ec-hero-promo .ec-hero-promo__subtitle {
    margin: 0 0 24px !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,.92) !important;
    max-width: 480px !important;
}
section.ec-hero-promo .ec-hero-promo__cta {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}
section.ec-hero-promo .ec-btn--hero {
    background: #fff !important;
    color: #7b3fa0 !important;
    font-weight: 700 !important;
    padding: 13px 26px !important;
    font-size: .95rem !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    border: 0 !important;
}
section.ec-hero-promo .ec-btn--hero:hover {
    color: #e6337a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.24) !important;
}
section.ec-hero-promo .ec-hero-promo__link {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: .92rem !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
    opacity: .9 !important;
}
section.ec-hero-promo .ec-hero-promo__visual {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
section.ec-hero-promo .ec-hero-promo__badge {
    width: 180px !important;
    height: 180px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.14) !important;
    border: 2px dashed rgba(255,255,255,.4) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(10px) !important;
    animation: ec-float 4s ease-in-out infinite !important;
}
section.ec-hero-promo .ec-hero-promo__badge-num {
    font-size: 3.6rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #fff !important;
    letter-spacing: -0.04em !important;
}
section.ec-hero-promo .ec-hero-promo__badge-txt {
    font-size: .82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .12em !important;
    color: rgba(255,255,255,.9) !important;
    margin-top: 4px !important;
}
@keyframes ec-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

@media (max-width: 800px) {
    section.ec-hero-promo .ec-hero-promo__inner {
        grid-template-columns: 1fr !important;
        padding: 32px 24px !important;
        text-align: center !important;
    }
    section.ec-hero-promo .ec-hero-promo__cta { justify-content: center !important; }
    section.ec-hero-promo .ec-hero-promo__visual { order: -1 !important; }
    section.ec-hero-promo .ec-hero-promo__badge { width: 130px !important; height: 130px !important; }
    section.ec-hero-promo .ec-hero-promo__badge-num { font-size: 2.6rem !important; }
}

/* =========================================================
   13. CTA FINALE
   ========================================================= */
.ec-cta-final {
    margin: 60px 0 20px;
    padding: 48px 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--ec-border);
    text-align: center;
    box-shadow: var(--ec-shadow-sm);
}
.ec-cta-final__title {
    margin: 0 0 10px !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: var(--ec-text) !important;
    letter-spacing: -0.01em !important;
}
.ec-cta-final__subtitle {
    margin: 0 0 24px;
    color: var(--ec-text-muted);
    font-size: 1rem;
}

/* =========================================================
   14. RESPONSIVE
   ========================================================= */
@media (max-width: 800px) {
    .ec-hero-promo__inner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        text-align: center;
    }
    .ec-hero-promo__cta { justify-content: center; }
    .ec-hero-promo__visual { order: -1; }
    .ec-hero-promo__badge { width: 130px; height: 130px; }
    .ec-hero-promo__badge-num { font-size: 2.6rem; }

    .ec-section__head { flex-direction: column; align-items: flex-start; }
    .ec-grid--profiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

/* =========================================================
   HOMEPAGE: NASCONDI SIDEBAR E ALLARGA IL CONTENUTO
   ========================================================= */
body.home .contentwrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    float: none !important;
}
body.home .body {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
}

/* Nascondi QUALSIASI sidebar in home */
body.home .sidebar-left-1,
body.home .sidebar-right,
body.home .sidebar-left,
body.home .sidebar,
body.home .leftsidebar,
body.home .rightsidebar,
body.home [class*="sidebar-left"],
body.home [class*="sidebar-right"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* =========================================================
   HOMEPAGE: LAYOUT FULL WIDTH
   ========================================================= */
body.home .contentwrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    float: none !important;
    background: transparent !important;
}
body.home .body {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Rimuovi eventuali bordi/fondi residui del parent */
body.home .contentwrapper::before,
body.home .contentwrapper::after,
body.home .body::before,
body.home .body::after {
    display: none !important;
}

/* Sidebar: nascondi completamente */
body.home .sidebar-left-1,
body.home .sidebar-right {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Allinea la hero al full width */
body.home .ec-hero-promo {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Reset eventuali float/width del parent su .contentwrapper */
body.home #page,
body.home .all,
body.home .all-body {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* =========================================================
   FIX FULL WIDTH — versione aggressiva
   ========================================================= */

/* 1. Override completo su contenitore e corpo */
html body.home,
html body.home #page,
html body.home .all,
html body.home .all-body,
html body.home .contentwrapper,
html body.home .body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* 2. Il contenuto interno ha padding orizzontale, non il wrapper */
html body.home .contentwrapper {
    padding: 24px !important;
}
html body.home .contentwrapper > .body {
    padding: 0 !important;
}

/* 3. Sidebar: display none assoluto + larghezza 0 */
html body.home .sidebar-left-1,
html body.home .sidebar-right,
html body.home .sidebar-left,
html body.home .sidebar-right-1,
html body.home [class^="sidebar-"],
html body.home [class*=" sidebar-"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* 4. Hero e griglie al 100% */
html body.home .ec-hero-promo,
html body.home .ec-section,
html body.home .ec-grid,
html body.home .ec-reviews,
html body.home .ec-cta-final {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 5. Override su qualsiasi background rosa residuo del parent */
html body.home .contentwrapper {
    background-image: none !important;
    background-color: transparent !important;
}

/* =========================================================
   FIX DEFINITIVO BADGE — versione aggressiva v2
   ========================================================= */

/* 1. Il wrapper dei badge deve CRESCERE e andare a capo */
.ec-card__badges,
.ec-card .labels,
.ec-card .label-wrapper,
.ec-card [class*="label"] {
    display: flex !important;
    flex-direction: column !important;    /* ← uno sopra l'altro, non affiancati */
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    margin-top: 8px !important;
    padding: 0 !important;
    height: auto !important;              /* ← altezza automatica, non fissa */
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    position: static !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 0 !important;
}

/* 2. Ogni singolo badge è un pill indipendente */
.ec-card__badges > *,
.ec-card__badges > span,
.ec-card__badges > .label,
.ec-card__badges > .verified,
.ec-card__badges > .new,
.ec-card__badges > .label-verified,
.ec-card__badges > .label-featured,
.ec-card__badges > .label-new,
.ec-card__badges > .label-private {
    /* Reset TOTALE di tutte le proprietà che il parent setta */
    position: static !important;
    float: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    inset: auto !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-family: var(--ec-font, sans-serif) !important;
    font-size: .6rem !important;
    font-weight: 800 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;

    padding: 3px 8px !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
    color: #fff !important;

    background-image: none !important;
    background-clip: padding-box !important;
    box-shadow: none !important;
    border: 0 !important;

    white-space: nowrap !important;
    height: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* 3. Colori distinti per tipo di badge */
.ec-card__badges .label-verified,
.ec-card__badges .verified,
.ec-card__badges [class*="verified"] {
    background-color: #2ecc71 !important;
    background: #2ecc71 !important;
    color: #fff !important;
}
.ec-card__badges .label-featured,
.ec-card__badges .featured,
.ec-card__badges [class*="featured"] {
    background-color: #e6337a !important;
    background: #e6337a !important;
    color: #fff !important;
}
.ec-card__badges .label-new,
.ec-card__badges .new,
.ec-card__badges [class*="label-new"] {
    background-color: #7b3fa0 !important;
    background: #7b3fa0 !important;
    color: #fff !important;
}
.ec-card__badges .label-private,
.ec-card__badges .private {
    background-color: #d63030 !important;
    background: #d63030 !important;
    color: #fff !important;
}

/* 4. Rimuovi i <div class="clear"> dentro i badge — non servono e creano confusione */
.ec-card__badges .clear,
.ec-card__badges > .clear {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}

/* 5. Il body della card deve avere spazio in basso per far stare 2 badge */
.ec-card__body {
    padding-bottom: 18px !important;
    min-height: 80px !important;
}

/* =========================================================
   HEADER
   ========================================================= */
.ec-header {
    position: relative;
    background: #fff !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    z-index: 100;
}
.ec-header__bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.ec-header__logo { flex-shrink: 0; }
.ec-header__logo a { display: block; text-decoration: none; }
.ec-header__logo img {
    max-height: 52px !important;
    width: auto !important;
    display: block;
}
.ec-header__logo a {
    font-family: var(--ec-font, sans-serif);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--ec-text, #1c1a22);
    letter-spacing: -0.02em;
}

/* Menu */
.ec-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.ec-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 4px;
}
.ec-menu > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
}
.ec-menu > li > a {
    display: inline-block;
    padding: 8px 14px;
    font-family: var(--ec-font, sans-serif);
    font-size: .92rem;
    font-weight: 600;
    color: var(--ec-text, #1c1a22) !important;
    text-decoration: none;
    border-radius: 999px;
    transition: background .15s ease, color .15s ease;
    white-space: nowrap;
}
.ec-menu > li > a:hover,
.ec-menu > li.current-menu-item > a,
.ec-menu > li.current_page_item > a {
    background: var(--ec-surface-2, #f4eef6);
    color: var(--ec-accent, #e6337a) !important;
}

/* Sottomenu (dropdown) */
.ec-menu .ec-submenu,
.ec-menu ul.sub-menu,
.ec-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 8px;
    margin: 0;
    list-style: none;
    box-shadow: 0 10px 30px rgba(20,10,30,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 50;
}
.ec-menu > li:hover > .ec-submenu,
.ec-menu > li:hover > ul.sub-menu,
.ec-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ec-submenu li,
.ec-menu ul.sub-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ec-submenu li a,
.ec-menu ul.sub-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--ec-text, #1c1a22) !important;
    text-decoration: none;
    border-radius: 8px;
    transition: background .12s ease, color .12s ease;
}
.ec-submenu li a:hover,
.ec-menu ul.sub-menu li a:hover {
    background: var(--ec-surface-2, #f4eef6);
    color: var(--ec-accent, #e6337a) !important;
}

/* Azioni destra */
.ec-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.ec-header__lang {
    display: flex;
    align-items: center;
}
.ec-header__lang select,
.ec-header__lang .widget {
    margin: 0;
}
.ec-header__lang select {
    font-size: .85rem;
    padding: 6px 10px;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    background: #fff;
    color: var(--ec-text, #1c1a22);
    cursor: pointer;
    font-family: var(--ec-font, sans-serif);
}

.ec-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--ec-text, #1c1a22);
    background: transparent;
    transition: background .15s ease, color .15s ease;
    text-decoration: none;
}
.ec-header__icon:hover {
    background: var(--ec-surface-2, #f4eef6);
    color: var(--ec-accent, #e6337a);
}

.ec-header__cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--ec-accent, #e6337a);
    color: #fff !important;
    font-family: var(--ec-font, sans-serif);
    font-weight: 700;
    font-size: .88rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 2px 8px rgba(230, 51, 122, .18);   /* ← ridotto */
    white-space: nowrap;
}
.ec-header__cta:hover {
    background: var(--ec-accent-h, #c92566) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(230, 51, 122, .25);
}
.ec-header__cta--ghost {
    background: transparent;
    color: var(--ec-text, #1c1a22) !important;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: none;
}
.ec-header__cta--ghost:hover {
    background: var(--ec-surface-2, #f4eef6) !important;
    color: var(--ec-text, #1c1a22) !important;
    box-shadow: none;
}

/* Hamburger — solo mobile */
.ec-header__hamburger {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--ec-text, #1c1a22);
    border-radius: 8px;
}
.ec-header__hamburger:hover { background: var(--ec-surface-2, #f4eef6); }

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
    .ec-header__bar {
        padding: 12px 16px;
        gap: 12px;
    }
    .ec-header__nav {
        display: none;
    }
    .ec-header__hamburger {
        display: inline-flex;
    }
    .ec-header__logo img {
        max-height: 40px !important;
    }
    .ec-header__cta {
        padding: 8px 14px;
        font-size: .8rem;
    }
    .ec-header__icon {
        width: 34px;
        height: 34px;
    }
}

/* Nascondi header vecchio del parent (per sicurezza) */
.header-top-bar,
header > .header-top-bar {
    display: none !important;
}

/* =========================================================
   RESET WIDGET LINGUA — niente puntini/bullet
   ========================================================= */
.ec-header__lang ul,
.ec-header__lang li,
.ec-header__lang .widget,
.ec-header__lang .widgetbox,
.ec-header__lang [class*="lang"],
.ec-header__lang [class*="trp"],
.header-language-switcher,
.header-language-switcher li,
li.header-language-switcher {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.ec-header__lang ul::before,
.ec-header__lang li::before,
.ec-header__lang ul::marker,
.ec-header__lang li::marker,
.header-language-switcher::before,
.header-language-switcher::marker {
    content: none !important;
    display: none !important;
}

/* =========================================================
   MOBILE: HAMBURGER VISIBILE + MENU A TENDINA
   ========================================================= */
@media (max-width: 1080px) {

    /* Nascondi il menu inline */
    .ec-header__nav {
        display: none !important;
    }

    /* Mostra hamburger */
    .ec-header__hamburger {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: transparent !important;
        border: 0 !important;
        color: var(--ec-text, #1c1a22) !important;
        cursor: pointer;
        margin-left: auto;
        border-radius: 10px;
        transition: background .15s ease;
    }
    .ec-header__hamburger:hover {
        background: var(--ec-surface-2, #f4eef6) !important;
    }
    .ec-header__hamburger svg {
        display: block;
        width: 24px;
        height: 24px;
        stroke: currentColor;
    }

    /* Menu aperto (quando hamburger cliccato) */
    .ec-header.menu-open .ec-header__nav {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,.08);
        border-bottom: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 12px 32px rgba(20,10,30,.12);
        padding: 8px 0;
        z-index: 200;
        max-height: 80vh;
        overflow-y: auto;
    }
    .ec-header.menu-open .ec-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .ec-header.menu-open .ec-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,.05);
        margin: 0;
        padding: 0;
        position: static;
    }
    .ec-header.menu-open .ec-menu > li:last-child {
        border-bottom: 0;
    }
    .ec-header.menu-open .ec-menu > li > a {
        display: block;
        padding: 14px 20px;
        border-radius: 0;
        font-size: 1rem;
        font-weight: 600;
        background: transparent !important;
        color: var(--ec-text, #1c1a22) !important;
        text-align: left;
    }
    .ec-header.menu-open .ec-menu > li > a:hover {
        background: var(--ec-surface-2, #f4eef6) !important;
        color: var(--ec-accent, #e6337a) !important;
    }
    /* Sottomenu aperto: visibile sempre nel menu mobile */
    .ec-header.menu-open .ec-menu .sub-menu,
    .ec-header.menu-open .ec-menu .ec-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        background: var(--ec-surface, #faf7fb) !important;
        border-radius: 0 !important;
        padding: 4px 0 !important;
        margin: 0 !important;
    }
    .ec-header.menu-open .ec-menu .sub-menu li a,
    .ec-header.menu-open .ec-menu .ec-submenu li a {
        padding: 10px 32px !important;
        font-size: .92rem !important;
    }

    /* Nascondi lingua e search in mobile (o li spostiamo dentro il menu) */
    .ec-header__lang {
        display: none !important;
    }
    .ec-header__search {
        display: none !important;
    }
}

/* =========================================================
   SEARCH ESPANDIBILE
   ========================================================= */
.ec-header__search {
    position: relative;
    display: flex;
    align-items: center;
}
.ec-search-toggle {
    cursor: pointer;
    border: 0;
    background: transparent;
}
.ec-search-form {
    position: absolute;
    top: 50%;
    right: 0;
    margin-right: 46px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    width: 0;
    opacity: 0;
    pointer-events: none;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: none;        /* ← rimosso glow */
    transition: width .25s ease, opacity .2s ease, padding .25s ease, box-shadow .2s ease;
    z-index: 5;
}
.ec-header__search.is-open .ec-search-form {
    width: 280px;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 4px 4px 16px;
    box-shadow: 0 4px 14px rgba(20,10,30,.08);  /* ← ombra leggera */
}
.ec-header__search.is-open ~ .ec-header__lang {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .15s ease;
}
.ec-header__search.is-open .ec-search-form {
    width: 280px;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 4px 4px 16px;
}
.ec-search-form input {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: var(--ec-font, sans-serif);
    font-size: .9rem;
    color: var(--ec-text, #1c1a22);
    outline: none;
    min-width: 0;
    padding: 8px 0;
}
.ec-search-form input::placeholder {
    color: var(--ec-text-muted, #6f6a7a);
}
.ec-search-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    background: var(--ec-accent, #e6337a);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s ease;
}
.ec-search-form button:hover {
    background: var(--ec-accent-h, #c92566);
}
/* =========================================================
   MOBILE: HEADER RIORDINATO
   ========================================================= */
@media (max-width: 1080px) {

    /* Logo a sinistra, piccolo */
    .ec-header__logo {
        flex: 1 1 auto;
        min-width: 0;
    }
    .ec-header__logo img {
        max-height: 38px !important;
    }

    /* Azioni a destra, in fila */
    .ec-header__actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-left: auto;
        flex: 0 0 auto;
    }

    /* Nascondi "Registrati" fuori dal menu */
    .ec-header__cta {
        display: none !important;
    }

    /* Hamburger grande e visibile */
    .ec-header__hamburger {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 46px !important;
        height: 46px !important;
        background: var(--ec-surface-2, #f4eef6) !important;
        border: 0 !important;
        border-radius: 12px !important;
        color: var(--ec-accent, #e6337a) !important;
        cursor: pointer;
        margin-left: 0 !important;
    }
    .ec-header__hamburger:hover {
        background: var(--ec-accent, #e6337a) !important;
        color: #fff !important;
    }
    .ec-header__hamburger svg {
        width: 26px !important;
        height: 26px !important;
        display: block;
    }

    /* Nascondi search e lingua fuori dal menu */
    .ec-header__search {
        display: none !important;
    }
    .ec-header__lang {
        display: none !important;
    }
}
/* Elemento "Registrati" nel menu: nascosto su desktop */
li.ec-mobile-only {
    display: none !important;
}

/* Visibile solo quando il menu mobile è aperto */
@media (max-width: 1080px) {
    .ec-header.menu-open li.ec-mobile-only {
        display: block !important;
        border-top: 0 !important;
        padding: 12px 20px 20px !important;
        margin: 0 !important;
    }
    .ec-header.menu-open li.ec-mobile-only > a {
        display: block !important;
        text-align: center !important;
        padding: 14px 20px !important;
        background: var(--ec-accent, #e6337a) !important;
        color: #fff !important;
        border-radius: 999px !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        text-decoration: none !important;
        box-shadow: 0 6px 20px rgba(230,51,122,.3);
    }
    .ec-header.menu-open li.ec-mobile-only > a:hover {
        background: var(--ec-accent-h, #c92566) !important;
    }
}
/* =========================================================
   MOBILE: LAYOUT HAMBURGER - LOGO - REGISTRATI
   ========================================================= */
@media (max-width: 1080px) {

    /* Bar header: tre colonne */
    .ec-header__bar {
        display: flex !important;
        align-items: center !important;
        padding: 12px 16px !important;
        gap: 10px !important;
    }

    /* 1. Hamburger a sinistra */
    .ec-header__actions {
        display: contents !important; /* sparpaglia i figli nel flex del bar */
    }
    .ec-header__hamburger {
        display: inline-flex !important;
        order: 1 !important;
        width: 44px !important;
        height: 44px !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        background: var(--ec-surface-2, #f4eef6) !important;
        border: 0 !important;
        border-radius: 12px !important;
        color: var(--ec-accent, #e6337a) !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer;
    }
    .ec-header__hamburger svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* 2. Logo al centro */
    .ec-header__logo {
        order: 2 !important;
        flex: 1 1 auto !important;
        text-align: center !important;
        min-width: 0 !important;
    }
    .ec-header__logo a {
        display: inline-block !important;
    }
    .ec-header__logo img {
        max-height: 44px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* 3. Registrati a destra (piccolo, sempre visibile) */
    .ec-header__cta {
        order: 3 !important;
        display: inline-flex !important;
        flex: 0 0 auto !important;
        padding: 10px 16px !important;
        font-size: .82rem !important;
        background: var(--ec-accent, #e6337a) !important;
        color: #fff !important;
        border-radius: 999px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
    .ec-header__cta:hover {
        background: var(--ec-accent-h, #c92566) !important;
    }

    /* Nascondi search e lingua fuori dal menu (vanno dentro) */
    .ec-header__search,
    .ec-header__lang {
        display: none !important;
    }

    /* Nascondi il menu principale (va dentro il drawer) */
    .ec-header__nav {
        display: none !important;
    }

    /* Nav quando menu aperto */
    .ec-header.menu-open .ec-header__nav {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,.08);
        border-bottom: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 12px 32px rgba(20,10,30,.12);
        padding: 8px 0;
        z-index: 200;
        max-height: 80vh;
        overflow-y: auto;
        animation: ec-slide-down .25s ease;
    }
    @keyframes ec-slide-down {
        from { opacity: 0; transform: translateY(-8px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .ec-header.menu-open .ec-menu {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
    }
    .ec-header.menu-open .ec-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,.05);
        position: static !important;
    }
    .ec-header.menu-open .ec-menu > li:last-child {
        border-bottom: 0;
    }
    .ec-header.menu-open .ec-menu > li > a {
        display: block;
        padding: 14px 20px;
        border-radius: 0;
        font-size: 1rem;
        background: transparent !important;
        color: var(--ec-text, #1c1a22) !important;
        text-align: left;
    }
    .ec-header.menu-open .ec-menu > li > a:hover {
        background: var(--ec-surface-2, #f4eef6) !important;
        color: var(--ec-accent, #e6337a) !important;
    }
    /* Sottomenu espanso nel mobile */
    .ec-header.menu-open .ec-menu .sub-menu,
    .ec-header.menu-open .ec-menu .ec-submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        background: var(--ec-surface, #faf7fb) !important;
        border-radius: 0 !important;
        padding: 4px 0 !important;
        margin: 0 !important;
    }
    .ec-header.menu-open .ec-menu .sub-menu li a,
    .ec-header.menu-open .ec-menu .ec-submenu li a {
        padding: 10px 32px !important;
        font-size: .92rem !important;
    }

    /* Freccia sui genitori */
    .ec-header.menu-open .menu-item-has-children > a::after {
        content: "▾";
        float: right;
        margin-left: 8px;
        transition: transform .2s ease;
        font-size: .9em;
    }
    .ec-header.menu-open .menu-item-has-children.is-open > a::after {
        transform: rotate(180deg);
    }
}

/* Nascondi "Registrati" dal menu mobile (ora è nell'header) */
li.ec-mobile-only {
    display: none !important;
}

/* Nascondi il footer di Elementor — usiamo il footer.php del tema */
footer#colophon > .footer-width-fixer,
footer#colophon > div[data-elementor-type] {
    display: none !important;
}

/* Mostra il footer custom del tema */
.ec-footer {
    display: block !important;
}
/* =========================================================
   FOOTER
   ========================================================= */
.ec-footer {
    background: #1c1a22;              /* scuro elegante */
    color: #cfcbd8;
    margin-top: 80px;
    font-family: var(--ec-font, sans-serif);
    font-size: .92rem;
    line-height: 1.6;
}

.ec-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* Colonna brand */
.ec-footer__logo { display: inline-block; margin-bottom: 16px; }
.ec-footer__logo img {
    max-height: 56px;
    width: auto;
    filter: brightness(1.05);
}
.ec-footer__logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
}
.ec-footer__desc {
    color: #9a95a5;
    font-size: .9rem;
    margin: 0;
    max-width: 280px;
    line-height: 1.6;
}

/* Titoli colonne */
.ec-footer__title {
    color: #fff !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Liste link */
.ec-footer__links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ec-footer__links li {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
.ec-footer__links li::before {
    content: none !important;
}
.ec-footer__links a {
    color: #cfcbd8 !important;
    text-decoration: none !important;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .15s ease, transform .15s ease;
}
.ec-footer__links a:hover {
    color: var(--ec-accent, #e6337a) !important;
    transform: translateX(3px);
}
.ec-footer__links a svg {
    opacity: .7;
    flex-shrink: 0;
}

/* Social */
.ec-footer__social {
    display: flex;
    gap: 10px;
}
.ec-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #cfcbd8 !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ec-footer__social-link:hover {
    background: var(--ec-accent, #e6337a);
    color: #fff !important;
    transform: translateY(-2px);
}
.ec-footer__social-link svg {
    display: block;
}

/* Barra inferiore */
.ec-footer__bottom {
    background: rgba(0,0,0,.25);
    border-top: 1px solid rgba(255,255,255,.05);
}
.ec-footer__bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.ec-footer__copy {
    color: #9a95a5;
    font-size: .82rem;
}
.ec-footer__copy strong {
    color: #cfcbd8;
    font-weight: 600;
}
.ec-footer__legal {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
}
.ec-footer__legal a {
    color: #9a95a5 !important;
    text-decoration: none !important;
    transition: color .15s ease;
}
.ec-footer__legal a:hover {
    color: var(--ec-accent, #e6337a) !important;
}
.ec-footer__sep {
    color: rgba(255,255,255,.2);
}

/* Nascondi footer Elementor */
footer#colophon > .footer-width-fixer,
footer#colophon > div[data-elementor-type] {
    display: none !important;
}

/* =========================================================
   FOOTER RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
    .ec-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 40px 20px 30px;
    }
}
@media (max-width: 600px) {
    .ec-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .ec-footer__logo,
    .ec-footer__logo-text { display: block; margin: 0 auto 16px; }
    .ec-footer__desc { margin: 0 auto; }
    .ec-footer__social { justify-content: center; }
    .ec-footer__links a:hover { transform: none; }
    .ec-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
/* =========================================================
   FOOTER — VERSIONE POTENZIATA
   ========================================================= */
footer.ec-footer {
    background: #1c1a22 !important;
    color: #cfcbd8 !important;
    margin-top: 80px !important;
    padding: 0 !important;
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-size: .92rem !important;
    line-height: 1.6 !important;
    width: 100% !important;
    display: block !important;
}

/* Grid a 4 colonne */
footer.ec-footer .ec-footer__inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 60px 24px 40px !important;
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

footer.ec-footer .ec-footer__col {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
}

/* Colonna brand */
footer.ec-footer .ec-footer__logo {
    display: inline-block !important;
    margin-bottom: 16px !important;
}
footer.ec-footer .ec-footer__logo img {
    max-height: 60px !important;
    width: auto !important;
    display: block !important;
    background: transparent !important;
}

footer.ec-footer .ec-footer__desc {
    color: #9a95a5 !important;
    font-size: .9rem !important;
    margin: 0 !important;
    max-width: 280px !important;
    line-height: 1.6 !important;
}

/* Titoli colonne */
footer.ec-footer .ec-footer__title {
    color: #fff !important;
    font-size: .95rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
}

/* Liste link */
footer.ec-footer .ec-footer__links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
footer.ec-footer .ec-footer__links li {
    list-style: none !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}
footer.ec-footer .ec-footer__links li::before,
footer.ec-footer .ec-footer__links li::marker {
    content: none !important;
    display: none !important;
}
footer.ec-footer .ec-footer__links a {
    color: #cfcbd8 !important;
    text-decoration: none !important;
    font-size: .9rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: color .15s ease, transform .15s ease !important;
}
footer.ec-footer .ec-footer__links a:hover {
    color: #e6337a !important;
    transform: translateX(3px) !important;
}
footer.ec-footer .ec-footer__links a svg {
    opacity: .7 !important;
    flex-shrink: 0 !important;
}

/* Social */
footer.ec-footer .ec-footer__social {
    display: flex !important;
    gap: 10px !important;
}
footer.ec-footer .ec-footer__social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.06) !important;
    color: #cfcbd8 !important;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .15s ease !important;
}
footer.ec-footer .ec-footer__social-link:hover {
    background: #e6337a !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}
footer.ec-footer .ec-footer__social-link svg {
    display: block !important;
}

/* Barra inferiore */
footer.ec-footer .ec-footer__bottom {
    background: rgba(0,0,0,.25) !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
}
footer.ec-footer .ec-footer__bottom-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    flex-wrap: wrap !important;
}
footer.ec-footer .ec-footer__copy {
    color: #9a95a5 !important;
    font-size: .82rem !important;
}
footer.ec-footer .ec-footer__copy strong {
    color: #cfcbd8 !important;
    font-weight: 600 !important;
}
footer.ec-footer .ec-footer__legal {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    font-size: .82rem !important;
}
footer.ec-footer .ec-footer__legal a {
    color: #9a95a5 !important;
    text-decoration: none !important;
    transition: color .15s ease !important;
}
footer.ec-footer .ec-footer__legal a:hover {
    color: #e6337a !important;
}
footer.ec-footer .ec-footer__sep {
    color: rgba(255,255,255,.2) !important;
}

/* Responsive */
@media (max-width: 900px) {
    footer.ec-footer .ec-footer__inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
        padding: 40px 20px 30px !important;
    }
}
@media (max-width: 600px) {
    footer.ec-footer .ec-footer__inner {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        text-align: center !important;
    }
    footer.ec-footer .ec-footer__logo { display: block !important; margin: 0 auto 16px !important; }
    footer.ec-footer .ec-footer__desc { margin: 0 auto !important; }
    footer.ec-footer .ec-footer__social { justify-content: center !important; }
    footer.ec-footer .ec-footer__links a:hover { transform: none !important; }
    footer.ec-footer .ec-footer__bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
    }
}
/* Rende lo sfondo del logo "trasparente" sul footer scuro */
footer.ec-footer .ec-footer__logo img {
    mix-blend-mode: lighten !important;
}
/* =========================================================
   FOOTER — MIGLIORIE MOBILE
   ========================================================= */
@media (max-width: 600px) {

    /* Riduci padding generale */
    footer.ec-footer .ec-footer__inner {
        padding: 40px 20px 30px !important;
        gap: 32px !important;
    }

    /* Logo più compatto */
    footer.ec-footer .ec-footer__logo {
        margin: 0 auto 12px !important;
    }
    footer.ec-footer .ec-footer__logo img {
        max-height: 50px !important;
        margin: 0 auto !important;
    }

    /* Descrizione più leggibile */
    footer.ec-footer .ec-footer__desc {
        font-size: .88rem !important;
        line-height: 1.55 !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    /* Titoli più spaziati */
    footer.ec-footer .ec-footer__title {
        font-size: .9rem !important;
        margin-bottom: 14px !important;
        letter-spacing: .1em !important;
    }

    /* Link più compatti */
    footer.ec-footer .ec-footer__links li {
        margin-bottom: 8px !important;
    }
    footer.ec-footer .ec-footer__links a {
        font-size: .9rem !important;
        justify-content: center !important;
    }

    /* Social centrati */
    footer.ec-footer .ec-footer__social {
        justify-content: center !important;
        gap: 12px !important;
    }
    footer.ec-footer .ec-footer__social-link {
        width: 44px !important;
        height: 44px !important;
    }

    /* Barra inferiore: layout a colonna pulito */
    footer.ec-footer .ec-footer__bottom-inner {
        padding: 20px 16px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    footer.ec-footer .ec-footer__copy {
        font-size: .78rem !important;
        line-height: 1.5 !important;
    }
    footer.ec-footer .ec-footer__legal {
        justify-content: center !important;
        font-size: .78rem !important;
        gap: 6px !important;
    }
}
/* =========================================================
   HEADER — LOGIN + USER MENU
   ========================================================= */

/* Link "Accedi" (piccolo, ghost) */
.ec-header__login {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-family: var(--ec-font, sans-serif);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ec-text, #1c1a22) !important;
    text-decoration: none !important;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    background: transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
    white-space: nowrap;
}
.ec-header__login:hover {
    background: var(--ec-surface-2, #f4eef6);
    border-color: rgba(0,0,0,.2);
    color: var(--ec-accent, #e6337a) !important;
}

/* Dropdown utente loggato */
.ec-user-menu {
    position: relative;
    display: inline-flex;
}
.ec-user-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    background: transparent;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 999px;
    font-family: var(--ec-font, sans-serif);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ec-text, #1c1a22);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.ec-user-menu__toggle:hover {
    background: var(--ec-surface-2, #f4eef6);
    border-color: rgba(0,0,0,.15);
}

/* Avatar con iniziale */
.ec-user-menu__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b3fa0, #e6337a);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ec-user-menu__name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-user-menu__chevron {
    opacity: .5;
    transition: transform .2s ease;
    flex-shrink: 0;
}
.ec-user-menu.is-open .ec-user-menu__chevron {
    transform: rotate(180deg);
}

/* Dropdown menu */
.ec-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    padding: 6px;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 12px 32px rgba(20,10,30,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
    z-index: 60;
}
.ec-user-menu.is-open .ec-user-menu__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ec-user-menu__dropdown li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.ec-user-menu__dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: var(--ec-text, #1c1a22) !important;
    font-family: var(--ec-font, sans-serif);
    font-size: .88rem;
    font-weight: 500;
    transition: background .12s ease, color .12s ease;
}
.ec-user-menu__dropdown a:hover {
    background: var(--ec-surface-2, #f4eef6) !important;
    color: var(--ec-accent, #e6337a) !important;
}
.ec-user-menu__dropdown a svg {
    opacity: .7;
    flex-shrink: 0;
    transition: opacity .12s ease;
}
.ec-user-menu__dropdown a:hover svg {
    opacity: 1;
}

/* Divider */
.ec-user-menu__divider {
    height: 1px;
    background: rgba(0,0,0,.06);
    margin: 6px 4px !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Logout in rosso (differenziazione) */
.ec-user-menu__logout {
    color: #d63030 !important;
}
.ec-user-menu__logout:hover {
    background: rgba(214, 48, 48, .08) !important;
    color: #d63030 !important;
}

/* =========================================================
   MOBILE: ADATTA LOGIN E USER MENU
   ========================================================= */
@media (max-width: 1080px) {

    /* Nascondi il link "Accedi" su mobile (va dentro il menu) */
    .ec-header__login {
        display: none !important;
    }

    /* Il menu utente: solo avatar su mobile */
    .ec-user-menu__toggle {
        padding: 4px !important;
        border: 0 !important;
        background: transparent !important;
    }
    .ec-user-menu__name,
    .ec-user-menu__chevron {
        display: none !important;
    }
    .ec-user-menu__avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}
/* =========================================================
   MOBILE: LAYOUT HEADER — HAMBURGER | LOGO | AZIONI
   ========================================================= */
@media (max-width: 1080px) {

    /* Grid: sinistra auto, centro 1fr, destra auto */
    .ec-header__bar {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;   /* ← colonne flessibili */
        grid-template-areas: "hamburger logo actions" !important;
        align-items: center !important;
        padding: 10px 14px !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Logo al centro */
    .ec-header__logo {
        grid-area: logo !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin: 0 !important;
        min-width: 0 !important;
    }
    .ec-header__logo a {
        display: inline-block !important;
    }
    .ec-header__logo img {
        max-height: 40px !important;
        margin: 0 auto !important;
    }

    /* Nav nascosto */
    .ec-header__nav {
        display: none !important;
    }

    /* Azioni: display contents per sparpagliare i figli nel grid */
    .ec-header__actions {
        display: contents !important;
    }

    /* Nascondi elementi che non servono su mobile */
    .ec-header__login,
    .ec-header__lang,
    .ec-header__search {
        display: none !important;
    }

    /* Hamburger a sinistra */
    .ec-header__hamburger {
        grid-area: hamburger !important;
        justify-self: start !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        background: var(--ec-surface-2, #f4eef6) !important;
        border: 0 !important;
        border-radius: 12px !important;
        color: var(--ec-accent, #e6337a) !important;
        cursor: pointer;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    .ec-header__hamburger svg {
        width: 22px !important;
        height: 22px !important;
    }

    /* Registrati a destra (NON tagliato) */
    .ec-header__cta {
        grid-area: actions !important;
        justify-self: end !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px 14px !important;
        font-size: .8rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Avatar utente loggato */
    .ec-user-menu {
        grid-area: actions !important;
        justify-self: end !important;
        display: inline-flex !important;
    }
    .ec-user-menu__toggle {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        gap: 0 !important;
    }
    .ec-user-menu__name,
    .ec-user-menu__chevron {
        display: none !important;
    }
    .ec-user-menu__avatar {
        width: 42px !important;
        height: 42px !important;
        font-size: 1rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
/* =========================================================
   AGE GATE — STILE CUSTOM
   ========================================================= */

/* Overlay di sfondo */
.age-gate-wrapper,
.age-gate__wrapper,
.agegate,
.age-gate-overlay {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    background-color: rgba(28, 26, 34, 0.85) !important;
}

/* Card centrale */
.age-gate,
.age-gate__container,
.age-gate__inner,
.agegate .age-gate-content {
    background: linear-gradient(135deg, #1c1a22 0%, #2a1f35 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 40px 32px !important;
    max-width: 520px !important;
}

/* Logo */
.age-gate img.logo,
.age-gate__logo img,
.agegate-logo img {
    max-height: 80px !important;
    width: auto !important;
    margin: 0 auto 24px !important;
    display: block !important;
}

/* Intestazione */
.age-gate h1,
.age-gate h2,
.age-gate__headline {
    color: #ffffff !important;
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    margin: 0 0 12px !important;
}

/* Sottotitolo */
.age-gate p,
.age-gate__subheadline {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin: 0 0 20px !important;
}

/* Bottoni */
.age-gate button,
.age-gate .button,
.age-gate__buttons button,
.agegate-btn {
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-weight: 700 !important;
    font-size: .95rem !important;
    padding: 12px 32px !important;
    border-radius: 999px !important;
    border: 0 !important;
    cursor: pointer !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease !important;
    margin: 6px !important;
    min-width: 140px !important;
}

/* Bottone "Sì" — verde */
.age-gate button[type="submit"],
.age-gate .button-accept,
.age-gate__buttons button:first-of-type {
    background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35) !important;
}
.age-gate button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.5) !important;
}

/* Bottone "No" — rosa brand */
.age-gate .button-decline,
.age-gate__buttons button:last-of-type {
    background: linear-gradient(135deg, #e6337a, #c92566) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(230, 51, 122, 0.35) !important;
}
.age-gate .button-decline:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(230, 51, 122, 0.5) !important;
}

/* Disclaimer finale */
.age-gate .disclaimer,
.age-gate__disclaimer,
.agegate-disclaimer {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: .78rem !important;
    line-height: 1.5 !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
}

/* =========================================================
   FIX CHECKBOX "RICORDAMI" — Quadratino disegnato
   ========================================================= */

/* Contenitore del nostro checkbox personalizzato */
#ec-remember-wrapper {
    display: block !important;
    margin: 15px auto !important;
    text-align: center !important;
}

/* Label cliccabile */
#ec-remember-wrapper label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
}

/* Il quadratino disegnato a sinistra del testo */
#ec-remember-wrapper label::before {
    content: "" !important;
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #e6337a !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

/* Quando l'utente clicca, la checkbox (nascosta) diventa checked e il quadratino si riempie */
#ec-remember-wrapper label:has(input:checked)::before {
    background-color: #e6337a !important;
    border-color: #e6337a !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>") !important;
    background-size: 14px 14px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Nascondiamo l'input originale: non ci serve più */
#ec-remember-checkbox {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
}

/* Mobile */
@media (max-width: 600px) {
    .age-gate,
    .age-gate__container,
    .age-gate__inner,
    .agegate .age-gate-content {
        margin: 16px !important;
        padding: 28px 20px !important;
        border-radius: 16px !important;
    }
    .age-gate h1,
    .age-gate__headline {
        font-size: 1.3rem !important;
    }
    .age-gate p {
        font-size: .92rem !important;
    }
    .age-gate button {
        padding: 11px 24px !important;
        font-size: .88rem !important;
    }
}
/* X elegante nel popup Elementor */
.elementor-popup-modal .dialog-close-button {
    background: rgba(255,255,255,0.15) !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 15px !important;
    right: 15px !important;
    opacity: 1 !important;
    transition: background 0.2s ease !important;
}
.elementor-popup-modal .dialog-close-button:hover {
    background: rgba(255,255,255,0.3) !important;
}
.elementor-popup-modal .dialog-close-button svg {
    width: 16px !important;
    height: 16px !important;
    fill: #fff !important;
}
/* Nasconde il popup Elementor sulla pagina di registrazione */
body.page-id-3155 .elementor-popup-modal {
    display: none !important;
}
body.page-id-7 .dialog-widget {
    display: none !important;
}

/* =========================================================
   LISTA PROFILI (ALL-PROFILES)
   ========================================================= */

/* Layout full-width: nascondi sidebar in questa pagina */
.page-template-all-profiles .contentwrapper,
.page-template-all-profiles .body {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    float: none !important;
    background: transparent !important;
}
.page-template-all-profiles .sidebar-left-1,
.page-template-all-profiles .sidebar-right {
    display: none !important;
}

/* Header della lista */
.ec-list-header {
    margin-bottom: 40px;
}
.ec-list-title {
    font-family: var(--ec-font, 'Inter', sans-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--ec-text, #1c1a22);
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    letter-spacing: -0.02em;
}
.ec-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ec-surface-2, #f4eef6);
    color: var(--ec-text, #1c1a22) !important;
    font-family: var(--ec-font, 'Inter', sans-serif);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    white-space: nowrap;
}
.ec-filter-pill:hover,
.ec-filter-pill.current {
    background: var(--ec-accent, #e6337a);
    color: #fff !important;
    transform: translateY(-1px);
}
.ec-filter-pill--live::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    margin-right: 6px;
}

/* Contenuto della pagina (testo descrittivo) */
.ec-list-content {
    margin-bottom: 32px;
    color: var(--ec-text-muted, #6f6a7a);
    font-size: .95rem;
    line-height: 1.6;
}

/* Griglia */
.ec-list-grid-wrap {
    width: 100%;
}

/* Paginazione */
.ec-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}
.ec-pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.ec-pagination li {
    margin: 0;
    padding: 0;
}
.ec-pagination a,
.ec-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ec-border, rgba(0,0,0,.1));
    color: var(--ec-text, #1c1a22);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}
.ec-pagination a:hover {
    background: var(--ec-surface-2, #f4eef6);
    border-color: var(--ec-accent, #e6337a);
    color: var(--ec-accent, #e6337a);
}
.ec-pagination .current {
    background: var(--ec-accent, #e6337a) !important;
    border-color: var(--ec-accent, #e6337a) !important;
    color: #fff !important;
}

/* Rimuove i bordi laterali rosa nella pagina lista */
.page-template-all-profiles .contentwrapper,
.page-template-all-profiles .body,
.page-template-all-profiles .bodybox {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
/* =========================================================
   LISTA PROFILI (ALL-PROFILES) - VERSIONE FINALE PULITA
   ========================================================= */

/* 1. Layout Full Width */
.page-template-all-profiles .contentwrapper,
.page-template-all-profiles .body {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 24px 40px !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.page-template-all-profiles .sidebar-left-1,
.page-template-all-profiles .sidebar-right {
    display: none !important;
}

/* 2. Hero Banner */
.ec-list-hero {
    background: linear-gradient(135deg, #7b3fa0 0%, #e6337a 100%);
    border-radius: 20px;
    padding: 48px 32px;
    margin: 24px 0 32px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(123, 63, 160, 0.2);
    position: relative;
    overflow: hidden;
}
.ec-list-hero::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.ec-list-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.ec-list-title {
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    letter-spacing: -0.02em !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}
.ec-list-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

/* 3. Toolbar (Menu a tendina) - Base */
.ec-list-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
}

/* 4. Stile dei SELECT (Tendine) */
.ec-list-toolbar select,
#ec-filter-select,
#ec-sort {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 40px 10px 16px !important; /* Spazio a destra per la freccia */
    border-radius: 999px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    background-color: #fff !important;
    font-family: var(--ec-font, 'Inter', sans-serif) !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: var(--ec-text, #1c1a22) !important;
    cursor: pointer !important;
    
    /* Rimuove la freccia di default del browser (niente freccia rossa!) */
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    
    /* Aggiunge l'unica freccia elegante (nera) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1a22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
}

/* 5. Layout Desktop: barre piccole e affiancate */
@media (min-width: 769px) {
    .ec-list-toolbar {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 32px !important;
    }
    .ec-filter-select-wrapper,
    .ec-sort-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 1 auto !important;
        width: auto !important;
    }
    /* Forza la larghezza fissa (es. 250px) su desktop */
    .ec-list-toolbar select,
    #ec-filter-select,
    #ec-sort {
        min-width: 220px !important;
        max-width: 250px !important;
    }
}

/* 6. Layout Mobile: barre in colonna al 100% */
@media (max-width: 768px) {
    .ec-filter-select-wrapper,
    .ec-sort-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .ec-list-toolbar label {
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        min-width: 80px;
    }
}

/* 7. Griglia e Paginazione */
.ec-list-grid-wrap { width: 100% !important; }
.ec-pagination { margin-top: 48px; display: flex; justify-content: center; }
.ec-pagination ul { display: flex; list-style: none; padding: 0; margin: 0; gap: 6px; flex-wrap: wrap; justify-content: center; }
.ec-pagination li { margin: 0; padding: 0; }
.ec-pagination a, .ec-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ec-border, rgba(0,0,0,.1)); color: var(--ec-text, #1c1a22); font-size: .88rem; font-weight: 600; text-decoration: none; transition: all .15s ease; }
.ec-pagination a:hover { background: var(--ec-surface-2, #f4eef6); border-color: var(--ec-accent, #e6337a); color: var(--ec-accent, #e6337a); }
.ec-pagination .current { background: var(--ec-accent, #e6337a) !important; border-color: var(--ec-accent, #e6337a) !important; color: #fff !important; }

/* =========================================================
   FIX NUCLEARE FILTRI (ignora tutto il resto)
   ========================================================= */

/* 1. Distruggiamo la freccia rossa e lo stile nativo su TUTTI i browser */
body .ec-list-toolbar select,
body #ec-filter-select,
body #ec-sort {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1a22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-color: #fff !important;
    padding: 10px 40px 10px 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

/* 2. Desktop: barre piccole (220px) e affiancate */
@media (min-width: 769px) {
    body .ec-list-toolbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 32px !important;
    }
    body .ec-filter-select-wrapper,
    body .ec-sort-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }
    body #ec-filter-select,
    body #ec-sort {
        width: 220px !important;
        min-width: 220px !important;
    }
}

/* 3. Mobile: barre larghe 100% in colonna */
@media (max-width: 768px) {
    body .ec-list-toolbar {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }
    body .ec-filter-select-wrapper,
    body .ec-sort-wrapper {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
    }
    body #ec-filter-select,
    body #ec-sort {
        flex: 1 !important;
        width: 100% !important;
    }
}
/* =========================================================
   DESKTOP: FILTRI COMPATTI (SOVRASCRIVE GLI STILI INLINE)
   ========================================================= */
@media (min-width: 769px) {
    .ec-list-toolbar {
        display: flex !important;
        justify-content: flex-start !important; 
        gap: 30px !important;
    }
    .ec-filter-select-wrapper,
    .ec-sort-wrapper {
        flex: 0 0 250px !important;
        width: 250px !important;
        max-width: 250px !important;
    }
    #ec-filter-select,
    #ec-sort {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 !important;
    }
}
/* =========================================================
   PAGINA AGENZIE (Lista) - Pulita
   ========================================================= */

/* 1. Nasconde le sidebar e allarga il contenuto */
html body.page-template-nav-agencies .sidebar-left-1,
html body.page-template-nav-agencies .sidebar-right,
html body.page-template-nav-agencies [class*="sidebar-"] {
    display: none !important;
}

html body.page-template-nav-agencies .contentwrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    float: none !important;
    background: transparent !important;
}

html body.page-template-nav-agencies .bodybox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 2. Titolo */
html body.page-template-nav-agencies .ec-list-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin: 0 0 30px 0 !important;
    text-align: left !important;
}

/* 3. Griglia */
html body.page-template-nav-agencies .ec-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
}

/* 4. Card (forza il nostro stile) */
html body.page-template-nav-agencies .ec-card {
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(20, 10, 30, 0.06) !important;
    height: 350px !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.2s ease !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

html body.page-template-nav-agencies .ec-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 6px 20px rgba(20, 10, 30, 0.10) !important;
}

/* 5. Immagine */
html body.page-template-nav-agencies .ec-card__media {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #f4eef6 !important;
}

html body.page-template-nav-agencies .ec-card__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    transition: transform 0.4s ease !important;
    z-index: 1 !important;
}

html body.page-template-nav-agencies .ec-card:hover .ec-card__img {
    transform: scale(1.05) !important;
}

/* 6. Overlay scuro */
html body.page-template-nav-agencies .ec-card__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* 7. Testo */
html body.page-template-nav-agencies .ec-card__body {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px 15px 15px !important;
    z-index: 3 !important;
    color: #fff !important;
    text-align: left !important;
}

html body.page-template-nav-agencies .ec-card__name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

html body.page-template-nav-agencies .ec-card__location {
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.9) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
}

/* 8. Badge Premium */
html body.page-template-nav-agencies .ec-badge--premium {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    z-index: 4 !important;
    background: #f5a623 !important;
    color: #1c1a22 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    line-height: 1 !important;
}

/* 9. Rimuove separatori e bordi */
html body.page-template-nav-agencies .show-separator {
    display: none !important;
}
/* =========================================================
   FIX RIGA BIANCA - CARD AGENZIA (Classi ec-card)
   ========================================================= */

/* 1. La card principale: taglio netto e nasconde tutto */
html body.page-template-nav-agencies .ec-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 350px !important;
    border-radius: 12px !important;
    overflow: hidden !important; /* FONDAMENTALE: taglia la riga bianca */
    background: #f4eef6 !important;
    box-shadow: 0 2px 6px rgba(20, 10, 30, 0.06) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    float: none !important;
}

/* 2. Il link dentro la card deve coprire tutto in modo assoluto */
html body.page-template-nav-agencies .ec-card__link {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    text-decoration: none !important;
    z-index: 10 !important;
    border: 0 !important;
}

/* 3. L'immagine deve riempire tutto senza sbordare */
html body.page-template-nav-agencies .ec-card__media {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

html body.page-template-nav-agencies .ec-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

/* 4. L'overlay scuro */
html body.page-template-nav-agencies .ec-card__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* 5. IL FIX DELLA RIGA BIANCA: il contenitore del testo deve stare in basso e non avere sfondo */
html body.page-template-nav-agencies .ec-card__body {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 20px 15px !important;
    background: transparent !important; /* Rimuove il bianco */
    z-index: 3 !important;
    text-align: left !important;
    box-sizing: border-box !important;
    border: 0 !important;
    box-shadow: none !important;
    float: none !important;
}

/* 6. Il nome */
html body.page-template-nav-agencies .ec-card__name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

/* 7. La posizione */
html body.page-template-nav-agencies .ec-card__location {
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* 8. Icona del pin */
html body.page-template-nav-agencies .ec-icon-pin {
    color: currentColor !important;
}
/* =========================================================
   FIX FINALI (Bordi e Titolo)
   ========================================================= */

/* 1. Rimuove il bordo tratteggiato rosa */
html body.page-template-nav-agencies .contentwrapper,
html body.page-template-nav-agencies .body,
html body.page-template-nav-agencies .bodybox,
html body.page-template-nav-agencies .ec-list-hero,
html body.page-template-nav-agencies .ec-list-hero * {
    outline: 0 !important;
    outline-offset: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 2. Forza il titolo bianco e centrato */
html body.page-template-nav-agencies .ec-list-title,
html body.page-template-nav-agencies h1 {
    color: #ffffff !important;
    text-align: center !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    margin: 0 0 12px 0 !important;
    display: block !important;
    width: 100% !important;
}

/* 3. Forza il sottotitolo bianco e centrato */
html body.page-template-nav-agencies .ec-list-subtitle {
    color: rgba(255,255,255,0.9) !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
}

/* 4. Centra tutto il contenuto del banner */
html body.page-template-nav-agencies .ec-list-hero__inner {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
/* =========================================================
   FIX FULL WIDTH AGENZIE (100% Larghezza)
   ========================================================= */

/* 1. Forza il contenitore principale a 100% */
html body.page-template-nav-agencies .contentwrapper {
    width: 100vw !important;      /* Larghezza viewport */
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    float: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

/* 2. Il corpo interno deve essere full width ma con un piccolo padding per non attaccare ai bordi */
html body.page-template-nav-agencies .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 4% !important;      /* Padding laterale per respiro */
    float: none !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

/* 3. Il bodybox deve stare dentro senza limiti */
html body.page-template-nav-agencies .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 40px 0 !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* 4. Banner Hero Full Width (ma con margini interni) */
html body.page-template-nav-agencies .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
}

/* 5. Griglia delle agenzie full width */
html body.page-template-nav-agencies .ec-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 6. Rimuove eventuali margin/padding laterali dal parent */
html body.page-template-nav-agencies .contentwrapper > *,
html body.page-template-nav-agencies .body > * {
    max-width: 100% !important;
}

/* 7. Nasconde le sidebar in modo assoluto (se ancora presenti) */
html body.page-template-nav-agencies .sidebar-left-1,
html body.page-template-nav-agencies .sidebar-right,
html body.page-template-nav-agencies [class*="sidebar-"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}
/* =========================================================
   SISTEMAZIONE FILTRI (Stato + Città) - Layout Corretto
   ========================================================= */

/* La barra dei filtri: tutto allineato a sinistra */
html body.page-template-nav-agencies .ec-list-toolbar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Forza tutto a sinistra */
    gap: 20px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin-bottom: 32px !important;
}

/* Raggruppamento Stato + Città */
html body.page-template-nav-agencies .ec-filter-group {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

/* I singoli wrapper (Stato o Città) */
html body.page-template-nav-agencies .ec-filter-select-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important; /* Larghezza automatica in base al contenuto */
    min-width: 250px !important; /* Diamo un minimo per non farlo schiacciare */
}

/* Le etichette */
html body.page-template-nav-agencies .ec-list-toolbar label {
    font-weight: 600 !important;
    font-size: .9rem !important;
    color: #6f6a7a !important;
    white-space: nowrap !important; /* Impedisce alla scritta di andare a capo */
    margin: 0 !important;
}

/* Le select (tendine) */
html body.page-template-nav-agencies #ec-filter-state,
html body.page-template-nav-agencies #ec-filter-city,
html body.page-template-nav-agencies #ec-sort {
    flex: 1 !important;
    width: 100% !important;
    min-width: 160px !important;
    padding: 10px 40px 10px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background-color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1a22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02) !important;
    transition: border-color 0.2s ease !important;
}

html body.page-template-nav-agencies #ec-filter-state:focus,
html body.page-template-nav-agencies #ec-filter-city:focus,
html body.page-template-nav-agencies #ec-sort:focus {
    outline: none !important;
    border-color: #e6337a !important;
}

/* Wrapper dell'ordinamento (ora è a sinistra) */
html body.page-template-nav-agencies .ec-sort-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 auto !important;
    margin-left: 0 !important; /* Rimosso il margin-left: auto che lo spingeva a destra */
}

/* Responsive per Mobile */
@media (max-width: 768px) {
    html body.page-template-nav-agencies .ec-list-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
    }
    
    html body.page-template-nav-agencies .ec-filter-group {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    
    html body.page-template-nav-agencies .ec-filter-select-wrapper {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    html body.page-template-nav-agencies .ec-sort-wrapper {
        width: 100% !important;
    }
}
/* =========================================================
   FIX LARGHEZZA UNIFORME (Escort e Agenzie)
   ========================================================= */

/* 1. Pagina Escort (all-profiles) */
html body.page-template-all-profiles .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;   /* Padding laterale del 4% */
    float: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html body.page-template-all-profiles .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

html body.page-template-all-profiles .ec-list-page {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 2. Pagina Agenzie */
html body.page-template-nav-agencies .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;   /* Stesso padding della pagina escort */
    float: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

html body.page-template-nav-agencies .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

html body.page-template-nav-agencies .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 40px 0 !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* 3. Banner Hero — stessa larghezza per entrambe */
html body.page-template-all-profiles .ec-list-hero,
html body.page-template-nav-agencies .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
}

/* 4. Griglia — stessa larghezza per entrambe */
html body.page-template-all-profiles .ec-grid,
html body.page-template-nav-agencies .ec-grid {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. Rimuove eventuali margini negativi residui */
html body.page-template-all-profiles *,
html body.page-template-nav-agencies * {
    margin-left: 0;
    margin-right: 0;
}

/* 6. Mantieni margini interni specifici */
html body.page-template-all-profiles .ec-list-toolbar,
html body.page-template-nav-agencies .ec-list-toolbar {
    margin-bottom: 32px !important;
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 32px !important;
}
/* =========================================================
   FIX FINALI — CENTRAGGIO TITOLI E FILTRI
   ========================================================= */

/* 1. Centra i titoli e i sottotitoli su entrambe le pagine */
html body.page-template-nav-agencies .ec-list-hero,
html body.page-template-all-profiles .ec-list-hero {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

html body.page-template-nav-agencies .ec-list-title,
html body.page-template-all-profiles .ec-list-title,
html body.page-template-nav-agencies h1,
html body.page-template-all-profiles h1 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

html body.page-template-nav-agencies .ec-list-subtitle,
html body.page-template-all-profiles .ec-list-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.9) !important;
}

/* 2. Uniforma la barra dei filtri (stessa larghezza per entrambe) */
html body.page-template-nav-agencies .ec-list-toolbar,
html body.page-template-all-profiles .ec-list-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
}

/* 3. I wrapper dei filtri (Filtra per e Ordina per) */
html body.page-template-nav-agencies .ec-filter-select-wrapper,
html body.page-template-nav-agencies .ec-sort-wrapper,
html body.page-template-all-profiles .ec-filter-select-wrapper,
html body.page-template-all-profiles .ec-sort-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 250px !important;
}

/* 4. I select (tendine) — stessa larghezza per entrambe */
html body.page-template-nav-agencies #ec-filter-select,
html body.page-template-nav-agencies #ec-sort,
html body.page-template-all-profiles #ec-filter-select,
html body.page-template-all-profiles #ec-sort {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 40px 10px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background-color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1a22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
}

/* 5. Etichette dei filtri */
html body.page-template-nav-agencies .ec-list-toolbar label,
html body.page-template-all-profiles .ec-list-toolbar label {
    font-weight: 600 !important;
    font-size: .9rem !important;
    color: #6f6a7a !important;
    white-space: nowrap !important;
}

/* 6. Assicura che la toolbar non vada a capo su desktop */
@media (min-width: 769px) {
    html body.page-template-nav-agencies .ec-list-toolbar,
    html body.page-template-all-profiles .ec-list-toolbar {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }
    
    html body.page-template-nav-agencies .ec-filter-select-wrapper,
    html body.page-template-nav-agencies .ec-sort-wrapper,
    html body.page-template-all-profiles .ec-filter-select-wrapper,
    html body.page-template-all-profiles .ec-sort-wrapper {
        flex: 0 0 280px !important;
        width: 280px !important;
        max-width: 280px !important;
    }
}

/* 7. Mobile: filtri in colonna */
@media (max-width: 768px) {
    html body.page-template-nav-agencies .ec-list-toolbar,
    html body.page-template-all-profiles .ec-list-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    html body.page-template-nav-agencies .ec-filter-select-wrapper,
    html body.page-template-nav-agencies .ec-sort-wrapper,
    html body.page-template-all-profiles .ec-filter-select-wrapper,
    html body.page-template-all-profiles .ec-sort-wrapper {
        width: 100% !important;
        flex: 1 1 auto !important;
    }
}
/* =========================================================
   UNIFORMAZIONE FINALE (Escort come Agenzie)
   ========================================================= */

/* 1. Banner Hero — stessa larghezza per entrambe */
html body.page-template-all-profiles .ec-list-hero,
html body.page-template-nav-agencies .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 2. Titoli centrati */
html body.page-template-all-profiles .ec-list-title,
html body.page-template-nav-agencies .ec-list-title,
html body.page-template-all-profiles h1,
html body.page-template-nav-agencies h1 {
    text-align: center !important;
    width: 100% !important;
    margin: 0 0 12px 0 !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

html body.page-template-all-profiles .ec-list-subtitle,
html body.page-template-nav-agencies .ec-list-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    color: rgba(255,255,255,0.9) !important;
}

/* 3. Toolbar dei filtri — stessa larghezza per entrambe */
html body.page-template-all-profiles .ec-list-toolbar,
html body.page-template-nav-agencies .ec-list-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 32px !important;
    width: 100% !important;
}

/* 4. Wrapper dei filtri — larghezza fissa (280px) per entrambe */
html body.page-template-all-profiles .ec-filter-select-wrapper,
html body.page-template-all-profiles .ec-sort-wrapper,
html body.page-template-nav-agencies .ec-filter-select-wrapper,
html body.page-template-nav-agencies .ec-sort-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 0 0 280px !important;
    width: 280px !important;
    max-width: 280px !important;
}

/* 5. Select (tendine) — stessa larghezza per entrambe */
html body.page-template-all-profiles #ec-filter-select,
html body.page-template-all-profiles #ec-sort,
html body.page-template-nav-agencies #ec-filter-select,
html body.page-template-nav-agencies #ec-sort {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 40px 10px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    background-color: #fff !important;
    font-fa
/* =========================================================
   FIX ALTEZZA BANNER (Escort come Agenzie)
   ========================================================= */

/* 1. Forza il padding del banner escort a combaciare con le agenzie */
html body.page-template-all-profiles .ec-list-hero,
html body.page-template-nav-agencies .ec-list-hero {
    padding: 48px 32px !important;
    margin: 0 0 40px 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 2. Assicura che il contenitore interno non aggiunga spazio extra */
html body.page-template-all-profiles .ec-list-hero__inner,
html body.page-template-nav-agencies .ec-list-hero__inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 3. Rimuove eventuali margini extra dal titolo e dal sottotitolo */
html body.page-template-all-profiles .ec-list-title,
html body.page-template-nav-agencies .ec-list-title {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
}

html body.page-template-all-profiles .ec-list-subtitle,
html body.page-template-nav-agencies .ec-list-subtitle {
    margin: 0 !important;
    padding: 0 !important;
}
/* =========================================================
   PAGINE RECENSIONI (Escort e Agenzie) - Unificate
   ========================================================= */

/* 1. Layout Full Width per entrambe */
html body.page-template-nav-reviews .contentwrapper,
html body.page-template-nav-reviews-agencies .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;
    float: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

html body.page-template-nav-reviews .body,
html body.page-template-nav-reviews-agencies .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

html body.page-template-nav-reviews .bodybox,
html body.page-template-nav-reviews-agencies .bodybox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 2. Nasconde le sidebar */
html body.page-template-nav-reviews .sidebar-left-1,
html body.page-template-nav-reviews .sidebar-right,
html body.page-template-nav-reviews [class*="sidebar-"],
html body.page-template-nav-reviews-agencies .sidebar-left-1,
html body.page-template-nav-reviews-agencies .sidebar-right,
html body.page-template-nav-reviews-agencies [class*="sidebar-"] {
    display: none !important;
}

/* 3. Hero Banner */
html body.page-template-nav-reviews .ec-list-hero,
html body.page-template-nav-reviews-agencies .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #7b3fa0 0%, #e6337a 100%) !important;
    color: #fff !important;
}

html body.page-template-nav-reviews .ec-list-title,
html body.page-template-nav-reviews-agencies .ec-list-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

html body.page-template-nav-reviews .ec-list-subtitle,
html body.page-template-nav-reviews-agencies .ec-list-subtitle {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 !important;
}

/* 4. Toolbar - allineata a sinistra */
html body.page-template-nav-reviews .ec-list-toolbar,
html body.page-template-nav-reviews-agencies .ec-list-toolbar {
    display: flex !important;
    justify-content: flex-start !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

/* 5. Griglia */
html body.page-template-nav-reviews .ec-reviews-grid,
html body.page-template-nav-reviews-agencies .ec-reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

/* 6. Card */
html body.page-template-nav-reviews .ec-review-card,
html body.page-template-nav-reviews-agencies .ec-review-card {
    display: flex !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(20, 10, 30, 0.05) !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    min-height: 200px !important;
}

html body.page-template-nav-reviews .ec-review-card:hover,
html body.page-template-nav-reviews-agencies .ec-review-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(20, 10, 30, 0.10) !important;
}

/* 7. Immagine */
html body.page-template-nav-reviews .ec-review-card__media,
html body.page-template-nav-reviews-agencies .ec-review-card__media {
    flex: 0 0 150px !important;
    width: 150px !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #f4eef6 !important;
    position: relative !important;
}

html body.page-template-nav-reviews .ec-review-card__media img,
html body.page-template-nav-reviews-agencies .ec-review-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* 8. Contenuto */
html body.page-template-nav-reviews .ec-review-card__content,
html body.page-template-nav-reviews-agencies .ec-review-card__content {
    flex: 1 1 auto !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

html body.page-template-nav-reviews .ec-review-card__head,
html body.page-template-nav-reviews-agencies .ec-review-card__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    flex-wrap: wrap !important;
}

html body.page-template-nav-reviews .ec-review-card__meta,
html body.page-template-nav-reviews-agencies .ec-review-card__meta {
    font-size: 0.85rem !important;
    color: #6f6a7a !important;
}

html body.page-template-nav-reviews .ec-review-card__meta a,
html body.page-template-nav-reviews-agencies .ec-review-card__meta a {
    color: #1c1a22 !important;
    text-decoration: none !important;
}

html body.page-template-nav-reviews .ec-review-card__text,
html body.page-template-nav-reviews-agencies .ec-review-card__text {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #1c1a22 !important;
    margin: 0 0 15px 0 !important;
    min-height: 40px !important;
}

html body.page-template-nav-reviews .ec-review-card__link,
html body.page-template-nav-reviews-agencies .ec-review-card__link {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #e6337a !important;
    text-decoration: none !important;
    margin-top: auto !important;
    display: inline-block !important;
}

html body.page-template-nav-reviews .ec-review-card__link:hover,
html body.page-template-nav-reviews-agencies .ec-review-card__link:hover {
    text-decoration: underline !important;
}

/* 9. Paginazione */
html body.page-template-nav-reviews .ec-pagination,
html body.page-template-nav-reviews-agencies .ec-pagination {
    margin-top: 40px !important;
    text-align: center !important;
}

html body.page-template-nav-reviews .ec-pagination a,
html body.page-template-nav-reviews .ec-pagination span,
html body.page-template-nav-reviews-agencies .ec-pagination a,
html body.page-template-nav-reviews-agencies .ec-pagination span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    color: #1c1a22 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin: 0 4px !important;
}

html body.page-template-nav-reviews .ec-pagination .current,
html body.page-template-nav-reviews .ec-pagination a:hover,
html body.page-template-nav-reviews-agencies .ec-pagination .current,
html body.page-template-nav-reviews-agencies .ec-pagination a:hover {
    background: #e6337a !important;
    border-color: #e6337a !important;
    color: #fff !important;
}
/* =========================================================
   FIX DEFINITIVO RECENSIONI (Barre laterali rimosse)
   ========================================================= */

/* 1. Rimuove qualsiasi bordo/outline dai contenitori */
html body.page-template-nav-reviews .contentwrapper,
html body.page-template-nav-reviews .body,
html body.page-template-nav-reviews .bodybox,
html body.page-template-nav-reviews .ec-reviews-page,
html body.page-template-nav-reviews-agencies .contentwrapper,
html body.page-template-nav-reviews-agencies .body,
html body.page-template-nav-reviews-agencies .bodybox,
html body.page-template-nav-reviews-agencies .ec-reviews-page {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* 2. Rimuove eventuali pseudo-elementi che creano le barre */
html body.page-template-nav-reviews .contentwrapper::before,
html body.page-template-nav-reviews .contentwrapper::after,
html body.page-template-nav-reviews .body::before,
html body.page-template-nav-reviews .body::after,
html body.page-template-nav-reviews-agencies .contentwrapper::before,
html body.page-template-nav-reviews-agencies .contentwrapper::after,
html body.page-template-nav-reviews-agencies .body::before,
html body.page-template-nav-reviews-agencies .body::after {
    display: none !important;
    content: none !important;
}

/* 3. Assicura che le sidebar siano nascoste */
html body.page-template-nav-reviews .sidebar-left-1,
html body.page-template-nav-reviews .sidebar-right,
html body.page-template-nav-reviews-agencies .sidebar-left-1,
html body.page-template-nav-reviews-agencies .sidebar-right {
    display: none !important;
}

/* 4. Rimuove il bordo tratteggiato dal box vuoto delle recensioni */
html body.page-template-nav-reviews .ec-empty,
html body.page-template-nav-reviews-agencies .ec-empty {
    border: 0 !important;
    background: transparent !important;
}

/* 5. Assicura che il contenitore principale sia full width senza padding extra */
html body.page-template-nav-reviews .contentwrapper,
html body.page-template-nav-reviews-agencies .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* =========================================================
   PAGINA BLOG
   ========================================================= */

/* 1. Layout Full Width */
html body.page-template-nav-blog .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;
    float: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

html body.page-template-nav-blog .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

html body.page-template-nav-blog .bodybox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 2. Nasconde le sidebar */
html body.page-template-nav-blog .sidebar-left-1,
html body.page-template-nav-blog .sidebar-right,
html body.page-template-nav-blog [class*="sidebar-"] {
    display: none !important;
}

/* 3. Hero Banner */
html body.page-template-nav-blog .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #7b3fa0 0%, #e6337a 100%) !important;
    color: #fff !important;
}

html body.page-template-nav-blog .ec-list-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

html body.page-template-nav-blog .ec-list-subtitle {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 !important;
}

/* 4. Griglia Blog */
html body.page-template-nav-blog .ec-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

/* 5. Card Blog */
html body.page-template-nav-blog .ec-blog-card {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(20, 10, 30, 0.05) !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

html body.page-template-nav-blog .ec-blog-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(20, 10, 30, 0.10) !important;
}

/* 6. Immagine */
html body.page-template-nav-blog .ec-blog-card__media {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    background: #f4eef6 !important;
}

html body.page-template-nav-blog .ec-blog-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

html body.page-template-nav-blog .ec-blog-card:hover .ec-blog-card__media img {
    transform: scale(1.05) !important;
}

/* 7. Contenuto */
html body.page-template-nav-blog .ec-blog-card__content {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

html body.page-template-nav-blog .ec-blog-card__head {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 0.8rem !important;
    color: #6f6a7a !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

html body.page-template-nav-blog .ec-blog-card__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1c1a22 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

html body.page-template-nav-blog .ec-blog-card__title a {
    color: #1c1a22 !important;
    text-decoration: none !important;
}

html body.page-template-nav-blog .ec-blog-card__title a:hover {
    color: #e6337a !important;
}

html body.page-template-nav-blog .ec-blog-card__excerpt {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #4a4552 !important;
    margin: 0 0 15px 0 !important;
}

html body.page-template-nav-blog .ec-blog-card__link {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #e6337a !important;
    text-decoration: none !important;
    margin-top: auto !important;
    display: inline-block !important;
}

html body.page-template-nav-blog .ec-blog-card__link:hover {
    text-decoration: underline !important;
}
/* =========================================================
   FIX DEFINITIVO BARRE VERTICALI (Nucleare)
   ========================================================= */

/* 1. Rimuove border/outline da TUTTI i contenitori delle pagine personalizzate */
html body.page-template-nav-blog .contentwrapper,
html body.page-template-nav-blog .body,
html body.page-template-nav-blog .bodybox,
html body.page-template-nav-reviews .contentwrapper,
html body.page-template-nav-reviews .body,
html body.page-template-nav-reviews .bodybox,
html body.page-template-nav-reviews-agencies .contentwrapper,
html body.page-template-nav-reviews-agencies .body,
html body.page-template-nav-reviews-agencies .bodybox,
html body.page-template-nav-agencies .contentwrapper,
html body.page-template-nav-agencies .body,
html body.page-template-nav-agencies .bodybox,
html body.page-template-all-profiles .contentwrapper,
html body.page-template-all-profiles .body,
html body.page-template-all-profiles .bodybox,
html body.single-profile .contentwrapper,
html body.single-profile .body,
html body.single-profile .bodybox,
html body.page-template-nav-contact .contentwrapper,
html body.page-template-nav-contact .body,
html body.page-template-nav-contact .bodybox {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* 2. Rimuove pseudo-elementi (la vera causa delle barre) */
html body.page-template-nav-blog .contentwrapper::before,
html body.page-template-nav-blog .contentwrapper::after,
html body.page-template-nav-blog .body::before,
html body.page-template-nav-blog .body::after,
html body.page-template-nav-reviews .contentwrapper::before,
html body.page-template-nav-reviews .contentwrapper::after,
html body.page-template-nav-reviews .body::before,
html body.page-template-nav-reviews .body::after,
html body.page-template-nav-reviews-agencies .contentwrapper::before,
html body.page-template-nav-reviews-agencies .contentwrapper::after,
html body.page-template-nav-reviews-agencies .body::before,
html body.page-template-nav-reviews-agencies .body::after,
html body.page-template-nav-agencies .contentwrapper::before,
html body.page-template-nav-agencies .contentwrapper::after,
html body.page-template-nav-agencies .body::before,
html body.page-template-nav-agencies .body::after,
html body.page-template-all-profiles .contentwrapper::before,
html body.page-template-all-profiles .contentwrapper::after,
html body.page-template-all-profiles .body::before,
html body.page-template-all-profiles .body::after,
html body.single-profile .contentwrapper::before,
html body.single-profile .contentwrapper::after,
html body.single-profile .body::before,
html body.single-profile .body::after,
html body.page-template-nav-contact .contentwrapper::before,
html body.page-template-nav-contact .contentwrapper::after,
html body.page-template-nav-contact .body::before,
html body.page-template-nav-contact .body::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* 3. Forza il contenitore principale a non avere padding/outline ereditati */
html body.page-template-nav-blog .contentwrapper,
html body.page-template-nav-reviews .contentwrapper,
html body.page-template-nav-reviews-agencies .contentwrapper,
html body.page-template-nav-agencies .contentwrapper,
html body.page-template-all-profiles .contentwrapper,
html body.single-profile .contentwrapper,
html body.page-template-nav-contact .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;
    float: none !important;
    box-sizing: border-box !important;
    background: transparent !important;
    outline: none !important;
    border: none !important;
}
}
/* =========================================================
   PAGINA CONTATTI
   ========================================================= */

/* 1. Layout Full Width */
html body.page-template-nav-contact .contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 24px 4% !important;
    float: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

html body.page-template-nav-contact .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

html body.page-template-nav-contact .bodybox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 2. Nasconde le sidebar */
html body.page-template-nav-contact .sidebar-left-1,
html body.page-template-nav-contact .sidebar-right,
html body.page-template-nav-contact [class*="sidebar-"] {
    display: none !important;
}

/* 3. Hero Banner */
html body.page-template-nav-contact .ec-list-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    padding: 48px 32px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #7b3fa0 0%, #e6337a 100%) !important;
    color: #fff !important;
}

html body.page-template-nav-contact .ec-list-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 12px 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

html body.page-template-nav-contact .ec-list-subtitle {
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 !important;
}

/* 4. Contenitore del Form */
html body.page-template-nav-contact .ec-contact-form-wrapper {
    max-width: 700px !important;
    margin: 0 auto !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(20, 10, 30, 0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* 5. Intro (testo dalla pagina) */
html body.page-template-nav-contact .ec-contact-intro {
    margin-bottom: 30px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #1c1a22 !important;
}

/* 6. Campi del form */
html body.page-template-nav-contact .ec-form-group {
    margin-bottom: 20px !important;
}

html body.page-template-nav-contact .ec-form-group label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin-bottom: 8px !important;
}

html body.page-template-nav-contact .ec-form-group label .required {
    color: #e6337a !important;
}

html body.page-template-nav-contact .ec-input,
html body.page-template-nav-contact .ec-textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #1c1a22 !important;
    background: #faf7fb !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

html body.page-template-nav-contact .ec-input:focus,
html body.page-template-nav-contact .ec-textarea:focus {
    outline: none !important;
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.1) !important;
}

html body.page-template-nav-contact .ec-textarea {
    resize: vertical !important;
    min-height: 150px !important;
}

html body.page-template-nav-contact .ec-form-help {
    display: block !important;
    font-size: 0.8rem !important;
    color: #6f6a7a !important;
    margin-top: 6px !important;
}

/* 7. Bottone */
html body.page-template-nav-contact .ec-form-actions {
    margin-top: 30px !important;
    text-align: center !important;
}

html body.page-template-nav-contact .ec-btn--lg {
    padding: 14px 40px !important;
    font-size: 1rem !important;
}

/* 8. Messaggi di errore/successo */
html body.page-template-nav-contact .ec-alert {
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 0.95rem !important;
}

html body.page-template-nav-contact .ec-alert--error {
    background: #fdecea !important;
    color: #b71c1c !important;
    border: 1px solid #f5c6cb !important;
}

html body.page-template-nav-contact .ec-alert--success {
    background: #e8f5e9 !important;
    color: #1b5e20 !important;
    border: 1px solid #c8e6c9 !important;
}
/* =========================================================
   ICONE E BOX CONTATTI DIRETTI
   ========================================================= */

/* Wrapper degli input con icona */
html body.page-template-nav-contact .ec-input-wrapper {
    position: relative !important;
}

html body.page-template-nav-contact .ec-input-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #9a95a5 !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

html body.page-template-nav-contact .ec-input-wrapper--textarea .ec-input-icon {
    top: 16px !important;
    transform: none !important;
}

html body.page-template-nav-contact .ec-input-wrapper .ec-input {
    padding-left: 48px !important;
}

html body.page-template-nav-contact .ec-input-wrapper .ec-textarea {
    padding-left: 48px !important;
    padding-top: 14px !important;
}

/* Box contatti diretti */
html body.page-template-nav-contact .ec-contact-info {
    max-width: 700px !important;
    margin: 40px auto 0 !important;
    text-align: center !important;
}

html body.page-template-nav-contact .ec-contact-info h3 {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #1c1a22 !important;
    margin: 0 0 20px 0 !important;
}

html body.page-template-nav-contact .ec-contact-info__grid {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

html body.page-template-nav-contact .ec-contact-info__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 15px 25px !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    color: #1c1a22 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(20, 10, 30, 0.04) !important;
}

html body.page-template-nav-contact .ec-contact-info__item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(20, 10, 30, 0.08) !important;
    border-color: #e6337a !important;
}

html body.page-template-nav-contact .ec-contact-info__item svg {
    color: #e6337a !important;
    flex-shrink: 0 !important;
}
/* =========================================================
   PAGINA REGISTRAZIONE — FORZATURA A 3 COLONNE (DEFINITIVO)
   ========================================================= */

/* 1. Reset del contenitore principale */
html body.page-template-register-main-page .contentwrapper,
html body.page-template-register-main-page .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
    display: block !important;
    background: #f7f7f7 !important;
    box-sizing: border-box !important;
}

/* 2. Contenitore della griglia */
html body.page-template-register-main-page .ec-register-grid {
    display: flex !important;           /* Usa flexbox */
    flex-direction: row !important;     /* Forza la riga orizzontale */
    flex-wrap: nowrap !important;       /* Impedisce di andare a capo */
    justify-content: space-between !important;
    align-items: stretch !important;    /* Altezza uguale per tutte */
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

/* 3. Le card — forzate a stare su una riga (1/3 della larghezza) */
html body.page-template-register-main-page .ec-register-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 30% !important;    /* Forza la larghezza al 30% */
    max-width: 32% !important;   /* Larghezza massima */
    min-width: 250px !important; /* Larghezza minima */
    height: auto !important;
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    margin: 0 !important;
    float: none !important;
    position: relative !important;
}

/* 4. Header Card */
html body.page-template-register-main-page .ec-register-card__header {
    background: linear-gradient(135deg, #7b3fa0 0%, #e6337a 100%) !important;
    padding: 20px !important;
    text-align: center !important;
}

html body.page-template-register-main-page .ec-register-card__header h3 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
}

/* 5. Body Card */
html body.page-template-register-main-page .ec-register-card__body {
    padding: 20px !important;
    flex-grow: 1 !important;
}

html body.page-template-register-main-page .ec-register-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.page-template-register-main-page .ec-register-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 0.95rem !important;
    color: #4a4552 !important;
}

html body.page-template-register-main-page .ec-check {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background: #e6337a !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    position: relative !important;
}

html body.page-template-register-main-page .ec-check::after {
    content: "" !important;
    display: block !important;
    width: 4px !important;
    height: 8px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    margin-top: -2px !important;
}

/* 6. Footer Card */
html body.page-template-register-main-page .ec-register-card__footer {
    padding: 20px !important;
    text-align: center !important;
    border-top: 1px solid #f0f0f0 !important;
    background: #fafafa !important;
}

html body.page-template-register-main-page .ec-register-card__footer .ec-btn {
    display: inline-block !important;
    width: 100% !important;
    background: #e6337a !important;
    color: #fff !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: background 0.2s !important;
}

html body.page-template-register-main-page .ec-register-card__footer .ec-btn:hover {
    background: #c92566 !important;
}

/* 7. Rimozione prezzi finti */
html body.page-template-register-main-page .ec-price-fake {
    display: none !important;
}

/* 8. Responsive */
@media (max-width: 1024px) {
    html body.page-template-register-main-page .ec-register-grid {
        flex-wrap: wrap !important;
    }
    html body.page-template-register-main-page .ec-register-card {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}
/* =========================================================
   REGISTRAZIONE ESCORT — Form Moderno e Semplice
   ========================================================= */

/* 1. Contenitore principale */
html body.page-template-register-independent .ec-contact-form,
html body.page-template-register-independent .register-form {
    max-width: 1100px !important;
    margin: 0 auto !important;
    background: #fff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 6px 24px rgba(20, 10, 30, 0.06) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* 2. Sezioni */
.ec-form-section {
    margin-bottom: 40px !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
.ec-form-section:last-child {
    border-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.ec-form-section__title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin: 0 0 5px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.ec-form-section__title::before {
    content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 24px !important;
    background: #e6337a !important;
    border-radius: 4px !important;
}

.ec-form-section__desc {
    font-size: 0.95rem !important;
    color: #6f6a7a !important;
    margin: 0 0 25px 16px !important;
}

/* 3. Griglia a 2 colonne per i campi */
.ec-form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}
@media (max-width: 600px) {
    .ec-form-grid { grid-template-columns: 1fr !important; }
}

/* 4. Campi */
.ec-form-group {
    margin-bottom: 20px !important;
}
.ec-form-group label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin-bottom: 8px !important;
}
.ec-form-group label .required {
    color: #e6337a !important;
}

.ec-input, .ec-textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #1c1a22 !important;
    background: #fdfdfd !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.ec-input:focus, .ec-textarea:focus {
    outline: none !important;
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.15) !important;
    background: #fff !important;
}

.ec-form-help {
    display: block !important;
    font-size: 0.8rem !important;
    color: #6f6a7a !important;
    margin-top: 6px !important;
}

/* 5. Input Group (per altezza/peso) */
.ec-input-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.ec-input-group .ec-input {
    flex: 1 !important;
}
.ec-input-group span {
    font-size: 0.9rem !important;
    color: #6f6a7a !important;
    font-weight: 600 !important;
}

/* 6. Input con prefisso (@) */
.ec-input-prefix {
    display: flex !important;
    align-items: center !important;
    background: #fdfdfd !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    padding-left: 16px !important;
    transition: all 0.3s ease !important;
}
.ec-input-prefix:focus-within {
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.15) !important;
    background: #fff !important;
}
.ec-input-prefix span {
    font-size: 1rem !important;
    color: #6f6a7a !important;
    font-weight: 600 !important;
}
.ec-input-prefix .ec-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 7. Radio e Checkbox (Interattivi e Perfettamente Centrati) */
.ec-radio-group, .ec-checkbox-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    align-items: center !important;
    background: #faf7fb !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.ec-radio, .ec-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    transition: background 0.2s ease !important;
    line-height: 1.2 !important;
}
.ec-radio:hover, .ec-checkbox:hover {
    background: #f4eef6 !important;
}

/* Rimuoviamo l'aspetto nativo (browser) */
.ec-radio input[type="radio"], 
.ec-checkbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #e6337a !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    margin: 0 !important; /* Rimuove i margini di default del browser */
    box-sizing: border-box !important;
}

/* Cerchio per i Radio */
.ec-radio input[type="radio"] {
    border-radius: 50% !important;
}

/* Centratura millimetrica del pallino radio */
.ec-radio input[type="radio"]:checked::after {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    background: #e6337a !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Sfondo rosa per il quadrato quando è spuntato */
.ec-checkbox input[type="checkbox"]:checked {
    background: #e6337a !important;
}

/* Centratura millimetrica del tick bianco */
.ec-checkbox input[type="checkbox"]:checked::after {
    content: "" !important;
    display: block !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #fff !important;
    border-width: 0 2px 2px 0 !important;
    position: absolute !important;
    top: 45% !important; /* Leggermente alzato per bilanciare visivamente */
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
    margin-top: -2px !important; /* Ulteriore aggiustamento ottico */
}

/* 8. Data di nascita */
.ec-date-group {
    display: flex !important;
    gap: 10px !important;
}
.ec-date-group select {
    flex: 1 !important;
}

/* 9. Griglia Servizi (Effetto Pillola) */
.ec-services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    background: #faf7fb !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.ec-services-grid .ec-checkbox {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}
.ec-services-grid .ec-checkbox:has(input:checked) {
    background: #e6337a !important;
    border-color: #e6337a !important;
    color: #fff !important;
}

/* 10. Tabella Tariffe */
.ec-rates-table {
    background: #faf7fb !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.ec-rate-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 15px !important;
    align-items: center !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}
.ec-rate-row:last-child {
    border-bottom: 0 !important;
}
.ec-rate-head {
    font-weight: 700 !important;
    color: #1c1a22 !important;
    border-bottom: 2px solid rgba(0,0,0,0.1) !important;
    padding-bottom: 10px !important;
    margin-bottom: 5px !important;
}
.ec-rate-head span:not(:first-child) {
    text-align: center !important;
}

/* 11. Upload Documenti */
.ec-upload-area {
    position: relative !important;
    border: 2px dashed #e6337a !important;
    border-radius: 12px !important;
    background: #faf7fb !important;
    padding: 30px !important;
    text-align: center !important;
    transition: background 0.2s ease !important;
    cursor: pointer !important;
}
.ec-upload-area:hover {
    background: #f4eef6 !important;
}
.ec-upload-input {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
}
.ec-upload-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    color: #e6337a !important;
    font-weight: 600 !important;
    pointer-events: none !important;
}
.ec-upload-label svg {
    color: #e6337a !important;
}
.selected-files-preview {
    margin-top: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.selected-file {
    background: #fff !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    font-size: 0.9rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.remove-file, .remove-existing-file {
    color: #e6337a !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
}

/* 12. TOS */
.ec-form-group--tos {
    margin-top: 30px !important;
    padding: 15px !important;
    background: #faf7fb !important;
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.ec-form-group--error {
    border-color: #e6337a !important;
    background: #fdecea !important;
}

/* 13. Bottone finale */
.ec-form-actions {
    text-align: center !important;
    margin-top: 40px !important;
}

/* =========================================================
   PAGINA DI REGISTRAZIONE (Layout Generale e Fix Spazi)
   ========================================================= */

/* Contenitore principale: rimuove il bordo rosa e centra il form */
.contentwrapper {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 40px 20px 0 20px !important; /* Azzera il padding in basso */
    margin-bottom: 0 !important; /* Rimuove il margine in basso */
}
.bodybox {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* FIX: Rimuove l'enorme spazio bianco prima del footer e nasconde i separatori vecchi */
.contentwrapper + .clear,
.body + .clear,
.all-body .clear {
    display: none !important;
}

/* Rimuove i margini dal contenitore globale per far combaciare tutto col footer */
.all-body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Titolo della pagina */
.bodybox h3, .ec-page-title {
    font-family: var(--ec-font) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--ec-text) !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    text-transform: none !important;
    letter-spacing: -0.02em !important;
    border: 0 !important;
}

/* Il form in sé (per dargli un aspetto a "card") */
.ec-contact-form {
    background: #fff !important;
    padding: 40px !important;
    border-radius: var(--ec-radius) !important;
    box-shadow: var(--ec-shadow-sm) !important;
    border: 1px solid var(--ec-border) !important;
    margin-bottom: 40px !important; /* Dà giusto respiro prima del footer */
}

/* Sidebar: le rendiamo più moderne e meno invadenti */
.sidebar-left, .sidebar-right {
    margin-top: 30px !important;
    margin-bottom: 40px !important;
}
/* =========================================================
   REGISTRAZIONE ESCORT — LAYOUT A COLONNA SINGOLA E FIX FOOTER
   ========================================================= */

/* 1. Reset totale del layout del parent per non far ballare il footer */
.contentwrapper {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 40px 20px !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: auto !important;
}

/* 2. Il contenitore del form: largo e in colonna singola */
.bodybox.ec-register-page-body {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    float: none !important;
    width: 100% !important;
    max-width: 1100px !important;
}

/* 3. Il form come card */
.ec-contact-form {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    margin-bottom: 0 !important; /* Toglie lo spazio in fondo */
}

/* 4. Griglia dei servizi orizzontale e larga */
.ec-services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    background: #fafafa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 5. Tabella tariffe larga e bella */
.ec-rates-table {
    background: #fafafa !important;
    padding: 20px !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
}
.ec-rate-row {
    display: grid !important;
    grid-template-columns: 1fr 2fr 2fr !important; /* Più spazio per gli input */
    gap: 15px !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #eaeaea !important;
}
.ec-rate-row:last-child {
    border-bottom: 0 !important;
}

/* 6. FIX FOOTER: Nasconde i blocchi del vecchio layout che spingevano in basso */
.clear, .clear10, .clear15, .clear20, .clear30 {
    display: none !important;
}
.all-body {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
.sidebar-left, .sidebar-right {
    display: none !important;
}

/* 7. Stile dei campi (input, textarea) */
.ec-input, .ec-textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #1c1a22 !important;
    background: #fdfdfd !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}
.ec-input:focus, .ec-textarea:focus {
    outline: none !important;
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.15) !important;
    background: #fff !important;
}

/* 8. Checkbox e radio perfette */
.ec-radio input[type="radio"], 
.ec-checkbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #e6337a !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}
.ec-radio input[type="radio"] {
    border-radius: 50% !important;
}
.ec-radio input[type="radio"]:checked::after {
    content: "" !important;
    display: block !important;
    width: 10px !important;
    height: 10px !important;
    background-color: #e6337a !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
.ec-checkbox input[type="checkbox"]:checked {
    background-color: #e6337a !important;
}
.ec-checkbox input[type="checkbox"]:checked::after {
    content: "" !important;
    display: block !important;
    width: 5px !important;
    height: 10px !important;
    border: solid #ffffff !important;
    border-width: 0 2px 2px 0 !important;
    position: absolute !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
}
.ec-radio, .ec-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    margin: 0 !important;
    line-height: 1 !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
}
.ec-radio:hover, .ec-checkbox:hover {
    background: #f4eef6 !important;
}
.ec-checkbox:has(input:checked) {
    background: #e6337a !important;
    border-color: #e6337a !important;
    color: #fff !important;
}
/* =========================================================
   FIX DEFINITIVO — ALLINEAMENTO, CERCHI E DISPOSIZIONE
   ========================================================= */

/* --- 1. GENERI TUTTI SU UNA RIGA --- */
.ec-radio-group {
    display: flex !important;
    flex-wrap: nowrap !important; /* Impedisce di andare a capo */
    gap: 8px !important;
    padding: 10px !important;
    align-items: center !important;
}
.ec-radio {
    padding: 8px 12px !important;
    white-space: nowrap !important; /* Testo su una riga */
}

/* --- 2. DISPONIBILITÀ PIÙ CORTA --- */
.ec-checkbox-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    background: #fafafa !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    border: 1px solid #eaeaea !important;
    width: fit-content !important; /* Forza il contenitore a stringersi sul contenuto */
}

/* --- 3. NASCONDIAMO IL VECCHIO PLUGIN (CHECKATOR) --- */
/* Questo elimina quei puntini strani e i tick a caso */
.checkator_holder, 
.checkator_element {
    display: none !important;
}

/* --- 4. RIDISEGNIAMO TUTTI I CERCHI (Generi, Disponibilità, Servizi) --- */
.ec-radio, .ec-checkbox {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 8px 16px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    gap: 10px !important;
}

/* Nascondiamo gli input nativi originali */
.ec-radio input[type="radio"], 
.ec-checkbox input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

/* Disegniamo il cerchio vuoto a sinistra del testo */
.ec-radio::before, 
.ec-checkbox::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #e6337a !important;
    border-radius: 50% !important;
    background-color: #fff !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

/* --- 5. STATO SELEZIONATO (Pillola rosa con pallino) --- */
.ec-radio:has(input:checked), 
.ec-checkbox:has(input:checked) {
    background: #e6337a !important;
    border-color: #e6337a !important;
    color: #ffffff !important;
}

/* Il cerchietto diventa bianco e crea il pallino interno rosa */
.ec-radio:has(input:checked)::before, 
.ec-checkbox:has(input:checked)::before {
    border-color: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: inset 0 0 0 3px #e6337a !important;
}
/* =========================================================
   FIX DEFINITIVO SFONDO E TITOLO
   ========================================================= */

/* Forza il colore chiaro su tutta la pagina, ignorando i div neri del parent */
html, body, .all, .all-body, .contentwrapper, .body, .bodybox, .main-wrapper {
    background-color: #f7f7f7 !important;
}

/* Assicurati che il contenitore principale non abbia ombre o sfondi scuri */
.ec-registration-page {
    background-color: #f7f7f7 !important;
}

/* Il form rimane bianco */
.ec-contact-form {
    background-color: #ffffff !important;
}
/* =========================================================
   FIX LARGHEZZA AGENZIA E TOS
   ========================================================= */

/* 1. Forza TUTTI i contenitori del form ad essere larghi e centrati */
.contentwrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    display: flex !important;
    justify-content: center !important;
}

.body {
    width: 100% !important;
    max-width: 100% !important;
}

.bodybox, 
.bodybox.registerform {
    width: 100% !important;
    max-width: 1100px !important; /* Larghezza massima desiderata */
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Il vero form deve riempire il bodybox */
.ec-contact-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. SISTEMIAMO IL TOS (Il testo non deve diventare una pillola rosa) */
.ec-form-group--tos .ec-checkbox {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: flex-start !important; 
    gap: 12px !important;
    color: #1c1a22 !important; 
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    white-space: normal !important; 
}

.ec-form-group--tos .ec-checkbox::before {
    margin-top: 2px !important;
}

.ec-form-group--tos .ec-checkbox:hover {
    background: transparent !important;
}

.ec-form-group--tos .ec-checkbox:has(input:checked) {
    background: transparent !important;
    border-color: transparent !important;
    color: #1c1a22 !important;
}

.ec-form-group--tos .ec-checkbox:has(input:checked)::before {
    border-color: #e6337a !important;
    background-color: #fff !important;
    box-shadow: inset 0 0 0 3px #e6337a !important;
}
/* =========================================================
   PAGINA REGISTRAZIONE UTENTE (MEMBER)
   ========================================================= */

/* Contenitore principale */
.contentwrapper.ec-member-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 40px 20px !important;
    background: #f7f7f7 !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.body.ec-member-page-body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Il box del form */
.bodybox.registerform.ec-member-form-box {
    width: 100% !important;
    max-width: 800px !important; /* Larghezza massima del form */
    margin: 0 auto !important; /* Centrato */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Titolo */
.ec-member-form-box h3.ec-page-title {
    font-family: var(--ec-font) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--ec-text) !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    text-transform: none !important;
    border: 0 !important;
}

/* Il form stesso (la card bianca) */
.ec-contact-form {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    margin-bottom: 0 !important;
}

/* Nasconde eventuali sidebar native */
.sidebar-left, .sidebar-right {
    display: none !important;
}

/* =========================================================
   PAGINA LOGIN (FRONTEND)
   ========================================================= */

/* Contenitore della pagina */
.ec-login-page-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 80vh !important;
    padding: 60px 20px !important;
    background: #f7f7f7 !important;
    box-sizing: border-box !important;
}

/* Card del login */
.ec-login-card {
    width: 100% !important;
    max-width: 450px !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* Titolo e sottotitolo */
.ec-login-title {
    font-family: var(--ec-font) !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin: 0 0 8px 0 !important;
    text-align: center !important;
}

.ec-login-subtitle {
    font-size: 0.95rem !important;
    color: #6f6a7a !important;
    text-align: center !important;
    margin: 0 0 30px 0 !important;
}

/* Campi del form */
.ec-login-card .ec-form-group {
    margin-bottom: 20px !important;
}

.ec-login-card label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin-bottom: 8px !important;
}

.ec-login-card .ec-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    color: #1c1a22 !important;
    background: #fafafa !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.ec-login-card .ec-input:focus {
    outline: none !important;
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.15) !important;
    background: #fff !important;
}

/* Checkbox Ricordami */
.ec-login-remember .ec-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    color: #6f6a7a !important;
    cursor: pointer !important;
}

.ec-login-remember .ec-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    accent-color: #e6337a !important;
}

/* Bottone */
.ec-login-card .ec-btn--primary {
    width: 100% !important;
    background: #e6337a !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 20px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.ec-login-card .ec-btn--primary:hover {
    background: #c92566 !important;
}

/* Messaggi di errore */
.ec-login-error {
    background: #fdecea !important;
    color: #b71c1c !important;
    border: 1px solid #f5c6cb !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    margin-bottom: 20px !important;
}

/* Link in basso */
.ec-login-footer {
    text-align: center !important;
    margin-top: 30px !important;
    font-size: 0.9rem !important;
    color: #6f6a7a !important;
}

.ec-login-footer a {
    color: #e6337a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.ec-login-footer a:hover {
    text-decoration: underline !important;
}

.ec-login-sep {
    margin: 0 10px !important;
    color: #ccc !important;
}
/* Centra il testo nel pulsante "Accedi" */
#loginform .ec-btn--primary,
.ec-login-card .ec-btn--primary {
    text-align: center !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    padding: 14px 20px !important;
    line-height: 1.2 !important;
}
/* =========================================================
   PAGINA RECUPERA PASSWORD (WooCommerce Lost Password)
   ========================================================= */

/* 1. Reset del contenitore principale (rimuove le barre rosa) */
html body.woocommerce-account .contentwrapper,
html body.woocommerce-account .body,
html body.woocommerce-account .bodybox.pagedesign {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. Sfondo della pagina e centratura */
html body.woocommerce-account .contentwrapper {
    background: #f7f7f7 !important;
    padding: 60px 20px !important;
    display: flex !important;
    justify-content: center !important;
    min-height: 80vh !important;
    box-sizing: border-box !important;
}

/* 3. La card bianca del form */
html body.woocommerce-account .woocommerce-ResetPassword {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    max-width: 500px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 4. Testo descrittivo */
html body.woocommerce-account .woocommerce-ResetPassword p {
    font-size: 1rem !important;
    color: #6f6a7a !important;
    line-height: 1.6 !important;
    text-align: center !important;
    margin-bottom: 25px !important;
}

/* 5. Etichette dei campi */
html body.woocommerce-account .woocommerce-ResetPassword label {
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
}

/* 6. Campo input largo 100% */
html body.woocommerce-account .woocommerce-ResetPassword .woocommerce-Input,
html body.woocommerce-account .woocommerce-ResetPassword input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    font-size: 1rem !important;
    color: #1c1a22 !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-bottom: 20px !important;
    transition: all 0.2s ease !important;
}

html body.woocommerce-account .woocommerce-ResetPassword .woocommerce-Input:focus {
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230, 51, 122, 0.15) !important;
    outline: none !important;
    background: #fff !important;
}

/* 7. Pulsante largo 100% e centrato */
html body.woocommerce-account .woocommerce-ResetPassword .woocommerce-Button {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #e6337a !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50px !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-align: center !important;
    line-height: 1.2 !important;
    transition: background 0.2s ease !important;
}

html body.woocommerce-account .woocommerce-ResetPassword .woocommerce-Button:hover {
    background: #c92566 !important;
}

/* 8. Rimuove il float dai form-row di WooCommerce */
html body.woocommerce-account .woocommerce-ResetPassword .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

/* 9. Rimuove il clear di WooCommerce che crea spazi */
html body.woocommerce-account .woocommerce-ResetPassword .clear {
    display: none !important;
}

/* =========================================================
   BARRA DI RICERCA IN HOMEPAGE (Sotto la hero)
   ========================================================= */

.ec-home-search {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    margin: -30px auto 50px !important;
    max-width: 1100px !important;
    position: relative !important;
    z-index: 10 !important;
}

.ec-search-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
}

.ec-search-field {
    flex: 1 1 200px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.ec-search-field label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #6f6a7a !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
}

.ec-search-field select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c1a22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    box-sizing: border-box !important;
}

.ec-search-field select:focus {
    outline: none !important;
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230,51,122,0.15) !important;
}

.ec-search-submit {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: flex-end !important;
}

.ec-search-submit .ec-btn {
    height: 46px !important;
    padding: 0 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
}

/* Mobile */
@media (max-width: 900px) {
    .ec-home-search {
        margin: 20px auto 30px !important;
        padding: 20px !important;
    }
    .ec-search-bar {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .ec-search-field {
        flex: 1 1 100% !important;
    }
    .ec-search-submit {
        width: 100% !important;
    }
    .ec-search-submit .ec-btn {
        width: 100% !important;
    }
}
/* =========================================================
   PAGINA RICERCA — CSS DEFINITIVO (FORZATO)
   ========================================================= */

/* 1. Contenitore principale */
html body.page-template-nav-search .contentwrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    background: #f7f7f7 !important; /* Sfondo chiaro */
    display: block !important;
}

html body.page-template-nav-search .body,
html body.page-template-nav-search .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
}

/* 2. Titolo */
html body.page-template-nav-search .ec-page-title {
    font-family: var(--ec-font) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    text-align: left !important;
    margin: 0 0 20px 0 !important;
    border: 0 !important;
}

/* 3. Form di ricerca — Forziamo la visibilità e il layout */
html body.page-template-nav-search .searchform {
    display: block !important;
    background: #fff !important;
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    margin-bottom: 30px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    height: auto !important;
}

/* 4. Ogni coppia label + input */
html body.page-template-nav-search .searchform .form-label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    float: none !important;
    clear: both !important;
    height: auto !important;
}
html body.page-template-nav-search .searchform .form-label label {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin: 0 !important;
    display: block !important;
}
html body.page-template-nav-search .searchform .form-input {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    float: none !important;
    clear: both !important;
    height: auto !important;
}

/* 5. Campi di input e select */
html body.page-template-nav-search .searchform .input,
html body.page-template-nav-search .searchform select {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: #fafafa !important;
    box-sizing: border-box !important;
    height: auto !important;
    margin: 0 !important;
}

/* 6. Radio button e checkbox */
html body.page-template-nav-search .searchform input[type="radio"],
html body.page-template-nav-search .searchform input[type="checkbox"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #e6337a !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    float: none !important;
    vertical-align: middle !important;
}

/* 7. Label per radio/checkbox (devono stare in linea) */
html body.page-template-nav-search .searchform .form-input label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    margin-right: 15px !important;
    margin-bottom: 8px !important;
    float: none !important;
    height: auto !important;
    width: auto !important;
}

/* 8. Separatore */
html body.page-template-nav-search .searchform .formseparator {
    display: none !important; /* Rimuove i separatori vuoti */
}

/* 9. Pulsante Cerca */
html body.page-template-nav-search .searchform input[type="submit"],
html body.page-template-nav-search .searchform .ec-btn--primary {
    display: inline-block !important;
    background: #e6337a !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    width: auto !important;
    height: auto !important;
    margin-top: 10px !important;
    float: none !important;
}

/* 10. Griglia risultati */
html body.page-template-nav-search .ec-grid--profiles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 30px !important;
    width: 100% !important;
}

/* 11. Nasconde le sidebar */
html body.page-template-nav-search .sidebar-right,
html body.page-template-nav-search .sidebar-left {
    display: none !important;
}
/* =========================================================
   CARD RISULTATI (Rimane identico a prima, non lo tocco)
   ========================================================= */
html body.page-template-nav-search .ec-card {
    height: auto !important;
    min-height: 350px !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 0 !important;
    position: relative !important;
    border-radius: var(--ec-radius) !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: var(--ec-shadow-sm) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}
html body.page-template-nav-search .ec-card__media {
    height: 350px !important;
    flex: 1 1 auto !important;
    position: relative !important;
    overflow: hidden !important;
    background: var(--ec-surface-2) !important;
}
html body.page-template-nav-search .ec-card__img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
html body.page-template-nav-search .ec-card__body {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%) !important;
    padding: 20px 15px 15px !important;
    z-index: 2 !important;
    color: #fff !important;
    pointer-events: none !important;
}
html body.page-template-nav-search .ec-card__name {
    margin: 0 0 4px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 6px rgba(0,0,0,.6) !important;
}
html body.page-template-nav-search .ec-card__location {
    margin: 0 !important;
    font-size: .82rem !important;
    color: rgba(255,255,255,.9) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.5) !important;
}
html body.page-template-nav-search .ec-card__badges {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: flex-start !important;
    margin-top: 6px !important;
    pointer-events: none !important;
}
html body.page-template-nav-search .ec-card__badges .label-verified,
html body.page-template-nav-search .ec-card__badges .verified,
html body.page-template-nav-search .ec-card__badges .label-featured,
html body.page-template-nav-search .ec-card__badges .featured,
html body.page-template-nav-search .ec-card__badges .label-new,
html body.page-template-nav-search .ec-card__badges .new {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 2px 0 !important;
    color: #fff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.8) !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
}
html body.page-template-nav-search .ec-badge--premium {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 3 !important;
    background: #f5a623 !important;
    color: #1c1a22 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
}
/* =========================================================
   PAGINA RICERCA
   ========================================================= */
html body.page-template-nav-search .contentwrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    background: transparent !important;
}
html body.page-template-nav-search .body,
html body.page-template-nav-search .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body.page-template-nav-search .sidebar-right,
html body.page-template-nav-search .sidebar-left {
    display: none !important;
}
html body.page-template-nav-search .ec-page-title {
    font-family: var(--ec-font) !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: var(--ec-text) !important;
    text-align: left !important;
    margin: 0 0 20px 0 !important;
    text-transform: none !important;
    border: 0 !important;
}
html body.page-template-nav-search .searchform {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    margin-bottom: 30px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
html body.page-template-nav-search .searchform .form-label {
    display: block !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    float: none !important;
    clear: both !important;
}
html body.page-template-nav-search .searchform .form-label label {
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #1c1a22 !important;
    margin: 0 !important;
}
html body.page-template-nav-search .searchform .form-input {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
    float: none !important;
    clear: both !important;
}
html body.page-template-nav-search .searchform .input,
html body.page-template-nav-search .searchform select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    background: #fafafa !important;
    box-sizing: border-box !important;
}
html body.page-template-nav-search .searchform .input:focus {
    border-color: #e6337a !important;
    box-shadow: 0 0 0 3px rgba(230,51,122,0.15) !important;
    outline: none !important;
}
html body.page-template-nav-search .searchform input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: #e6337a !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    float: none !important;
}
html body.page-template-nav-search .searchform label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    color: #1c1a22 !important;
    cursor: pointer !important;
    margin-bottom: 8px !important;
    float: none !important;
}
html body.page-template-nav-search input[type="submit"].ec-btn--primary {
    background: #e6337a !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 50px !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    width: auto !important;
    display: inline-flex !important;
    justify-content: center !important;
    float: none !important;
    margin-top: 10px !important;
}
html body.page-template-nav-search input[type="submit"].ec-btn--primary:hover {
    background: #c92566 !important;
}
html body.page-template-nav-search .ec-grid--profiles {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 30px !important;
    width: 100% !important;
}

/* =========================================================
   PAGINA SINGOLA AGENZIA
   ========================================================= */
html body.single-agency .contentwrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #f8f6f9 !important;
    border: 0 !important;
    box-shadow: none !important;
}
html body.single-agency .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}
html body.single-agency .ec-agency-hero {
    width: 100% !important;
    background: linear-gradient(135deg, #7a3b8c 0%, #c33a7d 100%) !important;
    padding: 80px 20px 100px 20px !important;
    text-align: center !important;
    margin-bottom: -60px !important;
    position: relative !important;
}
html body.single-agency .ec-agency-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}
html body.single-agency .ec-agency-title {
    font-size: clamp(2.5rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    margin: 0 !important;
}
html body.single-agency .ec-agency-grid {
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    gap: 40px !important;
    max-width: 1200px !important;
    margin: 0 auto 50px auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 2 !important;
}
html body.single-agency .ec-agency-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}
html body.single-agency .ec-agency-info-card {
    background: #fff !important;
    padding: 30px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(20, 10, 30, 0.08) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
html body.single-agency .ec-agency-info-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(20, 10, 30, 0.12) !important;
}
html body.single-agency .ec-agency-info-card h4 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    color: #1c1a22 !important;
    border-bottom: 1px solid #ebdff0 !important;
    padding-bottom: 15px !important;
}
html body.single-agency .ec-agency-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 25px 0 !important;
}
html body.single-agency .ec-agency-info-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    font-size: 0.95rem !important;
}
html body.single-agency .ec-agency-info-list li strong {
    min-width: auto !important;
    color: #8c8794 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-right: 15px !important;
}
html body.single-agency .ec-agency-info-list li a, 
html body.single-agency .ec-agency-info-list li span {
    color: #1c1a22 !important;
    font-weight: 700 !important;
    text-align: right !important;
    text-decoration: none !important;
    word-break: break-word !important;
}
html body.single-agency .ec-agency-info-list li a:hover {
    color: #e6337a !important;
}
html body.single-agency .ec-agency-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}
html body.single-agency .ec-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    border: 0 !important;
    width: 100% !important;
}
html body.single-agency .ec-btn--primary {
    background: #e6337a !important;
    color: #fff !important;
    border: 2px solid #e6337a !important;
}
html body.single-agency .ec-btn--primary:hover {
    background: #c92463 !important;
    border-color: #c92463 !important;
}
html body.single-agency .ec-btn--secondary {
    background: #fff !important;
    color: #e6337a !important;
    border: 2px solid #e6337a !important;
}
html body.single-agency .ec-btn--secondary:hover {
    background: #fdf2f8 !important;
}
html body.single-agency .ec-btn--outline {
    background: transparent !important;
    color: #6f6a7a !important;
    border: 1px solid #ddd !important;
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
}
html body.single-agency .ec-btn--outline:hover {
    background: #f9f9f9 !important;
    color: #1c1a22 !important;
    border-color: #ccc !important;
}
html body.single-agency .ec-agency-quick-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}
html body.single-agency .ec-agency-quick-contact .ec-btn {
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
}
html body.single-agency .ec-agency-divider {
    height: 1px !important;
    background: #ebdff0 !important;
    margin: 25px 0 !important;
    width: 100% !important;
}
html body.single-agency .ec-agency-content {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(20, 10, 30, 0.08) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
html body.single-agency .ec-agency-content:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(20, 10, 30, 0.12) !important;
}
html body.single-agency .ec-agency-description h2 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
    color: #1c1a22 !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
html body.single-agency .ec-agency-description h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 24px !important;
    background: #e6337a !important;
    border-radius: 2px !important;
    margin-right: 10px !important;
}
html body.single-agency .ec-agency-description p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #4a4550 !important;
    margin-bottom: 20px !important;
}
html body.single-agency .ec-section {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(20, 10, 30, 0.08) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    max-width: 1200px !important;
    margin: 0 auto 50px auto !important;
    position: relative !important;
    z-index: 2 !important;
}
html body.single-agency .ec-section h3 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-bottom: 25px !important;
}
@media (max-width: 900px) {
    html body.single-agency .ec-agency-grid {
        grid-template-columns: 1fr !important;
        margin-top: 20px !important;
    }
    html body.single-agency .ec-agency-hero {
        padding: 60px 20px 80px 20px !important;
        margin-bottom: -40px !important;
    }
    html body.single-agency .ec-agency-content,
    html body.single-agency .ec-section {
        padding: 25px !important;
    }
}
/* =========================================================
   AGGIUNTE SICURE PER PAGINA AGENZIA
   ========================================================= */

/* 1. Allarga la colonna sinistra senza toccare il layout generale */
.ec-agency-grid {
    grid-template-columns: 380px 1fr !important;
}

/* 2. Stile dei Pulsanti Rapidi */
.ec-agency-quick-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.ec-agency-quick-contact .ec-btn {
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
}

.ec-btn--primary {
    background: #e6337a !important;
    color: #fff !important;
    border: 2px solid #e6337a !important;
}

.ec-btn--primary:hover {
    background: #c92463 !important;
    border-color: #c92463 !important;
}

.ec-btn--outline {
    background: transparent !important;
    color: #6f6a7a !important;
    border: 1px solid #ddd !important;
    font-size: 0.9rem !important;
    padding: 10px 20px !important;
}

.ec-btn--outline:hover {
    background: #f9f9f9 !important;
    color: #1c1a22 !important;
    border-color: #ccc !important;
}

/* 3. Divisore */
.ec-agency-divider {
    height: 1px !important;
    background: #ebdff0 !important;
    margin: 25px 0 !important;
    width: 100% !important;
}

/* 4. Lista Dettagli (Etichetta a sinistra, Valore a destra) */
.ec-agency-info-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 12px !important;
    font-size: 0.95rem !important;
}

.ec-agency-info-list li strong {
    min-width: auto !important;
    color: #8c8794 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-right: 15px !important;
}

.ec-agency-info-list li a, 
.ec-agency-info-list li span {
    color: #1c1a22 !important;
    font-weight: 700 !important;
    text-align: right !important;
    text-decoration: none !important;
    word-break: break-word !important;
}

.ec-agency-info-list li a:hover {
    color: #e6337a !important;
}

/* 5. Hover sulle Card */
.ec-agency-info-card, 
.ec-agency-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.ec-agency-info-card:hover, 
.ec-agency-content:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(20, 10, 30, 0.12) !important;
}

/* 6. Decorazione Titolo */
.ec-agency-description h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.ec-agency-description h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 24px !important;
    background: #e6337a !important;
    border-radius: 2px !important;
}

/* 7. Responsive per il nuovo layout */
@media (max-width: 900px) {
    .ec-agency-grid {
        grid-template-columns: 1fr !important;
    }
}
/* Nasconde il bordo di default del tema genitore sul titolo "Chi siamo" */
.ec-agency-description h2 {
    border-left: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Mantiene solo la nostra linea decorativa rosa */
.ec-agency-description h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 4px !important;
    height: 24px !important;
    background: #e6337a !important;
    border-radius: 2px !important;
    margin-right: 10px !important;
}
/* =========================================================
   PAGINA TASSONOMIA (Archivio Città) - CSS DEFINITIVO
   ========================================================= */

/* 1. Forza il full width e rimuove i bordi laterali rosa */
html body.archive.tax-escorts-from .contentwrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #f8f6f9 !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.archive.tax-escorts-from .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

html body.archive.tax-escorts-from .bodybox {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px 60px 20px !important; /* Spazio in alto per l'header */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    float: none !important;
}

/* 2. Hero Banner (titolo) */
html body.archive.tax-escorts-from .bodybox > h3.ec-list-title {
    background: linear-gradient(135deg, #7a3b8c 0%, #c33a7d 100%) !important;
    color: #fff !important;
    text-align: center !important;
    padding: 48px 32px !important;
    
    /* Spazi e forma */
    margin: 0 0 40px 0 !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    
    font-size: clamp(2rem, 4vw, 3rem) !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    box-sizing: border-box !important;
    display: block !important;
}

/* 3. Griglia delle card */
html body.archive.tax-escorts-from .ec-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Rimosso lo spazio extra sotto le card */
}

/* 4. FORZA LE CARD .girl A COMPORTARSI COME CARD MODERNE */
html body.archive.tax-escorts-from .girl {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #f4eef6 !important;
    box-shadow: 0 2px 6px rgba(20, 10, 30, 0.06) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: 0 !important;
    display: block !important;
}

html body.archive.tax-escorts-from .girl .thumb {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body.archive.tax-escorts-from .girl .thumbwrapper {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

html body.archive.tax-escorts-from .girl .thumbwrapper a {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
    z-index: 10 !important;
}

html body.archive.tax-escorts-from .girl .thumbwrapper img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    z-index: 1 !important;
    display: block !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.archive.tax-escorts-from .girl .model-info {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%) !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    border-radius: 0 !important;
    pointer-events: none !important;
}

html body.archive.tax-escorts-from .girl .model-info .desc {
    padding: 20px 15px !important;
    margin: 0 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 3 !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

html body.archive.tax-escorts-from .girl .girl-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
    display: block !important;
}

html body.archive.tax-escorts-from .girl .girl-desc-location {
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

html body.archive.tax-escorts-from .girl .clear,
html body.archive.tax-escorts-from .girl .clear10 {
    display: none !important;
}
/* Forza il sottotitolo dell'hero su una riga (solo desktop) */
@media (min-width: 992px) {
    .ec-hero-promo__subtitle {
        white-space: nowrap !important;
        font-size: 1.05rem !important; /* Leggermente più piccolo per stare comodo */
    }
}
/* =========================================================
   PAGINA TERMINI & CONDIZIONI (ID 164) - ISOLATA
   ========================================================= */

/* 1. Forza il full width solo per la pagina 164 */
html body.page-id-164 .contentwrapper,
html body.page-id-164 .body,
html body.page-id-164 .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #f8f6f9 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 2. Contenitore interno centrato SOLO per il contenuto principale */
html body.page-id-164 .elementor-164 {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
}

/* 3. Titolo principale (h3 dentro bodybox) */
html body.page-id-164 .bodybox > h3 {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-bottom: 40px !important;
    border: 0 !important;
}

/* 4. Titoli di sezione (solo dentro il contenuto della pagina 164) */
html body.page-id-164 .elementor-164 .elementor-heading-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-top: 0px !important;    /* Ridotto da 50px a 20px */
    margin-bottom: 5px !important; /* Ridotto da 20px a 15px */
    padding-left: 15px !important;
    border-left: 4px solid #e6337a !important;
    display: block !important;
    text-align: left !important;
}
/* 5. Testo (solo dentro il contenuto della pagina 164) */
html body.page-id-164 .elementor-164 .elementor-widget-text-editor p,
html body.page-id-164 .elementor-164 .elementor-widget-text-editor li {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #4a4550 !important;
    margin-bottom: 15px !important;
}

/* 6. Nasconde le sidebar solo su questa pagina */
html body.page-id-164 .sidebar-left,
html body.page-id-164 .sidebar-right {
    display: none !important;
}
/* Rimuove lo spazio extra che Elementor mette tra i widget della pagina 164 */
html body.page-id-164 .elementor-164 .elementor-widget-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   PAGINA TERMINI - FIX FINALI
   ========================================================= */

/* 1. Nasconde il link "Edit" (se per caso non fosse stato rimosso dal PHP) */
html body.page-id-164 .post-edit-link {
    display: none !important;
}

/* 2. Nasconde il divisore con la stella (l'ultimo elemento di Elementor) */
html body.page-id-164 .elementor-divider {
    display: none !important;
}

/* 3. Riduce lo spazio tra il testo e il footer */
html body.page-id-164 .elementor-164 {
    padding-bottom: 20px !important;
}

/* 4. Rimuove eventuali margini extra dal contenitore */
html body.page-id-164 .bodybox,
html body.page-id-164 .contentwrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 5. Riduce lo spazio extra che Elementor mette tra i widget (per un testo più compatto) */
html body.page-id-164 .elementor-164 .elementor-widget-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   PAGINA PRIVACY POLICY (ID 158) - ISOLATA
   ========================================================= */

/* 1. Forza il full width solo per la pagina 158 */
html body.page-id-158 .contentwrapper,
html body.page-id-158 .body,
html body.page-id-158 .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #f8f6f9 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 2. Contenitore interno centrato SOLO per il contenuto principale */
html body.page-id-158 .elementor-158 {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
}

/* 3. Titolo principale (h3 dentro bodybox) */
html body.page-id-158 .bodybox > h3 {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-bottom: 40px !important;
    border: 0 !important;
}

/* 4. Titoli di sezione (solo dentro il contenuto della pagina 158) */
html body.page-id-158 .elementor-158 .elementor-heading-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-top: 0px !important;
    margin-bottom: 5px !important;
    padding-left: 15px !important;
    border-left: 4px solid #e6337a !important;
    display: block !important;
    text-align: left !important;
}

/* 4b. Sottotitoli h4 (tipo "BASE GIURIDICA DELLE ATTIVITÀ...") */
html body.page-id-158 .elementor-158 h4.elementor-heading-title {
    font-size: 1.1rem !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    color: #4a4550 !important;
    border-left: 0 !important;
    padding-left: 0 !important;
}

/* 5. Testo (solo dentro il contenuto della pagina 158) */
html body.page-id-158 .elementor-158 .elementor-widget-text-editor p,
html body.page-id-158 .elementor-158 .elementor-widget-text-editor li {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #4a4550 !important;
    margin-bottom: 15px !important;
}

/* 6. Nasconde le sidebar solo su questa pagina */
html body.page-id-158 .sidebar-left,
html body.page-id-158 .sidebar-right {
    display: none !important;
}

/* 7. Nasconde il link Edit (se per caso non fosse stato rimosso dal PHP) */
html body.page-id-158 .post-edit-link {
    display: none !important;
}

/* 8. Nasconde il divisore con la stella */
html body.page-id-158 .elementor-divider {
    display: none !important;
}

/* 9. Riduce lo spazio tra il testo e il footer */
html body.page-id-158 .elementor-158 {
    padding-bottom: 20px !important;
}

/* 10. Rimuove eventuali margini extra dal contenitore */
html body.page-id-158 .bodybox,
html body.page-id-158 .contentwrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 11. Riduce lo spazio extra tra i widget di Elementor */
html body.page-id-158 .elementor-158 .elementor-widget-container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   PAGINA COOKIE POLICY (ID 1274) - Stile Legale
   ========================================================= */

/* 1. Forza il full width solo per la pagina 1274 */
html body.page-id-1274 .contentwrapper,
html body.page-id-1274 .body,
html body.page-id-1274 .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: #f8f6f9 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 2. Contenitore interno centrato */
html body.page-id-1274 .cmplz-document {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 60px 20px !important;
}

/* 3. Titolo principale (h3 dentro bodybox) */
html body.page-id-1274 .bodybox > h3 {
    text-align: center !important;
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-bottom: 40px !important;
    border: 0 !important;
}

/* 4. Titoli di sezione (h2) */
html body.page-id-1274 .cmplz-document h2 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    padding-left: 15px !important;
    border-left: 4px solid #e6337a !important;
    display: block !important;
    text-align: left !important;
}

/* 4b. Sottotitoli (h3) */
html body.page-id-1274 .cmplz-document h3 {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #4a4550 !important;
    margin-top: 25px !important;
    margin-bottom: 10px !important;
    border-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

/* 5. Testo (paragrafi e liste) */
html body.page-id-1274 .cmplz-document p,
html body.page-id-1274 .cmplz-document li {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: #4a4550 !important;
    margin-bottom: 15px !important;
}

/* 6. Nasconde le sidebar solo su questa pagina */
html body.page-id-1274 .sidebar-left,
html body.page-id-1274 .sidebar-right {
    display: none !important;
}

/* 7. Nasconde il link Edit (se per caso non fosse stato rimosso dal PHP) */
html body.page-id-1274 .post-edit-link {
    display: none !important;
}

/* 8. Riduce lo spazio tra il testo e il footer */
html body.page-id-1274 .cmplz-document {
    padding-bottom: 20px !important;
}

/* 9. Rimuove eventuali margini extra dal contenitore */
html body.page-id-1274 .bodybox,
html body.page-id-1274 .contentwrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   BADGE PREZZI NEI PIANI DI REGISTRAZIONE
   ========================================================= */

.ec-price-badge {
    display: inline-block !important;
    background: #e6337a !important; /* Rosa */
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}
/* =========================================================
   FIX REGISTRAZIONE - RIMOZIONE BARRE VERTICALI
   ========================================================= */

/* 1. Targettiamo le pagine di registrazione (Agenzia ID 14, Escort ID 8) */
html body.page-id-14,
html body.page-id-8 {
    background: #f8f6f9 !important;
}

/* 2. Forza il full-width sul contentwrapper */
html body.page-id-14 .contentwrapper,
html body.page-id-8 .contentwrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 3. Forza il full-width sul body e bodybox */
html body.page-id-14 .body,
html body.page-id-8 .body,
html body.page-id-14 .bodybox,
html body.page-id-8 .bodybox {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* 4. Contenitore interno per centrare il modulo */
html body.page-id-14 .ec-contact-form,
html body.page-id-8 .ec-contact-form {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    background: transparent !important;
}

/* 5. Rimuove eventuali bordi residui dal tema genitore */
html body.page-id-14 .contentwrapper::before,
html body.page-id-14 .contentwrapper::after,
html body.page-id-8 .contentwrapper::before,
html body.page-id-8 .contentwrapper::after {
    display: none !important;
    content: none !important;
}

/* 6. Rimuove i bordi dal bodybox del modulo */
html body.page-id-14 .bodybox,
html body.page-id-8 .bodybox {
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   PAGINA SINGOLA ESCORT - RESTYLING PREMIUM V4 (FIX DEFINITIVO)
   ========================================================= */

/* 1. Reset Totale e Sfondo */
body.single-escort .contentwrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #f7f4f9 !important; /* Sfondo tenue */
    border: 0 !important;
    box-shadow: none !important;
}

body.single-escort .body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
}

body.single-escort .bodybox.profile-page {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 50px 40px 80px 40px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    float: none !important;
}

/* Forza il reset di float e larghezze sui contenitori principali */
body.single-escort .girlsingle {
    width: 100% !important;
    float: none !important;
    display: block !important;
}

/* 2. HERO (Gradiente) */
.ec-profile-hero {
    position: relative;
    width: 100%;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #2a0845 0%, #6441A5 50%, #e6337a 100%) !important;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(106, 44, 112, 0.2);
}
.ec-profile-hero__bg { display: none !important; }
.ec-profile-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
}
.ec-profile-title {
    font-size: clamp(3rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 15px 0 !important;
    line-height: 1 !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}
.ec-profile-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.ec-badge-tag {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.ec-badge-tag--premium { background: #f5a623 !important; color: #1c1a22 !important; }
.ec-badge-tag--verified { background: #2ecc71 !important; }
.ec-badge-tag--featured { background: #e6337a !important; }
.ec-badge-tag--new { background: #3498db !important; }

.ec-profile-hero__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}
.ec-profile-stats {
    display: flex;
    gap: 15px;
}
.ec-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.15) !important;
    padding: 15px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}
.ec-stat__val { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.ec-stat__lbl { font-size: 0.7rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

.ec-profile-phone {
    background: #fff !important;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.ec-profile-phone:hover { transform: translateY(-3px) scale(1.02); }
.ec-profile-phone__label { color: #e6337a !important; font-weight: 800; font-size: 0.9rem; text-transform: uppercase; }
.ec-profile-phone__link { color: #333 !important; font-weight: 800; font-size: 1.2rem; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.ec-profile-phone__link svg { stroke: #e6337a !important; }

/* 3. LAYOUT A 2 COLONNE (Foto + Chi Sono / Servizi) */
body.single-escort .ec-profile-intro-layout,
body.single-escort .ec-profile-secondary-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
}

/* Forza i figli delle griglie a comportarsi bene */
body.single-escort .ec-profile-intro-layout > div,
body.single-escort .ec-profile-secondary-layout > div {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* Foto Principale */
body.single-escort .ec-profile-main-photo {
    border-radius: 20px !important;
    overflow: hidden !important;
    height: 100% !important;
    min-height: 400px;
    background: #f4eef6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08) !important;
    position: relative;
}
body.single-escort .ec-profile-main-photo img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Blocco Chi Sono e Box Informativi */
body.single-escort .ec-profile-intro-layout__right,
body.single-escort .ec-custom-services-box,
body.single-escort .ec-profile-info-box {
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(20, 10, 30, 0.04) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    height: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    margin: 0 !important;
}

body.single-escort .ec-custom-aboutme h4,
body.single-escort .ec-custom-services-box h4,
body.single-escort .ec-profile-info-box h4 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    border-left: 6px solid #e6337a !important;
    padding-left: 15px !important;
    line-height: 1.1 !important;
    text-transform: none !important;
}
body.single-escort .ec-custom-aboutme p { font-size: 1.05rem !important; line-height: 1.8 !important; color: #4a4550 !important; margin-bottom: 15px !important; }

/* Griglia Foto Secondarie */
body.single-escort .ec-profile-gallery-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
    width: 100% !important;
}
body.single-escort .ec-profile-gallery-grid__item {
    border-radius: 16px !important;
    overflow: hidden !important;
    aspect-ratio: 1;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
    display: block !important;
}
body.single-escort .ec-profile-gallery-grid__item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.4s ease !important;
    display: block !important;
}
body.single-escort .ec-profile-gallery-grid__item:hover img { transform: scale(1.05) !important; }

/* 4. SERVIZI IN GRIGLIA */
body.single-escort .ec-services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
}
body.single-escort .ec-service-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.95rem !important;
    color: #444 !important;
    padding: 12px 15px !important;
    background: #fdfbfe !important;
    border-radius: 10px !important;
    border: 1px solid #f3ebf7 !important;
    transition: background 0.2s, transform 0.2s !important;
    box-sizing: border-box !important;
}
body.single-escort .ec-service-item:hover { background: #fff !important; transform: translateX(5px) !important; box-shadow: 0 2px 10px rgba(0,0,0,0.03) !important; }
body.single-escort .ec-service-item .icon-ok { color: #25D366 !important; font-weight: bold !important; font-size: 1.1rem !important; }

/* 5. LAYOUT INFO (Dati, Lingue, Contatti, Tariffe) */
body.single-escort .ec-profile-info-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}
body.single-escort .ec-profile-info-layout > div {
    width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

/* Griglia Dati (Etichetta / Valore) */
body.single-escort .ec-data-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}
body.single-escort .ec-data-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #f0ecf4 !important;
    align-items: center !important;
    background: transparent !important;
}
body.single-escort .ec-data-row:last-child { border-bottom: none !important; }
body.single-escort .ec-data-label {
    font-weight: 600 !important;
    color: #8a8494 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.05em !important;
}
body.single-escort .ec-data-value {
    font-weight: 700 !important;
    color: #1c1a22 !important;
    text-align: right !important;
    font-size: 0.95rem !important;
}
body.single-escort .ec-data-value a { color: #e6337a !important; text-decoration: none !important; }

/* 6. TARIFFE (Tabella Moderna) */
body.single-escort .rates-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin-top: 10px !important;
}
body.single-escort .rates-table .ec-rates-head th {
    background: transparent !important;
    color: #8a8494 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    padding: 10px 15px !important;
    border: none !important;
    text-align: right !important;
}
body.single-escort .rates-table .ec-rates-head th:first-child { text-align: left !important; }
body.single-escort .rates-table td {
    padding: 15px !important;
    border: none !important;
    border-bottom: 1px solid #f0ecf4 !important;
    background: #fdfbfe !important; /* Sfondo riga alternato */
    font-size: 1rem !important;
    color: #4a4550 !important;
}
body.single-escort .rates-table tr:nth-child(even) td { background: transparent !important; }
body.single-escort .rates-table td strong { color: #1c1a22 !important; font-size: 0.95rem !important; }
body.single-escort .rates-table td.text-center { text-align: right !important; font-weight: 700 !important; color: #e6337a !important; }

/* 7. CAROSELLO RECENSIONI E HEADER */
body.single-escort .ec-reviews-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    margin-top: 50px !important;
    width: 100% !important;
}
body.single-escort .ec-reviews-header h4 {
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #1c1a22 !important;
    margin: 0 !important;
    border-left: 6px solid #e6337a !important;
    padding-left: 15px !important;
    line-height: 1 !important;
}
body.single-escort .ec-reviews-actions { display: flex !important; align-items: center !important; }

/* Pulsanti Rosa (Forzati) */
body.single-escort .pinkbutton,
body.single-escort .addreview-button,
body.single-escort .sendemail {
    background: linear-gradient(135deg, #e6337a, #c92463) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    box-shadow: 0 5px 15px rgba(230, 51, 122, 0.3) !important;
}
body.single-escort .pinkbutton:hover,
body.single-escort .addreview-button:hover,
body.single-escort .sendemail:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(230, 51, 122, 0.4) !important;
}

/* Contenitore Carosello (Forzato a fare scroll) */
body.single-escort .ec-reviews-carousel {
    position: relative !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    display: block !important;
}
body.single-escort .ec-reviews-carousel__track {
    display: flex !important;
    flex-wrap: nowrap !important; /* Forza a stare su una riga */
    gap: 25px !important;
    overflow-x: auto !important; /* Forza lo scroll */
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-bottom: 20px !important;
}
body.single-escort .ec-reviews-carousel__track::-webkit-scrollbar { height: 6px !important; }
body.single-escort .ec-reviews-carousel__track::-webkit-scrollbar-thumb { background: #e6337a !important; border-radius: 10px !important; }

body.single-escort .ec-review-card {
    flex: 0 0 calc(33.333% - 17px) !important; /* Forza 3 colonne */
    min-width: 320px !important;
    scroll-snap-align: start !important;
    background: #ffffff !important;
    border: 1px solid #f0ecf4 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    float: none !important;
}
body.single-escort .ec-review-card__head {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f0ecf4 !important;
}
body.single-escort .ec-review-card__meta { font-size: 0.9rem !important; color: #6f6a7a !important; line-height: 1.5 !important; }
body.single-escort .ec-review-card__meta b { color: #1c1a22 !important; }
body.single-escort .ec-review-card__body { font-size: 0.95rem !important; line-height: 1.7 !important; color: #4a4550 !important; }

/* Frecce del carosello */
body.single-escort .ec-reviews-carousel__nav {
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    position: relative !important;
    top: -75px !important;
    right: 0 !important;
}
/* Allarghiamo il contenitore per dare più respiro */
html body.single-escort .bodybox {
    width: 100% !important;
    max-width: 1440px !important; /* Aumentato da 1200 a 1360 */
    margin: 0 auto !important;
    padding: 50px 40px 80px 40px !important; /* Aggiunto un po' di margine laterale */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    float: none !important;
}
/* Stile per i contatti nell'hero */
html body.single-escort .ec-hero-contacts a:hover {
    color: #f5a623 !important; /* Diventano giallo/oro al passaggio del mouse */
    text-decoration: underline;
}

/* Sistemiamo le frecce del carosello: le mettiamo al centro ma sotto le card */
.ec-reviews-carousel__nav {
    display: flex !important;
    justify-content: center !important; /* Frecce centrate */
    gap: 15px !important;
    margin-top: 20px !important;
    position: relative !important; /* Non più assoluto, così non si sovrappone */
    top: auto !important;
    right: auto !important;
}

.ec-reviews-carousel__nav button {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 1px solid #f0ecf4 !important;
    background: #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    color: #e6337a !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}
.ec-reviews-carousel__nav button:hover { 
    background: #e6337a !important; 
    color: #fff !important; 
    border-color: #e6337a !important; 
}

/* Assicuriamoci che il carosello abbia spazio sotto per le frecce */
.ec-reviews-carousel {
    padding-bottom: 20px !important;
}

/* 8. FIX VISITOR COUNTER (Per farlo stare al suo posto) */
body.single-escort .visitor-counter {
    display: block !important;
    text-align: center !important;
    margin: 30px 0 !important;
    font-size: 0.9rem !important;
    color: #8a8494 !important;
    clear: both !important;
}

/* 9. NASCONDE LE SIDEBAR (Forzato) */
body.single-escort .sidebar-left,
body.single-escort .sidebar-right {
    display: none !important;
}

/* 10. RESPONSIVE (Mobile) */
@media (max-width: 900px) {
    body.single-escort .ec-profile-intro-layout,
    body.single-escort .ec-profile-secondary-layout,
    body.single-escort .ec-profile-info-layout { grid-template-columns: 1fr !important; gap: 20px !important; }
    
    body.single-escort .ec-profile-hero { padding: 30px 20px !important; min-height: auto !important; }
    body.single-escort .ec-profile-hero__content { flex-direction: column !important; align-items: flex-start !important; }
    body.single-escort .ec-profile-hero__right { align-items: flex-start !important; width: 100% !important; margin-top: 20px !important; }
    body.single-escort .ec-profile-stats { flex-wrap: wrap !important; }
    body.single-escort .ec-profile-title { font-size: 2.5rem !important; }
    
    body.single-escort .ec-services-grid { grid-template-columns: 1fr !important; }
    body.single-escort .ec-review-card { flex: 0 0 85% !important; }
    
    body.single-escort .ec-reviews-header { flex-direction: column !important; align-items: flex-start !important; gap: 15px !important; }
    body.single-escort .ec-reviews-carousel__nav { position: relative !important; top: 0 !important; right: 0 !important; margin-top: 15px !important; justify-content: center !important; }
    
    body.single-escort .ec-custom-aboutme,
    body.single-escort .ec-custom-services-box,
    body.single-escort .ec-profile-info-box { padding: 25px !important; }
}

/* =========================================================
   LAYOUT ASIMMETRICO (Risolve il buco tra le colonne)
   ========================================================= */
body.single-escort .ec-profile-info-layout {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important; /* 60% a sinistra, 40% a destra */
    gap: 40px !important;
    align-items: start !important; /* Allinea i box in alto */
    margin-bottom: 40px !important;
    width: 100% !important;
}

body.single-escort .ec-profile-info-layout__left,
body.single-escort .ec-profile-info-layout__right {
    width: 100% !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

body.single-escort .ec-profile-info-box {
    height: auto !important; 
}

/* =========================================================
   TARIFFE ULTRA COMPATTE
   ========================================================= */
body.single-escort .ec-rates-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 8px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

body.single-escort .ec-rate-card {
    background: #fdfbfe !important;
    border: 1px solid #f0ecf4 !important;
    border-radius: 10px !important;
    padding: 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

body.single-escort .ec-rate-card:hover {
    background: #fff !important;
    box-shadow: 0 4px 15px rgba(230, 51, 122, 0.08) !important;
    border-color: #e6337a !important;
}

body.single-escort .ec-rate-duration {
    font-weight: 700 !important;
    color: #6f6a7a !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
}

body.single-escort .ec-rate-prices {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    align-items: center !important;
    line-height: 1.1 !important;
}

body.single-escort .ec-rate-prices b {
    color: #e6337a !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
}
body.single-escort .ec-rate-prices .hide-incall::before, 
body.single-escort .ec-rate-prices .hide-outcall::before { content: '' !important; }

/* =========================================================
   BOX CONTATTA (Pulsanti molto più chiari)
   ========================================================= */
body.single-escort .ec-action-box {
    display: flex !important;
    flex-direction: column !important;
    padding: 25px !important;
}

body.single-escort .ec-action-buttons {
    display: flex !important;
    flex-direction: column !important; /* Impilati in verticale */
    gap: 12px !important;
    margin-bottom: 0 !important;
}

body.single-escort .ec-btn-action {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

body.single-escort .ec-btn-message {
    background: linear-gradient(135deg, #e6337a, #c92463) !important;
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(230, 51, 122, 0.2) !important;
}
body.single-escort .ec-btn-message:hover { 
    transform: translateY(-2px) !important; 
    box-shadow: 0 8px 25px rgba(230, 51, 122, 0.4) !important; 
}

body.single-escort .ec-btn-phone {
    background: #fff !important;
    color: #e6337a !important;
    border: 2px solid #e6337a !important; /* Bordo rosa per distinguerlo */
}
body.single-escort .ec-btn-phone:hover { 
    background: #fdfbfe !important; 
}

body.single-escort .ec-btn-web {
    background: #f0f4f8 !important;
    color: #2c3e50 !important;
    border: 1px solid #dce4ec !important;
}
body.single-escort .ec-btn-web:hover { 
    background: #e2e8f0 !important; 
}

/* =========================================================
   HERO SOCIALS (Nuove icone in alto)
   ========================================================= */
body.single-escort .ec-hero-socials {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

body.single-escort .ec-hero-socials a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.single-escort .ec-hero-socials a:hover {
    background: #e6337a !important;
    border-color: #e6337a !important;
    transform: translateY(-2px) !important;
}

/* =========================================================
   CAROSELLO E SPAZIATURE
   ========================================================= */
body.single-escort .ec-reviews-carousel__track::-webkit-scrollbar { display: none !important; }
body.single-escort .ec-reviews-carousel__track {
    -ms-overflow-style: none !important; 
    scrollbar-width: none !important; 
    padding-bottom: 10px !important;
}
body.single-escort .ec-reviews-carousel__nav {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin-top: 15px !important; 
    margin-bottom: 0px !important;
    position: relative !important;
}
body.single-escort .ec-reviews-carousel__nav button {
    width: 40px !important; height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid #f0ecf4 !important;
    background: #fff !important;
    color: #e6337a !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}
body.single-escort .ec-reviews-carousel__nav button:hover {
    background: #e6337a !important; color: #fff !important;
}
body.single-escort .bodybox.profile-page { padding-bottom: 10px !important; }

/* Pulsante Report */
body.single-escort .ec-report-wrapper { margin-top: 0px !important; margin-bottom: 20px !important; }
body.single-escort .ec-report-wrapper a, 
body.single-escort .ec-report-wrapper button {
    background: #f0f4f8 !important; color: #6f6a7a !important; border: 1px solid #dce4ec !important;
    padding: 8px 15px !important; border-radius: 20px !important; font-size: 0.8rem !important;
    text-decoration: none !important; display: inline-block !important;
}
body.single-escort .ec-report-wrapper a:hover { background: #e2e8f0 !important; color: #e6337a !important; }

/* Icone Social nella Hero */
body.single-escort .ec-hero-socials {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
}

body.single-escort .ec-hero-socials a {
    display: inline-flex !important; /* Forza inline-flex */
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease !important;
    overflow: visible !important;
}

body.single-escort .ec-hero-socials a:hover {
    background: #e6337a !important;
    border-color: #e6337a !important;
    transform: translateY(-2px) !important;
}

/* FORZA LA VISIBILITÀ DEGLI SVG */
body.single-escort .ec-hero-socials a svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    stroke: #fff !important;
    stroke-width: 2px !important;
    fill: none !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =========================================================
   FIX DEFINITIVO PER PAGINE INTERNE (Recensioni, Blog, Contatti)
   ========================================================= */

/* 1. Rimuove le linee verticali rosa da qualsiasi contenitore */
body.page .contentwrapper,
body.page .all-body,
body.page .body,
body.page .ec-blog-page,
body.page .ec-reviews-page,
body.page .ec-contact-page {
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    background: transparent !important;
}

/* 2. Rimuove i pseudo-elementi che il tema usa per creare le linee */
body.page .contentwrapper::before,
body.page .contentwrapper::after,
body.page .all-body::before,
body.page .all-body::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    background: transparent !important;
}

/* 3. Rimuove lo spazio bianco extra (altezza minima forzata) */
body.page .all-body {
    min-height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 4. Avvicina il footer al contenuto */
body.page .contentwrapper {
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

body.page .ec-footer {
    margin-top: 0 !important;
}

/* 5. Rimuove eventuali bordi dal box dei contenuti */
body.page .bodybox,
body.page .ec-list-hero,
body.page .ec-blog-grid,
body.page .ec-reviews-grid {
    border: 0 !important;
    box-shadow: none !important;
}

/* =========================================================
   FIX DEFINITIVO PER LO SPAZIO BIANCO SOTTO IL FOOTER (BLOG)
   ========================================================= */

/* 1. Forza il contenitore principale a non allungarsi oltre il contenuto */
body.page .all-body {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* 2. Rimuove eventuali margini/padding dal body e dal contenitore della pagina */
body.page {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

body.page .contentwrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 3. Assicura che il footer sia l'ultimo elemento visibile e senza margini */
body.page .ec-footer {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 4. Nasconde eventuali residui dell'Age Gate o WooCommerce che creano spazio */
body.page #age-gate-wrapper,
body.page .age-gate__wrapper,
body.page #tmpl-age-gate,
body.page .widget_shopping_cart_live_region,
body.page .dialog-widget {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 5. Forza il body a non avere altezza minima (se impostata dal tema) */
body.page {
    min-height: auto !important;
}