/* ============================================
   ALIBABA-STYLE PRODUCT DETAIL PAGE
   Modern E-commerce Design
   ============================================ */

.product-detail-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 20px 0;
}

.product-detail-page .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.product-detail-page .breadcrumb-item a {
    color: #1677FF;
    text-decoration: none;
}

.product-detail-page .breadcrumb-item.active {
    color: #666;
}

.product-main {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Image Gallery */
.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    cursor: zoom-in;
}

.main-image-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF4D4F;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    background: #f8f9fa;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #1677FF;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info-main {
    padding-left: 20px;
}

.product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-sku {
    color: #666;
    font-size: 0.85rem;
}

.product-rating-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1677FF;
    text-decoration: none;
    font-size: 0.9rem;
}

.product-rating-link:hover {
    text-decoration: underline;
}

.product-rating-link .stars {
    color: #FFC107;
}

/* Price Section */
.price-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5E1 100%);
    border: 1px solid #FFE59A;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #FF4D4F;
}

.old-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #FF4D4F;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-note {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.promo-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.promo-tag {
    background: #FFF0F0;
    color: #FF4D4F;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* MOQ & Stock */
.stock-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stock-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-item i {
    color: #1677FF;
    font-size: 1.1rem;
}

.stock-item .label {
    color: #666;
    font-size: 0.85rem;
}

.stock-item .value {
    font-weight: 600;
    color: #333;
}

.stock-item.in-stock .value {
    color: #52c41a;
}

/* Quantity Selector */
.quantity-section {
    margin-bottom: 20px;
}

.quantity-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #d9d9d9;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-selector button:hover {
    background: #e5e5e5;
}

