/* ============================================================
   ND Windows — Products Section
   /assets/css/nd-windows/products.css
   ============================================================ */

.ndo-products {

}

.ndo-products__inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
     max-width: var(--ndw-content-w);
    margin: 0 auto;
  padding:100px 0;
    padding-left: var(--ndw-pad-x);
	padding-right: var(--ndw-pad-x);
}

/* ── Заголовок ── */
.ndo-products__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.ndo-products__title {
    color: #252525;
    font-family: 'GothamPro', 'Arial Black', sans-serif;
    font-size: clamp(22px, 1.5625vw, 30px);
    line-height: 1.17;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.ndo-products__subtitle {
    color: #0056b3;
    font-family: 'GothamPro', 'Arial Black', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
}

/* ── Список карточек ── */
.ndo-products__list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
    width: 100%;
}

/* ── Карточка ── */
.ndo-products__card {
    flex: 1 1 0;
    background: #ffffff;
    border: 1px solid #d5dde6;
       padding: 25px 25px 0;

    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

/* ── Фото ── */
.ndo-products__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
   
    margin-bottom: 0;
}

.ndo-products__photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ── Основная инфо ── */
.ndo-products__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 0;
    border-bottom: 1px solid #d5dde6;
}

.ndo-products__promo {
    color: #252525;
    font-family: 'GothamPro', sans-serif;
    font-size: 11px;
    line-height: 14px;
}

.ndo-products__name {
    color: #252525;
    font-family: 'GothamPro', 'Arial', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    margin: 0;
}

/* Цены в ряд */
.ndo-products__prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.ndo-products__price {
    color: #0056b3;
    font-family: 'GothamPro', sans-serif;
    font-size: 21px;
    line-height: 27px;
    font-weight: 700;
}

.ndo-products__price-old {
    color: #252525;
    font-family: 'GothamPro', sans-serif;
    font-size: 15px;
    line-height: 19px;
    font-weight: 300;
    text-decoration: line-through;
}

.ndo-products__currency {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.ndo-products__price-old .ndo-products__currency {
    font-weight: 300;
}

.ndo-products__status {
    color: #0056b3;
    font-family: 'GothamPro', sans-serif;
    font-size: 13px;
    line-height: 17px;
    font-weight: 300;
}

.ndo-products__installment {
    color: #0056b3;
    font-family: 'GothamPro', sans-serif;
    font-size: 13px;
    line-height: 17px;
    font-weight: 300;
}

/* ── Характеристики ── */
.ndo-products__specs {
    padding: 19px 0 0;
    color: #252525;
    font-size: 14px;
    line-height: 21px;
    flex: 1 1 auto;
}

.ndo-products__spec-label {
    font-family: 'GothamPro', sans-serif;
    font-weight: 700;
}

.ndo-products__spec-val {
    font-family: 'GothamPro', sans-serif;
    font-weight: 400;
}

/* ── Кнопки ── */
.ndo-products__actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
    margin-top: auto;
}

.ndo-products__btn {
    padding: 16px 20px;
    font-family: 'GothamPro', 'Arial', sans-serif;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

/* Outline — синий */
.ndo-products__btn--outline {
    background: #ffffff;
    border-color: #0056b3;
    color: #0056b3;
    flex-shrink: 0;
}

.ndo-products__btn--outline:hover {
    background: #0056b3;
    color: #ffffff;
}

/* Red — кнопка "Рассчитать" */
.ndo-products__btn--red {
    background: #ffffff;
    border-color: #eb171c;
    color: #eb171c;
    flex: 1 1 auto;
}

.ndo-products__btn--red:hover {
    background: #eb171c;
    color: #ffffff;
}

/* ============================================================
   Адаптив
   ============================================================ */

@media (max-width: 1440px) {
   .ndo-products__list { gap: 20px;}
     .ndo-products__actions { flex-direction: column; }
    .ndo-products__btn { width: 100%; }
}


@media (max-width: 1200px) {
    .ndo-products__inner  { padding-top: 80px; padding-bottom: 80px; }
}


@media (max-width: 1024px) {
.ndo-products__list {
    gap: 10px;
}
   .ndo-products__card {
    padding: 20px 16px 0;
}
}




@media (max-width: 960px) {
    .ndo-products__list {
        flex-wrap: wrap;
        gap: 20px;
    }
    .ndo-products__card {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }
}

@media (max-width: 480px) {
    .ndo-products__inner  { padding-top: 60px; padding-bottom: 60px; }
    .ndo-products__card { flex: 1 1 100%; }
 .ndo-products__actions { flex-direction: row; gap;12px}
.ndo-products__btn { width: calc(50% - 6px);}
.ndo-products__info {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}
.ndo-products__name {
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 10px;
width: 100%;
}
.ndo-products__prices { margin-right: 6px;}
.ndo-products__price {
    font-size: 19px;
    line-height: 27px;
}

}
