/* ═══════════════════════════════════════════════════════════════
   STUDIO.CSS — Sun Lens Studio layout, nav, viewer, widgets
   ═══════════════════════════════════════════════════════════════ */

:root {
    --nav: 270px;
    --bg: #07090f;
    --nav-bg: #080b13;
    --s1: #0f1220;
    --s2: #161b28;
    --border: rgba(255, 255, 255, 0.055);
    --accent: #4a9eff;
    --gold: #e8a020;
    --text: #d8dce8;
    --muted: #5a6070;
    --dim: #3a4055;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow', sans-serif
}

/* ─── APP SHELL ─── */
#app {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden
}

/* ─── LEFT NAV ─── */
#nav {
    width: var(--nav);
    min-width: var(--nav);
    height: 100%;
    background: var(--nav-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 20;
    transition: width .32s cubic-bezier(.4, 0, .2, 1),
        min-width .32s cubic-bezier(.4, 0, .2, 1),
        border-color .32s ease;
}

#nav.collapsed {
    width: 0;
    min-width: 0;
    border-right-color: transparent;
}

#nav.collapsed #nav-head,
#nav.collapsed #nav-body {
    opacity: 0;
    pointer-events: none;
}

#nav-head,
#nav-body {
    transition: opacity .18s ease;
}

#nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--nav-bg));
    pointer-events: none;
    z-index: 1
}

/* ─── NAV TOGGLE BUTTON ─── */
#nav-toggle {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 15px;
    font-weight: 600;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .3s ease;
    z-index: 10;
    flex-shrink: 0;
    animation: togglePulse 2s ease-in-out 1s 3;
}

@keyframes togglePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 158, 255, 0);
    }

    50% {
        box-shadow: 0 0 10px 3px rgba(74, 158, 255, 0.25);
    }
}

#nav-toggle:hover {
    background: rgba(74, 158, 255, 0.18);
    border-color: rgba(74, 158, 255, 0.45);
    color: #fff;
    box-shadow: 0 0 12px 2px rgba(74, 158, 255, 0.2);
}

#nav.collapsed #nav-toggle {
    transform: rotate(180deg);
}

/* ─── NAV RE-OPEN TAB ─── */
#nav-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    background: rgba(74, 158, 255, 0.08);
    border: 1px solid rgba(74, 158, 255, 0.25);
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 18px 6px;
    cursor: pointer;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(74, 158, 255, 0.05);
    transition: opacity .25s ease .1s, left .32s cubic-bezier(.4, 0, .2, 1), background .2s, border-color .2s, box-shadow .2s;
}

#nav-tab.visible {
    opacity: 1;
    pointer-events: all;
}

#nav-tab:hover {
    background: rgba(74, 158, 255, 0.18);
    border-color: rgba(74, 158, 255, 0.45);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(74, 158, 255, 0.25);
}

.tab-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .6;
    transition: opacity .15s, transform .15s;
}

#nav-tab:hover .tab-dot {
    opacity: 1;
    transform: scale(1.15);
}

.tab-arrow {
    font-size: 12px;
    color: var(--accent);
    margin-top: 4px;
    font-weight: bold;
    transition: transform .25s ease;
}

#nav-tab:hover .tab-arrow {
    transform: translateX(2px);
}

/* Nav Header */
#nav-head {
    padding: 18px 16px 14px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    position: relative
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px
}

.nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #2a70d4 0%, #1545a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: #fff
}

.nav-brand-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    color: var(--text);
    line-height: 1.2
}

.nav-brand-sub {
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted)
}

.lens-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted)
}

.lens-count span {
    background: var(--s2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1px 8px;
    color: var(--accent);
    font-size: 11px
}

/* Nav Body */
#nav-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 50px
}

#nav-body::-webkit-scrollbar {
    width: 3px
}

#nav-body::-webkit-scrollbar-track {
    background: transparent
}

#nav-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px
}

/* Category Group */
.grp {
    border-bottom: 1px solid var(--border)
}

.grp-hd {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    cursor: pointer;
    user-select: none;
    transition: background .15s
}

.grp-hd:hover {
    background: rgba(255, 255, 255, 0.025)
}

.grp-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 1.5px 6px;
    border-radius: 3px;
    flex-shrink: 0
}

.br-zeiss {
    background: #12275a;
    color: #6090e0
}

.br-pva {
    background: #12275a;
    color: #6090e0
}

.br-eclipse {
    background: #0e2414;
    color: #50b050
}

