.epx-section.eps-featured-grid {
    --eps-offer-accent: var(--epx-accent, #a34b32);
    display: grid;
    justify-items: center;
    gap: clamp(24px, 3vw, 48px);
    padding-block: clamp(40px, 6vw, 88px);
}

.eps-featured-grid h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.15;
}

.eps-featured-products {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 48px) clamp(12px, 1.6vw, 26px);
}

.eps-featured-grid .epx-product-card {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.eps-featured-grid .epx-product-image {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    background: #f4f0e9;
    overflow: hidden;
    isolation: isolate;
}

.eps-featured-grid .epx-product-image > img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    mix-blend-mode: normal;
}

.eps-featured-grid .epx-product-image:has(> .eps-home-poster) > .epx-secondary-image,
.eps-featured-grid:not(.eps-collection-grid) .epx-product-price:empty,
.eps-featured-grid .epx-card-tag {
    display: none;
}

.eps-featured-grid .eps-featured-discount {
    position: absolute;
    z-index: 2;
    inset-block-start: 10px;
    inset-inline-start: 10px;
    border-radius: 4px;
    background: var(--eps-offer-accent);
    color: #fff;
    padding: 4px 8px;
    font: 700 12px/1.35 var(--epx-sans, sans-serif);
    text-transform: uppercase;
}

.eps-featured-grid .epx-product-caption {
    display: block;
    padding: 14px 4px 0;
    text-align: center;
}

.eps-featured-grid .epx-product-caption h3 {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.eps-featured-grid .epx-product-price {
    display: flex;
    flex-flow: row-reverse wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 8px;
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}

.eps-featured-grid .epx-product-price ins {
    color: var(--eps-offer-accent);
    background: transparent;
    font-weight: 700;
    text-decoration: none;
}

.eps-featured-grid .epx-product-price del {
    color: #625951;
    font-size: 0.92em;
}

.eps-collection-grid .epx-product-price:empty::after {
    content: "Price unavailable";
}

.eps-featured-grid a.eps-featured-shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #253327;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.eps-featured-grid a.eps-featured-shop:hover {
    background: #384a3b;
}

@media (max-width: 1000px) {
    .eps-featured-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .eps-featured-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