.quantity-selector input {
    width: 80px;
    height: 40px;
    border: none;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.quantity-selector input:focus {
    outline: none;
}

.moq-note {
    color: #666;
    font-size: 0.85rem;
}

.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1677FF;
    margin-top: 15px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1677FF 0%, #0052CC 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-whatsapp-order {
    padding: 14px 25px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-order:hover {
    background: #128C7E;
    color: white;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #333;
}

.trust-badge i {
    color: #1677FF;
    font-size: 1.1rem;
}

/* Supplier Card */
.supplier-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.supplier-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.supplier-logo {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supplier-logo i {
    font-size: 1.8rem;
    color: #1677FF;
}

.supplier-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.supplier-info h4 .verified {
    color: #1677FF;
}

.supplier-info p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.supplier-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.supplier-stat {
    text-align: center;
    flex: 1;
}

.supplier-stat .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.supplier-stat .label {
    font-size: 0.75rem;
    color: #666;
}

.supplier-actions {
    display: flex;
    gap: 10px;
}

.supplier-actions button,
.supplier-actions a {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-visit-store {
    background: #f0f7ff;
    color: #1677FF;
    border: 1px solid #1677FF;
}

.btn-visit-store:hover {
    background: #1677FF;
    color: white;
}

.btn-chat-supplier {
    background: #f0f7ff;
    color: #1677FF;
    border: 1px solid #1677FF;
}

.btn-chat-supplier:hover {
    background: #1677FF;
    color: white;
}

/* Product Tabs */
.product-tabs-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.product-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    background: #fafafa;
}

.product-tabs .tab-btn {
    padding: 15px 25px;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.product-tabs .tab-btn:hover {
    color: #333;
}

.product-tabs .tab-btn.active {
    color: #1677FF;
    background: white;
}

.product-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1677FF;
}

.tab-content {
    padding: 25px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Description Tab */
.product-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333;
}

.product-description h3,
.product-description h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description ul {
    padding-left: 20px;
}

.product-description li {
    margin-bottom: 8px;
}

/* Specifications Tab */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr:nth-child(odd) {
    background: #fafafa;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.specs-table th {
    width: 200px;
    font-weight: 500;
    color: #666;
}

/* Reviews Tab */
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 25px;
}

.reviews-score {
    text-align: center;
}

.reviews-score .score {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFC107;
}

.reviews-score .total {
    font-size: 0.9rem;
    color: #666;
}

.reviews-bars {
    flex: 1;
}

.review-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.review-bar .stars {
    width: 80px;
    font-size: 0.85rem;
    color: #FFC107;
}

.review-bar .bar {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.review-bar .bar-fill {
    height: 100%;
    background: #FFC107;
}

.review-bar .count {
    width: 40px;
    text-align: right;
    font-size: 0.85rem;
    color: #666;
}

.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1677FF 0%, #0052CC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.reviewer-info .name {
    font-weight: 600;
    color: #333;
}

.reviewer-info .date {
    font-size: 0.8rem;
    color: #999;
}

.review-rating {
    color: #FFC107;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

/* Related Products */
.related-products-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.related-products-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-products-section h3 i {
    color: #1677FF;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

.mobile-sticky-bar .sticky-content {
    display: flex;
    gap: 10px;
}

.mobile-sticky-bar .sticky-price {
    flex: 1;
}

.mobile-sticky-bar .sticky-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF4D4F;
}

.mobile-sticky-bar .sticky-price .moq {
    font-size: 0.8rem;
    color: #666;
}

.mobile-sticky-bar .sticky-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-sticky-bar .btn-cart {
    background: #1677FF;
    color: white;
}

.mobile-sticky-bar .btn-whatsapp {
    background: #25D366;
    color: white;
}

/* Responsive */
@media (max-width: 991px) {
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .product-info-main {
        padding-left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 10px 0 100px 0;
    }
    
    .product-main {
        padding: 15px;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-add-to-cart,
    .btn-whatsapp-order {
        width: 100%;
    }
    
    .product-tabs {
        overflow-x: auto;
    }
    
    .product-tabs .tab-btn {
        padding: 12px 15px;
        white-space: nowrap;
    }
    
    .mobile-sticky-bar {
        display: block;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
    }
    
    .supplier-stats {
        flex-wrap: wrap;
    }
    
    .supplier-actions {
        flex-direction: column;
    }
    
    .reviews-summary {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   MODERN PRODUCT DETAIL PAGE STYLES v2
   ============================================ */

.breadcrumb-modern { padding: 12px 0; margin-bottom: 24px; }
.breadcrumb-modern .breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; background: transparent; list-style: none; font-size: 0.9rem; }
.breadcrumb-modern .breadcrumb-item { display: flex; align-items: center; gap: 8px; }
.breadcrumb-modern .breadcrumb-item a { color: #666; text-decoration: none; transition: color 0.2s; }
.breadcrumb-modern .breadcrumb-item a:hover { color: #1677FF; }
.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before { content: "/"; color: #ccc; }
.breadcrumb-modern .breadcrumb-item.active { color: #333; font-weight: 500; }

.product-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 24px; }
.product-gallery-section { position: sticky; top: 20px; }

.gallery-main { position: relative; background: #fff; border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.gallery-badge { position: absolute; top: 16px; left: 16px; background: #ff4757; color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; z-index: 10; }
.gallery-main-image { position: relative; background: #f8f9fa; display: flex; align-items: center; justify-content: center; cursor: pointer; min-height: 400px; }
.gallery-main-image img { max-width: 100%; max-height: 450px; object-fit: contain; transition: transform 0.3s ease; }
.gallery-main-image:hover img { transform: scale(1.05); }
.gallery-zoom-hint { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.6); color: #fff; padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; display: flex; align-items: center; gap: 6px; }

.gallery-thumbnails { display: flex; gap: 10px; padding: 12px; background: #fff; border-radius: 12px; overflow-x: auto; }
.gallery-thumbnails .thumb { flex-shrink: 0; width: 70px; height: 70px; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; transition: all 0.2s; background: none; padding: 0; }
.gallery-thumbnails .thumb:hover, .gallery-thumbnails .thumb.active { border-color: #1677FF; }
.gallery-thumbnails .thumb img { width: 100%; height: 100%; object-fit: cover; }

.gallery-actions { display: flex; gap: 12px; margin-top: 12px; }
.gallery-action-btn { flex: 1; padding: 10px 16px; background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.9rem; color: #333; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.gallery-action-btn:hover { border-color: #1677FF; color: #1677FF; }

.product-info-section { background: #fff; border-radius: 12px; padding: 28px; }
.product-header { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.product-title { font-size: 1.5rem; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.product-meta { font-size: 0.85rem; color: #666; }
.product-meta .sku { color: #888; }
.product-meta a { color: #1677FF; text-decoration: none; }

.product-rating-section { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.rating-stars { display: flex; gap: 2px; }
.rating-stars i { color: #ffc107; font-size: 1rem; }
.rating-link { color: #1677FF; text-decoration: none; font-size: 0.9rem; }
.rating-link:hover { text-decoration: underline; }

.price-section-modern { margin-bottom: 20px; }
.price-current { font-size: 2rem; font-weight: 700; color: #1677FF; margin-bottom: 4px; }
.price-original { display: inline-block; font-size: 1.1rem; color: #999; text-decoration: line-through; margin-right: 8px; }
.price-discount { display: inline-block; background: #ff4757; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.price-unit { font-size: 0.85rem; color: #666; margin-top: 4px; }

.promo-section { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.promo-item { display: flex; align-items: center; gap: 6px; background: #fff3cd; color: #856404; padding: 6px 12px; border-radius: 6px; font-size: 0.8rem; }

.stock-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.stock-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font-weight: 500; margin-bottom: 8px; }
.stock-status.in-stock { background: #d4edda; color: #155724; }
.stock-status.out-stock { background: #f8d7da; color: #721c24; }
.stock-count { font-size: 0.85rem; color: #666; }

.quantity-section-modern { margin-bottom: 16px; }
.quantity-section-modern label { display: block; font-weight: 500; margin-bottom: 10px; color: #333; }
.quantity-selector-modern { display: inline-flex; align-items: center; border: 2px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.quantity-selector-modern .qty-btn { width: 44px; height: 44px; border: none; background: #f8f9fa; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #333; transition: all 0.2s; }
.quantity-selector-modern .qty-btn:hover { background: #1677FF; color: #fff; }
.quantity-selector-modern input { width: 80px; height: 44px; border: none; text-align: center; font-size: 1rem; font-weight: 600; color: #333; }
.quantity-selector-modern input:focus { outline: none; }
.moq-note { display: block; font-size: 0.8rem; color: #666; margin-top: 8px; }

.total-calculation { display: flex; align-items: baseline; gap: 8px; margin-bottom: 20px; padding: 16px; background: #f8f9fa; border-radius: 8px; }
.total-calculation .label { font-size: 0.9rem; color: #666; }
.total-calculation .total-amount { font-size: 1.5rem; font-weight: 700; color: #1677FF; }

.action-buttons-modern { display: flex; gap: 12px; margin-bottom: 24px; }
.btn-add-cart-modern { flex: 1; padding: 14px 24px; background: linear-gradient(135deg, #1677FF, #0052CC); color: #fff; border: none; border-radius: 10px; font-weight: 600; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; box-shadow: 0 4px 14px rgba(0,102,255,0.3); }
.btn-add-cart-modern:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,102,255,0.4); }
.btn-whatsapp-modern { padding: 14px 24px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; border: none; border-radius: 10px; font-weight: 600; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
.btn-whatsapp-modern:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

.trust-badges-modern { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px solid #eee; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #666; }
.trust-item i { color: #1677FF; }

.supplier-card-modern { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.supplier-main { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.supplier-logo { width: 60px; height: 60px; border-radius: 10px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.supplier-logo img { width: 100%; height: 100%; object-fit: cover; }
.supplier-logo i { font-size: 1.5rem; color: #666; }
.supplier-details h4 { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.supplier-details h4 .verified { color: #1677FF; }
.supplier-details p { font-size: 0.85rem; color: #666; margin: 0; }
.supplier-stats-modern { display: flex; gap: 20px; margin-bottom: 20px; padding: 16px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.stat-box { text-align: center; flex: 1; }
.stat-box .value { display: block; font-size: 1.25rem; font-weight: 700; color: #333; }
.stat-box .label { font-size: 0.75rem; color: #666; }
.supplier-actions-modern { display: flex; gap: 12px; }
.btn-supplier { flex: 1; padding: 12px 20px; background: #1677FF; color: #fff; border: none; border-radius: 8px; font-weight: 500; text-decoration: none; text-align: center; transition: all 0.2s; }
.btn-supplier:hover { background: #0052CC; }
.btn-supplier-outline { flex: 1; padding: 12px 20px; background: #fff; color: #1677FF; border: 2px solid #1677FF; border-radius: 8px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-supplier-outline:hover { background: #1677FF; color: #fff; }

.product-tabs-section { background: #fff; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.tabs-nav { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid #f0f0f0; padding-bottom: 0; }
.tab-btn-modern { padding: 14px 24px; background: none; border: none; font-size: 1rem; font-weight: 500; color: #666; cursor: pointer; position: relative; transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.tab-btn-modern::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: #1677FF; transform: scaleX(0); transition: transform 0.2s; }
.tab-btn-modern:hover { color: #333; }
.tab-btn-modern.active { color: #1677FF; }
.tab-btn-modern.active::after { transform: scaleX(1); }
.tabs-content { min-height: 300px; }
.tab-pane-modern { display: none; animation: fadeIn 0.3s ease; }
.tab-pane-modern.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.description-content { line-height: 1.8; color: #444; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.spec-item { display: flex; justify-content: space-between; padding: 12px 16px; background: #f8f9fa; border-radius: 8px; }
.spec-label { font-weight: 500; color: #666; }
.spec-value { color: #333; }
.no-data { text-align: center; color: #999; padding: 40px; }

.reviews-summary { display: flex; align-items: center; gap: 30px; padding: 20px; background: #f8f9fa; border-radius: 12px; margin-bottom: 24px; }
.rating-overview { text-align: center; }
.rating-big { font-size: 2.5rem; font-weight: 700; color: #333; }
.rating-stars-big { display: flex; gap: 4px; justify-content: center; margin: 8px 0; }
.rating-stars-big i { color: #ffc107; font-size: 1.2rem; }
.rating-count { color: #666; font-size: 0.9rem; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-card { padding: 20px; background: #f8f9fa; border-radius: 12px; }
.review-header-modern { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1677FF, #0052CC); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1rem; }
.reviewer-info { flex: 1; }
.reviewer-info .name { display: block; font-weight: 600; color: #333; }
.reviewer-info .date { font-size: 0.8rem; color: #888; }
.review-rating-modern { display: flex; gap: 2px; }
.review-rating-modern i { color: #ffc107; font-size: 0.9rem; }
.review-body { color: #444; line-height: 1.6; margin-bottom: 12px; }
.review-actions { display: flex; gap: 12px; }
.helpful-btn { padding: 6px 12px; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 0.8rem; color: #666; cursor: pointer; transition: all 0.2s; }
.helpful-btn:hover { border-color: #1677FF; color: #1677FF; }
.no-reviews { text-align: center; padding: 60px 20px; color: #999; }
.no-reviews i { font-size: 3rem; margin-bottom: 16px; }

/* Review Form Styles */
.review-form-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid #e0e0e0;
}

.review-form-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.star-rating-input {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.star-rating-input i {
    font-size: 1.8rem;
    color: #ddd;
    transition: all 0.2s;
}

.star-rating-input i:hover,
.star-rating-input i.text-warning {
    color: #ffc107;
}

.login-to-review {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
}

.login-to-review a {
    color: #1677FF;
    font-weight: 600;
}

.login-to-review a:hover {
    text-decoration: underline;
}

/* Mobile responsive for reviews */
@media (max-width: 768px) {
    .review-header-modern {
        flex-wrap: wrap;
    }
    .reviewer-info {
        order: 3;
        width: 100%;
        margin-top: 8px;
    }
    .review-form-card {
        padding: 16px;
    }
    .star-rating-input i {
        font-size: 1.5rem;
    }
}

.related-products-section h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.related-products-section h3 i { color: #1677FF; }
.related-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card-modern { background: #fff; border-radius: 12px; overflow: hidden; transition: all 0.3s; }
.product-card-modern:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.product-card-modern .card-img { position: relative; background: #f8f9fa; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-card-modern .card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card-modern .card-badge { position: absolute; top: 10px; left: 10px; background: #ff4757; color: #fff; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.product-card-modern .quick-view-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.product-card-modern:hover .quick-view-btn { opacity: 1; }
.product-card-modern .quick-view-btn:hover { background: #1677FF; color: #fff; }
.product-card-modern .card-body { padding: 16px; }
.product-card-modern .card-body h4 { font-size: 0.95rem; font-weight: 600; color: #333; margin-bottom: 8px; line-height: 1.4; }
.product-card-modern .card-body h4 a { color: inherit; text-decoration: none; }
.product-card-modern .card-price { font-size: 1.1rem; font-weight: 700; color: #1677FF; margin-bottom: 4px; }
.product-card-modern .card-moq { font-size: 0.75rem; color: #666; margin-bottom: 12px; }
.product-card-modern .btn-add-cart-card { width: 100%; padding: 10px; background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 0.85rem; color: #333; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; }
.product-card-modern .btn-add-cart-card:hover { background: #1677FF; border-color: #1677FF; color: #fff; }

.lightbox-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.lightbox-modal.active { display: flex; opacity: 1; }
.lightbox-modal img { max-width: 90%; max-height: 90%; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); border: none; width: 50px; height: 50px; border-radius: 50%; color: #fff; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

@media (max-width: 991px) {
    .product-main-grid { grid-template-columns: 1fr; }
    .product-gallery-section { position: relative; }
    .gallery-main-image { min-height: 300px; }
    .related-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .product-detail-page { padding: 12px 0; }
    .breadcrumb-modern { font-size: 0.75rem; margin-bottom: 12px; }
    .product-info-section { padding: 16px; }
    .product-title { font-size: 1.15rem; }
    .price-current { font-size: 1.4rem; }
    .action-buttons-modern { flex-direction: column; gap: 10px; }
    .btn-add-cart-modern, .btn-whatsapp-modern { width: 100%; justify-content: center; }
    .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 5px; }
    .tab-btn-modern { white-space: nowrap; padding: 10px 14px; font-size: 0.85rem; }
    .related-products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .product-card-modern .card-body { padding: 10px; }
    .supplier-stats-modern { flex-wrap: wrap; gap: 8px; }
    .supplier-actions-modern { flex-direction: column; gap: 8px; }
    .supplier-card-modern { padding: 16px; }
    .supplier-main { flex-direction: column; align-items: flex-start; gap: 12px; }
    .trust-badges-modern { flex-wrap: wrap; gap: 8px; }
    .trust-item { font-size: 0.75rem; }
    .gallery-main-image { min-height: 220px; }
    .gallery-thumbnails { gap: 6px; }
    .gallery-thumbnails .thumb { width: 50px; height: 50px; }
    .mobile-sticky-bar {
        display: flex;
        padding: 12px 16px;
    }
    
    .mobile-sticky-bar .sticky-price .price {
        font-size: 1.1rem;
    }
    
    .mobile-sticky-bar .sticky-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}
