/*
Theme Name: ROF Theme
Theme URI: https://www.pasqualericciardi.com
Author: Pasquale Ricciardi
Author URI: https://www.pasqualericciardi.com
Description: Tema custom per directory Creator OnlyFans.
Version: 3.0.0
Text Domain: rof-theme
*/

/* ── ROOT VARIABILI ── */
:root {
    color-scheme: light;
    --ink: #22101b;
    --muted: #75596b;
    --line: #ffd1e3;
    --paper: #fff7fb;
    --panel: #ffffff;
    --rose: #fc6a9c;
    --hot-rose: #f0076f;
    --soft-rose: #ffe0ef;
    --deep-rose: #9c064c;
    --cyan: #18a8b4;
    --gold: #ffb629;
    --green: #009246;
    --red: #ce2b37;
    --shadow: 0 22px 60px rgba(240, 7, 111, 0.18);
    --shadow-soft: 0 14px 38px rgba(240, 7, 111, 0.12);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: var(--soft-rose); }
*::-webkit-scrollbar-thumb { background-color: var(--rose); border-radius: 20px; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 47, 134, 0.16), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(255, 182, 41, 0.12), transparent 24%),
        var(--paper);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .2s, background .2s; }
img { max-width: 100%; height: auto; display: block; }
input, select, button, textarea { font: inherit; }

h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: 0; margin-bottom: 18px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.1; margin-bottom: 12px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }

.eyebrow {
    margin: 0 0 12px;
    color: var(--hot-rose);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: .04em;
}

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 247, 251, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.site-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px clamp(20px, 5vw, 56px);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    position: relative;
}
.site-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--hot-rose);
}
.site-logo img {
    display: block;
    width: clamp(140px, 22vw, 320px);
    max-height: 54px;
    object-fit: contain;
    height: auto;
    filter: drop-shadow(0 8px 18px rgba(240, 7, 111, 0.28));
}
.site-nav { display: flex; gap: 22px; align-items: center; }
.site-nav a { font-size: .95rem; color: var(--muted); font-weight: 600; }
.site-nav a:hover { color: var(--hot-rose); }

/* Hamburger (default nascosto) */
.site-nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.site-nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--hot-rose);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.site-nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.site-nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* CTA pill nell'header (link contatti) */
.header-action {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 10px 24px rgba(240, 7, 111, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.header-action:hover { color: #fff; }
.header-action--mobile { display: none; }

/* ── CONTAINER ── */
.site-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px);
    min-height: 60vh;
}

/* ── BREADCRUMB ── */
.breadcrumb {
    color: var(--muted);
    font-size: .85rem;
    padding-bottom: 16px;
}
.breadcrumb a { color: var(--ink); font-weight: 600; }
.breadcrumb a:hover { color: var(--hot-rose); }
.breadcrumb-current { color: var(--hot-rose); font-weight: 700; }

/* ── HERO HOMEPAGE ── */
.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    padding: clamp(32px, 6vw, 64px) 0 24px;
}
.home-hero-copy { max-width: 720px; }
.home-h1 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: .95;
    color: var(--ink);
    text-shadow: 0 8px 26px rgba(255, 47, 134, 0.18);
    margin-bottom: 18px;
}
.home-h1-text {
    margin: 18px 0 26px;
}
.home-h1-text .internal_box {
    text-align: left;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.7;
    padding: 0;
}
.home-h1-text .internal_box p { margin: 0 0 10px; }
.home-h1-text .internal_box p:last-child { margin-bottom: 0; }
.home-h1-text .internal_box ul,
.home-h1-text .internal_box ol {
    margin: 10px 0;
    padding-left: 22px;
    text-align: left !important;
}
.home-h1-text .internal_box li {
    margin: 4px 0;
    padding-left: 4px;
    text-align: left !important;
}

/* ── HERO VISUAL: galleria + card volanti ── */
.home-hero-visual {
    position: relative;
    min-height: 1050px;
    overflow: hidden;
}

