body {
    background:
        radial-gradient(circle at top right, rgba(46,125,50,.08), transparent 22%),
        linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
}

.lp-page-shell {
    max-width: 1520px;
}

.lp-hero-ng {
    position: relative;
    overflow: hidden;
}

.lp-hero-ng::before,
.lp-hero-ng::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.lp-hero-ng::before {
    width: 260px;
    height: 260px;
    background: rgba(46,125,50,.08);
    top: -90px;
    right: -70px;
}

.lp-hero-ng::after {
    width: 180px;
    height: 180px;
    background: rgba(2,132,199,.08);
    bottom: -70px;
    left: -40px;
}

.lp-eyebrow,
.lp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .62rem;
    border-radius: 999px;
    background: rgba(46,125,50,.1);
    color: var(--accent);
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
    line-height: 1;
}

.lp-hero-title {
    font-size: clamp(1.9rem, 2.5vw, 3.05rem);
    line-height: 1.02;
    max-width: 10.5ch;
}

.lp-hero-text {
    max-width: 58ch;
    color: rgba(15, 46, 29, .78);
    font-size: .98rem;
}

.lp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: .7rem;
}

.lp-stat-card {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: .9rem;
    padding: .75rem .85rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    box-shadow: 0 .55rem 1.15rem rgba(15,23,42,.05);
}

.lp-stat-value {
    font-size: 1.05rem;
    font-weight: 800;
}

.lp-stat-label {
    font-size: .78rem;
    color: rgba(15,23,42,.68);
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    padding: .34rem .62rem;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(15,23,42,.08);
    font-size: .78rem;
    font-weight: 600;
}

.lp-pill-highlight {
    background: rgba(46,125,50,.12);
    border-color: rgba(46,125,50,.18);
}

.lp-hero-actions .btn {
    min-width: 190px;
}

.lp-hero-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-hero-illustration {
    max-width: 100%;
    width: 100%;
    filter: drop-shadow(0 1rem 2rem rgba(15,23,42,.12));
}

.lp-floating-card {
    position: absolute;
    max-width: 205px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: .9rem;
    box-shadow: 0 .85rem 1.6rem rgba(15,23,42,.08);
    padding: .7rem .8rem;
    font-size: .92rem;
}

.lp-floating-card-top {
    top: 12%;
    left: -2%;
}

.lp-floating-card-bottom {
    right: -2%;
    bottom: 4%;
}

.lp-search-card,
.lp-last-store,
.lp-geo-card {
    border-radius: .95rem;
    overflow: hidden;
}

.lp-search-card,
.lp-geo-card {
    display: flex;
    flex-direction: column;
}

.lp-search-card .card-body,
.lp-geo-card .card-body {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    height: 100%;
}

.lp-card-head {
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.lp-card-head-compact {
    padding-bottom: .1rem;
}

.lp-card-title-wrap {
    min-width: 0;
}

.lp-card-title {
    font-size: 1.28rem;
    line-height: 1.08;
    letter-spacing: -.015em;
    margin: 0;
}

.lp-card-subtitle {
    color: rgba(15,23,42,.66);
    font-size: .86rem;
    line-height: 1.45;
    max-width: 36ch;
}

.lp-card-status {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: .42rem .72rem;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(15,23,42,.08);
    line-height: 1.25;
}

.lp-card-inline-action {
    align-self: flex-start;
    white-space: nowrap;
}

.lp-geo-card {
    border: 1px solid rgba(15,23,42,.06);
}

.lp-geo-header #geoResumo {
    margin-bottom: 0;
}

.lp-geo-auto {
    padding: .75rem .85rem;
}

.lp-geo-grid .form-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.lp-geo-grid .form-select {
    min-height: 2.45rem;
}

.lp-geo-actions .btn,
.lp-geo-header .btn {
    min-height: 2rem;
}

.lp-summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.lp-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    border-radius: 999px;
    padding: .38rem .65rem;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(15,23,42,.08);
    font-size: .8rem;
}

.lp-chip-bar .btn {
    border-radius: 999px;
    padding: .36rem .78rem;
    font-size: .82rem;
}

.lp-promo-item {
    display: flex;
    flex-direction: column;
    border-radius: .9rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.96);
    box-shadow: 0 .6rem 1.15rem rgba(15,23,42,.05);
}

.lp-promo-media {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(46,125,50,.08), rgba(2,132,199,.08));
    overflow: hidden;
}

.lp-promo-body {
    padding: .8rem .9rem .9rem;
}

.lp-last-store {
    background: linear-gradient(135deg, rgba(46,125,50,.12), rgba(2,132,199,.08));
    border: 1px solid rgba(46,125,50,.12);
    padding: .85rem 1rem;
}

.lp-last-store-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(15,23,42,.08);
    font-size: 1.4rem;
    font-weight: 800;
}

.lp-store-card {
    border-radius: .95rem;
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 .65rem 1.35rem rgba(15,23,42,.05);
}

.lp-store-card .card-body {
    padding: .9rem .9rem .75rem;
}

.lp-store-card .card-footer {
    padding-inline: .9rem !important;
}

.lp-store-cover {
    position: relative;
    aspect-ratio: 16/8.6;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(46,125,50,.12), rgba(2,132,199,.10));
}

.lp-store-cover-overlay {
    position: absolute;
    inset: auto .9rem .9rem .9rem;
    display: flex;
}

.lp-store-badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: .34rem .58rem;
    border-radius: 999px;
    background: rgba(15,23,42,.74);
    color: #fff;
    font-size: .73rem;
    backdrop-filter: blur(4px);
}

.lp-store-avatar {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.95);
    box-shadow: 0 .65rem 1.2rem rgba(15,23,42,.08);
    background: #fff;
    margin-top: -1.5rem;
    position: relative;
    z-index: 1;
}

.lp-store-title {
    line-height: 1.2;
    font-size: .98rem;
}

@media (max-width: 1199.98px) {
    .lp-hero-visual {
        min-height: 280px;
    }

    .lp-floating-card {
        position: static;
        max-width: none;
        margin-top: .75rem;
    }
}

@media (max-width: 991.98px) {
    .lp-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-page-shell {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .lp-hero-actions .btn {
        min-width: 100%;
    }

    .lp-stat-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero-title {
        max-width: none;
    }

    .lp-geo-header #geoResumo {
        width: 100%;
    }
}

.lp-content-column {
    min-width: 0;
}

.lp-page-shell {
    width: 100%;
}

.lp-geo-title {
    font-size: .98rem;
}

.lp-category-panel {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(15,23,42,.07);
}

.lp-category-panel .card-body {
    padding: .9rem;
}

.lp-inline-action {
    white-space: nowrap;
    font-size: .76rem;
    padding-inline: .7rem;
}

.lp-all-stores-details summary {
    cursor: pointer;
}

.lp-store-card-compact .lp-store-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-store-card-compact .lp-store-slug code {
    font-size: .73rem;
}

