.home-offers-preview {
    position: relative;
    isolation: isolate;
    padding-top: 82px;
    padding-bottom: 88px;
}

.home-offers-preview__halo {
    position: absolute;
    z-index: -1;
    inset: 12px 0 auto;
    height: 520px;
    pointer-events: none;
    background:
        radial-gradient(circle at 23% 20%, rgba(53, 230, 214, 0.12), transparent 28rem),
        radial-gradient(circle at 85% 72%, rgba(239, 52, 52, 0.08), transparent 24rem);
    filter: blur(8px);
}

.home-offers-preview__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 40px;
    align-items: end;
    margin-bottom: 24px;
}

.home-offers-preview__heading > div {
    max-width: 830px;
}

.home-offers-preview__heading h2 {
    max-width: 760px;
    margin-bottom: 17px;
}

.home-offers-preview__heading p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.68;
}

.home-offers-preview__all {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid rgba(53, 230, 214, 0.34);
    border-radius: 8px;
    padding: 0 18px;
    color: #dffffb;
    background: rgba(53, 230, 214, 0.075);
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-offers-preview__all:hover {
    transform: translateY(-2px);
    border-color: rgba(53, 230, 214, 0.66);
    background: rgba(53, 230, 214, 0.13);
}

.home-offers-preview__all svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-offers-preview__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
}

.home-offers-preview__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.095);
    border-radius: 999px;
    padding: 8px 12px;
    color: #bdc9d5;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.78rem;
    font-weight: 800;
}

.home-offers-preview__benefits i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 12px rgba(53, 230, 214, 0.76);
}

.home-offers-preview__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.home-offer-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    color: var(--ink);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.018) 54%),
        #0b121b;
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.home-offer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(53, 230, 214, 0.42);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4), 0 0 32px rgba(53, 230, 214, 0.055);
}

.home-offer-card__visual {
    position: relative;
    min-height: 205px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 18px;
    background:
        radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.94), rgba(230, 235, 238, 0.9) 68%, rgba(204, 214, 219, 0.86));
}

.home-offer-card__visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(5, 8, 13, 0.08));
}

.home-offer-card__visual img {
    width: 100%;
    height: 169px;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 260ms ease;
}

.home-offer-card:hover .home-offer-card__visual img {
    transform: scale(1.035);
}

.home-offer-card__badges {
    position: absolute;
    z-index: 2;
    inset: 12px 12px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 7px;
    pointer-events: none;
}

.home-offer-card__badge {
    border: 1px solid rgba(5, 8, 13, 0.1);
    border-radius: 999px;
    padding: 6px 9px;
    color: #17212a;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.home-offer-card__badge--vin {
    color: #073a36;
    background: rgba(180, 255, 247, 0.94);
}

.home-offer-card__body {
    min-height: 266px;
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.home-offer-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 13px;
    color: #9babb9;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-offer-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8c5cf;
    letter-spacing: 0;
    text-align: right;
    text-transform: none;
}

.home-offer-card__stock::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #74de9a;
    box-shadow: 0 0 12px rgba(116, 222, 154, 0.42);
}

.home-offer-card__stock--supplier::before {
    background: var(--teal);
    box-shadow: 0 0 12px rgba(53, 230, 214, 0.42);
}

.home-offer-card__stock--incoming::before {
    background: var(--amber);
    box-shadow: 0 0 12px rgba(247, 185, 75, 0.42);
}

.home-offer-card__stock--out_of_stock::before {
    background: #ff6969;
    box-shadow: 0 0 12px rgba(255, 105, 105, 0.34);
}

.home-offer-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 12px;
    font-size: 1.04rem;
    line-height: 1.37;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-offer-card__summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.56;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-offer-card__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: auto 0 17px;
}

.home-offer-card__brands span {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px 7px;
    color: #b9c7d1;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.66rem;
    font-weight: 850;
}

.home-offer-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: 16px;
}

.home-offer-card__price small,
.home-offer-card__price strong {
    display: block;
}

.home-offer-card__price small {
    margin-bottom: 4px;
    color: #8493a0;
    font-size: 0.68rem;
    font-weight: 800;
}

.home-offer-card__price strong {
    color: #fff;
    font-size: 1.32rem;
    line-height: 1;
}

.home-offer-card__price del {
    display: block;
    margin-bottom: 4px;
    color: #7f8c97;
    font-size: 0.72rem;
}

.home-offer-card__cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 0 14px;
    color: #031310;
    background: var(--teal);
    font-size: 0.78rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    transition: background 180ms ease, transform 180ms ease;
}

.home-offer-card__cta:hover {
    transform: translateY(-1px);
    background: #8ff9ef;
}

.home-offers-preview__skeleton {
    min-height: 487px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background:
        linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.07) 42%, transparent 64%) -220px 0 / 520px 100% no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, 0.055) 42%, rgba(255, 255, 255, 0.02) 42%);
    animation: home-offers-shimmer 1.45s linear infinite;
}

.home-offers-preview__empty {
    grid-column: 1 / -1;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 34px;
    color: var(--muted);
    text-align: center;
}

.home-offers-preview__swipe {
    display: none;
}

@keyframes home-offers-shimmer {
    to { background-position: 420px 0, 0 0; }
}

@media (max-width: 1040px) {
    .home-offers-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-offer-card__body {
        min-height: 248px;
    }
}

@media (max-width: 720px) {
    .home-offers-preview {
        width: 100%;
        padding: 68px 0 74px;
    }

    .home-offers-preview__heading,
    .home-offers-preview__benefits {
        width: calc(100% - 40px);
        margin-right: auto;
        margin-left: auto;
    }

    .home-offers-preview__heading {
        grid-template-columns: 1fr;
        gap: 22px;
        align-items: start;
    }

    .home-offers-preview__heading h2 {
        font-size: clamp(2rem, 10.5vw, 3rem);
    }

    .home-offers-preview__all {
        width: fit-content;
    }

    .home-offers-preview__benefits {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .home-offers-preview__benefits span:nth-child(n + 3) {
        display: none;
    }

    .home-offers-preview__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(84vw, 330px);
        gap: 13px;
        overflow-x: auto;
        padding: 3px 20px 18px;
        scroll-padding-inline: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .home-offers-preview__grid::-webkit-scrollbar {
        display: none;
    }

    .home-offer-card,
    .home-offers-preview__skeleton {
        scroll-snap-align: start;
    }

    .home-offer-card__visual {
        min-height: 198px;
    }

    .home-offer-card__body {
        min-height: 258px;
    }

    .home-offers-preview__swipe {
        width: calc(100% - 40px);
        display: block;
        margin: 4px auto 0;
        color: #778794;
        font-size: 0.74rem;
        font-weight: 800;
    }

}

@media (prefers-reduced-motion: reduce) {
    .home-offers-preview__skeleton {
        animation: none;
    }
}
