/* =========================================================
   АКЦИИ
   ========================================================= */

.wash-promotions-section {
    padding: 80px 0;

    border-top: 1px solid var(--border-1);

    background: var(--bg-1);
}


/* ---------------------------------------------------------
   Заголовок
   --------------------------------------------------------- */

.wash-promotions-header {
    margin-bottom: 35px;
}

.wash-promotions-title {
    margin: 0;

    color: var(--text-1);

    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 700;
}

.wash-promotions-description {
    max-width: 650px;

    margin: 10px 0 0;

    color: var(--text-2);

    font-size: 16px;
    line-height: 1.5;
}


/* =========================================================
   КАРТОЧКИ
   ========================================================= */

.wash-promotions-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}


/* ---------------------------------------------------------
   Карточка
   --------------------------------------------------------- */

.wash-promotion-card {
    min-width: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border-1);
    border-radius: 14px;

    background: var(--bg-2);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.wash-promotion-card:hover {
    border-color: var(--text-3);

    transform: translateY(-2px);

    box-shadow: 0 12px 35px color-mix(in srgb, var(--text-1) 6%, transparent);
}


/* =========================================================
   ВЕРХ КАРТОЧКИ
   ========================================================= */

.wash-promotion-card-head {
    position: relative;

    padding: 22px 20px 20px;

    background: var(--text-1);

    color: var(--bg-2);
}


/* ---------------------------------------------------------
   Скидка
   --------------------------------------------------------- */

.wash-promotion-discount {
    position: absolute;

    top: 15px;
    right: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 55px;
    height: 30px;

    padding: 0 9px;

    border-radius: 7px;

    background: var(--bg-2);

    color: var(--text-1);

    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}


/* ---------------------------------------------------------
   Название
   --------------------------------------------------------- */

.wash-promotion-title {
    margin: 0;

    max-width: calc(100% - 70px);

    color: var(--bg-2);

    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.wash-promotion-subtitle {
    margin: 7px 0 0;

    max-width: 90%;

    color: color-mix(in srgb, var(--bg-2) 58%, transparent);

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   ТЕЛО
   ========================================================= */

.wash-promotion-body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 10px;
}


/* ---------------------------------------------------------
   Условия
   --------------------------------------------------------- */

.wash-promotion-condition {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 44px;

    padding: 10px 12px;

    border-radius: 9px;

    background: var(--bg-3);

    color: var(--text-1);

    font-size: 12px;
    line-height: 1.3;
}

.wash-promotion-condition i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--text-1);

    color: var(--bg-2);

    font-size: 11px;
}


/* ---------------------------------------------------------
   Нижняя часть
   --------------------------------------------------------- */

.wash-promotion-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 8px;

    padding: 12px 2px 2px;
}


/* ---------------------------------------------------------
   Срок
   --------------------------------------------------------- */

.wash-promotion-until {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wash-promotion-until-label {
    color: var(--text-3);

    font-size: 10px;
    line-height: 1;
}

.wash-promotion-until-date {
    color: var(--text-1);

    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}


/* ---------------------------------------------------------
   Иконка акции
   --------------------------------------------------------- */

.wash-promotion-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: var(--text-1);

    color: var(--bg-2);

    font-size: 15px;
}


/* =========================================================
   ADAPTIVE
   ========================================================= */

@media (max-width: 1199px) {

    .wash-promotions-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 767px) {

    .wash-promotions-section {
        padding: 60px 0;
    }

    .wash-promotions-title {
        font-size: 32px;
    }

    .wash-promotions-description {
        font-size: 15px;
    }


    .wash-promotions-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .wash-promotion-card-head {
        padding: 20px 18px 18px;
    }

}