/* Product Anatomy Exploder — image stage with hotspots + 3 reveal modes. */

.lyra-bt-pa {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}
.lyra-bt-pa *, .lyra-bt-pa *::before, .lyra-bt-pa *::after { box-sizing: border-box; }

.lyra-bt-pa__heading {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}
.lyra-bt-pa__subheading {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 15px;
    text-align: center;
}
.lyra-bt-pa__empty {
    color: #64748b;
    font-style: italic;
    text-align: center;
    padding: 32px 0;
}

/* Stage = image_wrap + panel */
.lyra-bt-pa__stage {
    position: relative;
    display: flex;
    gap: 0;
    background: #f8fafc;
    border-radius: 14px;
    overflow: hidden;
}
.lyra-bt-pa__image-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}
.lyra-bt-pa__image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hotspot common */
.lyra-bt-pa__hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    border: none;
    cursor: pointer;
    font: inherit;
    z-index: 2;
    transition: transform 0.15s ease;
    /* color injected inline (used by dot pulse + numbered bg) */
}
.lyra-bt-pa__hotspot:hover { transform: translate(-50%, -50%) scale(1.15); }

/* Dot style — pulsing circle */
.lyra-bt-pa__hotspot--dot {
    width: 18px;
    height: 18px;
    background: currentColor;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6);
}
.lyra-bt-pa__hotspot--dot::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    animation: lyra-bt-pa-pulse 1.8s ease-out infinite;
}
@keyframes lyra-bt-pa-pulse {
    0%   { transform: scale(0.6); opacity: 0.5; }
    100% { transform: scale(1.7); opacity: 0;   }
}

/* Plus style */
.lyra-bt-pa__hotspot--plus {
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    color: inherit;
}

/* Numbered chip */
.lyra-bt-pa__hotspot--num {
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 14px;
    line-height: 28px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.lyra-bt-pa__hotspot.is-active {
    transform: translate(-50%, -50%) scale(1.18);
}

/* Panel — side_panel mode */
.lyra-bt-pa--side_panel .lyra-bt-pa__panel {
    flex: 0 0 360px;
    padding: 24px 24px 24px 28px;
    background: #fff;
    border-left: 1px solid #e2e8f0;
    position: relative;
}

/* Panel — inline_expand mode (hidden by default, slides under) */
.lyra-bt-pa--inline_expand .lyra-bt-pa__stage { flex-direction: column; }
.lyra-bt-pa--inline_expand .lyra-bt-pa__panel {
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 20px 24px;
    position: relative;
}

/* Modal mode */
.lyra-bt-pa--modal .lyra-bt-pa__modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.lyra-bt-pa--modal .lyra-bt-pa__modal[hidden] { display: none; }
.lyra-bt-pa--modal .lyra-bt-pa__modal-card {
    background: #fff;
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 28px 28px 24px;
    position: relative;
    box-shadow: 0 24px 48px -16px rgba(15, 23, 42, 0.4);
}

/* Panel inner content */
.lyra-bt-pa__panel-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* color injected inline */
}
.lyra-bt-pa__panel-close:hover { background: #f1f5f9; }
.lyra-bt-pa__panel-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.lyra-bt-pa__panel-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}
.lyra-bt-pa__panel-desc {
    margin: 0 0 12px;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}
.lyra-bt-pa__panel-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    margin-top: 8px;
}

@media (max-width: 800px) {
    .lyra-bt-pa--side_panel .lyra-bt-pa__stage { flex-direction: column; }
    .lyra-bt-pa--side_panel .lyra-bt-pa__panel {
        flex: 0 0 auto;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
}