/* MAIN FEATURE — galleria fade */
.feature-profile.main-feature {
    position: absolute;
    inset: 0 56px auto 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(240, 7, 111, 0.22), 0 4px 14px rgba(240, 7, 111, 0.08);
    overflow: hidden;
    padding: 10px;
    z-index: 1;
}
.main-feature-slides {
    position: relative;
    aspect-ratio: 1/2;
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
    background: var(--soft-rose);
}
.main-feature-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.main-feature-slide.is-active { opacity: 1; }
.main-feature-slide a, .main-feature-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-profile .feature-body {
    padding: 14px 10px 4px;
    background: var(--panel);
}
.feature-profile .feature-body .feature-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
    transition: opacity .3s ease;
}
.feature-profile .feature-body .feature-tags {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.45;
    margin: 0;
    min-height: 1.2em;
    transition: opacity .3s ease;
}
.feature-profile .feature-body.is-fading .feature-name,
.feature-profile .feature-body.is-fading .feature-tags { opacity: 0; }
.feature-profile .status {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    color: var(--green);
    background: linear-gradient(90deg, rgba(0,146,70,.12), rgba(255,255,255,.9), rgba(206,43,55,.12));
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.feature-profile h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-profile p { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.feature-profile.placeholder {
    background:
        radial-gradient(circle at 50% 30%, rgba(255,255,255,.88) 0 10%, transparent 11%),
        radial-gradient(ellipse at 50% 56%, rgba(24,23,28,.72) 0 13%, transparent 14%),
        linear-gradient(135deg, #ff9cca 0%, var(--rose) 48%, var(--deep-rose) 100%);
}

/* MINI TRACKS — card volanti dal basso verso l'alto su percorso curvy */
.mini-track {
    position: absolute;
    width: 200px;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}
.mini-track-right { right: 0; }
.mini-track-left { left: 30px; }

.mini-feature {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    padding: 10px;
    background: var(--panel);
    border: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
    pointer-events: auto;
    will-change: transform, opacity;
}
.mini-feature a {
    display: block;
    color: inherit;
    transition: none;
}
.mini-feature .feature-img {
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
    border-radius: 7px;
    margin-bottom: 8px;
    display: block;
}
.mini-feature span {
    display: block;
    text-align: center;
    color: var(--ink);
    font-size: .82rem;
    font-weight: 800;
}
.mini-feature.flying { animation: mini-fly 10s linear forwards; }
.mini-feature.flying a,
.mini-feature.flying img,
.mini-feature.flying span { transition: none !important; }
.mini-track-left .mini-feature.flying { animation-name: mini-fly-left; }

/* Curva: entrata e uscita simmetriche con fade in/out e traslazione speculare */
@keyframes mini-fly {
    0%   { transform: translate(8px,    40%)  scale(0.9); opacity: 0; }
    10%  { transform: translate(0,      0)    scale(1);   opacity: 1; }
    28%  { transform: translate(-22px,  calc(var(--mini-fly-distance, 480px) * -0.22)) scale(1); opacity: 1; }
    50%  { transform: translate(8px,    calc(var(--mini-fly-distance, 480px) * -0.5))  scale(1); opacity: 1; }
    72%  { transform: translate(-14px,  calc(var(--mini-fly-distance, 480px) * -0.78)) scale(1); opacity: 1; }
    90%  { transform: translate(0,      calc(var(--mini-fly-distance, 480px) * -1))    scale(1); opacity: 1; }
    100% { transform: translate(-8px,   calc(var(--mini-fly-distance, 480px) * -1.4))  scale(0.9); opacity: 0; }
}
@keyframes mini-fly-left {
    0%   { transform: translate(-8px,   40%)  scale(0.9); opacity: 0; }
    10%  { transform: translate(0,      0)    scale(1);   opacity: 1; }
    28%  { transform: translate(22px,   calc(var(--mini-fly-distance, 480px) * -0.22)) scale(1); opacity: 1; }
    50%  { transform: translate(-8px,   calc(var(--mini-fly-distance, 480px) * -0.5))  scale(1); opacity: 1; }
    72%  { transform: translate(14px,   calc(var(--mini-fly-distance, 480px) * -0.78)) scale(1); opacity: 1; }
    90%  { transform: translate(0,      calc(var(--mini-fly-distance, 480px) * -1))    scale(1); opacity: 1; }
    100% { transform: translate(8px,    calc(var(--mini-fly-distance, 480px) * -1.4))  scale(0.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .mini-feature.flying { animation: none; opacity: 1; transform: none; }
    .main-feature-slide { transition: none; }
}

/* ── SEARCH PANEL (ricerca homepage) ── */
.search-wrap { position: relative; max-width: 900px; margin: 8px 0 18px; }
.rof-search-page { margin: 8px auto 32px; } /* barra ricerca centrata nella pagina /cerca/ */
.search-form-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 12px;
    background: var(--panel);
    border: 1px solid #ffc0db;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.search-form-inner input[type="search"],
.search-form-inner input[type="text"] {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    color: var(--ink);
    background: #fff8fb;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.search-form-inner input:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(255, 47, 134, 0.18);
}
.search-form-inner input::placeholder { color: #c19fb1; }
.search-form-inner button {
    min-height: 46px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(240, 7, 111, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: filter .2s;
}
.search-form-inner button:hover { filter: brightness(1.05); }

/* Autocomplete dropdown */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--rose);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(240, 7, 111, 0.18);
    z-index: 200;
    overflow: hidden;
    display: none;
}
.search-autocomplete.open { display: block; }
.search-autocomplete a {
    display: block;
    padding: 12px 20px;
    font-size: .9rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}
.search-autocomplete a:last-child { border-bottom: none; }
.search-autocomplete a:hover { background: var(--soft-rose); color: var(--hot-rose); }
.search-autocomplete a span.highlight { color: var(--hot-rose); font-weight: 700; }

/* Tag suggeriti sotto barra */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}
.search-tags a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    background: var(--soft-rose);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #514c58;
    font-size: .85rem;
    font-weight: 700;
}
.search-tags a:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

/* ── TRUST BAND ── */
.trust-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 24px 0 32px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--green), white, var(--red));
    border: 1px solid var(--line);
    border-radius: 10px;
}
.trust-band > div {
    display: grid;
    gap: 6px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.94);
    text-align: center;
}
.trust-band strong { font-size: 1.6rem; color: var(--ink); }
.trust-band span { color: var(--muted); font-size: .85rem; }

