/* ============================================================
   Single Model â€” F2F-branded stylesheet
   OfficiÃ«le F2F.com palette + officiÃ«le F2F mark (SVG embedded)
   Primary: #3f35a5  |  Gradient: 141deg #322b74 â†’ #1b1732
   ============================================================ */

:root {
    /* F2F official palette */
    --f2f-purple-100: #f3f2fc;
    --f2f-purple-200: #d1cdf3;
    --f2f-purple-300: #afa9e9;
    --f2f-purple-400: #8f86de;
    --f2f-purple-500: #6f64d2;
    --f2f-purple-600: #4f42c6;
    --f2f-purple-700: #3f35a5;  /* primary */
    --f2f-purple-800: #332c81;
    --f2f-purple-900: #26215d;
    --f2f-purple-1000: #19163b;
    --f2f-black: #000;
    --f2f-white: #fff;

    --f2f-gradient: linear-gradient(141deg, #322b74 6.99%, #1b1732 104.8%);
    --f2f-gradient-bright: linear-gradient(141deg, #4f42c6 6.99%, #322b74 104.8%);
    --f2f-gradient-soft: linear-gradient(141deg, #6f64d2 0%, #4f42c6 100%);

    /* semantic tokens */
    --ofm-accent: var(--f2f-purple-700);
    --ofm-ink: #151233;
    --ofm-muted: #6b7280;
    --ofm-line: rgba(63, 53, 165, .08);

    --ofm-radius-lg: 30px;
    --ofm-radius-md: 22px;
    --ofm-radius-sm: 16px;

    --ofm-shadow-card: 0 20px 60px rgba(25, 22, 59, .18);
    --ofm-shadow-panel: 0 10px 28px rgba(63, 53, 165, .08);
    --ofm-shadow-cta: 0 16px 30px rgba(63, 53, 165, .35);

    /* F2F mark (official SVG path) â€” wit en paars varianten als data-URL */
    --f2f-mark-white: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 36'><path fill='%23ffffff' d='M6.75 11.25V6.75H22.5V2C22.4984 1.47005 22.2872 0.962265 21.9125 0.587535C21.5377 0.212805 21.0299 0.00158273 20.5 0L2 0C1.47005 0.00158273 0.962265 0.212805 0.587535 0.587535C0.212805 0.962265 0.00158273 1.47005 0 2L0 27.25C0.00158273 27.7799 0.212805 28.2877 0.587535 28.6625C0.962265 29.0372 1.47005 29.2484 2 29.25H6.75V15.75H18V11.25H6.75Z'/><path fill='%23ffffff' d='M22.5 24.75V29.25H6.75V34C6.75158 34.5299 6.9628 35.0377 7.33753 35.4125C7.71226 35.7872 8.22005 35.9984 8.75 36H27.25C27.7799 35.9984 28.2877 35.7872 28.6625 35.4125C29.0372 35.0377 29.2484 34.5299 29.25 34V8.75C29.2484 8.22005 29.0372 7.71226 28.6625 7.33753C28.2877 6.9628 27.7799 6.75158 27.25 6.75H22.5V20.25H11.25V24.75H22.5Z'/></svg>");
    --f2f-mark-purple: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 36'><path fill='%233f35a5' d='M6.75 11.25V6.75H22.5V2C22.4984 1.47005 22.2872 0.962265 21.9125 0.587535C21.5377 0.212805 21.0299 0.00158273 20.5 0L2 0C1.47005 0.00158273 0.962265 0.212805 0.587535 0.587535C0.212805 0.962265 0.00158273 1.47005 0 2L0 27.25C0.00158273 27.7799 0.212805 28.2877 0.587535 28.6625C0.962265 29.0372 1.47005 29.2484 2 29.25H6.75V15.75H18V11.25H6.75Z'/><path fill='%233f35a5' d='M22.5 24.75V29.25H6.75V34C6.75158 34.5299 6.9628 35.0377 7.33753 35.4125C7.71226 35.7872 8.22005 35.9984 8.75 36H27.25C27.7799 35.9984 28.2877 35.7872 28.6625 35.4125C29.0372 35.0377 29.2484 34.5299 29.25 34V8.75C29.2484 8.22005 29.0372 7.71226 28.6625 7.33753C28.2877 6.9628 27.7799 6.75158 27.25 6.75H22.5V20.25H11.25V24.75H22.5Z'/></svg>");
    --f2f-mark-ink: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 36'><path fill='%2319163b' d='M6.75 11.25V6.75H22.5V2C22.4984 1.47005 22.2872 0.962265 21.9125 0.587535C21.5377 0.212805 21.0299 0.00158273 20.5 0L2 0C1.47005 0.00158273 0.962265 0.212805 0.587535 0.587535C0.212805 0.962265 0.00158273 1.47005 0 2L0 27.25C0.00158273 27.7799 0.212805 28.2877 0.587535 28.6625C0.962265 29.0372 1.47005 29.2484 2 29.25H6.75V15.75H18V11.25H6.75Z'/><path fill='%2319163b' d='M22.5 24.75V29.25H6.75V34C6.75158 34.5299 6.9628 35.0377 7.33753 35.4125C7.71226 35.7872 8.22005 35.9984 8.75 36H27.25C27.7799 35.9984 28.2877 35.7872 28.6625 35.4125C29.0372 35.0377 29.2484 34.5299 29.25 34V8.75C29.2484 8.22005 29.0372 7.71226 28.6625 7.33753C28.2877 6.9628 27.7799 6.75158 27.25 6.75H22.5V20.25H11.25V24.75H22.5Z'/></svg>");
}

/* ============================================================
   SHELL
   ============================================================ */
.ofm-single-shell { position: relative; margin: 22px auto 0; }
.ofm-single-card {
    position: relative; overflow: hidden;
    border-radius: var(--ofm-radius-lg);
    background: linear-gradient(180deg, #fff 0%, var(--f2f-purple-100) 100%);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: var(--ofm-shadow-card);
}
.ofm-card-rank-ambassador { box-shadow: 0 0 0 2px var(--f2f-purple-400), 0 22px 70px rgba(25,22,59,.20); }
.ofm-card-rank-exclusive  { box-shadow: 0 0 0 2px var(--f2f-purple-600), 0 22px 70px rgba(25,22,59,.20); }

.ofm-single-topbar { position: absolute; inset: 0 0 auto 0; pointer-events: none; z-index: 4; }
.ofm-single-glow,
.ofm-single-glow-2 { position: absolute; border-radius: 999px; }
.ofm-single-glow   { inset: -40px auto auto -80px; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(79,66,198,.30), rgba(79,66,198,0) 68%); }
.ofm-single-glow-2 { inset: auto -90px -60px auto; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(143,134,222,.28), rgba(143,134,222,0) 68%); }

/* ============================================================
   HERO
   ============================================================ */
.ofm-single-hero { position: relative; min-height: 360px; background: var(--f2f-purple-1000); overflow: hidden; }
.ofm-single-hero-media,
.ofm-single-hero-fallback { position: absolute; inset: 0; display: block; }
.ofm-single-hero-media img,
.ofm-single-hero-fallback img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }

.ofm-single-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(circle at 12% 10%, rgba(79,66,198,.45) 0, transparent 35%),
        radial-gradient(circle at 88% 12%, rgba(143,134,222,.35) 0, transparent 35%),
        linear-gradient(180deg, rgba(25,22,59,.10) 0%, rgba(25,22,59,.40) 45%, rgba(25,22,59,.92) 100%);
}

