:root {
    --orange: #FF6B00;
    --black: #000000;
    --blue: #0057FF;
    --white: #FFFFFF;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
}

.catalog-page {
    padding: 30px 0;
    background: var(--gray-light);
}

.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 20px;
    color: var(--black);
}

.breadcrumbs a {
    color: var(--orange);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: linear-gradient(135deg, var(--white) 0%, #f0f0f0 100%);
    border-radius: 15px;
    border-left: 5px solid var(--orange);
}

.catalog-title {
    color: var(--black);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.catalog-subtitle {
    color: var(--orange);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.catalog-principle {
    background: var(--orange);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    margin-top: 10px;
}

/* Фильтры */
.catalog-filters {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--orange);
}

.filter-title {
    color: var(--black);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title:before {
    content: "⚙️";
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--orange);
    background: transparent;
    color: var(--black);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}

/* Сетка каталога */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tech-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    opacity: 1;
    transform: translateY(0);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255,107,0,0.15);
    border-color: var(--orange);
}

.tech-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--orange);
}

.tech-content {
    padding: 20px;
}

.tech-category {
    background: var(--blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.tech-name {
    color: var(--black);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.tech-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tech-specs li {
    padding: 8px 0;
    border-bottom: 1px dashed #e9ecef;
    display: flex;
    justify-content: space-between;
}

.tech-specs li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--black);
    font-weight: 500;
}

.spec-value {
    color: var(--orange);
    font-weight: 600;
}

.tech-price {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d1 100%);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    border: 1px solid rgba(255,107,0,0.2);
}

.price-label {
    color: var(--black);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-value {
    color: var(--orange);
    font-size: 1.5rem;
    font-weight: 800;
}

.tech-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff8b33 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.tech-btn:hover {
    background: linear-gradient(135deg, #ff8b33 0%, var(--orange) 100%);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255,107,0,0.4);
}

/* Блок контактов */
.catalog-contacts {
    background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
    border-top: 5px solid var(--orange);
}

.contacts-title {
    color: var(--orange);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-text {
    flex: 1;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--orange);
}

.contact-note {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Дополнительные стили */
.full-assortment {
    background: linear-gradient(135deg, #0057FF 0%, #3a7dff 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
    border: 2px solid var(--orange);
}

.full-assortment h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .catalog-title {
        font-size: 2rem;
    }

    .filter-buttons {
        justify-content: center;
    }

    .catalog-contacts {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .catalog-title {
        font-size: 1.6rem;
    }

    .tech-card {
        margin: 0 10px;
    }
}

/* Блок с двумя кнопками */
.tech-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    justify-content: space-between;
}

/* Общий стиль для кнопок */
.tech-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Кнопка ПОЗВОНИТЬ (зеленая, как было) */
.tech-btn-call {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.tech-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

/* Кнопка TELEGRAM (синяя) */
.tech-btn-telegram {
    background: linear-gradient(135deg, #0088cc, #0077b5);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.tech-btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #0077b5, #0088cc);
}

/* Адаптив для мобильных устройств */
@media (max-width: 480px) {
    .tech-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .tech-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}

