/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 13 2026 | 18:42:50 */
:root {
    --project-accent: #88ab27;
    --project-accent-dark: #5a7319;
    --project-border: #a67c52;
    --project-bg: #f9f8f6;
    --project-section-bg: #e8eaeb;
    --project-inactive: #8c9296;
    --project-text: #2c2e2f;
}

/* Сетка карточек */
.projects-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    background: var(--project-section-bg);
}

@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: var(--project-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(140,146,150,0.09);
    transition: all 0.3s ease;
    border: 1px solid var(--project-border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(136,171,39,0.12);
    transform: translateY(-5px);
    border-color: var(--project-accent);
}

/* Изображение */
.project-card-image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--project-section-bg);
}

.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: var(--project-accent);
}
.project-badge.badge-recommended {
    background-color: var(--project-accent-dark);
}

/* Контент */
.project-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-category {
    font-size: 11px;
    color: var(--project-inactive);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--project-text);
    margin: 0 0 20px 0;
    line-height: 1.3;
    min-height: 40px;
}

.project-card-title a {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: inherit;
    text-decoration: none;
}

.project-card-title a:hover {
    color: var(--project-accent);
}

/* Характеристики в карточках */
.project-card-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--project-border);
    gap: 10px;
}

.project-card .project-card-specs .spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.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(--project-accent);
}
.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: var(--project-text);
    font-weight: 500;
}

/* 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;
}

/* Футер (Цена и Кнопка) */
.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: #8c9296;
    text-decoration: line-through;
    margin-bottom: 2px;
}

.project-card-price .current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--project-accent);
    line-height: 1.2;
}

.project-card-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: var(--project-accent);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.project-card-btn:hover {
    background-color: var(--project-accent-dark);
    color: #fff;
    box-shadow: 0 4px 15px rgba(136,171,39,0.20);
}

@media (max-width: 768px) {
    .project-card-specs {
        gap: 10px;
    }
    .spec-item span {
        font-size: 13px;
    }
    .project-card-title {
        min-height: auto;
        margin-bottom: 15px;
    }
}