/* ═══════════════════════════════════════════════════════════════
   Brainiax Makeup TryOn — Professional UI v3.1 (CSS Vars + UI Features)
   Brainiax © 2024–2025 — brainiax.eu
═══════════════════════════════════════════════════════════════ */

.bmto-overlay *, .bmto-overlay *::before, .bmto-overlay *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Overlay ────────────────────────────────────────────────── */
.bmto-overlay {
    /* Defaults — overridden inline from PHP-computed values */
    --bmto-accent: #7d1f3b;
    --bmto-accent-soft: #f5eaee;
    --bmto-accent-light: #dfbfc9;
    --bmto-accent-hover: #5c162b;
    --bmto-accent-border: #e6ced5;
    --bmto-accent-rgb: 125,31,59;
    --bmto-gold: #c9a96e;
    --bmto-btn-bg: #fdfaf9;
    --bmto-btn-text: #7d1f3b;
    --bmto-btn-hover-bg: #7d1f3b;
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(8, 4, 6, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bmto-overlay.is-open {
    display: flex;
    animation: bmtoFadeIn 0.2s ease;
}
@keyframes bmtoFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── Modal ──────────────────────────────────────────────────── */
.bmto-modal {
    position: relative;
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 880px;
    height: min(580px, 88vh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 40px 80px rgba(0,0,0,0.20);
    animation: bmtoSlideUp 0.28s cubic-bezier(.22,.68,0,1.2);
}
@keyframes bmtoSlideUp {
    from { transform: translateY(22px) scale(0.98); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

/* ── Close ──────────────────────────────────────────────────── */
.bmto-close {
    position: absolute !important; top: 12px !important; right: 12px !important; z-index: 99999 !important;
    width: 30px !important; height: 30px !important;
    background: rgba(42,18,24,0.12) !important;
    border: none !important; border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    padding: 0 !important; font-size: 18px !important; line-height: 1 !important;
    color: var(--bmto-accent, #7d1f3b) !important; font-family: Arial, sans-serif !important; font-weight: 300 !important;
    transition: background 0.15s, color 0.15s !important;
    flex-shrink: 0 !important;
}
.bmto-close:hover { background: #eedde2 !important; }

/* ── Header ─────────────────────────────────────────────────── */
.bmto-header {
    display: flex; align-items: center; gap: 11px;
    padding: 13px 50px 13px 18px;
    border-bottom: 1px solid #f0e8eb;
    background: #fdfaf9; flex-shrink: 0;
}
.bmto-header-icon { width: 28px; height: 28px; flex-shrink: 0; }
.bmto-logo {
    display: block;
    font-family: Georgia, serif; font-size: 11px; font-weight: 400;
    letter-spacing: 3px; color: var(--bmto-accent, #7d1f3b); text-transform: uppercase; line-height: 1.2;
}
.bmto-product-name {
    display: -webkit-box; font-size: 10px; letter-spacing: 0.5px;
    color: #c0b0b4; margin-top: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    word-break: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Body ───────────────────────────────────────────────────── */
.bmto-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    flex: 1; min-height: 0; overflow: hidden;
}

/* ── Camera area ─────────────────────────────────────────────── */
.bmto-camera-wrap {
    background: #0a0508;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

/* Before/After overlay label */
.bmto-ba-label {
    position: absolute; top: 14px; left: 14px;
    background: rgba(10,5,7,0.70); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 20px;
    display: none;
    backdrop-filter: blur(4px);
}
.bmto-ba-label.visible { display: block; }

.bmto-placeholder {
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 14px; padding: 32px;
    text-align: center; width: 100%; height: 100%;
}
.bmto-placeholder-icon {
    width: 58px; height: 58px;
    border: 1px solid rgba(201,169,110,0.18); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.bmto-placeholder p { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.18); }

#bmtoCanvas      { display: block; width: 100%; height: 100%; object-fit: cover; }
#bmtoPhotoCanvas { display: block; width: 100%; height: 100%; object-fit: contain; }
#bmtoLiveWrap, #bmtoPhotoWrap { width: 100%; height: 100%; position: relative; }

/* ── Face badge ─────────────────────────────────────────────── */
.bmto-face-badge {
    position: absolute; bottom: 14px; left: 50%;
    transform: translateX(-50%);
    background: rgba(10,6,8,0.78); border: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.5);
    font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 13px; border-radius: 40px; white-space: nowrap; display: none;
}
.bmto-face-badge.detected { background: rgba(15,50,28,0.88); color: #7edfa0; border-color: rgba(80,200,100,0.15); }

/* ── Loader ─────────────────────────────────────────────────── */
.bmto-loader {
    position: absolute; inset: 0;
    background: rgba(10,5,8,0.92);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; z-index: 5;
}
.bmto-spinner {
    width: 32px; height: 32px;
    border: 1.5px solid rgba(201,169,110,0.10); border-top-color: #c9a96e;
    border-radius: 50%; animation: bmtoSpin 0.7s linear infinite;
}
@keyframes bmtoSpin { to { transform: rotate(360deg); } }
.bmto-loader p { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,245,240,0.28); }

/* ── Controls sidebar ────────────────────────────────────────── */
.bmto-controls {
    display: flex; flex-direction: column;
    border-left: 1px solid #f0e8eb;
    background: #fff; overflow-y: auto; min-height: 0;
}

/* ── Mode toggle ─────────────────────────────────────────────── */
.bmto-mode-row {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #f0e8eb; flex-shrink: 0;
}
.bmto-mode-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 8px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
    border: none !important; background: none !important; cursor: pointer; font-family: inherit; color: #ccc !important;
    border-bottom: 2px solid transparent !important; margin-bottom: -1px; transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
}
.bmto-mode-btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; flex-shrink: 0; }
.bmto-mode-btn.active { color: #fff !important; border-bottom-color: var(--bmto-accent, #7d1f3b) !important; background: var(--bmto-accent, #7d1f3b) !important; }
.bmto-mode-btn:hover:not(.active) { color: var(--bmto-accent, #7d1f3b) !important; background: var(--bmto-accent-soft, #f5eaee) !important; }

/* ── Sections ────────────────────────────────────────────────── */
.bmto-section {
    padding: 13px 16px; border-bottom: 1px solid #faf3f5; flex-shrink: 0;
}
.bmto-section-label {
    font-size: 8.5px; letter-spacing: 2.5px; text-transform: uppercase;
    color: #c9a96e; margin-bottom: 10px; font-weight: 600; display: block;
}

/* ── Product info block ──────────────────────────────────────── */
.bmto-product-info {
    display: flex; align-items: center; gap: 11px;
}
.bmto-color-swatch {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 1px #ede0e4, 0 3px 8px rgba(0,0,0,0.08);
    flex-shrink: 0; transition: background 0.3s;
}
.bmto-product-details { flex: 1; min-width: 0; }
.bmto-color-name   { font-size: 13px; color: #2a1218; font-weight: 600; letter-spacing: 0.5px; }
.bmto-color-source { font-size: 10px; color: #ccc; margin-top: 2px; }

/* ── Finish badge (read-only) ────────────────────────────────── */
.bmto-finish-badge {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 8px;
    background: #fdf7f9; border: 1px solid #ede0e4;
    padding: 4px 10px; border-radius: 20px;
    font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bmto-accent, #7d1f3b);
    font-weight: 500;
}
.bmto-finish-badge svg { width: 11px; height: 11px; stroke: var(--bmto-accent, #7d1f3b); fill: none; stroke-width: 1.6; }

/* ── Before/After toggle ─────────────────────────────────────── */
.bmto-ba-toggle {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.bmto-ba-toggle span { font-size: 10px; color: #aaa; letter-spacing: 0.5px; }
/* pill switch */
.bmto-switch {
    position: relative; width: 38px; height: 22px; flex-shrink: 0;
}
.bmto-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.bmto-switch-track {
    position: absolute; inset: 0;
    background: #ede0e4; border-radius: 22px;
    cursor: pointer; transition: background 0.2s;
}
.bmto-switch-track::after {
    content: ''; position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff; border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.bmto-switch input:checked + .bmto-switch-track { background: var(--bmto-accent, #7d1f3b); }
.bmto-switch input:checked + .bmto-switch-track::after { transform: translateX(16px); }

/* ── Upload ──────────────────────────────────────────────────── */
.bmto-upload-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%;
    border: 1.5px dashed #ede0e4 !important; border-radius: 8px;
    padding: 15px; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
    color: #bbb !important; cursor: pointer; background: none !important; font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
}
.bmto-upload-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bmto-upload-btn:hover { border-color: var(--bmto-accent, #7d1f3b) !important; color: var(--bmto-accent, #7d1f3b) !important; }

/* ── Actions ─────────────────────────────────────────────────── */
.bmto-actions {
    padding: 12px 16px; display: flex; flex-direction: column; gap: 7px;
    margin-top: auto; flex-shrink: 0;
}
.bmto-btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--bmto-accent, #7d1f3b) !important; color: #fff !important; border: none !important;
    padding: 12px; font-family: inherit; font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; border-radius: 8px; transition: background 0.15s, transform 0.1s;
}
.bmto-btn-primary svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.bmto-btn-primary:hover  { background: var(--bmto-accent-hover, #5c162b) !important; }
.bmto-btn-primary:active { transform: scale(0.98); }
.bmto-btn-secondary {
    background: none !important; border: 1px solid #ede0e4 !important; color: #aaa !important;
    padding: 10px; font-family: inherit; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; border-radius: 8px; transition: all 0.15s;
}
.bmto-btn-secondary:hover { border-color: var(--bmto-accent, #7d1f3b) !important; color: var(--bmto-accent, #7d1f3b) !important; }

/* ── Powered ─────────────────────────────────────────────────── */
.bmto-powered { font-size: 10px; color: #ddd; text-align: center; padding: 0 16px 12px; flex-shrink: 0; }
.bmto-powered a { color: #c9a96e; text-decoration: none; font-weight: 500; }

/* ── Toast ───────────────────────────────────────────────────── */
.bmto-toast {
    position: absolute; bottom: 18px; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #2a1218; color: #fdfaf9;
    font-size: 12px; padding: 9px 18px; border-radius: 40px;
    border: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity 0.22s, transform 0.22s;
    z-index: 20; max-width: 90%; text-align: center;
}
.bmto-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.bmto-toast--error   { background: #7d1f2e; }
.bmto-toast--warn    { background: #6b4210; }

/* ── Product page button ──────────────────────────────────────── */
.brainiax-tryon-wrap { margin: 8px 0; }
.brainiax-tryon-btn {
    display: flex !important; align-items: center !important; justify-content: center !important; gap: 9px;
    width: 100%; background: var(--bmto-btn-bg, #fdfaf9) !important; color: var(--bmto-btn-text, #7d1f3b) !important;
    border: 1.5px solid var(--bmto-accent-border, #e0cdd2) !important; padding: 13px 18px; font-family: inherit;
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    cursor: pointer; border-radius: 8px !important; font-weight: 500;
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.brainiax-tryon-btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; flex-shrink: 0; }
.brainiax-tryon-btn:hover { background: var(--bmto-btn-hover-bg, #7d1f3b) !important; border-color: var(--bmto-btn-hover-bg, #7d1f3b) !important; color: #fff !important; box-shadow: 0 4px 18px rgba(125,31,59,0.22); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 620px) {
    .bmto-modal       { height: 96vh; border-radius: 12px; max-width: 100%; }
    .bmto-body        { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .bmto-camera-wrap { min-height: 320px; }
    .bmto-controls    { border-left: none; border-top: 1px solid #f0e8eb; overflow-y: auto; max-height: 42vh; }
}

/* ── Shade switcher ──────────────────────────────────────────── */
.bmto-shades-section { padding-bottom: 12px; }

.bmto-shades-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, 36px);
    gap: 7px;
    padding-top: 2px;
}

.bmto-shade-btn {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px #e8dade, 0 2px 4px rgba(0,0,0,0.10) !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}
.bmto-shade-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px #c9a96e, 0 3px 8px rgba(0,0,0,0.15) !important;
}
.bmto-shade-btn.active {
    box-shadow: 0 0 0 2.5px var(--bmto-accent, #7d1f3b), 0 3px 8px rgba(125,31,59,0.20) !important;
    transform: scale(1.06);
    border-color: var(--bmto-accent, #7d1f3b) !important;
}
.bmto-shade-btn.out-of-stock {
    opacity: 0.38;
    cursor: not-allowed;
}
/* diagonal line for out-of-stock */
.bmto-shade-btn.out-of-stock::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        transparent 45%,
        rgba(255,255,255,0.8) 45%,
        rgba(255,255,255,0.8) 55%,
        transparent 55%
    );
}

/* tooltip on hover */
.bmto-shade-btn[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #2a1218;
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

/* ── ML Loading Banner ────────────────────────────────────── */
.bmto-ml-banner {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(20, 10, 15, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 7px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}
.bmto-ml-banner.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.bmto-ml-banner.is-ready {
    background: rgba(30, 90, 40, 0.88);
}

/* Spinner */
.bmto-ml-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bmto-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes bmto-spin {
    to { transform: rotate(360deg); }
}

/* ── Intensity Slider ─────────────────────── */
.bmto-intensity-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.bmto-intensity-label {
    font-size: 10px;
    color: #b08080;
    white-space: nowrap;
}
.bmto-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(to right, #e8d0d8, var(--bmto-accent, #7d1f3b));
    outline: none;
}
.bmto-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
        background: var(--bmto-accent, #7d1f3b);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* ── Add to Look button ───────────────────── */
.bmto-btn-add-look {
    width: 100%;
    padding: 9px 0;
    background: transparent !important;
    border: 1.5px dashed #c9a96e !important;
    border-radius: 8px;
    color: #c9a96e !important;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s;
}
.bmto-btn-add-look:hover {
    background: rgba(201,169,110,0.08) !important;
}

/* ── Look panel ───────────────────────────── */
.bmto-look-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bmto-look-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: rgba(125,31,59,0.05);
    border-radius: 6px;
    border: 1px solid rgba(125,31,59,0.1);
}
.bmto-look-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.bmto-look-type {
    flex: 1;
    font-size: 11px;
    color: #5a2030;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.bmto-look-remove {
    background: none;
    border: none;
    color: #b08080;
    cursor: pointer;
    font-size: 11px;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 4px;
}
.bmto-look-remove:hover { color: var(--bmto-accent, #7d1f3b); }
/* ── Replace state ────────────────────────── */
.bmto-look-item--replace {
    border-color: rgba(201,169,110,0.45);
    background: rgba(201,169,110,0.08);
}
.bmto-replace-badge {
    display: inline-block;
    font-size: 9px;
    padding: 1px 5px;
    background: rgba(201,169,110,0.18);
    color: #a07830;
    border-radius: 4px;
    letter-spacing: 0.03em;
    text-transform: none;
    margin-left: 4px;
    vertical-align: middle;
}
.bmto-btn-add-look.bmto-btn-replace {
    border-color: #c9a96e;
    border-style: solid;
    color: #a07830;
    background: rgba(201,169,110,0.06);
}
.bmto-btn-add-look.bmto-btn-replace:hover {
    background: rgba(201,169,110,0.14);
}

/* ═══════════════════════════════════════════════════════════════
   v1.7 Additions — Glasses overlay + Before/After drag slider
═══════════════════════════════════════════════════════════════ */

/* ── Glasses overlay icon ────────────────────────────────────── */
.bmto-glasses-overlay {
    position: absolute;
    top: 14px; right: 14px;
    width: 28px; height: 28px;
    opacity: 0.22;
    pointer-events: none;
    z-index: 3;
    filter: invert(1);
    transition: opacity 0.3s;
}
.bmto-camera-wrap:hover .bmto-glasses-overlay {
    opacity: 0.38;
}

/* ── Before/After DRAG SLIDER ───────────────────────────────── */
.bmto-ba-slider-wrap {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: none;
    cursor: ew-resize;
    touch-action: none;
}
.bmto-ba-slider-wrap.active {
    display: block;
}
.bmto-ba-slider-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    pointer-events: none;
}
.bmto-ba-slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.bmto-ba-slider-handle svg {
    width: 18px; height: 18px;
    fill: none; stroke: var(--bmto-accent, #7d1f3b); stroke-width: 2.2;
}
/* Labels on each side */
.bmto-ba-label-left,
.bmto-ba-label-right {
    position: absolute;
    top: 10px;
    background: rgba(10,5,7,0.70);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.6);
    font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase;
    padding: 4px 10px; border-radius: 20px;
    pointer-events: none;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}
.bmto-ba-slider-wrap.active .bmto-ba-label-left,
.bmto-ba-slider-wrap.active .bmto-ba-label-right { opacity: 1; }
.bmto-ba-label-left  { left: 10px; }
.bmto-ba-label-right { right: 10px; }

@media (max-width: 620px) {
    .bmto-ba-slider-handle { width: 30px; height: 30px; }
    .bmto-ba-slider-handle svg { width: 14px; height: 14px; }
}