.lp-store-card-compact .btn {
    min-height: 2.1rem;
}

.lp-search-card .form-control,
.lp-search-card .form-select {
    min-height: 2.65rem;
}

.lp-search-card .form-label {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (min-width: 1400px) {
    .lp-hero-title {
        max-width: 12ch;
    }
}

@media (max-width: 767.98px) {
    .lp-geo-actions .btn,
    .lp-inline-action {
        width: 100%;
    }

    .lp-category-panel .d-flex.align-items-start.justify-content-between {
        flex-direction: column;
    }
}

.lp-prepromo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.lp-prepromo-item {
    margin: 0 !important;
    height: 100%;
}

.lp-prepromo-item-hero {
    grid-column: auto;
}

.lp-prepromo-item-search {
    order: 2;
}

.lp-prepromo-item-geo {
    order: 3;
}

.lp-prepromo-item-hero .row {
    --bs-gutter-y: .85rem;
}

.lp-hero-ng {
    padding: 1rem !important;
}

.lp-hero-title {
    font-size: clamp(1.55rem, 2.1vw, 2.45rem);
    line-height: 1.02;
    max-width: 11ch;
}

.lp-hero-text {
    max-width: 44ch;
    color: rgba(15, 46, 29, .76);
    font-size: .88rem;
    margin-bottom: .85rem !important;
}

.lp-eyebrow,
.lp-section-kicker {
    padding: .2rem .5rem;
    font-size: .6rem;
    letter-spacing: .035em;
}

.lp-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
}

.lp-stat-card {
    padding: .58rem .68rem;
    border-radius: .78rem;
    gap: .08rem;
}

.lp-stat-value {
    font-size: .98rem;
}

.lp-stat-label {
    font-size: .72rem;
    line-height: 1.25;
}

.lp-pill {
    padding: .26rem .52rem;
    font-size: .72rem;
}

.lp-hero-actions .btn {
    min-width: 0;
    min-height: 2.45rem;
    padding: .58rem .9rem;
    font-size: .88rem;
}

.lp-hero-visual {
    min-height: 240px;
}

.lp-hero-illustration {
    width: min(100%, 370px);
}

.lp-floating-card {
    max-width: 170px;
    border-radius: .78rem;
    box-shadow: 0 .7rem 1.2rem rgba(15,23,42,.07);
    padding: .55rem .65rem;
    font-size: .78rem;
}

.lp-search-card,
.lp-geo-card {
    background: rgba(255,255,255,.94);
}

.lp-search-card .card-body,
.lp-geo-card .card-body {
    padding: .95rem !important;
}

.lp-card-title {
    font-size: 1.08rem;
}

.lp-card-subtitle,
.lp-geo-header .small,
.lp-search-card p.small {
    font-size: .78rem;
}

.lp-geo-auto {
    padding: .62rem .72rem;
}

.lp-geo-header .d-flex.flex-column.flex-lg-row {
    align-items: flex-start;
}

.lp-card-inline-action {
    min-height: 2.15rem;
}

.lp-geo-auto .btn,
.lp-geo-actions .btn,
.lp-geo-header .btn {
    min-height: 2.1rem;
    font-size: .78rem;
}

.lp-geo-grid .form-select,
.lp-search-card .form-control,
.lp-search-card .form-select {
    min-height: 2.3rem;
    font-size: .9rem;
}

.lp-search-card .form-label,
.lp-geo-grid .form-label {
    font-size: .68rem;
}

.lp-summary-badges {
    gap: .35rem;
}

.lp-summary-badge {
    padding: .28rem .52rem;
    font-size: .74rem;
}

.lp-chip-bar .btn {
    padding: .28rem .62rem;
    font-size: .74rem;
}

.lp-search-card .mt-4 {
    margin-top: .85rem !important;
}

.lp-store-card {
    border-radius: .85rem;
}

.lp-store-card .card-body {
    padding: .72rem .76rem .62rem;
}

.lp-store-card .card-footer {
    padding-inline: .76rem !important;
    padding-bottom: .72rem !important;
}

.lp-store-cover {
    aspect-ratio: 16 / 8;
}

.lp-store-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    margin-top: -1.25rem;
}

.lp-store-title {
    font-size: .9rem;
}

@media (min-width: 1200px) {
    .lp-card-head {
        min-height: 8.6rem;
    }

    .lp-card-title {
        max-width: 14ch;
    }

    .lp-card-subtitle {
        max-width: 34ch;
    }
}

@media (min-width: 768px) {
    .lp-prepromo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-prepromo-item-hero {
        grid-column: span 2;
    }
}

@media (min-width: 1200px) {
    .lp-prepromo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-prepromo-item-hero {
        grid-column: span 2;
    }

    .lp-prepromo-item-geo,
    .lp-prepromo-item-search {
        grid-column: span 1;
    }
}

@media (max-width: 1199.98px) {
    .lp-search-card,
    .lp-geo-card {
        min-height: auto;
    }
}

@media (max-width: 991.98px) {
    .lp-hero-title {
        max-width: none;
    }

    .lp-stat-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .lp-prepromo-grid {
        gap: .85rem;
    }

    .lp-stat-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero-visual {
        min-height: 210px;
    }

    .lp-floating-card {
        max-width: none;
    }
}

@media (max-width: 1199.98px) {
    .lp-card-head {
        min-height: auto;
    }

    .lp-card-title {
        max-width: none;
    }
}

@media (max-width: 575.98px) {
    .lp-card-status,
    .lp-card-inline-action {
        width: 100%;
    }

    .lp-card-status {
        border-radius: .85rem;
        justify-content: flex-start;
    }
}

/* =====================================================================
   v335 — Home produto-first responsiva
   Prioridade: busca de produtos, localização compacta e hero reduzido.
   ===================================================================== */
.lp-page-shell {
    max-width: 1480px;
}

.lp-prepromo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.lp-prepromo-item-search { order: 1; }
.lp-prepromo-item-geo { order: 2; }
.lp-prepromo-item-hero { order: 3; }

.lp-conversion-card {
    border-radius: 1.15rem;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(15,23,42,.06) !important;
}

.lp-search-head {
    max-width: 780px;
}

.lp-main-title {
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1;
    letter-spacing: -.035em;
    color: rgba(15,23,42,.96);
}

.lp-main-subtitle {
    max-width: 62ch;
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    line-height: 1.45;
    color: rgba(15,46,29,.76);
}

.lp-search-card .form-label,
.lp-geo-grid .form-label {
    font-size: .92rem;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(15,23,42,.82);
}

.lp-search-card .form-control,
.lp-search-card .form-select,
.lp-geo-grid .form-select {
    min-height: 3rem;
    font-size: 1rem;
    border-radius: .75rem;
}

.lp-search-card .lp-search-input {
    min-height: 3.45rem;
    font-size: 1.08rem;
    padding-inline: 1rem;
}