/* F2F mark watermark in hero hoek */
.ofm-single-hero::after {
    content: "";
    position: absolute; right: 18px; bottom: 14px;
    width: 28px; height: 34px; z-index: 3;
    background: var(--f2f-mark-white) no-repeat center / contain;
    opacity: .55; pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.5));
}

.ofm-single-hero-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
    min-height: 360px; padding: 22px 22px 26px;
}
.ofm-single-hero-row-top {
    position: absolute; left: 22px; right: 22px; top: 18px; z-index: 3;
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}

/* ============================================================
   BADGES
   ============================================================ */
.ofm-single-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.ofm-badge {
    display: inline-flex; align-items: center; gap: 6px;
    border-radius: 999px; padding: 8px 12px;
    font-size: .78rem; font-weight: 900; color: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(25,22,59,.30);
    background: rgba(25,22,59,.55);
    border: 1px solid rgba(255,255,255,.10);
}
.ofm-badge .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 16px; }
.ofm-badge-hot { background: var(--f2f-gradient-bright); }
.ofm-badge-ambassador {
    background: linear-gradient(135deg, var(--f2f-purple-300), var(--f2f-purple-500));
    color: var(--f2f-purple-1000);
}
.ofm-badge-exclusive { background: var(--f2f-gradient-bright); }

