/* Premium Product Details Styles */

/* Product Details Styles */
.premium-product-details {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.premium-action-buttons {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.premium-btn {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 8px 12px;
}

.premium-compare-btn:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.premium-wishlist-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: translateY(-2px);
}

.premium-share-btn:hover {
    background: rgba(40, 167, 69, 0.1);
    transform: translateY(-2px);
}

.premium-product-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #2c3e50;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.premium-product-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1fa69b, #0f4f4a);
    border-radius: 2px;
}

.premium-brand-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.premium-query-link {
    transition: all 0.3s ease;
}

.premium-query-link:hover {
    transform: translateX(5px);
    color: #0056b3 !important;
}

.premium-rating-sku {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 15px 0;
}

.premium-watching-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.premium-deal-section {
    position: relative;
}

.premium-todays-deal {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.premium-flash-sale {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.premium-pricing-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.premium-pricing-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: linear-gradient(135deg, #1fa69b, #0f4f4a);
    border-radius: 2px;
}

.premium-pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.premium-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* ========== Premium Review Section Styles ========== */

#reviewsRatings {
    margin-top: 30px;
}

.reviews-ratings-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
}

.reviews-ratings-container:hover {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.reviews-ratings-container p:first-child {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px !important;
}

.reviews-ratings-container p:first-child::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #1fa69b, #0f4f4a);
    border-radius: 2px;
}

/* Review Rating Display */
.reviews-ratings-container h4 {
    background: linear-gradient(135deg, #1fa69b 0%, #0f4f4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rating {
    transition: all 0.3s ease;
}

.rating:hover {
    transform: scale(1.05);
}

/* Rate Button */
.reviews-ratings-container button[onclick*="product_review"] {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef !important;
    transition: all 0.3s ease;
    border-radius: 8px !important;
    position: relative;
    overflow: hidden;
}

.reviews-ratings-container button[onclick*="product_review"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,165,0,0.2), transparent);
    transition: left 0.5s ease;
}

.reviews-ratings-container button[onclick*="product_review"]:hover::before {
    left: 100%;
}

.reviews-ratings-container button[onclick*="product_review"]:hover {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%);
    border-color: #ffc107 !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.reviews-ratings-container button[onclick*="product_review"]:hover span {
    color: #ff9800 !important;
}

.reviews-ratings-container button[onclick*="product_review"] i {
    transition: all 0.3s ease;
}

.reviews-ratings-container button[onclick*="product_review"]:hover i {
    transform: translateX(5px);
}

/* Filter Rating Section */
.filter-rating-wrapper {
    gap: 10px;
    flex-wrap: wrap;
}

.rating-point {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rating-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: left 0.5s ease;
}

.rating-point:hover::before {
    left: 100%;
}

.rating-point:hover {
    background: linear-gradient(135deg, #81e6dd 0%, #30efdf 100%);
    border-color: #0f4f4a !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.rating-point-select {
    background: linear-gradient(135deg, #81e6dd 0%, #30efdf 100%) !important;
    border-color: #1fa69b !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3) !important;
    transform: scale(1.05);
}

.rating-point input {
    display: none;
}

/* Review Sort Section */
.review-sort-by-images {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef !important;
    transition: all 0.3s ease;
    border-radius: 6px !important;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.review-sort-by-images::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76,175,80,0.2), transparent);
    transition: left 0.5s ease;
}

.review-sort-by-images:hover::before {
    left: 100%;
}

.review-sort-by-images:hover {
    background: linear-gradient(135deg, #f0f8f5 0%, #e0f7e0 100%);
    border-color: #0f4f4a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
}

/* Select Dropdown */
.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper select {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef !important;
    border-radius: 6px !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-select-wrapper select:hover {
    border-color: #1fa69b !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.custom-select-wrapper select:focus {
    background: linear-gradient(135deg, #e7f3ff 0%, #f8f9fa 100%);
    border-color: #1fa69b !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

/* Reviews Area */
.reviews-area {
    margin-top: 30px;
    min-height: 100px;
}

.reviews-area .review-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.reviews-area .review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1fa69b;
}

.reviews-area .review-item h6 {
    color: #2c3e50;
    font-weight: 600;
}

.reviews-area .review-item p {
    color: #495057;
    line-height: 1.6;
}

.reviews-area .review-item .rating {
    transition: all 0.3s ease;
}

.reviews-area .review-item:hover .rating {
    transform: scale(1.05);
}

/* See More Reviews Button */
#seeMoreReviews {
    margin-top: 20px;
}

.see-more-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
    border: 2px solid #1fa69b !important;
    color: #1fa69b !important;
    transition: all 0.3s ease !important;
    border-radius: 25px !important;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1fa69b 0%, #0056b3 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

.see-more-btn:hover::before {
    left: 0;
}

.see-more-btn:hover {
    color: #ffffff !important;
    border-color: #0056b3 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3) !important;
}

.see-more-btn:hover svg path {
    fill: #ffffff;
    transition: fill 0.3s ease;
}

.see-more-btn svg {
    transition: all 0.3s ease;
}

.see-more-btn:hover svg {
    transform: translateY(-2px) rotate(180deg);
}

/* No Reviews Message */
.reviews-ratings-container .text-center {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-top: 20px;
}

.reviews-ratings-container .text-center h5 {
    color: #495057;
    font-weight: 600;
}

.reviews-ratings-container .text-center svg {
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-top: 20px;
}

/* Review Image Modal */
#reviewImageModal .modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid #e9ecef;
}

#reviewImageModal .modal-body {
    padding: 30px;
}

#reviewImageModal .btn-circle {
    background: linear-gradient(135deg, #343a40 0%, #495057 100%);
    border: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#reviewImageModal .btn-circle:hover {
    background: linear-gradient(135deg, #1fa69b 0%, #0056b3 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

#reviewImageModal .btn-circle i {
    color: #ffffff;
    font-size: 20px;
}

#reviewImageModal .btn-circle[data-dismiss="modal"] {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    font-size: 24px;
    width: 35px;
    height: 35px;
}

#reviewImageModal .btn-circle[data-dismiss="modal"]:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-ratings-container {
        padding: 15px !important;
    }

    .reviews-ratings-container h4 {
        font-size: 2rem;
    }

    .filter-rating-wrapper {
        justify-content: flex-start;
    }

    .review-sort-by-images,
    .custom-select-wrapper select {
        margin-bottom: 10px;
    }

    .see-more-btn {
        width: 100%;
    }

    #reviewImageModal .btn-circle {
        width: 40px;
        height: 40px;
    }

    .premium-product-details {
        padding: 15px;
    }

    .premium-product-title {
        font-size: 1.5rem;
    }
}