.lp-search-submit {
    min-height: 3.45rem;
    border-radius: .8rem;
    font-weight: 700;
}

.lp-search-note {
    min-height: 3rem;
    border-radius: .85rem;
    border: 1px solid rgba(46,125,50,.16);
    background: rgba(46,125,50,.07);
    color: rgba(15,46,29,.82);
    padding: .65rem .8rem;
    font-size: .92rem;
    line-height: 1.25;
}

.lp-summary-badges {
    gap: .55rem;
}

.lp-summary-badge {
    padding: .48rem .75rem;
    font-size: .92rem;
    background: rgba(255,255,255,.9);
}

.lp-summary-badge-geo {
    background: rgba(46,125,50,.08);
    border-color: rgba(46,125,50,.16);
}

.lp-category-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: rgba(15,23,42,.94);
}

.lp-category-subtitle {
    font-size: .92rem;
    color: rgba(15,23,42,.64);
}

.lp-chip-bar .btn,
.pf-cat-chip {
    border-radius: 999px;
    padding: .48rem .86rem;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.15;
}

.lp-geo-card {
    border-radius: 1.15rem;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(15,23,42,.06) !important;
}

.lp-card-title {
    font-size: clamp(1.38rem, 1.8vw, 1.85rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    max-width: none;
}

.lp-card-subtitle {
    font-size: .98rem;
    line-height: 1.45;
    max-width: 38ch;
}

.lp-section-kicker,
.lp-eyebrow {
    font-size: .72rem;
    padding: .32rem .68rem;
}

.lp-card-status {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.6rem;
    padding: .58rem .78rem;
    font-size: .96rem;
    color: rgba(15,23,42,.72) !important;
    background: rgba(46,125,50,.07);
    border-color: rgba(46,125,50,.14);
    border-radius: .85rem;
}

.lp-card-inline-action {
    min-height: 2.7rem;
    border-radius: .75rem;
    font-weight: 700;
}

.lp-geo-mini-actions {
    margin-top: .75rem;
}

.lp-geo-auto {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: .95rem;
    background: rgba(248,250,252,.9);
    padding: .85rem;
    font-size: .96rem;
}

.lp-geo-auto .btn,
.lp-geo-actions .btn {
    min-height: 2.75rem;
    border-radius: .75rem;
    font-weight: 700;
}

.lp-geo-config {
    scroll-margin-top: 1rem;
}

.lp-hero-compact {
    min-height: auto;
    border-radius: 1.15rem;
}

.lp-hero-compact .lp-hero-title {
    font-size: clamp(1.55rem, 2.1vw, 2.35rem);
    max-width: 19ch;
    line-height: 1.05;
}

.lp-hero-compact .lp-hero-text {
    font-size: 1rem;
    max-width: 58ch;
}

.lp-hero-compact .lp-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-hero-compact .lp-hero-visual {
    min-height: 185px;
}

.lp-hero-compact .lp-hero-illustration {
    width: min(100%, 360px);
}

.lp-hero-compact .lp-floating-card {
    max-width: 180px;
    font-size: .82rem;
}

@media (min-width: 992px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
        gap: 1.1rem;
    }

    .lp-prepromo-item-search {
        grid-column: 1 / 2;
    }

    .lp-prepromo-item-geo {
        grid-column: 2 / 3;
    }

    .lp-prepromo-item-hero {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1400px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(360px, .72fr);
    }
}

@media (max-width: 991.98px) {
    main#conteudo {
        padding-top: 1rem !important;
    }

    .lp-main-title {
        font-size: clamp(2rem, 7vw, 2.85rem);
    }

    .lp-main-subtitle,
    .lp-card-subtitle {
        font-size: 1rem;
    }

    .lp-hero-compact .lp-hero-title {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .lp-prepromo-grid {
        gap: .85rem;
    }

    .lp-conversion-card .card-body,
    .lp-geo-card .card-body,
    .lp-hero-compact {
        padding: 1rem !important;
    }

    .lp-search-card .lp-search-input,
    .lp-search-submit {
        min-height: 3.35rem;
    }

    .lp-summary-badge,
    .lp-chip-bar .btn,
    .pf-cat-chip {
        font-size: .9rem;
    }

    .lp-hero-compact .lp-stat-grid {
        grid-template-columns: 1fr;
    }

    .lp-hero-compact .lp-hero-visual {
        min-height: 160px;
    }
}

@media (max-width: 575.98px) {
    .lp-main-title {
        font-size: 2.05rem;
    }

    .lp-main-subtitle {
        font-size: .98rem;
    }

    .lp-card-title {
        font-size: 1.38rem;
    }

    .lp-card-status,
    .lp-card-inline-action,
    .lp-geo-actions .btn,
    .lp-hero-actions .btn {
        width: 100%;
    }

    .lp-chip-bar {
        gap: .45rem !important;
    }

    .lp-chip-bar .btn,
    .pf-cat-chip {
        width: auto;
        max-width: 100%;
        white-space: normal;
        text-align: left;
    }
}

/* =====================================================================
   v336 — UX mobile: compra primeiro, ruído sob demanda
   Objetivo: reduzir altura inicial, esconder cards grandes até o usuário pedir
   e preservar o fluxo produto -> loja -> carrinho -> checkout.
   ===================================================================== */
#conteudo {
    padding-top: 1rem !important;
}

.lp-prepromo-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
}

.lp-prepromo-item-search { order: 1 !important; }
.lp-prepromo-item-geo { order: 2 !important; }
.lp-prepromo-item-hero { order: 99 !important; }

.lp-search-card .card-body,
.lp-geo-card .card-body {
    gap: .65rem;
}

.lp-search-head {
    max-width: 860px;
    margin-bottom: .75rem !important;
}

.lp-main-title {
    font-size: clamp(1.85rem, 5vw, 3rem);
    line-height: .98;
    letter-spacing: -.035em;
}

.lp-main-subtitle {
    max-width: 58ch;
    font-size: clamp(.94rem, 1.15vw, 1.08rem);
    line-height: 1.35;
}

.lp-search-primary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(7.25rem, auto);
    gap: .65rem;
    align-items: end;
}

.lp-search-input-wrap {
    min-width: 0;
}

.lp-search-submit-wrap {
    min-width: 7.25rem;
}

.lp-search-card .lp-search-input,
.lp-search-submit {
    min-height: 3.25rem;
}

.lp-filter-details,
.lp-more-cats,
.lp-category-stores-details,
.lp-disclosure-panel {
    border-radius: .9rem;
}

.lp-filter-details > summary,
.lp-more-cats > summary,
.lp-category-stores-details > summary,
.lp-disclosure-panel > summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lp-filter-details > summary::-webkit-details-marker,
.lp-more-cats > summary::-webkit-details-marker,
.lp-category-stores-details > summary::-webkit-details-marker,
.lp-disclosure-panel > summary::-webkit-details-marker {
    display: none;
}

