/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 02 2026 | 16:18:17 */
/* Характеристики в карточках проектов */
.project-card .project-card-specs .spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SVG-иконки: фиксированный размер без растягивания */
.project-card .project-card-specs .spec-item img.project-spec-icon {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
    box-shadow: none;
}
/* =========================================
   Новые стили для карточек проектов (SIP)
   ========================================= */
.projects-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .projects-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid-row {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--rt-primary-light2, #deede9);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: var(--rt-primary-color);
}

/* Изображение */
.project-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

/* Бейджи */
.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
    letter-spacing: 0.5px;
}

.project-badge.badge-new {
    background-color: #2ecc71;
}

.project-badge.badge-recommended {
    background-color: #9b59b6;
}

/* Контент */
.project-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-category {
    font-size: 11px;
    color: #878c9f;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #212121;
    margin: 0 0 20px 0;
    line-height: 1.3;
    min-height: 40px;
}

.project-card-title a {
    color: inherit;
    text-decoration: none;
}

.project-card-title a:hover {
    color: var(--rt-primary-color);
}

/* Характеристики */
.project-card-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.spec-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--rt-primary-color);
}

.spec-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.spec-item span {
    font-size: 14px;
    color: #212121;
    font-weight: 500;
}

/* Футер (Цена и Кнопка) */
.project-card-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.project-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card-price .old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.project-card-price .current-price {
    font-size: 18px;
    font-weight: 700;
    color: #00c194;
    line-height: 1.2;
}

.project-card-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--rt-primary-color, #00c194);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.project-card-btn:hover {
    background-color: var(--rt-primary-dark, #00a376);
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--rt-primary-rgb, 0, 193, 148), 0.3);
}

@media (max-width: 768px) {
    .project-card-specs {
        gap: 10px;
    }
    .spec-item span {
        font-size: 13px;
    }
    .project-card-title {
        min-height: auto;
        margin-bottom: 15px;
    }
}