/* MBK Product Card 360 Styles */
.mbk-product-card-360 {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

/* Aspect Ratio */
.mbk-product-card-360-inner {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

/* Background Image */
img.mbk-product-card-360-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mbk-product-card-360:hover .mbk-product-card-360-bg {
    transform: scale(1.08);
}

/* Gradient Overlay */
.mbk-product-card-360-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 20, 30, 0.95) 0%, rgba(0, 20, 30, 0.5) 40%, rgba(0, 20, 30, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* --- Glow Borders (Full Divider Structure) --- */
.mbk-product-card-360-wrapper .mbk-pc-glow-pos {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Scoped Divider Styles */
.mbk-product-card-360-wrapper .mbk-pc-glow-pos .mbk-glow-divider {
    position: relative;
    width: 100%;
    height: 60px; /* Adjusted height for card context */
    overflow: visible;
}

.mbk-product-card-360-wrapper .mbk-pc-glow-pos .mbk-glow-divider::before { /* Main Line */
    content: '';
    position: absolute;
    inset: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, hsla(210, 100%, 50%, 0.3) 20%, hsl(195, 100%, 50%) 50%, hsla(210, 100%, 50%, 0.3) 80%, transparent 100%);
}

.mbk-product-card-360-wrapper .mbk-pc-glow-pos .mbk-glow-center {
    position: absolute;
    inset: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    background: radial-gradient(ellipse 60% 100% at center, hsla(195, 100%, 50%, 0.4) 0%, hsla(210, 100%, 50%, 0.2) 40%, transparent 70%);
    filter: blur(15px);
    opacity: 0.6;
}

.mbk-product-card-360-wrapper .mbk-pc-glow-pos .mbk-glow-intense {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: 20px;
    background: radial-gradient(ellipse at center, hsla(195, 100%, 50%, 0.8) 0%, hsla(210, 100%, 50%, 0.4) 50%, transparent 80%);
    filter: blur(20px);
    opacity: 0.4;
}

.mbk-product-card-360-wrapper .mbk-pc-glow-pos .mbk-glow-highlight {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, hsl(195, 100%, 50%) 30%, hsl(0, 0%, 100%) 50%, hsl(195, 100%, 50%) 70%, transparent 100%);
    filter: blur(2px);
}

/* Positioning */
.mbk-product-card-360-wrapper .mbk-pc-glow-top {
    top: 0; left: 0; width: 100%;
    transform: translateY(-50%);
}

.mbk-product-card-360-wrapper .mbk-pc-glow-bottom {
    bottom: 0; left: 0; width: 100%;
    transform: translateY(50%);
}

.mbk-product-card-360-wrapper .mbk-pc-glow-left {
    top: 50%; left: 0;
    width: 75%; /* Approx height for 4:3 card */
    transform: translate(-50%, -50%) rotate(90deg);
}

.mbk-product-card-360-wrapper .mbk-pc-glow-right {
    top: 50%; right: 0;
    width: 75%; /* Approx height for 4:3 card */
    transform: translate(50%, -50%) rotate(90deg);
}


/* Content Container */
.mbk-product-card-360-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

/* Title */
.mbk-product-card-360-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-family: inherit;
}

/* Actions Container */
.mbk-product-card-360-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Buttons */
.mbk-pc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    border: none;
    white-space: nowrap;
    line-height: 1;
}

.mbk-pc-btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

/* Order Button */
.mbk-pc-btn.btn-order {
    background-color: #0084B6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 132, 182, 0.4);
}

.mbk-pc-btn.btn-order:hover {
    background-color: #006c94;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 132, 182, 0.5);
    color: #fff;
}

/* Spec Sheet & 360 */
.mbk-pc-btn.btn-white {
    background-color: #fff;
    color: #003d5c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mbk-pc-btn.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #003d5c;
}

/* Modal Styling */
.mbk-360-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mbk-360-modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: transparent;
    border-radius: 8px;
}

.mbk-360-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s;
}

.mbk-360-modal-close:hover {
    transform: scale(1.1);
    color: #0084B6;
}

.mbk-360-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 767px) {
    .mbk-product-card-360-title {
        font-size: 24px;
    }
    .mbk-product-card-360-content {
        padding: 20px;
    }
    .mbk-pc-btn {
        padding: 10px 16px;
        font-size: 12px;
        flex: 1 1 auto;
    }
}