.lp-filter-details > summary,
.lp-more-cats > summary,
.lp-category-stores-details > summary {
    width: fit-content;
    color: var(--link-color);
    font-size: .86rem;
    font-weight: 700;
}

.lp-filter-details > summary::after,
.lp-more-cats > summary::after,
.lp-category-stores-details > summary::after {
    content: " +";
    font-weight: 900;
}

.lp-filter-details[open] > summary::after,
.lp-more-cats[open] > summary::after,
.lp-category-stores-details[open] > summary::after {
    content: " –";
}

.lp-summary-badges {
    margin-top: .75rem !important;
}

.lp-summary-badge {
    padding: .34rem .58rem;
    font-size: .82rem;
}

.lp-category-quick-area {
    margin-top: .9rem !important;
}

.lp-category-title {
    font-size: .98rem;
}

.lp-category-subtitle {
    font-size: .84rem;
}

.lp-chip-bar .btn,
.pf-cat-chip {
    padding: .38rem .68rem;
    font-size: .84rem;
}

.lp-geo-card .card-body {
    padding: .9rem !important;
}

.lp-geo-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.lp-geo-summary-row .lp-card-title-wrap {
    min-width: 0;
}

.lp-geo-summary-row .lp-card-title {
    font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.lp-geo-summary-row .lp-card-status {
    width: auto;
    min-height: 2.15rem;
    padding: .42rem .62rem;
    font-size: .86rem;
    border-radius: .75rem;
}

.lp-geo-summary-row .lp-card-inline-action {
    flex: 0 0 auto;
    min-height: 2.35rem;
    padding-inline: .9rem;
}

.lp-geo-auto {
    padding: .72rem;
}

.lp-disclosure-panel {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(15,23,42,.07);
    box-shadow: 0 .45rem 1rem rgba(15,23,42,.045);
    padding: .85rem .95rem;
}

.lp-disclosure-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    font-weight: 800;
    color: rgba(15,23,42,.92);
}

.lp-disclosure-panel > summary::after {
    content: "Abrir";
    flex: 0 0 auto;
    border: 1px solid rgba(15,23,42,.11);
    border-radius: 999px;
    padding: .28rem .62rem;
    font-size: .76rem;
    color: var(--link-color);
    background: rgba(46,125,50,.07);
}

.lp-disclosure-panel[open] > summary::after {
    content: "Fechar";
}

.lp-disclosure-panel > summary small {
    display: block;
    margin-top: .12rem;
    color: rgba(15,23,42,.58);
    font-weight: 500;
}

.lp-how-panel {
    grid-column: 1 / -1;
}

.lp-how-panel .lp-hero-visual {
    min-height: 150px;
}

.lp-promo-disclosure .lp-promo-store-card {
    border-radius: .95rem;
}

.lp-promo-disclosure .lp-promo-media {
    aspect-ratio: 16 / 7.8;
}

.lp-section-heading h2 {
    letter-spacing: -.015em;
}

.lp-category-panel-compact {
    border-radius: .95rem;
}

.lp-category-panel-compact .card-body {
    padding: .82rem .9rem !important;
}

.lp-category-panel-compact h3 {
    font-size: .98rem;
}

.lp-category-stores-details {
    border-top: 1px dashed rgba(15,23,42,.12);
    padding-top: .55rem;
}

.lp-product-results-grid {
    align-items: stretch;
}

.lp-product-result-card {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: .9rem;
    box-shadow: 0 .35rem .85rem rgba(15,23,42,.04);
}

.lp-product-result-card .card-body {
    padding: .82rem .9rem;
}

.lp-product-result-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.22;
}

@media (min-width: 768px) {
    .lp-prepromo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lp-prepromo-item-search,
    .lp-how-panel {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .lp-prepromo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-prepromo-item-search {
        grid-column: span 3;
    }

    .lp-prepromo-item-geo {
        grid-column: span 1;
    }

    .lp-how-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    #conteudo {
        padding-left: .75rem !important;
        padding-right: .75rem !important;
        padding-top: .75rem !important;
    }

    .lp-search-card .card-body {
        padding: .9rem !important;
    }

    .lp-main-title {
        font-size: clamp(1.72rem, 8.3vw, 2.2rem);
    }

    .lp-main-subtitle {
        font-size: .9rem;
    }

    .lp-search-primary-row {
        grid-template-columns: minmax(0, 1fr) 6.4rem;
        gap: .5rem;
    }

    .lp-search-submit-wrap {
        min-width: 6.4rem;
    }

    .lp-search-card .lp-search-input,
    .lp-search-submit {
        min-height: 3rem;
        font-size: .94rem;
    }

    .lp-search-card .form-label,
    .lp-geo-grid .form-label {
        font-size: .8rem;
    }

    .lp-section-kicker,
    .lp-eyebrow {
        font-size: .64rem;
        padding: .24rem .52rem;
    }

    .lp-summary-badges {
        gap: .32rem;
    }

    .lp-summary-badge {
        padding: .28rem .48rem;
        font-size: .73rem;
    }

    .lp-category-title {
        font-size: .92rem;
    }

    .lp-category-subtitle {
        font-size: .78rem;
    }

    .lp-chip-bar .btn,
    .pf-cat-chip {
        padding: .34rem .58rem;
        font-size: .78rem;
    }

    .lp-geo-summary-row {
        align-items: stretch;
        gap: .55rem;
    }

    .lp-geo-summary-row .lp-card-status {
        min-height: 2rem;
        font-size: .78rem;
    }

    .lp-geo-summary-row .lp-card-inline-action {
        width: auto;
        min-width: 5.8rem;
        align-self: stretch;
        min-height: 2.2rem;
        font-size: .78rem;
    }

    .lp-disclosure-panel {
        padding: .72rem .82rem;
    }

    .lp-disclosure-panel > summary {
        align-items: flex-start;
    }

    .lp-disclosure-panel > summary small {
        font-size: .73rem;
        line-height: 1.2;
    }

    .lp-disclosure-panel > summary::after {
        font-size: .68rem;
        padding: .22rem .48rem;
    }

    .lp-promo-disclosure .lp-promo-media {
        aspect-ratio: 16 / 7;
    }

    .lp-category-grid {
        --bs-gutter-y: .55rem;
    }

    .lp-category-panel-compact .card-body,
    .lp-product-result-card .card-body {
        padding: .72rem .78rem !important;
    }
}

/* =====================================================================
   v337 — Localização-first: entrega antes da busca
   Objetivo: mostrar rapidamente se o cliente está em área atendida e
   liberar a busca de produto com menos fricção.
   ===================================================================== */
.lp-prepromo-item-geo { order: 1 !important; }
.lp-prepromo-item-search { order: 2 !important; }
.lp-prepromo-item-hero { order: 99 !important; }

.lp-geo-card {
    background: rgba(255,255,255,.98);
}

.lp-geo-first-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, auto);
    gap: .85rem;
    align-items: center;
}

.lp-geo-first-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    min-width: 13rem;
}

