.product-detail-main {
    background: #fff;
}

.product-detail-section {
    min-height: 60vh;
}

.breadcrumb-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-gallery-card,
.product-info-panel {
    background: #fff;
}

.product-gallery-card {
    border-radius: 1rem;
}

.product-info-panel {
    position: relative;
}

.product-header-block {
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 1rem;
}

.product-category-badge,
.product-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-category-badge {
    background: #e8f2ff;
    color: #0d6efd;
}

.product-status-badge {
    background: #ecfdf3;
    color: #16a34a;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    color: #1f2937;
}

.product-highlights-grid {
    margin-top: 0.25rem;
}

.highlight-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.95rem;
    background: #f8fafc;
    padding: 0.9rem 1rem;
    height: 100%;
}

.highlight-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.highlight-value {
    font-size: 0.98rem;
    font-weight: 800;
    color: #111827;
}

.product-quick-actions {
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.product-quick-actions .btn {
    border-radius: 0.9rem;
}

.product-description p,
#detailed-description,
#application-guidelines,
#product-documents,
#reviews-list {
    color: #334155;
    line-height: 1.8;
}

.product-meta {
    color: #475569;
}

.product-meta .text-muted,
.product-stock .text-muted {
    color: #64748b !important;
}

#product-main-images img,
#related-products .card-img-top {
    border-radius: 0.9rem;
}

#product-thumb-images .thumbnail-item {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    background: #fff;
}

#product-thumb-images .thumbnail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

#product-thumb-images .thumbnail-item.border-primary {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.product-tabs {
    border-bottom: 1px solid #e2e8f0;
}

.product-tabs .nav-link {
    border: 0;
    color: #475569;
    font-weight: 600;
    padding: 0.85rem 1rem;
}

.product-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom: 3px solid #0d6efd;
    background: transparent;
}

.product-tab-content {
    background: #fff;
    padding: 1.5rem 0 0;
}

.product-tab-content .tab-pane {
    color: #334155;
}

#technical-specs-table {
    margin-bottom: 0;
}

#technical-specs-table thead th {
    color: #0f172a;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

#technical-specs-table td,
#technical-specs-table th {
    vertical-align: middle;
}

.review-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}

.review-card-highlighted {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.review-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
}

.review-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: #e8f2ff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.review-author-block {
    flex: 1;
    min-width: 0;
}

.review-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.review-author-name {
    color: #0f172a;
    font-weight: 700;
    margin: 0;
}

.review-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.review-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.82rem;
    color: #64748b;
}

.review-source {
    font-weight: 600;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    padding: 0.14rem 0.5rem;
    border-radius: 999px;
    background: #ecfdf3;
    color: #15803d;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.review-verified i {
    font-size: 0.72rem;
}

.review-rating {
    display: flex;
    gap: 0.18rem;
    margin-bottom: 0.75rem;
}

.review-content {
    color: #334155;
    line-height: 1.75;
}

#related-products-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.related-product-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.related-product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.related-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 0.5rem 0 0 0.5rem;
}

.related-product-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-product-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e8f2ff;
    color: #0d6efd;
}

@media (max-width: 767.98px) {
    .related-product-image {
        height: 180px;
        border-radius: 0.5rem 0.5rem 0 0;
    }
}

.contact-cta {
    margin-top: 0;
}

.product-contact-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-cta h3 {
    font-weight: 700;
}

.contact-cta .btn {
    min-width: 160px;
}

.product-contact-cta .text-white-50 {
    color: rgba(255, 255, 255, 0.72) !important;
}

.product-contact-cta .btn {
    border-radius: 999px;
}

.product-contact-cta .btn:hover {
    transform: translateY(-1px);
}

.product-contact-cta .container {
    position: relative;
}

.product-contact-cta .container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 35%);
    pointer-events: none;
}

.product-contact-cta .row {
    position: relative;
    z-index: 1;
}

#error-state {
    background: #fff;
}

#review-form {
    border-radius: 1rem;
}

#review-form .form-control {
    border-radius: 0.75rem;
}

#review-form .btn {
    border-radius: 0.8rem;
    font-weight: 600;
}

.feedback-comments .card {
    border-radius: 1rem;
}

.feedback-ask-form {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.feedback-ask-form .form-control {
    border-radius: 0.75rem;
}

@media (max-width: 991.98px) {
    .product-title {
        font-size: 2rem;
    }

    .product-tab-content {
        padding-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-cta .text-lg-end {
        text-align: left !important;
        margin-top: 1rem;
    }

    .product-actions .card-body {
        padding: 1.25rem !important;
    }
}
