[hidden].bs-recent {
    display: none !important;
}

.page-wrapper .bs-recent--home .bs-kat__card-photo {
    object-fit: contain !important;
    background: #fff;
}

.bs-recent--product,
.bs-recent--bar {
    box-sizing: border-box;
}

.bs-recent--product {
    margin: 36px 0 12px;
}

.bs-recent--bar {
    background: #fff;
    border-top: 1px solid #d5e3ee;
}

.bs-recent__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 20px 12px;
    box-sizing: border-box;
}

.bs-recent__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.bs-recent__heading {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #00446a;
}

.bs-recent__arrows {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.page-wrapper .bs-recent__clear {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--bs-blue, #00446a);
    background: transparent;
    position: relative;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
}

.page-wrapper .bs-recent__clear::before,
.page-wrapper .bs-recent__clear::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2.5px;
    background: var(--bs-blue, #00446a);
    border-radius: 1px;
}

.page-wrapper .bs-recent__clear::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.page-wrapper .bs-recent__clear::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.page-wrapper .bs-recent__clear:hover {
    background: var(--bs-blue, #00446a);
    border-color: var(--bs-blue, #00446a);
}

.page-wrapper .bs-recent__clear:hover::before,
.page-wrapper .bs-recent__clear:hover::after {
    background: #ffffff;
}

.bs-recent__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 2px 28px;
    margin: 0;
}

.bs-recent__track::-webkit-scrollbar {
    display: none;
}

.bs-recent__card {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - 64px) / 5);
    scroll-snap-align: start;
    box-sizing: border-box;
    min-width: 0;
    text-decoration: none;
    color: #00446a;
    background: #fff;
    border: 2px solid #b8d4e8;
    border-radius: 16px;
    overflow: hidden;
}

.bs-recent__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.bs-recent__photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bs-recent__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #00446a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.bs-recent__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px 12px;
}

.bs-recent__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #00446a;
}

.bs-recent__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
}

.bs-recent__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00446a;
}

.bs-recent__old {
    font-size: 12px;
    color: #6d7f8c;
    text-decoration: line-through;
}

@media (min-width: 768px) {
    .bs-recent__heading {
        font-size: 28px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .bs-recent__card {
        flex-basis: calc((100% - 32px) / 3);
    }
}

@media (max-width: 767px) {
    .bs-recent__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bs-recent__card {
        flex-basis: 78%;
    }
}