/* F2F-platform badge â€” wit pill met paars logo */
.ofm-badge-platform {
    background: #fff;
    color: var(--f2f-purple-800);
    padding-left: 30px;
    position: relative;
    border: 1px solid var(--f2f-purple-200);
}
.ofm-badge-platform::before {
    content: "";
    position: absolute; left: 9px; top: 50%; transform: translateY(-50%);
    width: 13px; height: 16px;
    background: var(--f2f-mark-purple) no-repeat center / contain;
}

/* ============================================================
   IDENTITY
   ============================================================ */
.ofm-single-identity-wrap { display: flex; align-items: flex-end; gap: 18px; width: 100%; }
.ofm-single-avatar-link, .ofm-single-title-link { text-decoration: none; color: inherit; }
.ofm-single-avatar-link { flex: 0 0 auto; }

.ofm-single-avatar {
    position: relative; width: 112px; height: 112px;
    border-radius: 999px; overflow: hidden;
    border: 4px solid rgba(255,255,255,.95);
    box-shadow: 0 14px 36px rgba(25,22,59,.45);
    background: var(--f2f-purple-200);
}
.ofm-single-avatar::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none;
}
.ofm-single-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mini F2F mark op avatar rechtsonder */
.ofm-single-avatar-link::after {
    content: "";
    position: absolute; right: -2px; bottom: -2px;
    width: 28px; height: 28px; border-radius: 999px;
    background: #fff var(--f2f-mark-purple) no-repeat center / 13px 16px;
    box-shadow: 0 4px 12px rgba(25,22,59,.30);
    border: 2px solid #fff;
}

.ofm-single-title-stack { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1 1 auto; }

.ofm-single-title-card,
.ofm-single-title-static {
    position: relative;
    display: flex; flex-direction: column; gap: 6px;
    max-width: max-content; min-width: min(100%, 280px);
    padding: 16px 18px; border-radius: var(--ofm-radius-md);
    background:
        linear-gradient(135deg, rgba(25,22,59,.85), rgba(50,43,116,.65)),
        var(--f2f-gradient);
    border: 1px solid rgba(143,134,222,.30);
    box-shadow: 0 18px 40px rgba(25,22,59,.45);
    backdrop-filter: blur(10px);
    transition: transform .15s ease;
}
.ofm-single-title-card:hover { transform: translateY(-1px); }
.ofm-single-title-card h1,
.ofm-single-title-static h1 {
    margin: 0; color: #fff;
    font-size: clamp(1.4rem, 2vw, 2.2rem);
    line-height: 1.04; font-weight: 900;
    letter-spacing: -0.02em; word-break: break-word;
}
.ofm-single-username {
    color: var(--f2f-purple-200);
    font-size: .92rem; font-weight: 800; line-height: 1.2;
    display: inline-flex; align-items: center; gap: 6px;
}
.ofm-single-username::before {
    content: ""; width: 11px; height: 13px;
    background: var(--f2f-mark-white) no-repeat center / contain;
    opacity: .85;
}

.ofm-single-meta-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.ofm-single-pill-soft {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 12px; border-radius: 999px;
    background: rgba(255,255,255,.12); color: #fff;
    border: 1px solid rgba(255,255,255,.20);
    font-weight: 800; font-size: .83rem;
    backdrop-filter: blur(8px);
}

/* ============================================================
   MAIN
   ============================================================ */
.ofm-single-main { position: relative; padding: 28px 24px 30px; }

/* ============================================================
   RANK PILL + TOOLTIP
   ============================================================ */
