/* أنماط الواجهة الأمامية */
.elementor-image-hotspots {
    margin: 20px 0;
}

.hotspots-image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    width: 100%;
}

.hotspots-main-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hotspot-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.hotspot-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hotspot-dot:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.7;
}

.hotspot-marker:hover .hotspot-dot {
    transform: translate(-50%, -50%) scale(1.3);
}

.hotspot-info {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 8px;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 100;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    border: 1px solid #eee;
}

.hotspot-marker:hover .hotspot-info {
    display: block;
}

.hotspot-info h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    color: #1d2327;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.hotspot-price {
    font-size: 24px;
    font-weight: bold;
    color: #e91e63;
    margin: 0 0 20px 0;
}

.hotspot-buy-button {
    display: inline-block;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}

.hotspot-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-40%) translateX(0); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* التأثير عند تمرير الماوس */
.hotspot-info:before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid white;
}