/* Article-driven homepage sections. Two cards and half of the next on mobile. */
.home-products {
    margin-bottom: 48px;
    color: #1a1c1c;
}
.home-products__heading {
    padding: 0 20px;
    margin-bottom: 20px;
}
.home-products__heading h2,
.home-banner__content h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}
.home-products__heading p,
.home-banner__content p {
    margin: 10px 0 0;
    max-width: 600px;
    font-family: Inter, sans-serif;
    font-size: 13px;
    line-height: 1.65;
}
.home-products__heading p { color: #7e7576; }
.home-products__track {
    display: flex;
    gap: 12px;
    margin: 0 20px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.home-products__track::-webkit-scrollbar { display: none; }
.home-products__track:focus-visible {
    outline: 2px solid #1a1c1c;
    outline-offset: 4px;
}
.home-products__card {
    flex: 0 0 calc((100% - 24px) / 2.5);
    min-width: 0;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}
.home-products__image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f4f2f1;
}
.home-products__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-products__card h3 {
    margin: 10px 0 6px;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-products__price {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}
.home-products__price del { color: #9a9192; font-weight: 400; }
.home-banner { margin-bottom: 48px; }
.home-banner__body {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    text-decoration: none;
    background: #f4f2f1;
}
.home-banner__body > img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.home-banner__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 32px 20px;
    text-align: center;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, .35));
}
.home-banner__button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 24px;
    background: #1a1c1c;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
/* Recently viewed follows the same product rhythm as the article carousels. */
#recentSeen {
    padding: 0 20px 48px;
    color: #1a1c1c;
}
#recentSeen .recent__head {
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}
#recentSeen .recent__title {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}
#recentSeen .recent__clear {
    flex-shrink: 0;
    min-height: 44px;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    color: #7e7576;
    text-decoration: underline;
    text-underline-offset: 4px;
}
#recentSeen .recent__strip { gap: 12px; }
#recentSeen .recent__strip:focus-visible {
    outline: 2px solid #1a1c1c;
    outline-offset: 4px;
}
#recentSeen .recent__item {
    flex: 0 0 calc((100% - 24px) / 2.5);
    min-width: 0;
}
#recentSeen .recent__shot {
    margin-bottom: 10px;
    border-radius: 0;
    aspect-ratio: 3 / 4;
}
#recentSeen .recent__name {
    font-size: 11px;
    line-height: 1.5;
}
#recentSeen .recent__price {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
}
@media (min-width: 768px) {
    #recentSeen { padding: 0 0 64px; }
    #recentSeen .recent__title { font-size: 40px; }
    #recentSeen .recent__strip { gap: 20px; }
    #recentSeen .recent__item { flex-basis: calc((100% - 80px) / 4.5); }
    #recentSeen .recent__name { font-size: 12px; }
    .home-products, .home-banner { margin-bottom: 64px; }
    .home-products__heading { padding: 0; }
    .home-products__track { margin: 0; gap: 20px; }
    .home-products__card { flex-basis: calc((100% - 80px) / 4.5); }
    .home-products__heading h2, .home-banner__content h2 { font-size: 40px; }
    .home-products__card h3 { font-size: 12px; }
    .home-banner__body { aspect-ratio: 16 / 7; }
}