.ofm-rank-inline { position: relative; display: inline-flex; align-items: center; margin: 0 0 14px; }
.ofm-rank-inline-pill {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 13px; border-radius: 999px;
    font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
    font-weight: 800; line-height: 1;
    background: var(--f2f-purple-1000); color: #fff;
    box-shadow: 0 6px 16px rgba(25,22,59,.20);
}
.ofm-rank-inline-icon {
    width: 16px; height: 16px; border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.18); font-size: 10px;
}
.ofm-rank-inline-ambassador .ofm-rank-inline-pill {
    background: linear-gradient(135deg, var(--f2f-purple-400), var(--f2f-purple-600));
    color: #fff;
}
.ofm-rank-inline-exclusive .ofm-rank-inline-pill {
    background: var(--f2f-gradient-bright);
    color: #fff;
}
.ofm-rank-inline-tooltip {
    position: absolute; left: 0; top: calc(100% + 8px);
    width: 290px; max-width: min(290px, 80vw);
    background: #fff; color: var(--ofm-ink);
    border-radius: 14px; padding: 12px 13px 12px 36px;
    box-shadow: 0 16px 40px rgba(25,22,59,.18);
    border: 1px solid var(--ofm-line);
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 20;
    background-image: var(--f2f-mark-purple);
    background-repeat: no-repeat;
    background-position: 12px 12px;
    background-size: 13px 16px;
}
.ofm-rank-inline-tooltip strong { display: block; margin-bottom: 4px; font-size: 12px; color: var(--f2f-purple-700); }
.ofm-rank-inline-tooltip span   { display: block; font-size: 12px; line-height: 1.55; color: #555; }
@media (hover: hover) {
    .ofm-rank-inline:hover .ofm-rank-inline-tooltip,
    .ofm-rank-inline:focus-within .ofm-rank-inline-tooltip {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
}

/* ============================================================
   PANELS
   ============================================================ */
.ofm-single-panels {
    display: grid; gap: 18px; align-items: start;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
}
.ofm-single-panel {
    position: relative;
    background: #fff;
    border: 1px solid var(--ofm-line);
    border-radius: var(--ofm-radius-md); box-shadow: var(--ofm-shadow-panel);
    padding: 18px;
    overflow: hidden;
}
.ofm-single-panel::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--f2f-gradient);
    opacity: .9;
}
.ofm-single-panel-title {
    margin: 0 0 12px; font-size: 1rem; line-height: 1.2;
    font-weight: 900; color: var(--ofm-ink);
    display: flex; align-items: center; gap: 10px;
}
.ofm-single-panel-title::before {
    content: ""; width: 14px; height: 17px;
    background: var(--f2f-mark-purple) no-repeat center / contain;
}

/* ============================================================
   STATS / CHIPS
   ============================================================ */
.ofm-single-stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.ofm-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 13px; border-radius: 999px;
    background: var(--f2f-purple-100);
    border: 1px solid var(--f2f-purple-200);
    font-size: .88rem; font-weight: 800; color: var(--f2f-purple-900);
}
.ofm-dot {
    width: 8px; height: 8px; border-radius: 999px;
    display: inline-block; background: var(--f2f-purple-700);
}
.ofm-discount-desc { margin: 0; color: var(--ofm-ink); font-size: .97rem; line-height: 1.6; }

/* ============================================================
   DESCRIPTION
   ============================================================ */
.ofm-single-desc-wrap { display: flex; flex-direction: column; gap: 10px; }
.ofm-single-desc {
    margin: 0; font-size: 1rem; line-height: 1.75; max-width: 70ch; color: #2a2548;
}
.ofm-single-desc.is-clickable { cursor: pointer; }
.ofm-single-desc.is-clickable:focus {
    outline: 2px solid rgba(63,53,165,.35); outline-offset: 4px; border-radius: 10px;
}
.ofm-single-desc-helper {
    display: inline-flex; align-items: center; gap: 6px; width: max-content;
    padding: 7px 11px; border-radius: 999px;
    background: var(--f2f-purple-100); color: var(--f2f-purple-700);
    font-weight: 800; font-size: .80rem;
    border: 1px solid var(--f2f-purple-200); cursor: pointer;
    appearance: none; transition: background .15s, transform .15s;
}
.ofm-single-desc-helper:hover {
    background: var(--f2f-purple-200);
    transform: translateY(-1px);
}
.ofm-single-desc-helper .dashicons { width: 15px; height: 15px; font-size: 15px; line-height: 15px; }
.blurred-text { filter: blur(4px); opacity: .85; display: inline-block; margin-left: 8px; }