.lp-geo-current-btn,
.lp-geo-first-actions .btn {
    min-height: 2.75rem;
    border-radius: .78rem;
    font-weight: 800;
}

.lp-geo-first-row .lp-card-title {
    font-size: clamp(1.28rem, 2.2vw, 1.7rem);
}

.lp-geo-first-row .lp-card-status {
    width: 100%;
    max-width: 46rem;
    min-height: 2.4rem;
    padding: .5rem .68rem;
    font-size: .9rem;
    background: rgba(46,125,50,.08);
    border-color: rgba(46,125,50,.16);
}

.lp-geo-card #geoAutoStatus .alert,
.lp-geo-card #geoAutoConfirmRow .btn {
    border-radius: .72rem;
}

.lp-geo-auto {
    background: rgba(248,250,252,.94);
}

@media (min-width: 768px) {
    .lp-prepromo-item-geo {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .lp-prepromo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lp-prepromo-item-geo {
        grid-column: 1 / -1;
    }

    .lp-prepromo-item-search {
        grid-column: 1 / -1;
    }

    .lp-how-panel {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1400px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .lp-geo-first-row {
        grid-template-columns: 1fr;
        gap: .7rem;
    }

    .lp-geo-first-actions {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
    }

    .lp-geo-current-btn,
    .lp-geo-first-actions .btn {
        min-height: 2.65rem;
        font-size: .86rem;
    }
}

@media (max-width: 575.98px) {
    .lp-geo-first-actions {
        grid-template-columns: 1fr;
    }

    .lp-geo-first-row .lp-card-title {
        font-size: 1.28rem;
    }

    .lp-geo-first-row .lp-card-status {
        font-size: .82rem;
    }

    .lp-geo-current-btn,
    .lp-geo-first-actions .btn {
        width: 100%;
    }
}

/* =====================================================================
   v338 — Funil comercial + tema administrável
   Foco: localização -> lojas disponíveis -> busca/produto, com cards menores
   e acesso rápido do admin para editar cores/testar como cliente.
   ===================================================================== */
body {
    background:
        radial-gradient(circle at 8% 0%, rgba(249, 115, 22, .13), transparent 24%),
        radial-gradient(circle at 96% 8%, rgba(6, 78, 59, .14), transparent 26%),
        var(--center-bg);
}

.lp-topbar {
    box-shadow: 0 .55rem 1.4rem rgba(15, 23, 42, .08);
}

.lp-admin-testbar {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .48rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, .94);
    color: #fff;
    box-shadow: 0 1rem 2.2rem rgba(15, 23, 42, .22);
    backdrop-filter: blur(8px);
}

.lp-admin-testbar-label {
    padding-inline: .55rem .25rem;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.lp-admin-testbar .btn {
    border-radius: 999px;
    font-weight: 700;
}

.lp-search-card,
.lp-geo-card,
.lp-disclosure-panel,
.lp-store-mini-card,
.lp-last-store {
    border: 1px solid rgba(15, 23, 42, .075) !important;
}

.lp-geo-card {
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,247,237,.97));
}

.lp-search-card {
    background: rgba(255, 255, 255, .97);
}

.lp-section-kicker,
.lp-eyebrow {
    background: rgba(249, 115, 22, .12);
    color: var(--accent);
}

.lp-main-title,
.lp-card-title,
.lp-section-heading h2 {
    color: rgba(15, 23, 42, .96);
}

.lp-nearby-stores {
    scroll-margin-top: 1rem;
}

.lp-store-mini-grid {
    --bs-gutter-y: .6rem;
}

.lp-store-mini-card {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: .82rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 .45rem 1.1rem rgba(15, 23, 42, .055);
    min-height: 100%;
}

.lp-store-mini-main {
    display: flex;
    gap: .72rem;
    min-width: 0;
}

.lp-store-mini-logo {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 .45rem .95rem rgba(15, 23, 42, .05);
}

.lp-store-mini-info {
    flex: 1 1 auto;
    min-width: 0;
}

.lp-store-mini-title {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    font-size: .98rem;
    line-height: 1.16;
    font-weight: 800;
}

.lp-store-mini-place {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-store-mini-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .22rem .48rem;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.lp-store-mini-status.is-open {
    background: rgba(22, 163, 74, .12);
    color: #047857;
}

.lp-store-mini-status.is-closed {
    background: rgba(239, 68, 68, .12);
    color: #B91C1C;
}

.lp-store-mini-metas {
    display: flex;
    flex-wrap: wrap;
    gap: .32rem;
    margin-top: .48rem;
}

.lp-store-mini-metas span {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: .2rem .44rem;
    border-radius: 999px;
    background: rgba(255, 247, 237, .96);
    color: rgba(15, 23, 42, .72);
    border: 1px solid rgba(249, 115, 22, .16);
    font-size: .72rem;
    font-weight: 650;
}

.lp-store-mini-actions {
    margin-top: auto;
}

.lp-store-mini-actions .btn,
.lp-product-result-card .btn,
.lp-inline-action {
    border-radius: 999px;
    font-weight: 800;
}

.lp-product-result-card {
    background: rgba(255, 255, 255, .98);
}

.lp-product-result-card .fw-bold {
    color: #0F172A;
}

.lp-category-panel-compact {
    background: rgba(255, 255, 255, .98);
}

.lp-category-stores-details .lp-store-mini-card {
    box-shadow: none;
}

.pf-admin-public-test-card {
    background: linear-gradient(135deg, rgba(255,247,237,.98), rgba(255,255,255,.98));
}

.pf-admin-public-test-card .btn {
    border-radius: 999px;
    font-weight: 700;
}

@media (min-width: 1200px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(18rem, .82fr) minmax(0, 2.18fr);
    }

    .lp-prepromo-item-geo {
        grid-column: span 1;
    }

    .lp-prepromo-item-search {
        grid-column: span 1;
    }
}

@media (max-width: 767.98px) {
    .lp-admin-testbar {
        inset: auto .65rem .65rem .65rem;
        justify-content: center;
        border-radius: 1rem;
        flex-wrap: wrap;
    }

    .lp-admin-testbar-label {
        width: 100%;
        text-align: center;
        padding-inline: 0;
    }

    .lp-admin-testbar .btn {
        flex: 1 1 auto;
    }

    .lp-store-mini-card {
        padding: .72rem;
        border-radius: .9rem;
    }

    .lp-store-mini-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: .75rem;
    }

    .lp-store-mini-title {
        font-size: .94rem;
    }

    .lp-store-mini-metas span {
        font-size: .69rem;
        padding-inline: .38rem;
    }
}

.min-w-0 {
    min-width: 0;
}

/* =====================================================================
   v340 — categorias múltiplas + micro UX da localização
   Objetivo: reduzir ruído, mostrar apenas categorias selecionadas na área
   de resumo e impedir quebra ruim em rótulos/status de localização.
   ===================================================================== */