.grp-title {
    flex: 1;
    font-size: 11px;
    font-weight: 400;
    color: var(--dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: .2px
}

.grp-chev {
    font-size: 9px;
    color: var(--dim);
    transition: transform .2s;
    flex-shrink: 0
}

.grp.closed .grp-chev {
    transform: rotate(-90deg)
}

.grp.closed .grp-items {
    display: none
}

/* Lens Item */
.lens-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 18px;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: background .12s, border-color .12s;
    position: relative;
}

.lens-item:hover {
    background: rgba(255, 255, 255, 0.04)
}

.lens-item:hover .li-name {
    color: #fff
}

.lens-item.active {
    background: rgba(74, 158, 255, 0.1);
    border-left-color: var(--accent)
}

.lens-item.active .li-name {
    color: var(--accent)
}

.lens-item.active::after {
    content: '▶';
    position: absolute;
    right: 10px;
    font-size: 7px;
    color: var(--accent);
    opacity: .7
}

.swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.li-info {
    flex: 1;
    min-width: 0
}

.li-name {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3
}

.li-sub {
    font-size: 9.5px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3
}

.li-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    flex-shrink: 0
}

.no-pricing .li-price,
.no-pricing #stat-price {
    display: none;
}

.no-pricing #nav {
    --nav: 220px;
}

.no-frame-colors #frame-colors-widget {
    display: none !important;
}

/* ─── MAIN VIEWER ─── */
#main {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 30%, #0d1628 0%, var(--bg) 70%)
}

/* Iframe and Loader */
#pva-viewer-container {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s ease;
}

#pva-viewer-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#vm-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: none;
    /* Hidden by default, shown when loading */
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 4px;
    pointer-events: none;
}

#vm-error-toast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ff4a4a;
    background: rgba(15, 9, 9, 0.95);
    border: 1px solid rgba(255, 74, 74, 0.3);
    padding: 16px 28px;
    border-radius: 8px;
    z-index: 25;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 74, 74, 0.15);
    transition: opacity 0.4s ease, transform 0.4s ease;
    text-align: center;
}

#vm-error-toast.hidden {
    opacity: 0;
    transform: translate(-50%, -40%);
    pointer-events: none;
}

/* Top overlay */
#top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 22px 28px 40px;
    background: linear-gradient(to bottom, rgba(7, 9, 15, .85) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
    z-index: 99999
}

.button-catalog {
    margin-left: auto;
    /* Pushes button to the far right */
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(0, 6, 87, 1);
    border: 1px solid var(--accent);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 20;
}

.button-catalog:hover {
    background: rgb(0, 58, 105);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(74, 158, 255, 0.4);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.button-catalog span {
    font-size: 18px;
    line-height: 0;
    margin-bottom: 2px;
}

/* Mobile adjustment */
@media (max-width: 900px) {
    .button-catalog {
        padding: 10px 16px;
        font-size: 11px;
        letter-spacing: 1px;
        gap: 6px;
        top: 12px;
        right: 12px;
    }
}

#lens-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(22px, 2.5vw, 36px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.1;
    transition: opacity .4s
}

#lens-subtitle {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 5px;
    transition: opacity .4s
}

/* Bottom info */
#bot-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 22px;
    background: linear-gradient(to top, rgba(7, 9, 15, .9) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    pointer-events: none;
    visibility: hidden;
}

.tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted)
}

.tag.pol {
    background: rgba(74, 158, 255, 0.1);
    border-color: rgba(74, 158, 255, 0.25);
    color: #6eaaff
}

.tag.mir {
    background: rgba(200, 140, 255, 0.1);
    border-color: rgba(200, 140, 255, 0.25);
    color: #c890ff
}

.tag.new {
    background: rgba(80, 195, 80, 0.1);
    border-color: rgba(80, 195, 80, 0.25);
    color: #60c060
}

.tag.uv {
    background: rgba(240, 160, 0, 0.1);
    border-color: rgba(240, 160, 0, 0.25);
    color: #f0a000
}

.stat-group {
    display: flex;
    gap: 26px;
    align-items: flex-end
}

.stat {
    text-align: right
}

.stat-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px
}

.stat-val {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .3px;
    white-space: nowrap
}

#stat-price .stat-val {
    color: var(--gold);
    font-size: 22px
}

/* Prompt when nothing selected */
#no-select {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
    transition: opacity .5s
}

#no-select.hidden {
    opacity: 0
}

.ns-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px dashed rgba(74, 158, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: pulse 3s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(74, 158, 255, 0)
    }

    50% {
        box-shadow: 0 0 30px 10px rgba(74, 158, 255, 0.06)
    }
}

.ns-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(74, 158, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: .4
}