.ofm-divider {
    height: 1px; margin: 16px 0;
    background: linear-gradient(90deg, transparent, var(--f2f-purple-200), transparent);
}

/* ============================================================
   PRICE
   ============================================================ */
.ofm-single-price-wrap { display: flex; flex-direction: column; gap: 8px; }
.ofm-price-label {
    font-size: .85rem; font-weight: 800; color: var(--f2f-purple-600);
    text-transform: uppercase; letter-spacing: .06em;
    display: inline-flex; align-items: center; gap: 6px;
}
.ofm-price-label::before {
    content: ""; width: 11px; height: 13px;
    background: var(--f2f-mark-purple) no-repeat center / contain;
}
.ofm-single-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ofm-old-price {
    text-decoration: line-through; opacity: .55;
    font-weight: 800; color: var(--f2f-purple-600);
}
.ofm-price-current {
    font-weight: 900; font-size: 1.7rem; line-height: 1;
    background: var(--f2f-gradient);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--f2f-purple-700); /* fallback */
}

/* ============================================================
   CTA
   ============================================================ */
.ofm-single-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ofm-cta-primary, .ofm-sidebar-btn, .ofm-model-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    text-decoration: none; padding: 14px 18px;
    border-radius: var(--ofm-radius-sm); font-weight: 900;
    border: none; cursor: pointer;
    background: var(--f2f-gradient-bright); color: #fff;
    box-shadow: var(--ofm-shadow-cta);
    transition: transform .15s, box-shadow .15s, opacity .15s;
    position: relative;
}
.ofm-cta-primary:hover, .ofm-sidebar-btn:hover, .ofm-model-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(63,53,165,.45);
}

/* F2F mark voor CTA */
.ofm-cta-primary::before,
.ofm-sidebar-btn::before,
.ofm-model-btn::before {
    content: "";
    width: 16px; height: 19px;
    background: var(--f2f-mark-white) no-repeat center / contain;
    flex-shrink: 0;
}

/* ============================================================
   SIDEBAR STATS
   ============================================================ */
.single-model-stats {
    display: flex; justify-content: center; align-items: center;
    gap: 10px; flex-wrap: wrap; margin: 16px 0 24px;
}
.model-stat {
    display: flex; align-items: center; gap: 6px;
    background: var(--f2f-gradient-bright);
    padding: 6px 12px; border-radius: 30px;
    color: #fff; font-size: 13px; font-weight: 600;
    box-shadow: 0 4px 10px rgba(63,53,165,.20);
}
.model-stat .dashicons { width: 16px; height: 16px; font-size: 16px; line-height: 16px; }
.model-stat-number { font-weight: 800; line-height: 1; }
.model-stat-label  { line-height: 1; opacity: .95; }

/* ============================================================
   STORY RAIL
   ============================================================ */
.ofm-story-rail { overflow: hidden; }
.ofm-story-rail-inner {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 4px 0 8px; scrollbar-width: thin;
}
.ofm-story-rail-inner::-webkit-scrollbar { height: 5px; }
.ofm-story-rail-inner::-webkit-scrollbar-thumb { background: var(--f2f-purple-300); border-radius: 999px; }

.ofm-story-bubble { flex: 0 0 auto; text-align: center; }
.ofm-story-thumb {
    position: relative; width: 62px; height: 62px;
    border-radius: 999px; overflow: hidden;
    border: none; padding: 0; cursor: pointer;
    background: var(--f2f-purple-1000);
    box-shadow: 0 6px 18px rgba(25,22,59,.25);
}
.ofm-story-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.ofm-story-thumb:hover img { transform: scale(1.04); }
.ofm-story-ring {
    position: absolute; inset: 0; border-radius: inherit;
    border: 2px solid var(--f2f-purple-500);
    box-shadow: 0 0 0 2px var(--f2f-purple-1000);
    pointer-events: none;
}
.ofm-story-lock {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(63,53,165,.55), rgba(25,22,59,.98));
    color: #fff;
}
.ofm-story-lock .dashicons { font-size: 18px; width: 18px; height: 18px; }

