/* Product Details Page Styles - Modern Design */

/* Product Gallery - Modern Glass Style */
.product-gallery {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.product-gallery:hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

/* Main Image Container */
.main-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: zoom-in;
}

.image-zoom-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.main-image:hover {
    transform: scale(1.02);
}

/* Zoom Lens */
.zoom-lens {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 3px solid #667eea;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.main-image-container:hover .zoom-lens {
    opacity: 1;
}

/* Thumbnail Container */
.thumbnail-container {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.thumbnail-scroll {
    position: relative;
    overflow: hidden;
    margin: 0 35px;
}

.thumbnail-list {
    display: flex;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.thumbnail-item:hover {
    border-color: #667eea;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.thumbnail-item.active {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.thumbnail-item.active::before {
    opacity: 0.1;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Navigation Arrows */
.thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.thumbnail-nav:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.thumbnail-nav.prev {
    left: 0;
}

.thumbnail-nav.next {
    right: 0;
}

.thumbnail-nav i {
    font-size: 14px;
}

/* Image Counter */
.image-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

/* Product Info Section */
.product-info h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.price-section h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.description {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.description h5 {
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description p {
    color: #495057;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Action Buttons */
.add-to-cart {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.add-to-cart input[type="number"] {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.add-to-cart input[type="number"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.action-buttons .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.action-buttons .btn-outline-info {
    border-color: #17a2b8;
    color: #17a2b8;
}

.action-buttons .btn-outline-info:hover {
    background: #17a2b8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.action-buttons .btn-outline-danger {
    border-color: #dc3545;
    color: #dc3545;
}

.action-buttons .btn-outline-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.action-buttons .btn-outline-success {
    border-color: #28a745;
    color: #28a745;
}

.action-buttons .btn-outline-success:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.action-buttons .btn-outline-warning {
    border-color: #ffc107;
    color: #856404;
}

.action-buttons .btn-outline-warning:hover {
    background: #ffc107;
    color: #856404;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Product Varieties */
.varieties-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.varieties-section h5 {
    color: #667eea;
    margin-bottom: 1rem;
    font-weight: 700;
}

.varieties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.03);
    border-radius: 12px;
}

.variety-item {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.variety-item:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.variety-item.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Suppliers Section */
.suppliers-section {
    margin-top: 3rem;
}

.suppliers-section h3,
.suppliers-section h4 {
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.suppliers-section h3::before,
.suppliers-section h4::before {
    content: '';
    width: 6px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.suppliers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.supplier-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.supplier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.supplier-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

.supplier-card:hover::before {
    transform: scaleX(1);
}

.supplier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.supplier-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.supplier-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.supplier-price {
    margin-bottom: 1rem;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
}

.supplier-price .original-price {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.supplier-price .current-price {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.supplier-stock {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    padding: 0.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
}

.supplier-stock i {
    margin-left: 0.5rem;
    font-size: 1rem;
}

.supplier-btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-purple:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.supplier-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #6c757d;
    transform: none;
}

/* Product Tabs */
.product-tabs {
    margin-top: 3rem;
}

.product-tabs .nav-tabs {
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #667eea, #764ba2) 1;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.5rem;
}

.product-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 4px solid transparent;
    padding: 1rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px 12px 0 0;
    position: relative;
}

.product-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.product-tabs .nav-link.active {
    color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.05));
}

.product-tabs .nav-link.active::before {
    transform: scaleX(1);
}

.product-tabs .nav-link i {
    margin-left: 0.5rem;
    font-size: 1.1rem;
}

/* Tab Content */
.tab-content {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

/* Specifications */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.specification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.specification-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.spec-label {
    font-weight: 700;
    color: #667eea;
    margin-left: 1rem;
    font-size: 0.95rem;
}

.spec-value {
    color: #495057;
    text-align: left;
    font-weight: 500;
}

/* Reviews Section */
.reviews-content {
    padding: 1.5rem 0;
}

/* Rating Summary */
.rating-summary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.overall-rating {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.overall-rating::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: linear-gradient(180deg, transparent, #e9ecef, transparent);
}

.rating-score {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.rating-stars {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.rating-stars .fa-star {
    margin: 0 2px;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
}

.rating-count {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
}

.rating-breakdown {
    padding: 1.5rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.rating-label {
    width: 100px;
    font-size: 0.95rem;
    color: #495057;
    font-weight: 600;
}

.rating-progress {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.rating-bar .rating-count {
    width: 50px;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

/* Recommendation Section */
.recommendation-section {
    margin-bottom: 2.5rem;
}

.recommendation-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.recommendation-icon {
    font-size: 3rem;
    opacity: 0.95;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.recommendation-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.recommendation-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recommendation-text {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Add Review Section */
.add-review-section {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.add-review-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.add-review-section .btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.add-review-section .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

/* Reviews Section */
.reviews-section {
    margin-top: 2.5rem;
}

.reviews-title {
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-title::before {
    content: '';
    width: 6px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

.reviews-container {
    position: relative;
}

.reviews-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f8f9fa;
}

.reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 10px;
}

.reviews-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #764ba2, #667eea);
}

.review-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviewer-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.review-rating {
    font-size: 1rem;
}

.review-rating .fa-star {
    margin: 0 1px;
}

.review-content {
    margin-bottom: 1rem;
}

.review-text {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.review-pros, .review-cons {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
}

.review-pros {
    background: rgba(40, 167, 69, 0.05);
    border-right: 3px solid #28a745;
}

.review-cons {
    background: rgba(220, 53, 69, 0.05);
    border-right: 3px solid #dc3545;
}

.review-pros h6, .review-cons h6 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.pros-list, .cons-list {
    margin: 0;
    padding-right: 1.25rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.pros-list li, .cons-list li {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.helpful-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.helpful-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Scroll Indicators */
.scroll-indicators {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.scroll-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.scroll-btn:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.5);
}

.scroll-btn.prev-btn {
    right: -22px;
}

.scroll-btn.next-btn {
    left: -22px;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.no-reviews-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.3;
    color: #667eea;
}

.no-reviews h5 {
    margin-bottom: 1rem;
    color: #495057;
    font-weight: 700;
    font-size: 1.5rem;
}

.no-reviews p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.no-reviews .btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.3);
}

.no-reviews .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

/* Questions */
.questions-list {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #667eea #f8f9fa;
}

.questions-list::-webkit-scrollbar {
    width: 8px;
}

.questions-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.questions-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 10px;
}

.question-item {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.question-item:hover {
    padding-right: 1rem;
    background: rgba(102, 126, 234, 0.02);
    border-radius: 12px;
}

.question-item:last-child {
    border-bottom: none;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.question-header h6 {
    color: #667eea;
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
}

.question-date {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.answers-list {
    margin-top: 1rem;
    padding-right: 1.5rem;
}

.answer-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.03));
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    border-right: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.answer-content p {
    margin: 0;
    color: #495057;
    line-height: 1.7;
}

.answer-date {
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Videos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.video-item {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.video-thumbnail {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 4rem;
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.2));
}

.video-info h6 {
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.video-info p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.breadcrumb-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

/* Stock Status */
.text-success {
    color: #28a745 !important;
    font-weight: 700;
}

.text-danger {
    color: #dc3545 !important;
    font-weight: 700;
}

/* Alert Styling */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(23, 162, 184, 0.05));
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Zoom Modal */
.zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: zoom-out;
}

.zoom-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.zoom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.zoom-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.zoom-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: 3px solid white;
    color: #fff;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.zoom-modal-close:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 35px rgba(102, 126, 234, 0.6);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .product-gallery {
        margin-bottom: 2rem;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .suppliers-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
}

/* دکمه ثابت پایین صفحه در موبایل */
@media (max-width: 768px) {
    /* مخفی کردن footer فقط در صفحه جزئیات محصول */
    body:has(.product-gallery) > footer {
        display: none !important;
    }
    
    /* margin پایین فقط برای تب‌ها و محتوای محصول */
    .product-tabs {
        margin-bottom: 100px !important;
    }
    
    /* دکمه اضافه به سبد ثابت پایین */
    .add-to-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.75rem 1rem;
        margin: 0 !important;
        border-radius: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        border-top: 2px solid #667eea;
    }
    
    .add-to-cart .row {
        margin: 0;
        align-items: center;
    }
    
    .add-to-cart .col-3,
    .add-to-cart .col-9 {
        padding: 0 0.35rem;
    }
    
    .add-to-cart input[type="number"] {
        font-size: 0.85rem;
        padding: 0.5rem;
        height: auto;
    }
    
    .add-to-cart .btn {
        font-size: 0.85rem;
        padding: 0.65rem 1rem;
        white-space: nowrap;
    }
    
    /* دکمه‌های اکشن اضافی (مقایسه، دلخواه، نمودار) */
    .action-buttons {
        margin-bottom: 1rem;
    }
    
    .action-buttons .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.65rem;
    }
}

@media (max-width: 768px) {
    .product-gallery {
        border-radius: 16px;
    }
    
    .main-image-container {
        height: 300px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-nav {
        width: 30px;
        height: 30px;
    }
    
    .image-counter {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .product-info h1 {
        font-size: 1.5rem;
    }
    
    .price-section {
        padding: 1.25rem;
    }
    
    .price-section h3 {
        font-size: 1.5rem;
    }
    
    .suppliers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .supplier-card {
        padding: 1.25rem;
    }
    
    .tab-content {
        padding: 1.25rem;
        border-radius: 16px;
    }
    
    .rating-summary {
        padding: 1.5rem;
    }
    
    .rating-score {
        font-size: 3rem;
    }
    
    .recommendation-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .recommendation-percentage {
        font-size: 2rem;
    }
    
    .review-card {
        flex: 0 0 280px;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-btn.prev-btn {
        right: -20px;
    }
    
    .scroll-btn.next-btn {
        left: -20px;
    }
}

@media (max-width: 576px) {
    .main-image-container {
        height: 250px;
        border-radius: 12px;
    }
    
    .thumbnail-container {
        padding: 15px;
    }
    
    .thumbnail-item {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }
    
    .thumbnail-nav {
        width: 28px;
        height: 28px;
    }
    
    .thumbnail-nav i {
        font-size: 12px;
    }
    
    .product-info h1 {
        font-size: 1.3rem;
    }
    
    .price-section h3 {
        font-size: 1.3rem;
    }
    
    .description {
        padding: 1.25rem;
    }
    
    .add-to-cart {
        padding: 1.25rem;
    }
    
    .action-buttons .btn {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .supplier-card {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .supplier-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .supplier-badge {
        align-self: flex-end;
    }
    
    .supplier-price .current-price {
        font-size: 1.3rem;
    }
    
    .rating-summary {
        padding: 1.25rem;
    }
    
    .overall-rating::after {
        display: none;
    }
    
    .rating-score {
        font-size: 2.5rem;
    }
    
    .recommendation-card {
        padding: 1.25rem;
    }
    
    .recommendation-icon {
        font-size: 2.5rem;
    }
    
    .recommendation-percentage {
        font-size: 1.75rem;
    }
    
    .recommendation-text {
        font-size: 0.95rem;
    }
    
    .review-card {
        flex: 0 0 260px;
        padding: 1.25rem;
    }
    
    .reviews-title {
        font-size: 1.25rem;
    }
    
    .scroll-indicators {
        display: none;
    }
    
    .tab-content {
        padding: 1rem;
    }
    
    .specifications-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.12);
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}