/* ── PAGE HEADER (archive/search) ── */
.page-header { margin-bottom: 28px; }
.page-header h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--ink);
    margin-bottom: 8px;
}
.page-header p {
    color: var(--muted);
    font-size: 1rem;
    max-width: none;
}

/* ── CATEGORY FILTERS ── */
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.cat-filters a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--panel);
    transition: all .2s;
}
.cat-filters a:hover, .cat-filters a.active {
    background: var(--rose);
    color: #fff;
    border-color: var(--rose);
}

/* ── DESCRIZIONE CATEGORIA ── */
.desc_cat {
    margin: 14px 0 26px;
}
.desc_cat .internal_box {
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.7;
    padding: 0 10px 0 0;
    text-align: left;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;                       /* Firefox: barra sottile */
    scrollbar-color: var(--rose) transparent;
}
.desc_cat .internal_box::-webkit-scrollbar { width: 6px; }
.desc_cat .internal_box::-webkit-scrollbar-track { background: transparent; }
.desc_cat .internal_box::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 999px; }
.desc_cat .internal_box p { margin: 0 0 10px; }
.desc_cat .internal_box p:last-child { margin-bottom: 0; }
.desc_cat .internal_box ul,
.desc_cat .internal_box ol {
    margin: 10px 0;
    padding-left: 22px;
    text-align: left !important;
}
.desc_cat .internal_box li {
    margin: 4px 0;
    padding-left: 4px;
    text-align: left !important;
}