/* ============================================================
   POPUP
   ============================================================ */
.ofm-popup {
    display: none; position: fixed; inset: 0; z-index: 999999;
    background: rgba(25,22,59,.82); padding: 18px;
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
.ofm-popup.is-open { display: flex; }
.ofm-popup-content {
    position: relative; max-width: 620px; width: 100%;
    background: #fff; border-radius: 20px;
    padding: 30px 22px 22px;
    box-shadow: 0 26px 80px rgba(25,22,59,.45);
}
.ofm-popup-content::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--f2f-gradient);
    border-radius: 20px 20px 0 0;
}
.ofm-popup-content h2 {
    margin: 0 0 12px; font-size: 1.25rem; font-weight: 900;
    color: var(--f2f-purple-800);
    display: flex; align-items: center; gap: 10px;
}
.ofm-popup-content h2::before {
    content: ""; width: 20px; height: 24px;
    background: var(--f2f-mark-purple) no-repeat center / contain;
}
.ofm-full-desc { margin: 0; color: var(--ofm-ink); line-height: 1.75; }
.ofm-close {
    position: absolute; right: 12px; top: 16px;
    width: 40px; height: 40px; border-radius: 14px;
    border: 1px solid var(--f2f-purple-200);
    background: var(--f2f-purple-100); color: var(--f2f-purple-700);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: 900; line-height: 1;
    transition: background .15s;
}
.ofm-close:hover { background: var(--f2f-purple-200); }

/* ============================================================
   SIDEBAR DRAWER
   ============================================================ */
