.home-feed {
    position: relative;
    overflow: hidden;
    padding: clamp(10px, 5vw, 10px) 0;
    background: #f7f4ed;
}

.home-feed + .home-feed { margin-top: 0; }
.home-feed--discounted { background: #263f36; }
.home-feed--newest { background: #f7f4ed; }
.home-feed--popular { background: #e9eee6; }
.home-feed--best-selling { background: #18392f; }
#home-best-selling-title { color: #fffaf0; }
#home-discounted-title { color: #fffaf0; }

.home-feed__layout {
    display: grid;
    grid-template-columns: minmax(180px, .72fr) minmax(0, 2.5fr);
    align-items: center;
    gap: clamp(22px, 3vw, 42px);
}

.home-feed__intro {
    position: relative;
    min-height: 246px;
    padding: 12px 0;
    isolation: isolate;
}

.home-feed__intro .eyebrow { color: #aa7951; }
.home-feed--discounted .home-feed__intro .eyebrow,
.home-feed--best-selling .home-feed__intro .eyebrow { color: #dfbd91; }
.home-feed__intro h2 { position: relative; z-index: 1; margin: 12px 0; font-size: clamp(23px, 2.45vw, 34px); line-height: 1.7; }
.home-feed__intro h2 em { color: #b98559; font-style: normal; }
.home-feed--discounted .home-feed__intro h2 em,
.home-feed--best-selling .home-feed__intro h2 em { color: #e0bd91; }
.home-feed__intro p { position: relative; z-index: 1; max-width: 290px; color: #8c8a7e; font-size: 12px; line-height: 2.1; }
.home-feed--discounted .home-feed__intro p,
.home-feed--best-selling .home-feed__intro p { color: #c2c8bd; }
.home-feed__intro .text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: 9px; color: #8b5f3c; font-size: 11px; }
.home-feed--discounted .home-feed__intro .text-link,
.home-feed--best-selling .home-feed__intro .text-link { color: #e1c19a; }
.home-feed__intro .text-link span { font-size: 18px; transition: transform .2s ease; }
.home-feed__intro .text-link:hover span { transform: translateX(-4px); }
.home-feed__ornament { position: absolute; z-index: -1; inset-inline-end: -19px; bottom: -28px; color: #b8855630; font: 190px/1 Georgia,serif; transform: rotate(-13deg); pointer-events: none; }
.home-feed--discounted .home-feed__ornament,
.home-feed--best-selling .home-feed__ornament { color: #e2c39418; }

.home-feed__content { min-width: 0; }
.home-feed__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; color: #73776d; font-size: 11px; }
.home-feed--discounted .home-feed__toolbar,
.home-feed--best-selling .home-feed__toolbar { color: #d9dacf; }
.home-feed__controls { display: flex; gap: 7px; }
.home-feed__controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d9d7ce; border-radius: 50%; background: transparent; color: #42574a; font-size: 23px; line-height: 1; cursor: pointer; transition: background .2s,color .2s,border-color .2s; }
.home-feed--discounted .home-feed__controls button,
.home-feed--best-selling .home-feed__controls button { border-color: #ffffff40; color: #fffaf0; }
.home-feed__controls button:hover:not(.swiper-button-disabled) { border-color: #9b704a; background: #9b704a; color: #fff; }
.home-feed__controls button.swiper-button-disabled { opacity: .38; cursor: default; }
.home-feed__swiper { min-height: 325px; padding: 2px 1px 10px; }
.home-feed__swiper[hidden] { display: none; }
.home-feed__swiper .swiper-slide { display: flex; height: auto; }
.home-feed__swiper .catalog-card { width: 100%; height: 100%; }
.home-feed__skeleton { width: 100%; min-height: 304px; padding: 10px; overflow: hidden; border: 1px solid #e9e4da; border-radius: 12px; background: #fff; }
.home-feed__skeleton span,.home-feed__skeleton i { display: block; border-radius: 7px; background: linear-gradient(100deg,#eeeae2 25%,#f7f5f0 42%,#eeeae2 62%); background-size: 220% 100%; animation: feed-shimmer 1.35s linear infinite; }
.home-feed__skeleton span { height: 185px; margin-bottom: 16px; }
.home-feed__skeleton i { height: 10px; margin: 10px 0; }
.home-feed__skeleton i:last-child { width: 62%; }
@keyframes feed-shimmer { to { background-position-x: -220%; } }
.home-feed__status { min-height: 22px; margin: 6px 0 0; color: #848276; font-size: 11px; }
.home-feed--discounted .home-feed__status,
.home-feed--best-selling .home-feed__status { color: #d0d5cb; }
.home-feed__status[hidden] { display: none; }
.home-feed__retry { border: 0; background: none; color: #ad7547; font: inherit; text-decoration: underline; cursor: pointer; }
.home-feed--discounted .home-feed__retry,
.home-feed--best-selling .home-feed__retry { color: #e2bd91; }

@media (max-width: 760px) {
    .home-feed { padding: 34px 0 38px; }
    .home-feed__layout { grid-template-columns: minmax(0, 1fr); gap: 17px; }
    .home-feed__intro { min-height: 0; padding: 0 0 2px; }
    .home-feed__intro h2 { margin: 5px 0 2px; font-size: 24px; line-height: 1.55; }
    .home-feed__intro h2 br { display: none; }
    .home-feed__intro p { max-width: 520px; margin: 3px 0; font-size: 11px; }
    .home-feed__intro .text-link { margin-top: 5px; }
    .home-feed__ornament { inset-inline-end: 4px; bottom: -15px; font-size: 112px; }
    .home-feed__toolbar { margin-bottom: 10px; }
    .home-feed__swiper { min-height: 306px; }
}

@media (max-width: 420px) {
    .home-feed__swiper { min-height: 292px; }
    .home-feed__controls button { width: 31px; height: 31px; }
}