/* ── GRID CREATOR ── */
.creator-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ── CARD ── */
.creator-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.creator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(240, 7, 111, 0.18);
}
.creator-card-img,
.creator-card a > .creator-card-img,
.creator-card-img-ph {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}
.creator-card-img-ph {
    background:
        radial-gradient(circle at 50% 30%, rgba(255,255,255,.88) 0 10%, transparent 11%),
        radial-gradient(ellipse at 50% 56%, rgba(24,23,28,.72) 0 13%, transparent 14%),
        linear-gradient(135deg, #ff9cca 0%, var(--rose) 48%, var(--deep-rose) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}
.creator-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.creator-card-title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.creator-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-width: 0;            /* permette il troncamento dentro il flex */
    height: 2.7em;           /* SEMPRE 2 righe: nome a 1 o 2 righe occupa lo stesso spazio */
    margin: 0;
}
.creator-card-title a { color: var(--ink); }
.creator-card-title a:hover { color: var(--hot-rose); }
.creator-card-badge {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 9px;
    color: var(--green);
    background: linear-gradient(90deg, rgba(0,146,70,.12), rgba(255,255,255,.9), rgba(206,43,55,.12));
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 800;
}
.creator-card-bio {
    font-size: .85rem;
    color: var(--muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.65em;          /* SEMPRE 3 righe: bio più corte/assenti non disallineano */
    margin: 0;
}
.creator-card-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-end;
}
.creator-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 26px;
}
.creator-card-tags span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}
.creator-card-tags .tag-cat {
    background: var(--soft-rose);
    border: 1px solid var(--line);
    color: var(--deep-rose);
}
.creator-card-tags .tag-price {
    background: linear-gradient(90deg, #e6f9ee, #d6f5e2);
    border: 1px solid #b8e6c9;
    color: #136b3a;
}
.creator-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    box-shadow: 0 8px 18px rgba(240, 7, 111, 0.25);
}
.creator-card-link:hover { color: #fff; filter: brightness(1.05); }

/* ── PAGINATION ── */
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 12px;
    border-radius: 8px; border: 1px solid var(--line);
    background: var(--panel); color: var(--muted); font-size: .9rem; font-weight: 700;
    transition: all .2s;
}
.pagination a:hover, .pagination .current {
    background: var(--rose); color: #fff; border-color: var(--rose);
}

/* ── FAQ SECTION ── */
.faq-section {
    max-width: none;
    margin: 64px 0 0;
}
.faq-section-h2 {
    text-align: left;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--ink);
    margin-bottom: 16px;
}
.faq-intro-text {
    text-align: left;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.75;
    max-width: none;
    margin: 0 0 28px;
}
.faq-item {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-question:hover { color: var(--hot-rose); }
.faq-question .faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--rose);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    transition: transform .25s, background .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--hot-rose); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
    padding: 0 22px;
    font-size: .92rem;
    color: var(--muted);
    line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 800px; padding: 0 22px 20px; }

/* ── SINGLE CREATOR (profilo) ── */
.single-creator-wrap { max-width: 1180px; margin: 0 auto; }

.profile-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    padding: 8px 0 36px;
}
.profile-media { position: relative; }
.profile-photo {
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    background: var(--soft-rose);
}
.profile-photo img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.profile-verified {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(240, 7, 111, 0.18);
}
.profile-verified span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 50%;
    font-weight: 900;
    font-size: .8rem;
}
.profile-verified strong { font-size: .9rem; color: var(--ink); }

