
/* ============================================
   Dark Mode Support for Clean Product Info Section
   ============================================ */
[data-theme="dark"] .brand-corner-link {
    color: #8ab4f8;
}

[data-theme="dark"] .brand-corner-link:hover {
    color: #aecbfa;
}

[data-theme="dark"] .product-main-title-clean {
    color: #e8eaed;
}

[data-theme="dark"] .rating-number {
    color: #e8eaed;
}

[data-theme="dark"] .reviews-count-link {
    color: #8ab4f8;
}

[data-theme="dark"] .reviews-count-link:hover {
    color: #aecbfa;
}

[data-theme="dark"] .reviews-count-text {
    color: #9aa0a6;
}

[data-theme="dark"] .info-label {
    color: #9aa0a6;
}

[data-theme="dark"] .brand-link {
    color: #8ab4f8;
}

[data-theme="dark"] .brand-link:hover {
    color: #aecbfa;
}

[data-theme="dark"] .brand-text,
[data-theme="dark"] .model-text {
    color: #e8eaed;
}

[data-theme="dark"] .info-separator {
    color: #5f6368;
}

[data-theme="dark"] .current-price-clean {
    color: #f28b82;
}

[data-theme="dark"] .original-price-clean {
    color: #9aa0a6;
}

[data-theme="dark"] .price-striked {
    color: #9aa0a6;
}

[data-theme="dark"] .stock-icon-success {
    color: #81c995;
}

[data-theme="dark"] .stock-text-success {
    color: #81c995;
}

[data-theme="dark"] .stock-icon-danger {
    color: #f28b82;
}

[data-theme="dark"] .stock-text-danger {
    color: #f28b82;
}

/* ============================================
   Responsive Styles for Clean Product Info
   ============================================ */
@media (max-width: 768px) {
    .product-header-section {
        margin-bottom: 6px;
    }
    
    .brand-corner-link {
        font-size: 12px;
    }
    
    .product-main-title-clean {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .product-rating-section {
        margin-bottom: 10px;
    }
    
    .rating-star-filled,
    .rating-star-empty {
        font-size: 12px;
    }
    
    .rating-number {
        font-size: 12px;
    }
    
    .reviews-count-link,
    .reviews-count-text {
        font-size: 12px;
    }
    
    .product-brand-info,
    .product-model-info {
        font-size: 12px;
        margin-bottom: 14px;
    }
    
    .current-price-clean {
        font-size: 24px;
    }
    
    .discount-badge-clean {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .original-price-clean {
        font-size: 12px;
    }
    
    .stock-status-clean {
        font-size: 12px;
    }
    
    .stock-icon-success,
    .stock-icon-danger {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .brand-corner-link {
        font-size: 11px;
    }
    
    .product-main-title-clean {
        font-size: 16px;
    }
    
    .current-price-clean {
        font-size: 22px;
    }
    
    .price-display-row {
        gap: 8px;
    }
}

/* RTL Support */
[dir="rtl"] .product-header-section {
    justify-content: flex-start;
}


[dir="rtl"] .product-brand-corner {
    text-align: left;
}

/* ============================================
   Product Features Table Styling (Light/Dark)
   ============================================ */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.specs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
    color: #334155;
    vertical-align: middle;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    width: 30%;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.spec-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a365d;
    font-size: 16px;
    border-bottom: 2px solid #f1f5f9;
}

/* Dark Mode Support for Features Table */
[data-theme="dark"] .specs-table {
    border-color: #374151;
}

[data-theme="dark"] .specs-table td {
    background: #1f2937;
    border-bottom-color: #374151;
    color: #d1d5db;
}

[data-theme="dark"] .specs-table td:first-child {
    background: #111827;
    color: #9ca3af;
    border-right-color: #374151;
}

[data-theme="dark"] .spec-category-header {
    color: #f3f4f6;
    border-bottom-color: #374151;
}

[data-theme="dark"] .section-title {
    color: #f3f4f6;
}

[data-theme="dark"] .overview-section .rich-editor-html-content {
    color: #d1d5db;
}


[data-theme="dark"] .overview-section .alert-info {
    background: #1f2937;
    border-color: #374151;
    color: #9ca3af;
}

/* ============================================
   Sidebar Reviews Styling
   ============================================ */
.sidebar-review-card {
    transition: all 0.3s ease;
}

.sidebar-review-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

[data-theme="dark"] .sidebar-review-card {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
}

[data-theme="dark"] .sidebar-review-card .reviewer-info h6 {
    color: #f3f4f6 !important;
}

[data-theme="dark"] .sidebar-review-card .text-muted {
    color: #9ca3af !important;
}

[data-theme="dark"] .sidebar-reviews-section h6 {
    color: #e5e7eb !important;
}