.ofm-sidebar-drawer {
    position: fixed; top: 0; right: 0;
    width: min(420px, 92vw); height: 100vh;
    background: #fff; z-index: 999998;
    transform: translateX(100%); transition: transform .25s ease;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: -12px 0 40px rgba(25,22,59,.20);
}
.ofm-sidebar-drawer.open { transform: translateX(0); }
.ofm-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 18px 18px 14px 56px;
    border-bottom: 1px solid var(--f2f-purple-200);
    background: var(--f2f-gradient);
    color: #fff;
    position: relative;
}
.ofm-sidebar-header::before {
    content: "";
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 24px; height: 28px;
    background: var(--f2f-mark-white) no-repeat center / contain;
    opacity: .95;
}
.ofm-sidebar-title { margin: 0; font-size: 1.05rem; font-weight: 900; color: #fff; }
.ofm-sidebar-close {
    width: 40px; height: 40px; border: none;
    border-radius: 12px;
    background: rgba(255,255,255,.18); color: #fff;
    font-size: 28px; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
}
.ofm-sidebar-close:hover { background: rgba(255,255,255,.28); }
.sidebar-inner-wrap { flex: 1 1 auto; overflow-y: auto; padding: 18px; }
.ofm-sidebar-model { display: flex; flex-direction: column; gap: 16px; }
.ofm-sidebar-figure {
    margin: 0; border-radius: 18px; overflow: hidden;
    background: var(--f2f-purple-100); box-shadow: 0 10px 28px rgba(25,22,59,.10);
}
.ofm-sidebar-img { width: 100%; height: auto; display: block; object-fit: cover; }
.ofm-sidebar-content { display: flex; flex-direction: column; gap: 14px; }
.ofm-sidebar-price { font-size: 1rem; color: var(--ofm-ink); line-height: 1.5; }
.ofm-sidebar-price strong { display: block; margin-bottom: 6px; color: var(--f2f-purple-700); }
.ofm-sidebar-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.ofm-sidebar-btn { width: 100%; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.ofm-lightbox {
    position: fixed; inset: 0; z-index: 999999;
    display: none; align-items: center; justify-content: center;
    background: rgba(25,22,59,.96);
    backdrop-filter: blur(6px);
}
.ofm-lightbox[data-open="1"] { display: flex; }
.ofm-lightbox-inner {
    position: relative; max-width: 96vw; max-height: 94vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ofm-lightbox-stage {
    position: relative; max-width: 100%; max-height: 88vh;
    display: flex; align-items: center; justify-content: center;
}
.ofm-lightbox-figure { max-width: 100%; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.ofm-lightbox-figure img {
    max-width: 100%; max-height: 88vh;
    border-radius: 14px; box-shadow: 0 18px 46px rgba(0,0,0,.85);
    background: var(--f2f-purple-1000);
    border: 2px solid var(--f2f-purple-700);
}
.ofm-lightbox-locked {
    max-width: 100%; max-height: 88vh;
    border-radius: 14px; padding: 24px 26px; color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; text-align: center;
    background:
        radial-gradient(circle at 0 0, rgba(79,66,198,.30), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(143,134,222,.25), transparent 55%),
        var(--f2f-gradient);
    box-shadow: 0 18px 46px rgba(0,0,0,.85);
    border: 1px solid var(--f2f-purple-500);
}
.ofm-lightbox-locked-icon { width: 50px; height: 60px; margin-bottom: 6px; }
.ofm-lightbox-close {
    position: absolute; top: -40px; right: 0;
    width: 36px; height: 36px; border-radius: 999px;
    border: none; background: #fff; color: var(--f2f-purple-800);
    font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.5);
}
.ofm-lightbox-meta {
    margin-top: 10px; display: flex; gap: 10px;
    align-items: center; justify-content: space-between;
    width: 100%; max-width: 520px;
    font-size: .82rem; color: var(--f2f-purple-200);
}
.ofm-lightbox-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--f2f-gradient-bright); color: #fff; text-decoration: none;
    font-size: .85rem; font-weight: 900;
    padding: 8px 12px 8px 30px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(63,53,165,.45);
    position: relative;
}
.ofm-lightbox-cta::before {
    content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 13px; height: 16px;
    background: var(--f2f-mark-white) no-repeat center / contain;
}
.ofm-lightbox-nav {
    position: absolute; top: 50%; left: 0; right: 0;
    display: flex; justify-content: space-between;
    pointer-events: none; transform: translateY(-50%);
}
.ofm-lightbox-nav button {
    pointer-events: auto; width: 52px; height: 52px;
    border-radius: 999px; border: 1px solid var(--f2f-purple-500);
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--f2f-purple-800);
    font-size: 24px; cursor: pointer;
    box-shadow: 0 10px 26px rgba(0,0,0,.65);
}

html.ofm-lightbox-open,
body.popup-active { overflow: hidden; }

/* ============================================================
   F2F-icon utility class (voor inline gebruik in template)
   ============================================================ */
.f2f-icon {
    display: inline-block;
    width: 1em; height: 1.2em;
    background: var(--f2f-mark-purple) no-repeat center / contain;
    vertical-align: -0.15em;
}
.f2f-icon.is-white { background-image: var(--f2f-mark-white); }
.f2f-icon.is-ink   { background-image: var(--f2f-mark-ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .ofm-single-panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .ofm-single-hero { min-height: 300px; }
    .ofm-single-hero-grid { min-height: 300px; padding: 18px 16px 20px; }
    .ofm-single-hero-row-top { left: 16px; right: 16px; top: 14px; }
    .ofm-single-hero::after { width: 22px; height: 28px; right: 14px; bottom: 12px; }
    .ofm-single-identity-wrap { gap: 14px; }
    .ofm-single-avatar { width: 90px; height: 90px; }
    .ofm-single-avatar-link::after { width: 24px; height: 24px; background-size: 11px 13px; }
    .ofm-single-title-card,
    .ofm-single-title-static { padding: 12px 14px; border-radius: 18px; }
    .ofm-single-main { padding: 20px 16px 18px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .ofm-cta-primary, .ofm-sidebar-btn, .ofm-model-btn,
    .ofm-single-title-card, .ofm-story-thumb img,
    .ofm-rank-inline-tooltip, .ofm-sidebar-drawer,
    .ofm-single-desc-helper { transition: none; }
}
