/* Coin Visualizer — visualizer.css */

/* ── Preview block ───────────────────────────────────────────────────────── */

.cv-wrap {
    margin-bottom: 2rem;
}

.cv-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cv-stage {
    width: min(320px, 100%);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f3f5;
    border-radius: 16px;
    padding: 1rem;
}

.cv-stage svg {
    width: 88%;
    height: 88%;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

.cv-specs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cv-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    background: #f0ede6;
    color: #8B6914;
    padding: 4px 14px;
    border-radius: 20px;
}

.cv-dims {
    font-size: 12px;
    color: #aaa;
}

.cv-hint {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    font-style: italic;
    margin: 0;
    max-width: 300px;
}

.cv-weight-block {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f4ec;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
}

.cv-weight-label {
    color: #888;
}

.cv-weight-val {
    font-weight: 700;
    color: #8B6914;
    font-size: 15px;
}

/* ── Side-by-side layout on large screens ────────────────────────────────── */
/*
   If you use a page builder, put [coin_visualizer] in the left column
   and [forminator id="5"] in the right column.

   If you use the block editor, wrap both shortcodes in a Columns block.

   Alternatively, wrap both shortcodes in a div.cv-layout and this CSS
   will handle the side-by-side layout automatically:

   <div class="cv-layout">
     [coin_visualizer form_id="5"]
     [forminator id="5"]
   </div>
*/
.cv-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3rem;
    align-items: start;
}

.cv-layout .cv-wrap {
    position: sticky;
    top: 2rem;
    margin-bottom: 0;
}

@media (max-width: 820px) {
    .cv-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cv-layout .cv-wrap {
        position: static;
    }
}
