/*
 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;
}