.profile-intro h1 {
    color: var(--hot-rose);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1;
}
.profile-intro .hero-text { color: var(--muted); font-size: 1.02rem; line-height: 1.65; max-width: 660px; }

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}
.of-btn, .onlyfans-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    color: #fff !important;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(240, 7, 111, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: filter .2s;
}
.of-btn:hover, .onlyfans-button:hover { color: #fff !important; filter: brightness(1.05); }
.onlyfans-button.compact { width: 100%; }
.secondary-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    color: var(--hot-rose);
    background: #fff;
    border: 1px solid #ffc0db;
    border-radius: 8px;
    font-weight: 800;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cyan);
    padding: 9px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(24, 168, 180, 0.3);
}
.banner-btn img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* Pulsanti azione fissi in basso (solo mobile) — duplicano quelli dell'hero */
.profile-actions-fixed { display: none; }
@media (max-width: 900px) {
    .profile-actions-fixed {
        display: flex;
        flex-wrap: nowrap;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 150;
        gap: 8px;
        margin: 0;
        align-items: stretch;
        padding: 9px 12px;
        padding-bottom: calc(9px + env(safe-area-inset-bottom));
        background: rgba(255, 247, 251, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(0,0,0,.1);
    }
    .profile-actions-fixed .of-btn { flex: 1 1 auto; min-height: 48px; }
    .profile-actions-fixed .banner-btn { flex: 0 0 auto; }
    body.single-creator { padding-bottom: 76px; } /* spazio per non coprire il footer */
}

.single-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.single-cats a {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    background: var(--soft-rose);
    border: 1px solid var(--line);
    color: #514c58;
}
.single-cats a:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.profile-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}
.profile-highlights > div {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}
.profile-highlights strong {
    color: var(--hot-rose);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.profile-highlights span { color: var(--ink); font-weight: 700; font-size: .92rem; }

/* Layout 2 colonne: contenuto + sidebar */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    margin-bottom: 36px;
}
.profile-main, .sidebar-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    padding: 26px;
}
.profile-main h2 {
    color: var(--ink);
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--rose);
    font-size: 1.4rem;
}
.single-bio {
    line-height: 1.75;
    font-size: .95rem;
    color: var(--ink);
    white-space: pre-line;
}
.single-bio p, .profile-main p { color: var(--muted); }

.profile-sidebar { display: grid; gap: 18px; }
.sidebar-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 14px; }
.info-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.info-table tr { border-bottom: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 10px 0; vertical-align: top; }
.info-table td:first-child {
    color: var(--hot-rose);
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    width: 130px;
    white-space: nowrap;
}
.info-table td:last-child { color: var(--ink); font-weight: 600; }
.info-table a { color: var(--hot-rose); font-weight: 700; }
.info-table a:hover { color: var(--deep-rose); }

.servizi-list { list-style: none; padding: 0; margin: 0; }
.servizi-list li { padding: 3px 0; }
.servizi-list li::before { content: '★ '; color: var(--gold); }

.important-card {
    background:
        radial-gradient(circle at 20% 10%, rgba(255,255,255,.6), transparent 22%),
        linear-gradient(135deg, #fff, var(--soft-rose));
}

/* GALLERY */
.gallery-section { margin-bottom: 40px; }
.gallery-section h2 {
    color: var(--ink);
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 4px solid var(--rose);
}
.creator-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.creator-gallery a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform .25s;
}
.creator-gallery a:hover { transform: scale(1.02); }
.creator-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* CAROSELLO ALTRE CREATOR (single-creator) */
.creator-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--rose) var(--soft-rose);
}
.creator-carousel-track {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: stretch;
}
.creator-carousel-track > * { flex: 0 0 277px; scroll-snap-align: start; display: flex; }
.creator-carousel::-webkit-scrollbar { height: 10px; }
.creator-carousel::-webkit-scrollbar-track { background: var(--soft-rose); border-radius: 10px; }
.creator-carousel::-webkit-scrollbar-thumb { background: var(--rose); border-radius: 10px; }
.creator-carousel::-webkit-scrollbar-thumb:hover { background: var(--deep-rose); }

.section-h2 {
    color: var(--ink);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin: 28px 0 18px;
    padding-left: 12px;
    border-left: 4px solid var(--rose);
}

.post-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: .9rem;
}
.post-nav a { color: var(--hot-rose); font-weight: 700; }

