/* Review Form - Add Images */
.comment-form-review-images {
    margin: 15px 0;
}

.comment-form-review-images label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.comment-form-review-images input[type="file"] {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 2px dashed #d0d0d0;
    border-radius: 6px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.comment-form-review-images input[type="file"]:hover {
    border-color: #999;
    background: #fff;
}

.comment-form-review-images input[type="file"]:focus {
    outline: none;
    border-color: #0071a1;
    background: #fff;
}

.comment-form-review-images input[type="file"]::file-selector-button {
    padding: 8px 16px;
    margin-right: 12px;
    border: none;
    border-radius: 4px;
    background: #333333;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form-review-images input[type="file"]::file-selector-button:hover {
    background: #005177;
}

#review-images-preview {
    margin-top: 12px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#review-images-preview img {
    border-radius: 4px;
    border: 2px solid #e0e0e0;
}

/* Product Review Images */
.woocommerce-review-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.woocommerce-review-image-link {
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.woocommerce-review-image-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.woocommerce-review-image-link img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Review Image Lightbox */
.review-image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-image-lightbox.active {
    display: flex;
}

.review-image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.review-image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    font-weight: 300;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.review-image-lightbox-close:hover {
    opacity: 0.7;
}

#reviews .description {
    border-bottom-style: unset;
    border-bottom-width: 0;
    padding-bottom: 10px;
}