.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.popup.show {
    display: flex;
}
.popup-content {
    position: relative;
    background: transparent !important;
    border-radius: 0 ;
    box-shadow: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}


.popup-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: 10px 10px 0 0;
    object-fit: contain;
}

.popup-details {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-details h3 {
    margin: 10px 0;
    font-size: 1.5em;
    color: #333;
    font-weight: 600;
}

.popup-price {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.popup-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.popup-icons span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #666;
}

.popup-contact-btn {
    background-color: #f4a261;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.popup-contact-btn:hover {
    background-color: #e76f51;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .popup-content {
        max-width: 450px;
    }
    .popup-details h3 {
        font-size: 1.4em;
    }
    .popup-price {
        font-size: 1.1em;
    }
    .popup-icons span {
        font-size: 0.85em;
    }
    .popup-contact-btn {
        font-size: 0.95em;
        padding: 8px 16px;
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-width: 400px;
    }
    .popup-image {
        max-height: 150px;
        object-fit: contain;
    }
    .popup-details h3 {
        font-size: 1.2em;
    }
    .popup-price {
        font-size: 1em;
    }
    .popup-icons span {
        font-size: 0.8em;
    }
    .popup-contact-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    .close-btn {
        font-size: 20px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 100%;
        max-width: 350px;
        padding: 15px;
    }
    .popup-image {
        max-height: 120px;
        object-fit: contain;
    }
    .popup-details h3 {
        font-size: 1em;
        margin: 5px 0;
    }
    .popup-price {
        font-size: 0.9em;
    }
    .popup-icons {
        gap: 10px;
    }
    .popup-icons span {
        font-size: 0.7em;
    }
    .popup-contact-btn {
        padding: 6px 12px;
        font-size: 0.85em;
    }
    .close-btn {
        font-size: 18px;
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 320px) {
    .popup-content {
        padding: 10px;
    }
    .popup-image {
        max-height: 100px;
        object-fit: contain;
    }
    .popup-details h3 {
        font-size: 0.9em;
    }
    .popup-price {
        font-size: 0.8em;
    }
    .popup-icons span {
        font-size: 0.65em;
    }
    .popup-contact-btn {
        padding: 5px 10px;
        font-size: 0.8em;
    }
}