/* ── PAGINA CATEGORIE ── */
.cat-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}
.cat-page-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 26px 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform .25s, box-shadow .25s;
    color: var(--ink);
}
.cat-page-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(240, 7, 111, 0.2);
    color: var(--hot-rose);
}
.cat-page-name { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.cat-page-count { font-size: .78rem; color: var(--muted); font-weight: 700; }

/* ── PAGINA CONTATTI ── */
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-form {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 32px;
}
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-field label {
    font-size: .76rem;
    font-weight: 800;
    color: var(--hot-rose);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.contact-field label span { color: var(--rose); }
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: .95rem;
    color: var(--ink);
    background: #fff8fb;
    outline: none;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--rose);
    box-shadow: 0 0 0 3px rgba(255, 47, 134, 0.18);
}
.contact-privacy { flex-direction: row; align-items: flex-start; gap: 10px; }
.contact-privacy label {
    display: flex; align-items: flex-start; gap: 8px;
    font-weight: 600; color: var(--muted); text-transform: none; font-size: .88rem;
    letter-spacing: 0;
}
.contact-privacy label a { color: var(--hot-rose); font-weight: 700; }
.contact-privacy input { margin-top: 3px; accent-color: var(--rose); flex-shrink: 0; }
.contact-submit {
    width: 100%;
    min-height: 50px;
    padding: 0 22px;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border: 0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(240, 7, 111, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition: filter .2s;
}
.contact-submit:hover { filter: brightness(1.05); }
.contact-success {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 32px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--ink);
    box-shadow: var(--shadow-soft);
}
.contact-error {
    background: #fff0f4;
    border: 1px solid var(--rose);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    color: #c0392b;
    font-size: .9rem;
}

/* ── FOOTER ── */
.site-footer {
    color: #fff;
    background: linear-gradient(135deg, #220d1a, #7d043d);
    padding: 40px clamp(20px, 5vw, 56px);
    margin-top: 60px;
}
.site-footer-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 18px;
}
.site-footer-brand { max-width: 560px; margin: 0 auto; }
.site-footer-brand img {
    display: block;
    width: min(280px, 70vw);
    height: auto;
    margin: 0 auto 8px;
    filter: drop-shadow(0 8px 18px rgba(255, 47, 134, 0.22));
}
.site-footer-brand p { color: var(--soft-rose); font-size: .9rem; line-height: 1.6; margin: 6px 0 0; }
.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    justify-content: center;
}
.site-footer-nav a {
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .85;
}
.site-footer-nav a:hover { opacity: 1; color: #fff; text-decoration: underline; }
.site-footer-sep { color: rgba(255,255,255,.35); font-size: .75rem; }
.site-footer-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: .8rem;
    margin-top: 14px;
    width: 100%;
    text-align: center;
}

/* ── SEARCH RESULTS ── */
.search-results-header { margin-bottom: 24px; }
.search-results-header h1 { font-size: 1.6rem; color: var(--ink); }
.search-results-header p { color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .creator-grid { grid-template-columns: repeat(3, 1fr); }
    .creator-gallery { grid-template-columns: repeat(3, 1fr); }
    .cat-page-grid { grid-template-columns: repeat(3, 1fr); }
    .profile-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .home-hero { grid-template-columns: 1fr; }
    .home-hero-copy { order: 2; }
    .home-hero-visual { order: 1; min-height: 480px; margin-top: 0; }
    .profile-hero { grid-template-columns: 1fr; }
    .trust-band { grid-template-columns: repeat(2, 1fr); }

    /* Header mobile: slim + fisso */
    .site-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 4px 16px; gap: 12px; }
    .site-logo img { max-height: 38px; width: auto; }
    .header-action--desktop { display: none; }
    .site-nav-toggle { display: flex; width: 28px; height: 28px; }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--panel);
        border-top: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(0,0,0,.08);
        padding: 6px 16px 10px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
    }
    .site-nav.is-open {
        max-height: 85vh;
        opacity: 1;
        overflow-y: auto;
    }
    .site-nav a {
        padding: 7px 4px;
        font-size: .9rem;
        line-height: 1.2;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
    }
    .site-nav a:last-child { border-bottom: none; }
    .header-action--mobile {
        display: inline-flex;
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }
    /* Header fisso e slim su mobile (offset del contenuto + barra admin) */
    .site-header { position: fixed; top: 0; left: 0; right: 0; }
    body { padding-top: 48px; }
    .admin-bar .site-header { top: 46px; }
}

@media (max-width: 768px) {
    .creator-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .creator-gallery { grid-template-columns: repeat(2, 1fr); }
    .cat-page-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-row { grid-template-columns: 1fr; }
    .site-footer-inner { align-items: center; }
    .site-footer-nav { justify-content: center; }
}

