/* =========================================
   SHOPPABLE HOTSPOTS & PRODUCT CARDS STYLES
========================================= */

.fbpH-hotspot-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 200; pointer-events: none;
}

.fbpH-hotspot-dot {
    position: absolute; width: 60px; height: 60px;
    background: rgba(241, 196, 15, 0.9);
    border: 3px solid #fff; border-radius: 50%;
    cursor: pointer; pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: pulse-ring 2s infinite;
    display: flex; align-items: center; justify-content: center;
    color: #111; font-size: 24px; font-weight: bold; transform: translate(-50%, -50%);
}

.fbpH-hotspot-dot:hover { 
    transform: translate(-50%, -50%) scale(1.2); 
    background: #fff; border-color: var(--fbpH-accent, #f1c40f);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(241, 196, 15, 0); }
    100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0); }
}

/* Product Modal Card */
.fbpH-product-modal {
    position: absolute; 
    width: 300px; background: #fff; border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0; overflow: hidden; z-index: 10006;
    transform: translate(-50%, -110%);
    display: none; 
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    pointer-events: auto;
    font-family: 'Poppins', sans-serif;
}

@keyframes popIn { 
    from { opacity: 0; transform: translate(-50%, -100%) scale(0.9); } 
    to { opacity: 1; transform: translate(-50%, -110%) scale(1); } 
}

.fbpH-product-img { 
    width: 100%; height: 180px; object-fit: cover; background: #eee; 
}

.fbpH-product-info { padding: 15px; }

.fbpH-product-title { 
    font-weight: 700; color: #333; font-size: 16px; margin-bottom: 5px; 
}

.fbpH-product-price { 
    color: #e67e22; font-weight: 700; font-size: 18px; margin-bottom: 10px; display: block; 
}

.fbpH-product-btn {
    display: block; width: 100%; background: #2c3e50; color: #fff; text-align: center;
    padding: 10px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; transition: 0.2s;
}

.fbpH-product-btn:hover { background: #e67e22; }

.fbpH-modal-close {
    position: absolute; top: 10px; right: 10px; width: 25px; height: 25px;
    background: rgba(0,0,0,0.5); border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: 0.2s;
}

.fbpH-modal-close:hover { background: #c0392b; }










/* =========================================
   LEAD GENERATION / PAGE LOCK STYLES
========================================= */

.fbpH-lead-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.96); /* একদম গাঢ় কালো যাতে পিছনের পেজ দেখা না যায় */
    z-index: 20000; /* সবার উপরে থাকবে */
    display: none; /* শুরুতে লুকানো থাকবে */
    flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(10px);
}

.fbpH-lead-overlay.active { display: flex; animation: fadeIn 0.5s ease; }

.fbpH-lead-box {
    background: #1e272e; padding: 40px; border-radius: 12px;
    width: 100%; max-width: 450px; text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 1px solid #333; position: relative;
}

.fbpH-lead-icon { font-size: 50px; color: #f1c40f; margin-bottom: 20px; }

.fbpH-lead-title {
    font-family: 'Poppins', sans-serif; font-size: 24px; color: #fff; 
    margin-bottom: 10px; font-weight: 600;
}

.fbpH-lead-desc {
    font-family: 'Poppins', sans-serif; font-size: 14px; color: #aaa; 
    margin-bottom: 30px; line-height: 1.6;
}

.fbpH-lead-input {
    width: 100%; padding: 12px 15px; margin-bottom: 15px;
    background: #2d3436; border: 1px solid #444; border-radius: 5px;
    color: #fff; font-family: 'Poppins', sans-serif; outline: none;
    transition: 0.3s;
}
.fbpH-lead-input:focus { border-color: #f1c40f; background: #333; }

.fbpH-lead-btn {
    width: 100%; padding: 12px; background: #f1c40f; color: #111;
    border: none; border-radius: 5px; font-weight: 700; cursor: pointer;
    font-family: 'Poppins', sans-serif; text-transform: uppercase;
    transition: 0.3s;
}
.fbpH-lead-btn:hover { background: #d4ac0d; transform: translateY(-2px); }

.fbpH-lead-skip {
    margin-top: 15px; font-size: 12px; color: #666; cursor: pointer; text-decoration: underline;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }







/* =========================================
   INTERACTIVE MEDIA EMBEDS STYLES
========================================= */

.fbpH-media-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 150; /* Hotspot এর নিচে কিন্তু Text এর উপরে */
    pointer-events: none; /* যাতে পেজের অন্য জায়গায় ক্লিক করা যায় */
}

.fbpH-media-item {
    position: absolute;
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    pointer-events: auto; /* মিডিয়াতে ক্লিক করা যাবে */
    overflow: hidden;
    transition: transform 0.2s;

}

.fbpH-media-item:hover {
    border-color: var(--fbpH-accent, #f1c40f);
}

.fbpH-media-item iframe, 
.fbpH-media-item video {
    width: 100%; height: 100%; border: none; display: block;
}

/* Audio Player styling */
.fbpH-media-audio {
    background: #f1f1f1;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #ccc;
}
.fbpH-media-audio audio {
    width: 90%; height: 50px; outline: none;
}