.lp-section-kicker,
.lp-eyebrow {
    white-space: nowrap;
    font-size: .76rem;
    line-height: 1.05;
    letter-spacing: .035em;
}

.lp-geo-first-row {
    grid-template-columns: minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
}

.lp-geo-first-actions {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-geo-selected-status,
.lp-geo-first-row .lp-card-status.lp-geo-selected-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .24rem;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding: .52rem .68rem;
    line-height: 1.28;
    white-space: normal;
}

.lp-geo-status-prefix {
    flex: 0 0 auto;
    font-weight: 600;
}

.lp-geo-status-value,
.lp-geo-status-placeholder {
    min-width: 0;
    overflow-wrap: anywhere;
}

.lp-card-title,
.lp-section-heading h2 {
    letter-spacing: -.025em;
}

.lp-geo-first-row .lp-card-title {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    max-width: 18ch;
}

.lp-filter-count {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: .22rem .52rem;
    border-radius: 999px;
    background: rgba(249, 115, 22, .10);
    border: 1px solid rgba(249, 115, 22, .16);
    color: rgba(124, 45, 18, .95);
    font-size: .74rem;
    font-weight: 800;
}

.lp-category-filter-box {
    max-height: 16rem;
    overflow: auto;
    padding: .65rem;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: .9rem;
    background: rgba(248, 250, 252, .76);
}

.lp-category-filter-group + .lp-category-filter-group {
    margin-top: .72rem;
    padding-top: .72rem;
    border-top: 1px dashed rgba(15, 23, 42, .12);
}

.lp-category-filter-group-title {
    margin-bottom: .42rem;
    color: rgba(15, 23, 42, .64);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lp-category-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .42rem;
}

.lp-cat-check,
.lp-filter-apply-btn,
.lp-filter-clear-btn,
.lp-category-edit-link,
.lp-selected-cat-chip {
    border-radius: 999px;
    font-weight: 800;
}

.lp-cat-check {
    padding: .38rem .68rem;
    font-size: .82rem;
    line-height: 1.15;
    white-space: normal;
    text-align: left;
}

.lp-category-selected-area {
    padding: .75rem;
    border: 1px solid rgba(249, 115, 22, .14);
    border-radius: .95rem;
    background: rgba(255, 247, 237, .72);
}

.lp-category-selected-area .lp-category-title {
    font-size: 1.04rem;
}

.lp-selected-cat-chip {
    cursor: default;
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .lp-section-kicker,
    .lp-eyebrow {
        font-size: .7rem;
        padding: .28rem .58rem;
    }

    .lp-geo-first-actions {
        grid-template-columns: 1fr;
    }

    .lp-geo-first-row .lp-card-title {
        max-width: none;
        font-size: 1.55rem;
    }

    .lp-geo-selected-status,
    .lp-geo-first-row .lp-card-status.lp-geo-selected-status {
        font-size: .86rem;
        padding: .48rem .62rem;
    }

    .lp-category-filter-box {
        max-height: 13.5rem;
        padding: .58rem;
    }

    .lp-cat-check {
        font-size: .78rem;
        padding: .34rem .58rem;
    }
}


/* =====================================================================
   v341 — destaque visual dos títulos/kickers e filtros em card único
   Objetivo: dar mais hierarquia, aproveitar melhor o espaço e aplicar
   autoatualização das categorias sem botões extras.
   ===================================================================== */
.lp-section-kicker,
.lp-eyebrow {
    font-size: .84rem;
    line-height: 1.08;
    letter-spacing: .045em;
    font-weight: 900;
    color: #EA580C;
    background: rgba(249, 115, 22, .12);
    border: 1px solid rgba(249, 115, 22, .18);
    padding: .44rem .8rem;
}

.lp-card-title,
.lp-main-title,
.lp-section-heading h2 {
    color: #0F172A;
}

.lp-geo-first-row .lp-card-title {
    font-size: clamp(1.58rem, 2.25vw, 2.02rem);
    line-height: 1.08;
}

.lp-main-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.03;
}

.lp-filter-details {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1rem;
    background: rgba(248, 250, 252, .55);
    padding: .15rem .2rem .7rem;
}

.lp-filter-details > summary {
    color: #EA580C;
    font-weight: 900;
    font-size: 1rem;
}

.lp-filter-stack {
    display: grid;
    gap: .9rem;
}

.lp-filter-block {
    padding: .85rem;
    border-radius: .95rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
}

.lp-filter-helper {
    color: #475569;
    font-size: .9rem;
    font-weight: 600;
}

.lp-filter-count {
    font-size: .82rem;
    padding: .34rem .7rem;
    background: rgba(15, 118, 110, .10);
    border-color: rgba(15, 118, 110, .18);
    color: #0F766E;
}

.lp-category-filter-box {
    max-height: none;
    overflow: visible;
    padding: .25rem 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.lp-category-filter-group + .lp-category-filter-group {
    margin-top: .85rem;
    padding-top: .85rem;
}

.lp-category-filter-group-title {
    margin-bottom: .55rem;
    color: #0F172A;
    font-size: .8rem;
    font-weight: 900;
}

.lp-cat-check {
    padding: .52rem .86rem;
    font-size: .96rem;
    line-height: 1.2;
    border-width: 1px;
}

.lp-summary-badges {
    gap: .6rem;
}

.lp-summary-badge {
    font-size: .93rem;
    color: #0F172A;
    background: #fff;
    border-color: rgba(15, 23, 42, .12);
}

.lp-category-selected-area {
    padding: .95rem 1rem;
    border: 1px solid rgba(249, 115, 22, .14);
    border-radius: .95rem;
    background: rgba(255, 247, 237, .82);
}

.lp-category-selected-area .lp-category-title {
    font-size: 1.12rem;
    font-weight: 900;
    color: #9A3412;
}

.lp-category-subtitle {
    color: #475569;
    font-size: .92rem;
    font-weight: 600;
}

.lp-selected-cat-chip {
    pointer-events: none;
    font-size: .9rem;
    padding: .46rem .82rem;
}

@media (max-width: 767.98px) {
    .lp-section-kicker,
    .lp-eyebrow {
        white-space: normal;
        font-size: .8rem;
        padding: .4rem .72rem;
    }

    .lp-main-title {
        font-size: 2.1rem;
    }

    .lp-card-title,
    .lp-geo-first-row .lp-card-title {
        font-size: 1.75rem;
    }

    .lp-filter-block {
        padding: .72rem;
    }

    .lp-cat-check {
        font-size: .88rem;
        padding: .46rem .72rem;
    }
}


/* =====================================================================
   v342 — categorias acumulativas, chips removíveis e paleta delivery
   Objetivo: seleção múltipla persistente, desmarcação individual e
   cores mais intuitivas para marketplace/delivery.
   ===================================================================== */
:root {
    --pf-brand-green: #064E3B;
    --pf-brand-green-2: #0F766E;
    --pf-action-orange: #F97316;
    --pf-action-orange-dark: #EA580C;
    --pf-page-warm: #FFF7ED;
    --pf-ink: #0F172A;
}

.lp-filter-details[open] {
    border-color: rgba(249, 115, 22, .18);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.lp-filter-details > summary {
    color: var(--pf-action-orange-dark);
}

.lp-search-card .btn-primary,
.lp-category-selected-area .btn-primary,
.lp-category-filter-grid .btn-primary,
.lp-cat-check.btn-primary,
.lp-selected-cat-chip.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--pf-action-orange);
    --bs-btn-border-color: var(--pf-action-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--pf-action-orange-dark);
    --bs-btn-hover-border-color: var(--pf-action-orange-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--pf-action-orange-dark);
    --bs-btn-active-border-color: var(--pf-action-orange-dark);
    color: #fff;
    background-color: var(--pf-action-orange);
    border-color: var(--pf-action-orange);
}