@media (max-width: 540px) {
    .site-header-inner { flex-wrap: nowrap; gap: 10px; }
    .search-form-inner { grid-template-columns: 1fr; }
    .mini-track { display: none; }
    .feature-profile.main-feature { inset: 0; }
    .home-hero-visual { min-height: 360px; }
    .trust-band { grid-template-columns: 1fr; }
    .profile-highlights { grid-template-columns: 1fr; }
    .creator-gallery { grid-template-columns: 1fr; }
    .cat-page-grid { grid-template-columns: 1fr; }
    .creator-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ================================================================
   ROF PAGE BUILDER — append a style.css
   ================================================================ */
.rof-pb-wrap { max-width: 960px; margin: 0 auto; }
.rof-pb-wrap > section { margin-bottom: 48px; }

/* HERO */
.rof-pb-hero { text-align: center; padding: 24px 0 8px; }
.rof-pb-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--deep-rose);
    margin: 8px 0 12px;
    line-height: 1.15;
}
.rof-pb-hero-sub {
    font-size: 18px;
    color: var(--ink);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.5;
}

/* TESTO LIBERO */
.rof-pb-text { font-size: 16px; line-height: 1.7; color: var(--ink); }
.rof-pb-text h2, .rof-pb-text h3 { color: var(--deep-rose); margin-top: 1.4em; }
.rof-pb-text a { color: var(--hot-rose); }

/* CARDS */
.rof-pb-cards h2,
.rof-pb-faq h2 { color: var(--deep-rose); font-size: 26px; margin-bottom: 20px; text-align: center;}
.rof-pb-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.rof-pb-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 24px;
    transition: transform .2s, box-shadow .2s;
}
.rof-pb-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(252,106,156,.12); }
.rof-pb-card-icon { font-size: 36px; margin-bottom: 10px; }
.rof-pb-card h3 { color: var(--deep-rose); font-size: 18px; margin: 4px 0 8px; }
.rof-pb-card p, .rof-pb-card div { color: var(--ink); line-height: 1.5; font-size: 15px; }

/* FAQ */
.rof-pb-faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
}
.rof-pb-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--deep-rose);
    list-style: none;
    position: relative;
    padding-right: 28px;
}
.rof-pb-faq-item summary::-webkit-details-marker { display: none; }
.rof-pb-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 0;
    color: var(--hot-rose);
    font-size: 22px;
    line-height: 1;
    transition: transform .2s;
}
.rof-pb-faq-item[open] summary::after { content: '−'; }
.rof-pb-faq-a { padding-top: 10px; color: var(--ink); line-height: 1.6; }

/* CTA */
.rof-pb-cta {
    background: linear-gradient(135deg, var(--soft-rose), var(--rose));
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    color: #fff;
}
.rof-pb-cta.has-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}
.rof-pb-cta.has-bg::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(252,106,156,.85), rgba(214,67,123,.85));
    border-radius: 16px;
}
.rof-pb-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.rof-pb-cta h2 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.rof-pb-cta-text { font-size: 17px; margin-bottom: 22px; line-height: 1.5; }
.rof-pb-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--deep-rose);
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s;
}
.rof-pb-cta-btn:hover { transform: scale(1.04); }

/* ===== Header: voci menu reale (wp_nav_menu) = parità col vecchio fallback <a> ===== */
.site-nav .menu-item { list-style: none; margin: 0; padding: 0; }
@media (max-width: 900px) {
    /* l'<a> ora è dentro <li>: forzalo a piena larghezza e ripristina i separatori
       (il '.site-nav a:last-child' del tema toglierebbe il bordo a ogni voce) */
    .site-nav .menu-item > a { display: block; border-bottom: 1px solid var(--line); }
}

