.css-co-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 14px;
}
.css-co-card {
    background: #111;
    border: 1px solid #2a2a2d;
    border-radius: 12px;
    padding: 16px;
    color: #e7e7ea;
}
.css-co-card h3 {
    margin-top: 0;
    color: #fff;
    cursor: move; /* handvat voor drag */
}
.css-co-group {
    display: grid;
    gap: 10px;
}
.css-co-field label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #fff;
}
.css-co-field input[type=text],
.css-co-field input[type=number] {
    width: 100%;
}
.css-co-thumb {
    display: flex;
    gap: 10px;
    align-items: center;
}
.css-co-thumb img {
    max-width: 72px;
    border-radius: 10px;
    border: 1px solid #2a2a2d;
}
.button.css-co-upload {
    background: #7c3aed;
    color: #fff;
    border: none;
}
.css-co-stylebox {
    background: #111;
    border: 1px solid #2a2a2d;
    border-radius: 12px;
    padding: 16px;
    color: #e7e7ea;
    margin-top: 12px;
}

/* ===================== FRONTEND (Shortcode) ===================== */
.css-co-stars-modern {
    display: flex;
    gap: 4px;
    margin: 10px 0;
}
.css-co-stars-modern .star {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}
.css-co-stars-modern .star.filled {
    fill: #facc15; /* goud */
}
.css-co-stars-modern .star.empty {
    fill: #e5e7eb; /* lichtgrijs */
}
.css-co-stars-modern .star:hover {
    transform: scale(1.1);
}

/* Design tokens */
:root {
    --co-radius: 16px;
    --co-radius-sm: 10px;
    --co-elev-1: 0 6px 18px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
    --co-elev-2: 0 10px 26px rgba(0,0,0,.14), 0 6px 14px rgba(0,0,0,.08);
}

/* Grid & basis */
.css-co-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2,1fr);
    align-items: stretch;
    grid-auto-rows: 1fr;   
    justify-content: center;
    overflow-x: hidden;
}

@media(min-width:1024px) {
    .css-co-wrap {
        grid-template-columns: repeat(4,1fr);
    }
}

.css-co-card-frontend {
    position: relative;
    border-radius: var(--co-radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    box-shadow: var(--co-elev-1);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.css-co-card-frontend:hover {
    transform: translateY(-2px);
    box-shadow: var(--co-elev-2);
}

.css-co-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 14px;
}

/* Logo-plate */
.css-co-logo {
    height: 90px;
    border-radius: var(--co-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,.06);
    background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.65));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.06);
    text-decoration: none;
}
.css-co-logo img {
    max-height: 70px;
    max-width: 85% !important;
}
.css-co-logo-fallback {
    font-weight: 800;
}

/* Tagline chip */
.css-co-tagline {
    margin: 12px 0;
    padding: 8px 10px;
    border-radius: var(--co-radius-sm);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    border: 1px solid rgba(0,0,0,.06);
    background: #f6f7fb;
}

/* Spacer */
.css-co-spacer {
    flex-grow: 1;
}

/* CTA – glassy gradient + pijl-animatie (gefixte versie) */
.css-co-btn {
    position: relative;
    border: 0;
    font-weight: 800;
    border-radius: 12px;
    padding: 13px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease, color .15s ease;

    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.05;
    font-size: clamp(12px, 3.5vw, 16px);
}

.css-co-btn:hover {
    transform: translateY(-1px);
}
.css-co-btn:hover:after {
    transform: translateX(2px);
}
@media (max-width: 420px) {
    .css-co-btn {
        padding: 10px 12px;
        font-size: clamp(11px, 4vw, 15px);
    }
}
@media (max-width: 360px) {
    .css-co-btn {
        padding: 8px 10px;
        font-size: clamp(10px, 4.5vw, 14px);
    }
}

/* Review-link */
.css-co-review {
    text-align: center;
    font-size: 12px;
    margin-top: 6px;
}
.css-co-review a {
    text-underline-offset: 2px;
    opacity: .8;
    transition: opacity .15s ease;
}
.css-co-review a:hover {
    opacity: 1;
}

/* ─────────────────────────────────────────
   DONKER THEMA
   ───────────────────────────────────────── */
.css-co-dark .css-co-card-frontend {
    background: #1b1733;
    border: 1px solid #2a2740;
    color: #fff;
}
.css-co-dark .css-co-logo {
    background: #0f0f1e;
    border-color: #2a2740;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.45);
}
.css-co-dark .css-co-tagline {
    background: #2d2752;
    color: #fff;
    border-color: rgba(255,255,255,.08);
}
.css-co-dark .css-co-btn {
    background: #89edff;
    color: #0d0b2d;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
.css-co-dark .css-co-btn:hover {
    background: #89edff;
    color: #0d0b2d;
}
.css-co-dark .css-co-review a {
    color: #9ca3af;
}

/* ─────────────────────────────────────────
   LICHT THEMA
   ───────────────────────────────────────── */
.css-co-light .css-co-card-frontend {
    background: #ffffff;
    border: 1px solid #e9eaf1;
    color: #0f172a;
}
.css-co-light .css-co-logo {
    background: #000;
    border-color: #e5e7eb;
}
.css-co-light .css-co-tagline {
    background: #f3f4f6;
    color: #0f172a;
    border-color: #e9eaf1;
}
.css-co-light .css-co-btn {
    background: linear-gradient(180deg, #8b5cf6, #7c3aed);
    color: #fff;
    box-shadow: 0 2px 0 rgba(0,0,0,.06), inset 0 -2px 0 rgba(0,0,0,.15);
}
.css-co-light .css-co-btn:hover {
    filter: brightness(1.03);
}
.css-co-light .css-co-review a {
    color: #475569;
}