/* Homepage commerce wall: a progressive CSS grid enhanced into Masonry. */
.hz-storefront-hero { padding-bottom: clamp(20px, 3vw, 36px); }
.hz-storefront {
    width: min(96vw, 1480px);
    margin: 0 auto clamp(36px, 6vw, 80px);
}
.hz-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.hz-storefront-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    --storefront-gap: clamp(10px, 1.25vw, 18px);
    column-gap: var(--storefront-gap);
    row-gap: var(--storefront-gap);
    align-items: start;
}
.hz-storefront-grid.is-masonry { grid-auto-rows: 1px; row-gap: 0; }
/* The reserved final gap is not visible space below the catalogue. */
.hz-storefront-grid.is-masonry.has-visible { margin-bottom: calc(0px - var(--storefront-gap)); }
.hz-storefront-grid > .hz-product-card[hidden] { display: none !important; }
.hz-product-card {
    --card-accent: #EE00AA;
    position: relative;
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(23, 18, 15, .09);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(23, 18, 15, .055);
}
.hz-product-card.is-commercial-highlight {
    border: 2px solid var(--card-accent);
    box-shadow: 0 5px 22px color-mix(in srgb, var(--card-accent) 24%, transparent);
}
.hz-product-card.is-auto-highlight { border: 2px solid var(--card-highlight); box-shadow: 0 5px 20px color-mix(in srgb, var(--card-highlight) 20%, transparent); }
.hz-product-card.is-auto-highlight--sage { --card-highlight: #8FAE82; }
.hz-product-card.is-auto-highlight--rose { --card-highlight: #DDA1AC; }
.hz-product-card.is-auto-highlight--blue { --card-highlight: #8FB2CE; }
.hz-product-card.is-auto-highlight--sand { --card-highlight: #D8BC7C; }
.hz-product-card__link { display: flex; flex-direction: column; color: inherit; text-decoration: none; min-width: 0; }
.hz-product-card__media {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #f3ece1;
    aspect-ratio: 4 / 5;
}
.hz-product-card__media.media-square { aspect-ratio: 1 / 1; }
.hz-product-card__media.media-standard { aspect-ratio: 4 / 5; }
.hz-product-card__media.media-tall { aspect-ratio: 2 / 3; }
.hz-product-card__media > .img-bg-fill { position: absolute; inset: 0; }
.hz-product-card__media .img-bg-fill__main { object-fit: cover; }
.hz-product-card__media .hz-awards--card { top: 9px; right: 9px; width: 22%; min-width: 28px; max-width: 58px; gap: 3px; }
.hz-product-card__featured,
.hz-product-card__kind {
    position: absolute;
    z-index: 3;
    left: 9px;
    top: 9px;
    max-width: calc(100% - 68px);
    padding: 5px 8px;
    border-radius: 999px;
    color: #fff;
    background: var(--card-accent);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: .025em;
    box-shadow: 0 2px 8px #0002;
}
.hz-product-card__kind { top: auto; bottom: 9px; left: 9px; background: rgba(31, 27, 22, .78); }
.hz-product-card__heat-overlay { position: absolute; z-index: 5; left: 9px; bottom: 9px; display: flex; align-items: center; min-height: 18px; pointer-events: none; }
.hz-product-card__heat { display: flex; align-items: center; gap: 0; white-space: nowrap; }
.hz-product-card__heat img { display: block; width: 12px; height: 15px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.hz-product-card__body { display: flex; flex-direction: column; gap: 0; padding: 5px 8px 0; min-width: 0; }
.hz-product-card__brand { color: #71675e; font-size: 10px; line-height: 1.25; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.hz-product-card__title-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 0; min-height: 22px; }
.hz-product-card__name { min-width: 0; margin: 0; color: #211c18; font-size: clamp(12px, 1.02vw, 15px); font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-product-card__price { flex: 0 0 auto; color: #211c18; font-size: clamp(12px, 1vw, 14px); font-weight: 650; line-height: 1.2; white-space: nowrap; }
.hz-product-card__footer { display: block; padding: 0 4px 2px; min-width: 0; }
.hz-product-card__actions {
    display: grid;
    grid-template-columns: minmax(40px, .9fr) minmax(80px, 1.4fr) minmax(52px, 1fr);
    grid-template-rows: 40px;
    gap: 0;
    padding: 0;
    align-items: center;
    min-width: 0;
}
.hz-card-add, .hz-card-cart-link, .hz-card-decrease, .hz-card-increase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 40px;
    width: 100%;
    border: 0;
    border-radius: 0;
    padding: 4px 3px;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    touch-action: manipulation;
    transition: color .18s ease, opacity .18s ease, transform .14s ease;
    background: transparent;
}
.hz-card-add { color: #211c18; grid-column: 2; grid-row: 1; }
.hz-card-decrease { color: #211c18; grid-column: 1; grid-row: 1; }
.hz-card-increase { color: #211c18; grid-column: 2; grid-row: 1; }
.hz-card-cart-link { color: #675847; grid-column: 3; grid-row: 1; text-decoration: none; }
.hz-card-add:hover:not(:disabled), .hz-card-cart-link:hover, .hz-card-decrease:hover:not(:disabled), .hz-card-increase:hover:not(:disabled) { color: #a90078; }
.hz-card-add:active:not(:disabled), .hz-card-cart-link:active, .hz-card-decrease:active:not(:disabled), .hz-card-increase:active:not(:disabled) { transform: scale(.96); }
.hz-card-add:focus-visible, .hz-card-cart-link:focus-visible, .hz-card-decrease:focus-visible, .hz-card-increase:focus-visible { outline: 3px solid #EE00AA; outline-offset: 1px; }
.hz-card-add:disabled, .hz-card-decrease:disabled, .hz-card-increase:disabled { cursor: not-allowed; opacity: .48; }
.hz-card-add[hidden], .hz-card-cart-link[hidden], .hz-card-decrease[hidden], .hz-card-increase[hidden] { display: none !important; }
.hz-card-add__normal { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.hz-card-icon { display: block; flex: 0 0 auto; }
.hz-card-decrease svg, .hz-card-increase svg, .hz-card-cart-link svg { display: block; flex: 0 0 auto; }
/* The icon is an SVGElement, so its visibility is driven by the content
   attribute toggled in JS rather than HTMLElement.hidden. This must override
   the display:block rule above. */
.hz-card-decrease svg[hidden] { display: none !important; }
.hz-product-card__unavailable { margin: 0; padding: 0 10px 10px; color: #726a62; font-size: 11px; text-align: center; }
.hz-product-card__error { margin: 0 10px 10px; color: #a92323; font-size: 11px; line-height: 1.35; }
.hz-product-card__error[hidden] { display: none; }
.hz-product-card.is-loading .hz-card-add,
.hz-product-card.is-loading .hz-card-decrease,
.hz-product-card.is-loading .hz-card-increase { opacity: .72; }
.hz-product-card.is-loading .hz-card-cart-link { pointer-events: none; }
.hz-card-add.is-pending::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: hz-card-spin .7s linear infinite;
}
.hz-card-add.is-pending > * { opacity: .22; }
@keyframes hz-card-spin { to { transform: rotate(360deg); } }
@media (max-width: 1180px) { .hz-storefront-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .hz-storefront-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .hz-storefront { width: 100%; }
    .hz-storefront-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --storefront-gap: 9px; }
    .hz-product-card { border-radius: 12px; }
    .hz-product-card__body { gap: 0; padding: 4px 7px 0; }
    .hz-product-card__name, .hz-product-card__price { font-size: 12px; }
    .hz-product-card__footer { padding: 0 3px 2px; }
    .hz-product-card__heat-overlay { left: 7px; bottom: 7px; }
    .hz-product-card__heat img { width: 10px; height: 12px; }
    .hz-product-card__actions { grid-template-columns: minmax(40px, .9fr) minmax(64px, 1.5fr) minmax(42px, 1fr); grid-template-rows: 40px; }
    .hz-card-add, .hz-card-cart-link, .hz-card-decrease, .hz-card-increase { min-height: 40px; font-size: 10px; padding-inline: 1px; }
    .hz-card-add__normal { gap: 2px; }
    .hz-card-add__normal .hz-card-icon { width: 15px; height: 15px; }
    .hz-product-card__featured, .hz-product-card__kind { left: 7px; top: 7px; padding: 4px 6px; font-size: 9px; }
    .hz-product-card__kind { top: auto; bottom: 7px; }
    .hz-product-card__media .hz-awards--card { top: 7px; right: 7px; }
}
@media (max-width: 420px) {
    .hz-storefront-grid { --storefront-gap: 7px; }
    .hz-product-card__body { padding-inline: 6px; }
    .hz-product-card__actions { grid-template-columns: minmax(38px, .9fr) minmax(62px, 1.5fr) minmax(42px, 1fr); }
    .hz-product-card__heat img { width: 9px; height: 11px; }
    .hz-card-add__normal .hz-card-icon { width: 14px; height: 14px; }
    .hz-card-add, .hz-card-cart-link, .hz-card-decrease, .hz-card-increase { font-size: 9px; gap: 2px; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .hz-product-card, .hz-card-add, .hz-card-cart-link, .hz-card-decrease, .hz-card-increase,
    .hz-card-add.is-pending::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