.ns-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    line-height: 2
}

/* Frame Colors Widget */
#frame-colors-widget {
    position: absolute;
    right: 28px;
    bottom: 245px;
    /* Positioned above the frame model widget on desktop */
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

#frame-colors-widget.hidden {
    opacity: 0;
    pointer-events: none;
}

.fcw-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.fcw-strip {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 8px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    cursor: grab;
}

.fcw-strip.grabbing {
    cursor: grabbing;
}

.fcw-strip.grabbing * {
    cursor: grabbing !important;
    user-select: none;
}

.fc-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.fc-btn:hover {
    transform: scale(1.1);
}

.fc-btn.active {
    border-color: #ffffff;
    transform: scale(1.15);
}

/* Frame Model Widget */
#frame-model-widget {
    position: absolute;
    right: 28px;
    bottom: 100px;
    /* Positioned just above the bottom bar on desktop */
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.4s ease;
    width: 100%;
    max-width: 480px;
    min-width: 0;
}

#frame-model-widget.hidden {
    opacity: 0;
    pointer-events: none;
}

.fcw-strip-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.fm-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(8, 11, 19, 0.85);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s, background 0.2s, border-color 0.2s, color 0.2s;
    outline: none;
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
}

.fcw-strip-container:hover .fm-scroll-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.fm-scroll-btn:hover {
    background: rgba(10, 0, 97, 0.95);
    color: var(--accent);
}

#fm-scroll-left {
    left: -14px;
}

#fm-scroll-right {
    right: -14px;
}

.fcw-header {
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

#frame-model-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    cursor: pointer;
    font-size: 9px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
    outline: none;
}

#frame-model-toggle:hover {
    background: rgba(74, 158, 255, 0.15);
    border-color: rgba(74, 158, 255, 0.4);
    color: var(--accent);
}

#frame-model-toggle-title:hover {
    cursor: pointer;
}

#frame-model-widget.collapsed #frame-model-toggle {
    transform: rotate(-90deg);
}

#frame-model-widget.collapsed #frame-model-strip {
    display: none;
}

#frame-model-strip {
    width: 100%;
    max-width: 480px;
    overflow-x: auto;
    display: flex;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 6px;
}

#frame-model-strip::-webkit-scrollbar {
    height: 4px;
}

#frame-model-strip::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 2px;
}

#frame-model-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

#frame-model-strip::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.fm-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    width: 136px;
    /* Expanded for larger thumbnails */
    border-radius: 16px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    color: var(--muted);
    transition: all 0.2s ease-in-out;
    outline: none;
    flex-shrink: 0;
    /* Keep thumbnails intact during flex container compression */
}

.fm-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.fm-btn.active {
    border-color: rgba(74, 158, 255, 0.5);
    color: var(--accent);
    background: rgba(74, 158, 255, 0.12);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.1);
}

.fm-thumb-wrap {
    width: 120px;
    /* Scaled up for visual prominence */
    height: 76px;
    /* Scaled up for visual prominence */
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    /* White background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, transform 0.2s;
    padding: 2px;
}

.fm-btn.active .fm-thumb-wrap {
    border-color: rgba(74, 158, 255, 0.5);
}

.fm-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contain to keep full shape visible */
    transition: transform 0.3s;
}

.fm-btn:hover .fm-thumb {
    transform: scale(1.06);
}

.fm-label {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── RESPONSIVE MOBILE OVERRIDES ─── */
@media (max-width: 767px) {
    #top-bar {
        padding: 16px 16px 30px;
    }

    #bot-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 30px 16px 16px;
    }

    .stat-group {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    #frame-colors-widget {
        left: 16px;
        right: 16px;
        bottom: 265px;
        /* Positioned above the frame model widget on mobile */
        align-items: flex-start;
    }

    #frame-model-widget {
        left: 16px;
        right: 16px;
        bottom: 120px;
        /* Positioned just above the bottom bar on mobile */
        align-items: flex-start;
        width: auto;
        max-width: none;
    }

    .fcw-strip {
        width: 100%;
        justify-content: flex-start;
    }

    #frame-model-strip {
        width: 100%;
        max-width: none;
        overflow-x: auto;
        display: flex;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
        /* Hide scrollbar on Firefox */
        overscroll-behavior-x: contain;
        /* Contain scrolling inside widget */
        scroll-snap-type: x mandatory;
        /* Smooth snap scrolling */
    }

    #frame-model-strip::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar on Chrome/Safari/Edge */
    }

    .fm-btn {
        scroll-snap-align: start;
    }

    .fm-scroll-btn {
        display: none !important;
    }
}
