.product-carousel {
    container-type: inline-size;
    margin-top: clamp(20px, 4vw, 40px);
}
#products .product-carousel.is-ready .product-grid {
    --slide-width: clamp(270px, 36cqw, 410px);
    display: flex;
    align-items: stretch;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 8px max(0px, (100cqw - var(--slide-width)) / 2) 12px;
}
.product-carousel .product-grid::-webkit-scrollbar { display: none; }
#products .product-carousel.is-ready .product-grid.is-dragging {
    scroll-snap-type: none;
    cursor: grabbing;
    user-select: none;
}
#products .product-carousel.is-ready .product-card {
    display: grid;
    flex: 0 0 var(--slide-width);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    scroll-snap-align: center;
    min-width: 0;
    cursor: grab;
    border: 2px solid transparent;
    transform: scale(.965);
    transition: transform 320ms var(--hh-ease), border-color 320ms var(--hh-ease);
    box-shadow: none;
}
#products .product-carousel.is-ready .product-card.is-centered {
    border-color: #7ca285;
    transform: scale(1);
}
#products .product-carousel.is-ready .product-visual {
    grid-row: auto;
    height: clamp(170px, 20cqw, 232px);
    min-height: 0;
    aspect-ratio: auto;
}
#products .product-carousel.is-ready .product-visual img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    pointer-events: none;
}
#products .product-carousel .himherb-card-cta a { width: auto; min-width: min(100%, 212px); }
.product-carousel-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 10px;
}
.product-carousel-arrows { display: flex; gap: 6px; }
.carousel-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e2ecdd;
    color: #123c31;
    cursor: pointer;
    transition: color 220ms, background-color 220ms;
}
.carousel-icon .site-icon { width: 20px; height: 20px; }
.carousel-icon:hover { background: #215743; color: #fff; }
html.product-catalog-open { overflow: hidden; }
.product-catalog:not([open]) { display: none; }
.product-catalog {
    width: min(1050px, calc(100% - 28px));
    max-width: none;
    max-height: min(88dvh, 920px);
    padding: 0;
    border: 0;
    border-radius: 15px;
    background: #f0f5ee;
    color: #123c31;
    overscroll-behavior: contain;
}
.product-catalog::backdrop { background: #102c22a8; }
.product-catalog-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px clamp(14px, 3vw, 28px);
    background: #fff;
    border-bottom: 1px solid #dce8dd;
}
#products .product-catalog-heading h2 {
    font-family: var(--hh-font);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 800;
}
.catalog-filters, .catalog-grid { margin: 14px clamp(14px, 3vw, 28px) 22px; }
.catalog-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-filters button { min-height: 40px; }
.catalog-filters button[aria-pressed="true"] { background: #123c31; color: #fff; }
@media (max-width: 640px) {
    #products .product-carousel.is-ready .product-grid { --slide-width: 100cqw; padding-inline: 0; }
    #products .product-carousel.is-ready .product-visual { height: clamp(216px, 75cqw, 320px); }
    .catalog-grid { grid-template-columns: minmax(0, 1fr); }
}
