.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '>';
}

.breadcrumb-wrap {
    background: #fff;
    padding: 0.75rem 0 0.5rem;
}

.products-hero {
    background: linear-gradient(180deg, #f7f9fb 0%, #eef3f8 100%);
    padding: 2.75rem 0 3.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.products-hero-title {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.products-hero-subtitle {
    font-size: 1.05rem;
    color: #6b7280;
    margin-bottom: 0;
}

.products-page-main {
    background: #fff;
}

.sidebar-panel {
    position: sticky;
    top: 96px;
}

.sidebar-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    border: 1px solid #e8edf4;
}

.sidebar-section + .sidebar-section {
    margin-top: 1rem;
}

.sidebar-section-nav {
    border: 1px solid #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 10px 26px rgba(13, 110, 253, 0.06);
}

.sidebar-section-nav .sidebar-heading {
    background: linear-gradient(135deg, #0b5ed7 0%, #0d6efd 45%, #1d4ed8 100%);
}

.sidebar-nav-intro {
    border-bottom: 1px solid #eaf0f8;
}

.sidebar-nav-text {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    font-weight: 500;
}

.sidebar-section-featured {
    position: relative;
    border: 1px solid rgba(13, 110, 253, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.08);
}

.sidebar-section-featured::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #0d6efd 0%, #16a34a 100%);
}

.sidebar-heading {
    display: flex;
    align-items: center;
    padding: 0.95rem 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd 0%, #16a34a 100%);
}

.sidebar-list .list-group-item {
    border: 0;
    border-top: 1px solid #eef2f7;
    padding: 0.9rem 1rem;
    color: #374151;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sidebar-list .list-group-item:hover,
.sidebar-list .list-group-item.active {
    background: #f0f7ff;
    color: #0d6efd;
}

.sidebar-featured-body {
    position: relative;
}

.sidebar-featured-text {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
}

.sidebar-feature-list {
    padding-left: 0;
}

.sidebar-feature-list .small {
    color: #334155;
    font-weight: 500;
}

.sidebar-feature-list .fa-lightbulb,
.sidebar-feature-list .fa-chart-line,
.sidebar-feature-list .fa-comments,
.sidebar-feature-list .fa-circle-check {
    color: #0d6efd;
}

.sidebar-featured-body .btn {
    border-radius: 10px;
    font-weight: 700;
}

.sidebar-featured-body .btn-primary {
    box-shadow: 0 10px 18px rgba(13, 110, 253, 0.16);
}

.products-header {
    margin-bottom: 1.25rem;
}

.products-list-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0;
}

.enhanced-loading {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.enhanced-spinner {
    width: 3rem;
    height: 3rem;
}

.enhanced-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 14px;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.enhanced-empty-icon {
    font-size: 60px;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.enhanced-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.enhanced-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enhanced-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

.enhanced-product-image-container {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f8fafc;
}

.enhanced-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.enhanced-product-card:hover .enhanced-product-image {
    transform: scale(1.04);
}

.enhanced-product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.enhanced-product-info {
    padding: 1rem 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.enhanced-product-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.enhanced-product-category {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    background: #e8f2ff;
    color: #0d6efd;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.enhanced-product-description {
    color: #4b5563;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.9rem;
    flex: 1;
}

.enhanced-product-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 0.95rem;
    background: #fafafa;
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid #eceff3;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
}

.spec-label {
    color: #6b7280;
    font-weight: 600;
}

.spec-value {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.enhanced-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-top: 0.85rem;
    border-top: 1px solid #eef2f7;
}

.enhanced-product-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #f97316;
    line-height: 1.2;
}

.enhanced-product-stock {
    font-size: 0.78rem;
    font-weight: 600;
}

.in-stock { color: #16a34a; }
.low-stock { color: #d97706; }
.out-of-stock { color: #dc2626; }

.enhanced-product-actions {
    display: flex;
    gap: 10px;
    margin-top: 0.95rem;
}

.enhanced-btn-view,
.enhanced-btn-quote {
    flex: 1;
    min-height: 42px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.enhanced-btn-view {
    background: linear-gradient(135deg, #0d6efd 0%, #16a34a 100%);
    color: #fff;
    border: 0;
}

.enhanced-btn-quote {
    background: #fff;
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

.enhanced-btn-view:hover,
.enhanced-btn-quote:hover {
    transform: translateY(-1px);
}

.enhanced-btn-view:hover {
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.20);
}

.enhanced-btn-quote:hover {
    background: #0d6efd;
    color: #fff;
}

@media (max-width: 1199.98px) {
    .enhanced-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .sidebar-panel {
        position: static;
        margin-bottom: 1rem;
    }

    .enhanced-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .products-hero {
        padding: 2rem 0 2.25rem;
    }

    .enhanced-product-specs-grid {
        grid-template-columns: 1fr;
    }

    .enhanced-product-actions {
        flex-direction: column;
    }
}
