/* 
 * Antigravity UI: Product Details
 * Target: /public/user/css/singleProduct.css
 */

.product-title {
    font-size: 24px;
    font-weight: bold;
}

.product-price {
    font-size: 20px;
    color: #28a745;
}

.product-description {
    margin-top: 20px;
}

.review-section {
    margin-top: 30px;
}

.review-section h3 {
    margin-bottom: 20px;
}

.review-card {
    border: 1px solid #e9ecef;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

.reviewer-name {
    font-weight: bold;
}

.rating {
    color: gold;
}

.ratingT {
    color: gold;
    font-size: 1.5rem;
}

.thumbnails {
    margin-top: 20px;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.thumbnails img:hover {
    border-color: #28a745;
}

.zoom-container {
    position: relative;
    display: inline-block;
}

.zoomed-image {
    top: 0px;
    left: 105%; /* Adjusted for better spacing on large screens */
    position: absolute;
    border: 2px solid #28a745;
    border-radius: 5px;
    display: none;
    width: 500px;
    height: 370px;
    pointer-events: none;
    z-index: 10;
    background-repeat: no-repeat;
}

@media (max-width: 991px) {
    .zoomed-image {
        left: 0;
        top: 105%;
        width: 100%;
    }
}

.focus-area {
    position: absolute;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    pointer-events: none;
    display: none;
    z-index: 20;
    border: 1px dashed #28a745;
}

.form-group label {
    font-weight: bold;
    color: #495057;
}

#review {
    resize: none;
}

.btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    font-weight: bold;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

.form-control-file {
    padding: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin-top: 15px;
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
