/*
 * Coluna flex para o rodapé encostar embaixo. Só as telas de descoberta
 * carregam esta folha, e nelas o <body> tem exatamente dois filhos em fluxo:
 * o <main class="discovery-page"> e o rodapé.
 *
 * O min-height saiu de .discovery-page e veio para cá: mantido lá, a própria
 * página ocupava a viewport inteira e empurrava o rodapé para fora da dobra
 * mesmo quando havia pouco conteúdo.
 */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.discovery-page {
    --discovery-ink: #2c1a0f;
    --discovery-muted: #75675d;
    flex: 1 0 auto;
    background: #f8f6f2;
    color: var(--discovery-ink);
    font-family: Manrope, sans-serif;
}

.discovery-page--category-stores {
    --discovery-filter-accent: #ff8900;
    --discovery-filter-submit: #a00002;
    background: #f5f2e8;
}

.discovery-page *,
.discovery-page *::before,
.discovery-page *::after { box-sizing: border-box; }

.discovery-shell {
    margin-inline: auto;
    max-width: 1240px;
    width: calc(100% - 40px);
}

.discovery-header {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(57, 32, 17, .08);
}

.discovery-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 76px;
}

.discovery-brand img {
    display: block;
    filter: drop-shadow(0 3px 2px rgba(57, 27, 7, .34));
    height: 49px;
    object-fit: contain;
    width: auto;
}

.discovery-header__actions { display: flex; gap: 24px; }
.discovery-header__actions a {
    color: #513522;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
}
.discovery-header__actions a:hover { color: var(--discovery-primary); }

.discovery-category {
    background:
        radial-gradient(circle at 14% 10%, rgba(255, 255, 255, .18), transparent 29%),
        linear-gradient(115deg, var(--discovery-primary-strong), var(--discovery-primary));
    color: #fff;
    padding: 0;
}

.discovery-category .discovery-shell {
    margin-inline: 0;
    max-width: none;
    width: 100%;
}

.discovery-category.has-custom-banner {
    background-color: var(--discovery-primary);
    background-image:
        linear-gradient(90deg, rgba(185, 67, 0, .08), transparent 58%),
        var(--category-banner-image);
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: 100% 100%, auto 155%;
}

.discovery-category.has-custom-banner .discovery-category__inner {
    grid-template-columns: 1fr;
}

.discovery-category__inner {
    align-items: stretch;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    height: 132px;
    min-height: 0;
    overflow: hidden;
}

.discovery-category__content {
    align-self: center;
    min-width: 0;
    padding: 13px 24px 13px max(24px, calc((100vw - 1240px) / 2));
}

.discovery-breadcrumb {
    color: rgba(255, 255, 255, .8);
    display: inline-flex;
    font-size: .62rem;
    font-weight: 700;
    gap: 8px;
    margin-bottom: 6px;
    text-decoration: none;
}

.discovery-category__eyebrow {
    display: block;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.discovery-category h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(1.75rem, 2.7vw, 2.3rem);
    letter-spacing: -.045em;
    line-height: 1;
    margin: 0 0 5px;
}

.discovery-category p {
    color: rgba(255, 255, 255, .88);
    font-size: .77rem;
    line-height: 1.55;
    margin: 0;
    max-width: 610px;
}