.lp-search-card .btn-outline-secondary,
.lp-cat-check.btn-outline-secondary {
    color: var(--pf-ink);
    background-color: #fff;
    border-color: rgba(15, 23, 42, .12);
}

.lp-search-card .btn-outline-secondary:hover,
.lp-cat-check.btn-outline-secondary:hover {
    color: var(--pf-action-orange-dark);
    background-color: rgba(249, 115, 22, .08);
    border-color: rgba(249, 115, 22, .28);
}

.lp-cat-check {
    box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}

.lp-cat-check.btn-primary::before,
.lp-selected-cat-chip::before {
    content: "✓";
    margin-right: .35rem;
    font-weight: 900;
}

.lp-selected-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    border: 0;
    cursor: pointer;
    pointer-events: auto;
}

.lp-selected-cat-chip:hover,
.lp-selected-cat-chip:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(249, 115, 22, .18);
}

.lp-selected-cat-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.05rem;
    height: 1.05rem;
    margin-left: .12rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    font-size: .9rem;
    line-height: 1;
    font-weight: 900;
}

.lp-summary-badge-geo {
    background: rgba(6, 78, 59, .08);
    border-color: rgba(6, 78, 59, .16);
    color: var(--pf-brand-green);
}

.lp-filter-count {
    background: rgba(6, 78, 59, .08);
    border-color: rgba(6, 78, 59, .16);
    color: var(--pf-brand-green);
}

.lp-category-selected-area {
    background: linear-gradient(180deg, rgba(255, 247, 237, .95), rgba(255, 255, 255, .86));
}

.lp-category-selected-area .lp-category-title {
    color: var(--pf-action-orange-dark);
}

.lp-geo-current-btn,
.lp-geo-card .btn-primary {
    --bs-btn-bg: var(--pf-action-orange);
    --bs-btn-border-color: var(--pf-action-orange);
    --bs-btn-hover-bg: var(--pf-action-orange-dark);
    --bs-btn-hover-border-color: var(--pf-action-orange-dark);
}

.lp-topbar,
.lp-site-header,
.pf-public-topbar {
    background: var(--pf-brand-green);
}

@media (max-width: 767.98px) {
    .lp-selected-cat-chip {
        width: auto;
        max-width: 100%;
    }

    .lp-selected-cat-chip span:first-child {
        overflow-wrap: anywhere;
    }
}


/* =====================================================================
   v416 — Home compacta: entrega, busca aberta e retorno sem ruído
   ===================================================================== */
.lp-topbar .btn {
    border-radius: 999px;
    font-weight: 750;
}

.lp-geo-card .card-body,
.lp-search-card .card-body {
    gap: .55rem;
}

.lp-geo-first-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(10.5rem, auto);
    gap: .6rem;
    align-items: end;
}

.lp-geo-first-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: .42rem;
    min-width: 10.5rem;
}

.lp-geo-current-btn,
.lp-geo-first-actions .btn {
    min-height: 2.38rem;
    padding-block: .42rem;
    border-radius: .72rem;
    font-size: .86rem;
}

.lp-geo-first-row .lp-card-title {
    font-size: clamp(1.18rem, 1.65vw, 1.55rem);
    margin-top: .35rem !important;
}

.lp-geo-first-row .lp-card-status.lp-geo-selected-status {
    min-height: 2.15rem;
    padding: .42rem .62rem;
    font-size: .86rem;
}

.lp-geo-config .lp-geo-auto {
    padding: .58rem .68rem;
    border-radius: .75rem;
}

.lp-geo-grid {
    margin-top: .55rem !important;
}

.lp-geo-grid .form-select {
    min-height: 2.35rem;
    border-radius: .62rem;
    font-size: .9rem;
}

.lp-geo-actions {
    justify-content: flex-end;
}

.lp-geo-actions .btn {
    min-height: 2.35rem;
    padding-inline: 1rem;
    border-radius: .68rem;
}

.lp-search-head {
    margin-bottom: .55rem !important;
}

.lp-main-title {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: 1.02;
}

.lp-filter-details {
    padding: .45rem .6rem .7rem;
}

.lp-filter-details > summary {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.lp-filter-stack {
    gap: .65rem;
}

.lp-filter-block {
    padding: .65rem;
}

.lp-search-no-results {
    border-radius: .85rem;
    transition: opacity .2s ease, transform .2s ease;
}

.lp-search-no-results.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.lp-last-store-compact {
    display: flex;
    justify-content: flex-start;
}

.lp-last-store-btn {
    border-radius: 999px;
    font-weight: 800;
    padding-inline: 1rem;
}

@media (min-width: 992px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(17rem, .72fr) minmax(0, 2.28fr);
        gap: .9rem;
    }

    .lp-prepromo-item-geo {
        grid-column: span 1;
    }

    .lp-prepromo-item-search {
        grid-column: span 1;
    }
}

@media (min-width: 1400px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(18rem, .68fr) minmax(0, 2.32fr);
    }
}

@media (max-width: 767.98px) {
    .lp-geo-first-row {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    .lp-geo-first-actions {
        grid-template-columns: 1fr 1fr;
        min-width: 0;
    }

    .lp-geo-current-btn,
    .lp-geo-first-actions .btn {
        width: 100%;
        font-size: .82rem;
    }

    .lp-search-primary-row {
        grid-template-columns: 1fr;
    }

    .lp-search-submit-wrap {
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .lp-geo-first-actions {
        grid-template-columns: 1fr;
    }

    .lp-main-title {
        font-size: 1.9rem;
    }
}


/* =====================================================================
   v417 — Home: ações rápidas no card de busca, modal e retorno completo
   ===================================================================== */
.lp-search-head-with-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: start;
    max-width: none;
}

.lp-search-title-block {
    min-width: 0;
}

.lp-search-quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .45rem;
    padding-top: .25rem;
}

.lp-quick-action-btn {
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
    padding-inline: .85rem;
}

.lp-how-buy-frame {
    border: 0;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, .22);
}

.lp-how-buy-frame .modal-header {
    background: linear-gradient(135deg, rgba(255,247,237,.98), rgba(255,255,255,.98));
    align-items: flex-start;
}

