body {
    background-color: #ffffff;
}

.sales__banner {
    border-radius: 5px;
    overflow: hidden;
}

.banner__item {
    height: 360px;
    display: flex;
    gap: 12px;
    align-items: stretch;
    text-decoration: none;
}

.banner__thumb {
    position: relative;
    flex-grow: 1;
    border-radius: 5px;
    background-color: #d2054f;
    overflow: hidden;
}

.banner__thumb .thumb__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.banner__thumb .thumb__blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.banner__thumb p {
    padding: 12px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

.banner__info {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #F7F7FB;
    flex-basis: 30%;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.banner__title {
    text-align: center;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    color: var(--body-color);
}

.banner__period {
    margin-top: 12px;
    text-align: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    color: #9e9e9e;
}

.banner__button {
    margin-top: 32px;
    background-color: #d2054f;
    color: #fff;
    border-radius: 5px;
    padding: 12px 32px;
    transition: all .2s ease;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
}

.sales__heading {
    display: block;
    margin: 0 12px 24px 0;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 500;
}

.sales__browse {
    margin-top: 64px;
    margin-bottom: 64px;
}

.sales__list {
    margin: -8px;
    display: flex;
    flex-wrap: wrap;
}

.sales__wrapper {
    width: 50%;
    padding: 8px;
}

.sales__item {
    height: 100%;
    display: block;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: inherit;
    color: inherit;
    user-select: none;
}

.sales__item:hover {
    background-color: #f8f8f8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #d2054f;
}

.sales__thumb {
    position: relative;
    padding-bottom: 37%;
    border-radius: 5px;
    background-color: #d2054f;
    overflow: hidden;
}

.sales__thumb .thumb__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.sales__thumb .thumb__blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.sales__thumb p {
    position: absolute;
    top: 0;
    left: 0;
    padding: 12px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    overflow: hidden;
}

.sales__title {
    margin: 24px 0 0 0;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}

.sales__period {
    margin: 6px 0 0 0;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #9e9e9e;
}

.sales__description {
    margin: 12px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--body-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sales__pagination {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.sales__pagination .pagination {
    flex-grow: 0;
    flex-wrap: nowrap;
}

@media (max-width: 1199px) {
    .banner__item {
        height: 200px;
    }
    .banner__thumb p {
        font-size: 18px;
    }
    .banner__info {
        padding: 24px 12px;
    }
    .banner__title {
        font-size: 16px;
    }
    .banner__period {
        font-size: 12px;
    }
    .banner__button {
        margin-top: 24px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .banner__item {
        height: 100%;
        flex-direction: column;
        gap: 4px;
    }
    .banner__thumb {
        padding-bottom: 37%;
        flex-shrink: 0;
        flex-grow: 0;
    }
    .banner__info {
        padding: 12px 12px 24px 12px;
        flex-basis: auto;
        flex-grow: 1;
    }
    .sales__wrapper {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .sales__thumb p {
        font-size: 16px;
    }
    .sales__title {
        margin: 12px 0 0 0;
        font-size: 16px;
        line-height: 1.5;
    }
    .sales__description { 
        font-size: 12px;
    }
}

@media (max-width: 1199px) and (min-width: 767px) {
    .sales__thumb p {
        font-size: 16px;
    }
}

.sale__preview {
    position: relative;
    padding-bottom: 25%;
    border-radius: 5px;
    overflow: hidden;
    background-color:#d2054f;
}

.preview__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    z-index: 10;
    backdrop-filter: blur(12px);
}

.preview__blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.sale__card {
    margin-top: 8px;
    padding: 24px;
    background-color: #F7F7FB;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.card__title {
    margin: 0;
    text-align: center;
    font-weight: 700;
    line-height: 1.5;
    font-size: 24px;
}

.card__period {
    margin: 12px 0 0 0;
    text-align: center;
    line-height: 1.5;
    color: #9e9e9e;
    font-size: 14px;
}

.sale__description {
    margin: 32px auto 0;
    max-width: 75%;
}

#sale-catalog h2 {
    margin-top: 56px;
    text-align: center;
}

.sale__conditions {
    margin: 32px auto 32px;
    max-width: 75%;
}

.sale__products {
    margin-top: 24px;
}

.sale__pagination {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.sale__pagination .pagination {
    flex-grow: 0;
    flex-wrap: nowrap;
}

@media (max-width: 991px) {
    .sale__conditions,
    .sale__description {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .card__title {
        font-size: 18px;
    }
}