.discovery-category__image {
    align-items: center;
    display: flex;
    height: 132px;
    justify-content: center;
    min-height: 0;
    overflow: visible;
    position: relative;
}
.discovery-category__image::after {
    background: linear-gradient(90deg, var(--discovery-primary) 0, transparent 55%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 2;
}
.discovery-category__image-glow {
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    filter: blur(2px);
    height: 118px;
    position: absolute;
    right: 32px;
    transform: rotate(-8deg);
    width: 150px;
}
.discovery-category__image img {
    border: 4px solid rgba(255, 255, 255, .72);
    border-radius: 20px;
    box-shadow: 0 14px 24px rgba(72, 29, 0, .34), 0 2px 0 rgba(255, 255, 255, .35) inset;
    height: 106px;
    object-fit: cover;
    position: relative;
    right: 18px;
    transform: rotate(1.5deg);
    width: 158px;
    z-index: 1;
}

.discovery-content {
    padding: 16px 0 64px;
}

.discovery-page--category-stores .discovery-content {
    background: #f5f2e8;
    padding-top: 8px;
}

.discovery-filter-band {
    background: #fff;
    width: 100%;
}

.discovery-filters {
    background: #fff;
    border: 1px solid rgba(57, 32, 17, .08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(65, 39, 22, .08);
    padding: 16px 18px;
}

.discovery-page--category-stores .discovery-filters {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 16px 0;
}

.discovery-filters__heading,
.discovery-results__head {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
}

.discovery-filters__heading { margin-bottom: 11px; }
.discovery-filters__eyebrow,
.discovery-results__head span {
    color: var(--discovery-primary-strong);
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.discovery-page--category-stores .discovery-filters__eyebrow {
    color: var(--discovery-filter-accent);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.discovery-filters h2,
.discovery-results__head h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    letter-spacing: -.035em;
    margin: 2px 0 0;
}
.discovery-filters h2 { font-size: 1.35rem; line-height: 1.05; }
.discovery-page--category-stores .discovery-filters h2 {
    font-size: 1.4rem;
    font-weight: 700;
}
.discovery-filters__heading a { color: #855b3d; font-size: .82rem; font-weight: 700; }

.discovery-filters__search-row {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
}

.discovery-page--category-stores .discovery-search-composer {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(260px, 1fr) auto 170px;
    position: relative;
}
.discovery-page--category-stores .discovery-search-group {
    align-items: end;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    min-width: 0;
}
.discovery-page--category-stores .discovery-location-picker {
    align-self: end;
    max-width: 178px;
    min-width: 0;
    position: relative;
    width: max-content;
}
.discovery-page--category-stores .discovery-location-picker__trigger {
    align-items: center;
    background: var(--discovery-filter-accent);
    border: 1px solid var(--discovery-filter-accent);
    border-radius: 12px 0 0 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    gap: 6px;
    list-style: none;
    min-height: 46px;
    padding: 0 11px;
}
.discovery-page--category-stores .discovery-location-picker__trigger:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 137, 0, .2);
    outline: none;
}
.discovery-page--category-stores .discovery-location-picker__trigger::-webkit-details-marker {
    display: none;
}
.discovery-page--category-stores .discovery-location-picker__value {
    font-size: .82rem;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 1px rgba(90, 35, 0, .5);
    white-space: nowrap;
}
.discovery-page--category-stores .discovery-search-composer__icon,
.discovery-page--category-stores .discovery-location-picker__chevron {
    fill: none;
    flex: 0 0 auto;
    stroke: var(--discovery-filter-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}
.discovery-page--category-stores .discovery-search-composer__icon {
    height: 19px;
    width: 19px;
}
.discovery-page--category-stores .discovery-location-picker__chevron {
    height: 16px;
    margin-left: auto;
    transition: transform .18s ease;
    width: 16px;
}
.discovery-page--category-stores .discovery-location-picker__trigger .discovery-search-composer__icon,
.discovery-page--category-stores .discovery-location-picker__trigger .discovery-location-picker__chevron {
    filter: drop-shadow(0 1px 1px rgba(90, 35, 0, .5));
    stroke: #fff;
}
.discovery-page--category-stores .discovery-location-picker[open] .discovery-location-picker__chevron {
    transform: rotate(180deg);
}
.discovery-page--category-stores .discovery-location-picker:not([open]) > .discovery-location-picker__panel {
    display: none;
}
.discovery-page--category-stores .discovery-location-picker__panel {
    background: #fff;
    border: 1px solid #e1d7ce;
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(63, 39, 24, .16);
    left: -4px;
    padding: 15px;
    position: absolute;
    top: calc(100% + 10px);
    width: min(330px, calc(100vw - 48px));
    z-index: 20;
}
.discovery-page--category-stores .discovery-location-picker__eyebrow {
    color: #4b3427;
    display: block;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.discovery-page--category-stores .discovery-field--search {
    align-self: end;
    min-width: 0;
}
.discovery-page--category-stores .discovery-field--search .discovery-field__control {
    background: #faf8f5;
    border: 1px solid #ded4cb;
    border-left: 0;
    border-radius: 0 12px 12px 0;
    min-height: 46px;
    padding-inline: 14px;
}
.discovery-page--category-stores .discovery-visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.discovery-page--category-stores .discovery-search-composer .discovery-filters__submit {
    align-self: end;
    grid-column: auto;
    min-height: 46px;
    padding-inline: 24px;
}
.discovery-page--category-stores .discovery-sort--toolbar {
    align-self: end;
    margin-left: 0;
    min-width: 170px;
}
.discovery-page--category-stores .discovery-sort--toolbar select {
    min-height: 46px;
}

.discovery-field > span:first-child,
.discovery-sort > span {
    color: #6f5e52;
    display: block;
    font-size: .72rem;
    font-weight: 700;
    margin: 0 0 4px 4px;
}
.discovery-page--category-stores .discovery-field > span:first-child,
.discovery-page--category-stores .discovery-sort > span {
    color: #4b3427;
    font-size: .76rem;
    font-weight: 700;
}

.discovery-field__control {
    align-items: center;
    background: #f8f6f2;
    border: 1px solid #e7e0d8;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
}
.discovery-field__control > span { color: var(--discovery-primary); font-size: 1.2rem; }
.discovery-page--category-stores .discovery-field__control {
    border-color: #ded4cb;
}
.discovery-page--category-stores .discovery-field__control:focus-within,
.discovery-page--category-stores .discovery-sort select:focus {
    border-color: var(--discovery-filter-accent);
    box-shadow: 0 0 0 3px rgba(255, 137, 0, .12);
}
.discovery-field input {
    background: transparent;
    border: 0;
    color: var(--discovery-ink);
    font: inherit;
    min-width: 0;
    outline: none;
    width: 100%;
}
.discovery-page--category-stores .discovery-field input {
    color: #3b2a21;
    font-weight: 600;
}
.discovery-page--category-stores .discovery-field input::placeholder {
    color: #7b7068;
    font-weight: 500;
    opacity: 1;
}

.discovery-filters__submit {
    align-self: end;
    background: var(--discovery-primary);
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 42px;
    padding: 0 28px;
}
.discovery-page--category-stores .discovery-filters__submit {
    background: var(--discovery-filter-submit);
    font-weight: 700;
}

.discovery-filters__options {
    align-items: flex-end;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 11px;
}

.discovery-chip input { opacity: 0; pointer-events: none; position: absolute; }
.discovery-chip span {
    background: #fff;
    border: 1px solid #ded5cd;
    border-radius: 999px;
    color: #5a4435;
    cursor: pointer;
    display: block;
    font-size: .78rem;
    font-weight: 700;
    padding: 9px 13px;
}
.discovery-chip input:checked + span {
    background: #fff1dd;
    border-color: var(--discovery-primary);
    color: #7a3d00;
}
.discovery-page--category-stores .discovery-chip span {
    border-color: #dcd1c7;
    color: var(--discovery-filter-accent);
    font-size: .82rem;
    font-weight: 700;
}
.discovery-page--category-stores .discovery-chip input:checked + span {
    background: #fff4e6;
    border-color: var(--discovery-filter-accent);
    color: var(--discovery-filter-accent);
}

.discovery-sort { margin-left: auto; min-width: 170px; }
.discovery-sort select {
    background: #fff;
    border: 1px solid #ded5cd;
    border-radius: 10px;
    color: #513d31;
    font: inherit;
    font-size: .8rem;
    min-height: 38px;
    padding: 0 34px 0 11px;
    width: 100%;
}
.discovery-page--category-stores .discovery-sort select {
    color: #3b2a21;
    font-size: .82rem;
    font-weight: 600;
    outline: none;
}

.discovery-results__head { margin: 34px 2px 18px; }
.discovery-results__head h2 { font-size: 1.75rem; }
.discovery-results__head p { color: var(--discovery-muted); font-size: .77rem; margin: 0; }

.discovery-store-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(286px, 326px));
    justify-content: start;
}

.discovery-store-card {
    background: #fff;
    border: 1px solid rgba(81, 46, 20, .07);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(75, 42, 18, .09);
    max-width: 326px;
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease;
    width: 100%;
}
.discovery-store-card:hover {
    box-shadow: 0 20px 44px rgba(75, 42, 18, .15);
    transform: translateY(-4px);
}
.discovery-store-card > a {
    color: inherit;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-decoration: none;
}
.discovery-store-card > a:focus-visible {
    border-radius: inherit;
    outline: 3px solid rgba(255, 137, 0, .48);
    outline-offset: -3px;
}

.discovery-store-card__visual {
    background: #f9a936;
    height: 124px;
    position: relative;
}
.discovery-store-card__cover {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: filter .2s ease, transform .25s ease;
    width: 100%;
}
.discovery-store-card:hover .discovery-store-card__cover { transform: scale(1.025); }
.discovery-store-card.is-closed .discovery-store-card__cover { filter: brightness(.84); }
.discovery-store-card__status,
.discovery-store-card__coupon {
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .13);
    font-size: .69rem;
    font-weight: 800;
    left: 12px;
    line-height: 1;
    padding: 8px 12px;
    position: absolute;
    top: 12px;
    z-index: 2;
}
.discovery-store-card__status.is-open { color: #178447; }
.discovery-store-card__status.is-closed { color: #a54b3d; }
.discovery-store-card__coupon {
    color: #a00002;
    left: auto;
    right: 12px;
}
.discovery-store-card__logo {
    align-items: center;
    background: #fffaf2;
    border: 4px solid rgba(255, 255, 255, .92);
    border-radius: 18px;
    bottom: -47px;
    box-shadow: 0 9px 22px rgba(61, 32, 12, .16);
    display: flex;
    height: 96px;
    justify-content: center;
    left: 50%;
    overflow: hidden;
    padding: 7px;
    position: absolute;
    transform: translateX(-50%);
    width: 96px;
    z-index: 3;
}
.discovery-store-card__logo img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.discovery-store-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 61px 17px 15px;
}
.discovery-store-card__identity {
    min-height: 58px;
    text-align: center;
}
.discovery-store-card__identity h3 {
    color: #21160f;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
    margin: 0;
}
.discovery-store-card__identity p {
    color: #75685f;
    font-size: .66rem;
    line-height: 1.45;
    margin: 6px auto 0;
    max-width: 270px;
}
.discovery-store-card__metrics {
    border-bottom: 1px solid #eee8e2;
    border-top: 1px solid #eee8e2;
    display: grid;
    gap: 11px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    padding: 12px 0;
}
.discovery-store-card__metric {
    align-items: center;
    display: flex;
    gap: 7px;
    min-width: 0;
}
.discovery-store-card__metric:nth-child(3) { grid-column: 1 / -1; }
.discovery-store-card__metric-icon {
    align-items: center;
    background: #fff0ee;
    border-radius: 50%;
    color: #a00002;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: .74rem;
    height: 32px;
    justify-content: center;
    width: 32px;
}
.discovery-store-card__metric > span:last-child { min-width: 0; }
.discovery-store-card__metric strong {
    color: #34251c;
    display: block;
    font-size: .69rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.discovery-store-card__metric small {
    color: #8b7b70;
    display: block;
    font-size: .56rem;
    font-weight: 600;
    margin-top: 2px;
}
.discovery-store-card__footer {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
}
.discovery-store-card__channels {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    min-width: 0;
}
.discovery-store-card__channels span {
    color: #65564c;
    font-size: .58rem;
    font-weight: 700;
    white-space: nowrap;
}
.discovery-store-card__channels i {
    color: #a00002;
    margin-right: 3px;
}
.discovery-store-card__action {
    align-items: center;
    background: #fff2e3;
    border-radius: 50%;
    color: #ff8900;
    display: inline-flex;
    flex: 0 0 34px;
    font-size: .78rem;
    height: 34px;
    justify-content: center;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
    width: 34px;
}
.discovery-store-card:hover .discovery-store-card__action {
    background: #ff8900;
    color: #fff;
    transform: translateX(2px);
}

.discovery-empty {
    background: #fff;
    border: 1px dashed #d8cabc;
    border-radius: 20px;
    padding: 55px 25px;
    text-align: center;
}
.discovery-empty > span { color: var(--discovery-primary); font-size: 2.5rem; }
.discovery-empty h3 { font-family: "Bricolage Grotesque", sans-serif; margin: 7px 0; }
.discovery-empty p { color: var(--discovery-muted); margin: 0 0 20px; }
.discovery-empty a { color: var(--discovery-primary-strong); font-weight: 800; }

.product-discovery--search-results {
    --product-accent: #ff8900;
    --product-red: #a00002;
    background: #f5f2e8;
}

.product-discovery__banner.has-custom-banner {
    background-color: #ff8900;
    background-image: var(--category-banner-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.product-discovery__filters {
    position: relative;
    z-index: 2;
}

.product-discovery__results { padding-top: 24px; }

.product-discovery__summary {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
    margin: 0 2px 16px;
}
.product-discovery__summary span {
    color: var(--product-accent);
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.product-discovery__summary h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.75rem;
    letter-spacing: -.035em;
    margin: 2px 0 0;
}
.product-discovery__summary p {
    color: var(--discovery-muted);
    font-size: .77rem;
    margin: 0;
}
.product-discovery__empty { margin-top: 0; }
.product-discovery__empty > i {
    color: var(--product-accent);
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.product-store-list {
    display: grid;
    gap: 16px;
}

.product-store-group {
    background: #fff;
    border: 1px solid rgba(81, 46, 20, .07);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(75, 42, 18, .09);
    overflow: hidden;
}

.product-store-group__header {
    align-items: center;
    border-bottom: 1px solid #eee8e2;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 16px;
}

.product-store-group__identity {
    align-items: center;
    color: inherit;
    display: flex;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.product-store-group__identity:focus-visible,
.product-result-card__link:focus-visible {
    border-radius: 12px;
    outline: 3px solid var(--product-red);
    outline-offset: 2px;
}

.product-store-group__logo {
    align-items: center;
    background: #fffaf2;
    border: 1px solid #eee2d7;
    border-radius: 14px;
    display: inline-flex;
    flex: 0 0 54px;
    height: 54px;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    width: 54px;
}
.product-store-group__logo img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.product-store-group__copy { min-width: 0; }
.product-store-group__name-row {
    align-items: center;
    display: flex;
    gap: 9px;
    min-width: 0;
}
.product-store-group__name-row h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.06rem;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-store-group__status {
    background: #f8e9e7;
    border-radius: 999px;
    color: #a54b3d;
    flex: 0 0 auto;
    font-size: .69rem;
    font-weight: 800;
    padding: 5px 8px;
}
.product-store-group__status.is-open {
    background: #e8f7ee;
    color: #178447;
}
.product-store-group__address {
    color: #75685f;
    display: block;
    font-size: .72rem;
    font-weight: 500;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-store-group__address i {
    color: var(--product-red);
    margin-right: 4px;
}

.product-store-group__metrics {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: repeat(3, minmax(92px, auto));
    margin: 0;
}
.product-store-group__metric {
    align-items: center;
    display: flex;
    gap: 8px;
    min-width: 0;
}
.product-store-group__metric-icon {
    align-items: center;
    background: #fff0ee;
    border-radius: 50%;
    color: var(--product-red);
    display: inline-flex;
    flex: 0 0 30px;
    font-size: .7rem;
    height: 30px;
    justify-content: center;
    width: 30px;
}
.product-store-group__metric-copy { min-width: 0; }
.product-store-group__metric dt {
    color: #8a7769;
    font-size: .66rem;
    font-weight: 600;
    line-height: 1.2;
}
.product-store-group__metric dd {
    color: var(--ok-text, #3f2c20);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 2px 0 0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-store-group__metric dd.product-store-group__fee {
    max-width: 230px;
    font-size: .8rem;
    line-height: 1.5;
    overflow: visible;
    overflow-wrap: anywhere;
    white-space: normal;
}

.product-store-group__products {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px 16px 16px;
}

.product-result-card {
    border: 1px solid #ece4dc;
    border-radius: 16px;
    min-width: 0;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.product-result-card:hover,
.product-result-card:focus-within {
    border-color: rgba(255, 137, 0, .55);
    box-shadow: 0 12px 24px rgba(65, 39, 22, .1);
    transform: translateY(-2px);
}
.product-result-card__link {
    color: inherit;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    height: 100%;
    min-height: 132px;
    text-decoration: none;
}

.product-result-card__media {
    align-items: center;
    background: #f5f1ec;
    display: flex;
    justify-content: center;
    min-height: 132px;
    overflow: hidden;
    position: relative;
}
.product-result-card__media img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
    width: 100%;
}
.product-result-card:hover .product-result-card__media img,
.product-result-card:focus-within .product-result-card__media img {
    transform: scale(1.035);
}
.product-result-card__badge {
    background: var(--product-red);
    border-radius: 999px;
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    left: 8px;
    padding: 5px 8px;
    position: absolute;
    top: 8px;
}

.product-result-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 12px 13px;
}
.product-result-card__content h3 {
    color: #2d1d14;
    display: -webkit-box;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: .94rem;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.22;
    margin: 0 0 6px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-result-card__content > p {
    color: #75685f;
    display: -webkit-box;
    font-size: .72rem;
    line-height: 1.45;
    margin: 0 0 9px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-result-card__footer {
    align-items: flex-end;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
}
.product-result-card__price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.product-result-card__price small {
    color: #75685f;
    font-size: .64rem;
    font-weight: 600;
    line-height: 1.2;
}
.product-result-card__price strong {
    color: var(--product-red);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.25;
}
.product-result-card__action {
    align-items: center;
    background: #fff2e3;
    border-radius: 50%;
    color: var(--product-accent);
    display: inline-flex;
    flex: 0 0 32px;
    font-size: .72rem;
    height: 32px;
    justify-content: center;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
    width: 32px;
}
.product-result-card:hover .product-result-card__action,
.product-result-card:focus-within .product-result-card__action {
    background: var(--product-accent);
    color: #fff;
    transform: translateX(2px);
}

@media (max-width: 900px) {
    .discovery-category__inner { grid-template-columns: minmax(0, 1fr) 190px; }
    .discovery-store-grid { grid-template-columns: repeat(2, minmax(0, 326px)); }
    .discovery-filters__search-row { grid-template-columns: 1fr 1fr; }
    .discovery-filters__submit { grid-column: 1 / -1; }
    .product-store-group__header {
        align-items: start;
        grid-template-columns: 1fr;
    }
    .product-store-group__metrics {
        border-top: 1px solid #eee8e2;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 12px;
        width: 100%;
    }
    .product-store-group__products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .discovery-shell { width: calc(100% - 24px); }
    .discovery-header__inner { min-height: 64px; }
    .discovery-brand img { height: 40px; }
    .discovery-header__actions a:first-child { display: none; }
    .discovery-category { padding-top: 0; }
    .discovery-category__inner { display: block; height: 126px; position: relative; }
    .discovery-category__content { padding: 16px 18px; position: relative; z-index: 1; }
    .discovery-breadcrumb { margin-bottom: 7px; }
    .discovery-category__image { inset: 0 0 0 auto; opacity: .3; position: absolute; width: 180px; }
    .discovery-category__image::after { background: linear-gradient(90deg, var(--discovery-primary-strong), transparent); }
    .discovery-category__image img { border: 0; border-radius: 0; height: 100%; right: 0; transform: none; width: 100%; }
    .discovery-category__image-glow { display: none; }
    .discovery-category.has-custom-banner { background-size: 100% 100%, auto 140%; }
    .discovery-content { padding-top: 18px; }
    .discovery-filters { border-radius: 17px; padding: 16px; }
    .discovery-page--category-stores .discovery-content { padding-top: 8px; }
    .discovery-page--category-stores .discovery-filters { border-radius: 0; padding: 16px 0; }
    .discovery-filters__search-row { grid-template-columns: 1fr; }
    .discovery-filters__submit { grid-column: auto; }
    .discovery-page--category-stores .discovery-search-composer {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .discovery-page--category-stores .discovery-sort--toolbar {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: end;
        min-width: 145px;
        width: 145px;
    }
    .discovery-page--category-stores .discovery-search-group {
        grid-column: 1;
        grid-row: 2;
    }
    .discovery-page--category-stores .discovery-search-composer .discovery-filters__submit {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        padding-inline: 14px;
    }
    .discovery-sort { margin-left: 0; width: 100%; }
    .discovery-results__head { align-items: flex-start; display: block; }
    .discovery-results__head p { margin-top: 7px; }
    .discovery-store-grid { grid-template-columns: 1fr; }
    .discovery-store-card { margin-inline: auto; max-width: 326px; }
    .product-discovery__banner.has-custom-banner {
        background-image:
            linear-gradient(90deg, rgba(160, 0, 2, .9) 0%, rgba(160, 0, 2, .58) 55%, rgba(160, 0, 2, 0) 82%),
            var(--category-banner-image);
        background-position: left center, right center;
        background-size: 100% 100%, auto 100%;
    }
    .product-discovery__results { padding-top: 18px; }
    .product-discovery__summary {
        align-items: flex-start;
        display: block;
    }
    .product-discovery__summary h2 { font-size: 1.5rem; }
    .product-discovery__summary p { margin-top: 7px; }
    .product-store-list { gap: 12px; }
    .product-store-group { border-radius: 15px; }
    .product-store-group__header { gap: 12px; padding: 13px 12px; }
    .product-store-group__address {
        display: -webkit-box;
        line-height: 1.4;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .product-store-group__metrics {
        gap: 10px 6px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-store-group__metric:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .product-store-group__metric dd { max-width: 115px; }
    .product-store-group__products {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .product-result-card__link {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 128px;
    }
    .product-result-card__media { min-height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
    .product-result-card,
    .product-result-card__media img,
    .product-result-card__action {
        transition: none;
    }
    .product-result-card:hover,
    .product-result-card:focus-within,
    .product-result-card:hover .product-result-card__media img,
    .product-result-card:focus-within .product-result-card__media img,
    .product-result-card:hover .product-result-card__action,
    .product-result-card:focus-within .product-result-card__action {
        transform: none;
    }
}