.lp-how-buy-frame .modal-body {
    background: rgba(255,255,255,.98);
}

.lp-how-buy-frame .lp-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 1200px) {
    .lp-prepromo-grid {
        grid-template-columns: minmax(15.5rem, .56fr) minmax(0, 2.44fr);
        gap: .85rem;
    }

    .lp-search-card .card-body {
        padding-top: 1.1rem !important;
        padding-bottom: 1rem !important;
    }

    .lp-main-title {
        font-size: clamp(1.85rem, 2.45vw, 2.65rem);
    }

    .lp-search-primary-row {
        grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
    }

    .lp-filter-stack {
        display: grid;
        grid-template-columns: minmax(13rem, .9fr) minmax(0, 1.45fr);
        align-items: stretch;
    }

    .lp-filter-block {
        margin: 0;
    }
}

@media (min-width: 1500px) {
    .lp-search-quick-actions {
        max-width: 24rem;
    }
}

@media (max-width: 991.98px) {
    .lp-search-head-with-actions {
        grid-template-columns: 1fr;
    }

    .lp-search-quick-actions {
        justify-content: flex-start;
        padding-top: 0;
    }
}

@media (max-width: 575.98px) {
    .lp-search-quick-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lp-quick-action-btn {
        width: 100%;
    }

    .lp-how-buy-frame .lp-stat-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================================
   v418 — Geo limpa a vitrine e remove botão institucional da busca
   ===================================================================== */
.lp-search-head-row {
    align-items: start;
}
.lp-search-quick-actions {
    margin-top: .2rem;
}
@media (min-width: 992px) {
    .lp-search-head-row {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
    }
    .lp-search-head-block {
        min-width: 0;
    }
}


/* v418.1 — ajuste fino do cabeçalho real da busca */
.lp-search-head-with-actions {
    align-items: start;
}
@media (min-width: 992px) {
    .lp-search-head-with-actions {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
    }
}


/* v420 — ajustes do bloco Local de entrega */
.lp-geo-first-actions .lp-geo-manual-btn {
    min-height: 60px;
}
@media (min-width: 768px) {
    .lp-geo-first-actions {
        grid-template-columns: 1fr 1fr;
    }
    .lp-geo-first-actions .btn {
        width: 100%;
    }
}


/* v421 — Local de entrega limpo e Última Loja alinhada ao título */
#geoAutoStatus:empty {
    display: none !important;
}
.lp-search-head-with-actions {
    align-items: end !important;
}
.lp-search-quick-actions {
    align-self: end;
    padding-top: 0 !important;
    padding-bottom: .2rem;
}
.lp-search-title-block .lp-main-title {
    margin-bottom: 0 !important;
}
@media (min-width: 992px) {
    .lp-search-head-with-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .75rem;
    }
}
@media (max-width: 767.98px) {
    .lp-search-head-with-actions {
        align-items: start !important;
    }
    .lp-search-quick-actions {
        align-self: start;
        padding-bottom: 0;
    }
}


/* v422 — Última Loja no mesmo eixo do título e localização sem confirmação extra */
.lp-search-title-block {
    width: 100%;
}
.lp-search-title-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
}
.lp-search-title-line .lp-main-title {
    min-width: 0;
}
.lp-title-last-store-btn {
    flex: 0 0 auto;
    align-self: center;
}
#geoAutoConfirmRow {
    display: none !important;
}
@media (max-width: 767.98px) {
    .lp-search-title-line {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
    }
    .lp-title-last-store-btn {
        align-self: flex-start;
    }
}


/* v423 — Geolocalização sem confirmação travada */
#geoAutoConfirmRow {
    display: none !important;
}
#geoAutoStatus .alert-success {
    background: #d1fae5;
    border-color: #a7f3d0;
}


/* =====================================================================
   v424 — Correção definitiva do card Local de entrega
   Impede título/status espremidos e quebrando letra por letra.
   ===================================================================== */
#geoCard .lp-geo-first-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: .75rem !important;
    grid-template-columns: none !important;
}

#geoCard .lp-card-title-wrap {
    width: 100% !important;
    min-width: 0 !important;
}

#geoCard .lp-card-title,
#geoCard .lp-geo-first-row .lp-card-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    line-height: 1.06 !important;
    font-size: clamp(1.7rem, 2.25vw, 2.05rem) !important;
}

#geoCard .lp-card-status,
#geoCard .lp-geo-selected-status,
#geoCard .lp-geo-first-row .lp-card-status.lp-geo-selected-status {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 2.3rem !important;
    align-items: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

#geoCard .lp-geo-status-prefix,
#geoCard .lp-geo-status-value,
#geoCard .lp-geo-status-placeholder {
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    min-width: 0 !important;
}

#geoCard .lp-geo-first-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .55rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

#geoCard .lp-geo-current-btn,
#geoCard .lp-geo-first-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 4rem !important;
    white-space: normal !important;
    line-height: 1.15 !important;
}

@media (max-width: 575.98px) {
    #geoCard .lp-geo-first-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #geoCard .lp-geo-current-btn,
    #geoCard .lp-geo-first-actions .btn {
        min-height: 3.25rem !important;
        padding: .75rem .7rem !important;
        font-size: .95rem !important;
    }

    #geoCard .lp-geo-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .65rem !important;
    }
}

@media (max-width: 359.98px) {
    #geoCard .lp-geo-first-actions,
    #geoCard .lp-geo-actions {
        grid-template-columns: 1fr !important;
    }
}


/* =====================================================================
   v425 — Home notebook/tablet grande + link de carrinho
   ===================================================================== */
.lp-top-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-weight: 800;
}
.lp-top-cart-btn .badge {
    line-height: 1;
}
@media (min-width: 992px) and (max-width: 1599.98px) {
    .lp-page-shell {
        max-width: min(100%, 1440px);
    }
    .lp-prepromo-grid {
        grid-template-columns: minmax(16.5rem, .52fr) minmax(0, 2.48fr) !important;
        gap: .85rem !important;
        align-items: start !important;
    }
    .lp-prepromo-item-geo,
    .lp-prepromo-item-search {
        grid-column: span 1 !important;
    }
    .lp-search-card .card-body {
        min-height: auto !important;
    }
    .lp-filter-block {
        padding: .58rem .75rem;
    }
}
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .lp-search-primary-row {
        grid-template-columns: minmax(0, 1fr) minmax(7.25rem, auto);
    }
}


/* =====================================================================
   v438 — Centralização visual dos botões da home pública
   ===================================================================== */
.lp-page-shell .btn,
.lp-topbar .btn,
#geoCard .btn,
#buscar .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

#geoCard .lp-geo-current-btn,
#geoCard .lp-geo-first-actions .btn,
#geoCard .lp-geo-actions .btn,
.lp-search-submit,
.lp-title-last-store-btn,
.lp-top-cart-btn {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
