.content .container {
    padding: 10px 40px !important;
}

/* ============================================
   MANUFACTURER PAGE - Enhanced Design
   ============================================ */

/* Manufacturer Page Header */
.manufacturer-page-header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.manufacturer-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.manufacturer-page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.manufacturer-page-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    animation: manufacturerIconRotate 20s linear infinite;
}

@keyframes manufacturerIconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.manufacturer-page-icon i {
    font-size: 32px;
    color: #fff;
}

.manufacturer-page-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    position: relative;
}

.manufacturer-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    position: relative;
}

/* Results Stats Bar */
.manufacturer-results-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.stats-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stats-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.stats-count i {
    color: var(--primary-bg, #667eea);
    font-size: 16px;
}

.stats-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-compare {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    color: #374151;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-compare:hover {
    border-color: var(--primary-bg, #667eea);
    color: var(--primary-bg, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

/* Manufacturer Controls */
.manufacturer-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.manufacturer-controls-left,
.manufacturer-controls-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-toggle {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.view-btn:hover {
    color: #374151;
    background: #e2e8f0;
}

.view-btn.active {
    background: var(--primary-bg, #667eea);
    color: #fff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.control-label i {
    font-size: 12px;
}

.control-select-wrapper {
    position: relative;
}

.control-select {
    padding: 10px 36px 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.control-select:hover {
    border-color: #cbd5e1;
}

.control-select:focus {
    outline: none;
    border-color: var(--primary-bg, #667eea);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.control-select-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 10px;
    pointer-events: none;
}

/* Product Grid */
.manufacturer-product-grid {
    margin-bottom: 30px;
}

/* Pagination */
.manufacturer-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.pagination-wrapper .pagination {
    margin: 0;
    gap: 6px;
}

.pagination-wrapper .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pagination-wrapper .page-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.pagination-wrapper .page-item.active .page-link {
    background: var(--primary-bg, #667eea);
    border-color: var(--primary-bg, #667eea);
    color: #fff;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.pagination-wrapper .page-item.disabled .page-link {
    background: #f8fafc;
    color: #94a3b8;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* No Results State */
.manufacturer-no-results {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    margin: 30px 0;
}

.no-results-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.no-results-icon i {
    font-size: 48px;
    color: #ef4444;
}

.no-results-x {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
}

.no-results-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.no-results-message {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-suggestions {
    text-align: left;
    max-width: 350px;
    margin: 0 auto 30px;
    padding: 20px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.no-results-suggestions h4 {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-results-suggestions h4::before {
    content: '💡';
    font-size: 16px;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions li {
    font-size: 13px;
    color: #64748b;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
}

.no-results-suggestions li:last-child {
    border-bottom: none;
}

.no-results-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-bg, #667eea);
    font-weight: 600;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-back-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* ============================================
   MANUFACTURER LIST PAGE - Enhanced Design
   ============================================ */

/* Manufacturer List Header */
.manufacturer-list-header {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.manufacturer-list-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.manufacturer-list-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.manufacturer-list-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(102, 126, 234, 0.3);
    animation: manufacturerIconRotate 20s linear infinite;
}

.manufacturer-list-icon i {
    font-size: 32px;
    color: #fff;
}

.manufacturer-list-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
    position: relative;
}

.manufacturer-list-subtitle {
    font-size: 16px;
    color: #64748b;
    margin: 0;
    position: relative;
}

.manufacturer-count {
    color: var(--primary-bg, #1a1a2e);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 4px 12px;
    border-radius: 20px;
}

/* Manufacturers Grid */
.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.manufacturer-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.manufacturer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.manufacturer-card:hover {
    border-color: var(--primary-bg, #667eea);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.manufacturer-card:hover::before {
    transform: scaleY(1);
}

.manufacturer-card-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.manufacturer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.manufacturer-card-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.manufacturer-card-icon i {
    font-size: 32px;
    color: var(--primary-bg, #667eea);
}

.manufacturer-card-content {
    flex: 1;
    min-width: 0;
}

.manufacturer-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.manufacturer-card:hover .manufacturer-card-name {
    color: var(--primary-bg, #667eea);
}

.manufacturer-card-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.manufacturer-card-count i {
    font-size: 12px;
    color: var(--primary-bg, #667eea);
}

.manufacturer-card-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
}

.manufacturer-card:hover .manufacturer-card-arrow {
    background: linear-gradient(135deg, var(--primary-bg, #1a1a2e) 0%, var(--header-bg, #16213e) 100%);
    color: #fff;
    transform: translateX(4px);
}

.manufacturer-card-arrow i {
    font-size: 14px;
}

/* Manufacturer List Pagination */
.manufacturer-list-pagination {
    padding: 20px 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    margin-top: 30px;
}

/* Manufacturer List No Results */
.manufacturer-list-no-results {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 24px;
    margin: 30px 0;
}

/* Responsive Manufacturer Page */
@media (max-width: 768px) {
    .manufacturer-list-header {
        padding: 30px 16px 24px;
        margin-bottom: 20px;
    }
    
    .manufacturer-list-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .manufacturer-list-icon i {
        font-size: 24px;
    }
    
    .manufacturer-list-title {
        font-size: 22px;
    }
    
    .manufacturer-list-subtitle {
        font-size: 14px;
    }

    .manufacturers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .manufacturer-card {
        padding: 16px;
    }

    .manufacturer-card-image,
    .manufacturer-card-icon {
        width: 60px;
        height: 60px;
    }

    .manufacturer-card-icon i {
        font-size: 24px;
    }

    .manufacturer-card-name {
        font-size: 16px;
    }

    .manufacturer-card-count {
        font-size: 12px;
    }

    .manufacturer-list-pagination {
        padding: 16px;
    }

    .manufacturer-list-no-results {
        padding: 40px 20px;
    }
    .manufacturer-page-header {
        padding: 30px 16px 24px;
        margin-bottom: 20px;
    }
    
    .manufacturer-page-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }
    
    .manufacturer-page-icon i {
        font-size: 24px;
    }
    
    .manufacturer-page-title {
        font-size: 22px;
    }
    
    .manufacturer-description {
        font-size: 14px;
    }
    
    .manufacturer-results-stats {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .manufacturer-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
    }
    
    .manufacturer-controls-left,
    .manufacturer-controls-right {
        justify-content: space-between;
    }
    
    .control-group {
        flex: 1;
    }
    
    .control-select {
        width: 100%;
        min-width: auto;
    }
    
    .manufacturer-pagination {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
    }
    
    .pagination-wrapper {
        order: 1;
    }
    
    .pagination-info {
        order: 2;
    }
    
    .manufacturer-no-results {
        padding: 40px 20px;
    }
    
    .no-results-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }
    
    .no-results-icon i {
        font-size: 40px;
    }
    
    .no-results-title {
        font-size: 20px;
    }
    
    .no-results-message {
        font-size: 14px;
    }
}
