/* The approved Coups de cœur design, shared by every Hyva catalog collection. */
.lgb-product-carousel {
    box-sizing: border-box;
    width: 100%;
    max-width: 1248px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 32px;
    font-family: 'Libre Baskerville', Georgia, serif;
    -webkit-font-smoothing: antialiased;
    padding-top: 42px;
    padding-bottom: 48px;
    color: #514536;
}
.lgb-product-carousel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.lgb-product-carousel .lgb-product-carousel__heading h2 {
    margin: 0;
    color: #514536;
    font: 400 27px/1.3 'Libre Baskerville', Georgia, serif;
    letter-spacing: -.035em;
    text-transform: none;
}
.lgb-product-carousel .lgb-product-carousel__all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #a75c34;
    font-size: 12px;
}
.lgb-product-carousel__all svg { width: 17px; height: 17px; }
.lgb-product-carousel .lgb-product-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
    padding: 0 0 8px;
}
.lgb-product-carousel__track::-webkit-scrollbar { display: none; }
.lgb-product-carousel .lgb-product-carousel__item {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}
html .lgb-product-card.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    color: #514536;
    font-family: 'Libre Baskerville', Georgia, serif;
    background: #fffdfa;
    border: 1px solid #e3d9cc;
    border-radius: 7px;
    box-shadow: none;
}
html .lgb-product-card .product-item-photo {
    aspect-ratio: 1.16;
}
html .lgb-product-card .lgb-product-badge {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    background: #fffaf0;
    border-radius: 20px;
    font-size: 10px;
    line-height: 1.2;
}
html .lgb-product-card .product-info {
    text-align: left;
    padding: 15px 14px 16px;
}
html .lgb-product-card .product-info > .h-full {
    height: auto;
    min-height: 42px;
    margin: 0;
    color: #514536;
    font-weight: 400;
}
html .lgb-product-card .product-item-link {
    color: #514536;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-line-clamp: 2;
}
html .lgb-product-card .product-info h2,
html .lgb-product-card .product-info h3 {
    margin: 0;
    font: inherit;
    text-align: left;
    text-transform: none;
}
html .lgb-product-card .product-info > .min-h-35:not(.h-full) {
    width: auto;
    min-height: 14px;
    margin: 9px 0 14px;
    padding: 0;
}
html .lgb-product-card .rating-summary {
    justify-content: flex-start;
    align-items: center;
    color: #7b7064;
    font-size: 11px;
}
html .lgb-product-card .rating-summary svg {
    width: 14px;
    height: 14px;
}
html .lgb-product-card .rating-summary svg[style*="#f6e05e"] { color: #b58b3c !important; }
html .lgb-product-card .rating-summary stop[stop-color="#f6e05e"] { stop-color: #b58b3c; }
html .lgb-product-card .rating-summary > span {
    order: 1;
    margin-left: 7px;
    color: #7b7064;
}
html .lgb-product-card .lgb-product-purchase {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}
html .lgb-product-card .lgb-product-purchase > [x-data] { padding: 0; }
html .lgb-product-card .price {
    color: #514536;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}
html .lgb-product-card .subscription-price > .text-sm,
html .lgb-product-card .subscription-price > .text-xs {
    margin-top: 5px;
    color: #7b7064;
    font-size: 9px;
    line-height: 1.5;
}
html .lgb-product-card .lgb-product-actions { width: auto; }
html .lgb-product-card .lgb-product-actions .btn {
    width: auto;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid #a75c34;
    border-radius: 3px;
    background: #a75c34;
    color: #fff;
    box-shadow: none;
    white-space: nowrap;
}
html .lgb-product-card .lgb-product-actions .btn:hover { background: #874829; }
html .lgb-product-card .lgb-product-actions .btn,
html .lgb-product-card .lgb-product-actions .btn span {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}
html .lgb-product-card .lgb-product-actions .btn span {
    display: inline;
    margin: 0;
}
html .lgb-product-card .lgb-product-actions .btn > svg { display: none; }
.lgb-product-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.lgb-product-carousel__controls--desktop { margin-top: 14px; }
.lgb-product-carousel__controls--mobile,
.lgb-product-carousel__controls[hidden] { display: none; }
.lgb-product-carousel__controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid #e3d9cc;
    border-radius: 50%;
    background: transparent;
    color: #514536;
}
.lgb-product-carousel__controls svg { width: 18px; height: 18px; }
.lgb-product-carousel__controls button:disabled { opacity: .35; cursor: default; }
.lgb-product-carousel a:focus-visible,
.lgb-product-carousel button:focus-visible,
.lgb-product-carousel__track:focus-visible { outline: 3px solid #a75c34; outline-offset: 5px; }
@media (max-width: 1050px) {
    .lgb-product-carousel .lgb-product-carousel__track {
        grid-auto-columns: calc((100% - 54px) / 4);
        gap: 18px;
    }
    html .lgb-product-card .price { font-size: 16px; }
    html .lgb-product-card .lgb-product-actions .btn { padding: 9px 8px; }
}
@media (min-width: 761px) and (max-width: 900px) {
    .lgb-product-carousel .lgb-product-card .lgb-product-purchase {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .lgb-product-carousel .lgb-product-card .lgb-product-actions,
    .lgb-product-carousel .lgb-product-card .lgb-product-actions .btn { width: 100%; }
}
@media (max-width: 760px) {
    .lgb-product-carousel { padding-top: 30px; padding-bottom: 35px; }
    .lgb-product-carousel__heading { gap: 12px; margin-bottom: 19px; }
    .lgb-product-carousel .lgb-product-carousel__heading h2 { font-size: 24px; }
    .lgb-product-carousel .lgb-product-carousel__all,
    .lgb-product-carousel__controls--desktop { display: none; }
    .lgb-product-carousel__controls--mobile:not([hidden]) { display: flex; }
    .lgb-product-carousel .lgb-product-carousel__track {
        display: flex;
        gap: 16px;
        margin: 0 -20px;
        padding: 0 20px 8px;
        scroll-padding-inline: 20px;
    }
    .lgb-product-carousel .lgb-product-carousel__item {
        flex: 0 0 76%;
        max-width: 310px;
    }
    html .lgb-product-card .product-item-photo { aspect-ratio: 1.2; }
    html .lgb-product-card .product-info { padding: 15px; }
    html .lgb-product-card .price { font-size: 18px; }
    html .lgb-product-card .lgb-product-actions .btn {
        min-height: 44px;
        padding: 10px 13px;
    }
}
@media (max-width: 360px) {
    .lgb-product-carousel .lgb-product-carousel__heading h2 { font-size: 21px; }
    .lgb-product-carousel__controls { gap: 5px; }
    .lgb-product-carousel__controls button { width: 40px; height: 40px; }
    .lgb-product-carousel .lgb-product-carousel__track {
        margin: 0 -16px;
        padding: 0 16px 8px;
        scroll-padding-inline: 16px;
    }
    .lgb-product-carousel .lgb-product-carousel__item { flex-basis: 83%; }
}

/* Catalog/search grids retain filters, sorting, paging and the optional list view. */
.products .lgb-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.lgb-product-list { gap: 24px; }
html .lgb-product-card a:focus-visible,
html .lgb-product-card button:focus-visible {
    outline: 3px solid #a75c34;
    outline-offset: -3px;
}
html .lgb-product-card .rating-summary a { color: #7b7064; font-size: 11px; }
html .lgb-product-card .old-price .price { font-size: 13px; color: #7b7064; }
@media (min-width: 1200px) {
    .products .lgb-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    html .lgb-product-card--list.card { flex-direction: row; }
    html .lgb-product-card--list .product-item-photo {
        width: 32%;
        max-width: 320px;
        margin: 0;
    }
    html .lgb-product-card--list .product-info { padding: 24px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
    .lgb-product-carousel { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 760px) {
    .lgb-product-carousel { padding-left: 20px; padding-right: 20px; }
    .products .lgb-product-grid { gap: 16px; }
    .lgb-product-grid .lgb-product-card .product-info { padding: 12px 10px; }
    .lgb-product-grid .lgb-product-card .lgb-product-purchase {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .lgb-product-grid .lgb-product-card .lgb-product-actions,
    .lgb-product-grid .lgb-product-card .lgb-product-actions .btn { width: 100%; }
    .lgb-product-grid .lgb-product-card .lgb-product-badge { top: 8px; left: 8px; padding: 5px 8px; }
}
@media (max-width: 360px) {
    .lgb-product-carousel { padding-left: 16px; padding-right: 16px; }
    .products .lgb-product-grid { grid-template-columns: minmax(0, 1fr); }
    .lgb-product-grid .lgb-product-card .product-info { padding: 15px; }
    .lgb-product-grid .lgb-product-card .lgb-product-purchase { flex-direction: row; align-items: flex-end; }
    .lgb-product-grid .lgb-product-card .lgb-product-actions,
    .lgb-product-grid .lgb-product-card .lgb-product-actions .btn { width: auto; }
}
