.services-hero {
    background: url('../images/background1.jpg') center/cover no-repeat;
    color: white;
    padding: 140px 0 70px;
    margin-top: 76px;
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.services-hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.promotion-banner {
    background: linear-gradient(45deg, #ff9b10, #f89c1c);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(248, 156, 28, 0.3);
}

.promotion-banner h3 {
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
}

.promotion-banner .promo-text {
    font-size: 20px;
    margin-bottom: 15px;
}

.promotion-banner .promo-deadline {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.filters-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.filter-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid #1b760a;
    background: white;
    color: #1b760a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background: #1b760a;
    color: white;
}

.filter-btn:hover {
    background: #1b760a;
    color: white;
    transform: translateY(-2px);
}

.categories-section {
    padding: 50px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-btn {
    background: #cfe5d9;
    color: #00695c;
    padding: 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-btn.active {
    background: #4caf50;
    color: white;
}

.category-btn:hover {
    background: #4caf50;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.services-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.table-header {
    background: #1b760a;
    color: white;
    padding: 20px;
}

.table-header .row > div {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.service-row {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.service-row:hover {
    background: #f8f9fa;
}

.service-row:last-child {
    border-bottom: none;
}

.service-name {
    font-size: 16px;
    font-weight: 600;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.service-description {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.service-price {
    font-size: 16px;
    font-weight: 600;
    color: #2e2e2e;
    text-align: center;
}

.service-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-consultation {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-consultation:hover {
    background: #1b5e20;
    color: white;
    transform: translateY(-2px);
}

.btn-add-service {
    background: #ff9b10;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-add-service:hover {
    background: #e68910;
    transform: translateY(-2px);
}

.search-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.pagination {
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    color: #1b760a;
    border: 1px solid #1b760a;
    border-radius: 8px;
    margin: 0 5px;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: #1b760a;
    border-color: #1b760a;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        text-align: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .table-header .row > div {
        font-size: 16px;
    }
    
    .service-actions {
        flex-direction: column;
    }
}
/* Стили для корзины */
.cart-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-button {
    background: #ff9b10;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 155, 16, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-button:hover {
    background: #e68910;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 155, 16, 0.6);
}

.cart-counter {
    background: #d32f2f;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.cart-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.cart-dropdown.show {
    display: block;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #2e2e2e;
}

.cart-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    color: #2e2e2e;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #666;
    font-size: 14px;
}

.cart-item-remove {
    background: #f44336;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: #d32f2f;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.cart-total {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

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

.btn-cart-consultation {
    flex: 1;
    background: #2e7d32;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart-consultation:hover {
    background: #1b5e20;
}

.btn-cart-clear {
    background: #666;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart-clear:hover {
    background: #444;
}

.cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .cart-dropdown {
        width: 280px;
        right: -20px;
    }
    
    .cart-widget {
        bottom: 80px;
        right: 10px;
    }
}