/* ── Frame Visualizer — Lenoir Decor style ────────────────────────── */

/* Gallery frame overlay (4-sided strip technique) */
#ae-frame-overlay {
    transition: opacity 0.2s ease;
}

/* Thumbnail row between gallery and variation selectors */
.ae-frame-row {
    margin: 12px 0 4px;
    padding: 10px 0;
}

.ae-frame-row__filters {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.ae-filter {
    font-size: 11px;
    padding: 3px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #555;
    line-height: 1.4;
}

.ae-filter:hover {
    border-color: #999;
}

.ae-filter.active {
    background: #242A2E;
    color: white;
    border-color: #242A2E;
}

/* Horizontally scrollable thumbnail strip */
.ae-frame-row__thumbs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    -webkit-overflow-scrolling: touch;
}

.ae-frame-row__thumbs::-webkit-scrollbar {
    height: 3px;
}

.ae-frame-row__thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.ae-frame-row__thumb {
    flex: 0 0 70px;
    width: 70px;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    background: none;
    text-align: center;
    transition: border-color 0.15s ease;
}

.ae-frame-row__thumb:hover {
    border-color: #ccc;
}

.ae-frame-row__thumb.selected {
    border-color: #242A2E;
}

.ae-frame-thumb-preview {
    width: 60px;
    height: 20px;
    border-radius: 3px;
    margin: 0 auto 4px;
    background-size: auto 100%;
    background-repeat: repeat-x;
}

.ae-frame-thumb-name {
    font-size: 10px;
    line-height: 1.2;
    display: block;
    color: #555;
}

.ae-frame-row__empty {
    color: #999;
    font-size: 12px;
    font-style: italic;
    padding: 8px 0;
}

/* ── Mobile ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ae-frame-row__thumb {
        flex: 0 0 62px;
        width: 62px;
    }
}