/* ===== Header: dropdown "Categorie" ===== */
.site-nav .rof-has-dropdown { position: relative; }
.site-nav .rof-has-dropdown > a { cursor: pointer; }
.site-nav .rof-has-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 6px; height: 6px;
    margin-left: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s;
}
.site-nav .rof-has-dropdown.is-open > a::after { transform: translateY(1px) rotate(-135deg); }
.rof-dropdown {
    list-style: none;
    margin: 0;
    padding: 8px;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 300px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0,0,0,.14);
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 2px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 200;
}
.site-nav .rof-has-dropdown.is-open > .rof-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
@media (hover: hover) and (min-width: 901px) {
    .site-nav .rof-has-dropdown:hover > .rof-dropdown,
    .site-nav .rof-has-dropdown:focus-within > .rof-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.rof-dropdown li { margin: 0; padding: 0; list-style: none; }
.rof-dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.rof-dropdown a:hover { background: var(--soft-rose); color: var(--hot-rose); }

/* Mobile: il dropdown diventa un accordion in-flow dentro il menu verticale */
@media (max-width: 900px) {
    .rof-dropdown {
        position: static;
        transform: none;
        min-width: 0;
        grid-template-columns: 1fr;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: hidden;
        transition: max-height .25s ease, padding .25s ease;
    }
    .site-nav .rof-has-dropdown.is-open > .rof-dropdown {
        visibility: visible;
        max-height: 60vh;
        overflow-y: auto;
        transform: none;
        padding: 4px 0 8px 14px;
    }
    .rof-dropdown a { border-bottom: 1px solid var(--line); padding: 6px 4px; font-size: .85rem; }
    .site-nav .rof-has-dropdown > a::after { float: right; margin-top: 4px; }
}

/* ===== Footer: menu reale (wp_nav_menu) = link separati da | come prima ===== */
.site-footer-nav .menu-item { list-style: none; margin: 0; padding: 0; display: inline-flex; align-items: center; }
.site-footer-nav .menu-item + .menu-item::before {
    content: "|";
    color: rgba(255,255,255,.35);
    font-size: .75rem;
    margin-right: 18px;
}

/* ===== Pagina 404 ===== */
.error-404 { text-align: center; max-width: 720px; margin: 50px auto 8px; padding: 0 16px; }
.error-404-code {
    font-size: clamp(5rem, 17vw, 10rem);
    line-height: 1;
    font-weight: 900;
    margin: 6px 0 0;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--rose);
}
.error-404-title { font-size: 1.9rem; font-weight: 800; color: var(--ink); margin: 2px 0 10px; }
.error-404-text { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 auto 22px; max-width: 560px; }
.error-404 .search-wrap { margin: 0 auto 22px; }
.error-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.error-404-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    box-shadow: 0 8px 18px rgba(240, 7, 111, 0.25);
}
.error-404-btn:hover { filter: brightness(1.05); color: #fff; }
.error-404-btn--ghost { background: #fff; color: var(--deep-rose); border: 1px solid var(--line); box-shadow: none; }
.error-404-btn--ghost:hover { background: var(--soft-rose); color: var(--deep-rose); }
/* più aria attorno alla sezione "Intanto scopri queste modelle" della 404 */
.error-404 ~ .section-h2 { margin-top: 102px; margin-bottom: 30px; }
.error-404 ~ .creator-grid { margin-bottom: 60px; gap: 28px; }

/* ===== Voce menu "Aggiungi profilo" (classe header-cta) stilizzata come pulsante ===== */
.site-nav .header-cta > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(180deg, #ff7db8 0%, var(--rose) 48%, var(--deep-rose) 100%);
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 10px 24px rgba(240, 7, 111, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.site-nav .header-cta > a:hover { color: #fff; text-decoration: none; }
/* desktop: il CTA esce dal gruppo nav centrato e si pinna a destra dell'header */
.site-nav .header-cta {
    position: absolute;
    right: clamp(20px, 5vw, 56px);
    top: 50%;
    transform: translateY(-50%);
}
@media (max-width: 900px) {
    /* il CTA va in fondo al menu mobile (sotto a tutte le voci) */
    .site-nav .header-cta { position: static; transform: none; order: 10; margin-top: 10px; }
    .site-nav .header-cta > a { display: flex; width: 100%; border-bottom: none; padding: 0 18px; min-height: 44px; }
}