* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.home-loading-overlay {
    display: none;
}

.home-loading .home-loading-overlay:not([hidden]) {
    align-items: center;
    background: rgba(255, 255, 255, .96);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 2000;
}

.home-loading-content {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-direction: column;
    font-size: .9rem;
    font-weight: 600;
    gap: 16px;
    text-align: center;
}

.home-loading-content img {
    height: auto;
    max-width: 180px;
    width: 45vw;
}

.home-loading-spinner {
    animation: home-loading-spin .8s linear infinite;
    border: 3px solid #d5eee5;
    border-radius: 50%;
    border-top-color: #008f69;
    height: 32px;
    width: 32px;
}

@keyframes home-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-loading-spinner {
        animation: none;
    }
}

/* HEADER */

header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topbar {
    min-height: 74px;
    display: grid;
    grid-template-columns: 180px minmax(280px, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.home-topbar {
    padding: 8px;
}

.brand {
    align-items: center;
    display: inline-flex;
    min-width: 0;
}

.brand img {
    display: block;
    height: 46px;
    object-fit: contain;
    width: auto;
}


.header-search-wrap {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    justify-self: center;
    max-width: 720px;
    width: 100%;
}

.header-search {
    align-items: center;
    background: #f7f8fb;
    border: 1px solid #e6e8ee;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, .04);
    display: flex;
    gap: 10px;
    min-height: 48px;
    padding: 6px 8px 6px 18px;
    width: 100%;
}

.header-search-icon {
    color: #9ca3af;
    flex: 0 0 auto;
    font-size: 1rem;
}

.header-search input {
    background: transparent;
    border: 0;
    color: #111827;
    flex: 1;
    min-width: 0;
    outline: none;
}

.header-search input::placeholder {
    color: #9ca3af;
}

.header-search button {
    background: #181a1f;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 700;
    padding: 10px 18px;
    white-space: nowrap;
}

.header-search button .bi-search {
    display: none;
}

.proximity-button {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #dce5ef;
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .08);
    color: #101a30;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
}

.proximity-button .proximity-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.proximity-button .proximity-distance {
    background: #181a1f;
    border-radius: 999px;
    bottom: -4px;
    color: #ffffff;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    padding: 3px 5px;
    position: absolute;
    right: 2px;
}

.access-button {
    align-items: center;
    background: #181a1f;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    gap: 12px;
    justify-content: center;
    justify-self: end;
    height: 48px;
    min-height: 48px;
    padding: 0 19px;
    white-space: nowrap;
}

.topbar-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.my-order-button {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #dce5ef;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(15, 23, 42, .08);
    color: #101a30;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    text-decoration: none;
    width: 48px;
}

.my-order-button:hover, .proximity-button:hover {
    color: #0f8d67;
}

.my-order-button i, .access-button .bi-person {
    font-size: 1.4rem;
    line-height: 1;
}

.access-button .access-chevron {
    font-size: .85rem;
    transition: transform .2s ease;
}

.access-button[aria-expanded="true"] .access-chevron {
    transform: rotate(180deg);
}

.my-order-button:focus-visible, .proximity-button:focus-visible, .access-button:focus-visible {
    outline: 3px solid #008F69;
    outline-offset: 3px;
}

.access-menu[hidden] {
    display: none;
}

.access-menu {
    inset: 74px 0 auto;
    padding: 0 20px;
    position: fixed;
    z-index: 1100;
}

.access-menu-panel {
    background: #ffffff;
    border-radius: 0 0 36px 36px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
    margin: auto;
    max-width: 1240px;
    padding: 34px;
}

.access-menu-header {
    align-items: center;
    color: #91a4c0;
    display: flex;
    justify-content: space-between;
    margin-bottom: 26px;
    text-transform: uppercase;
}

.access-menu-header h2 {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .03em;
    margin: 0;
}

.access-menu-close {
    background: transparent;
    border: 0;
    color: #91a4c0;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

.access-profile-options {
    display: grid;
    gap: 18px;
}

.access-profile-option {
    align-items: center;
    border: 1px solid #e6edf6;
    border-radius: 26px;
    display: grid;
    gap: 18px;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    padding: 20px 28px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.access-profile-option:hover {
    border-color: #bde8dc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.access-profile-icon {
    align-items: center;
    background: #e8eef7;
    border-radius: 50%;
    color: #3d5069;
    display: inline-flex;
    font-size: 2rem;
    height: 82px;
    justify-content: center;
    width: 82px;
}

.access-profile-copy {
    display: grid;
    gap: 5px;
}

.access-profile-copy strong {
    color: #101a30;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: -1px;
}

.access-profile-copy small {
    color: #64748b;
    font-size: 1.02rem;
}

.access-profile-tag {
    background: #eff4fa;
    border-radius: 999px;
    color: #4b5d76;
    font-size: .92rem;
    font-weight: 700;
    padding: 7px 15px;
    white-space: nowrap;
}


/* HERO */

.hero {
    padding: 68px 0 52px;
    background: radial-gradient(circle at 50% 0%, rgba(24, 189, 141, .10), rgba(255, 255, 255, 0) 42%), #ffffff;
}

.hero-content {
    max-width: 760px;
    margin: auto;
    text-align: center;
}

.hero-kicker {
    align-items: center;
    border: 1px solid rgba(24, 189, 141, .35);
    border-radius: 999px;
    color: #0f8f6c;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 800;
    gap: 6px;
    letter-spacing: .04em;
    margin-bottom: 18px;
    padding: 5px 14px;
    text-transform: uppercase;
}

.hero h1 {
    color: #181a1f;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -2.2px;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: #18a875;
    display: inline-block;
}

.hero p {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* SECTIONS */

section {
    padding: 48px 0;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.section-header h2 {
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.section-header p {
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.92rem;
}

.section-link {
    font-size: 0.92rem;
    font-weight: 700;
}

/* CATEGORIES */

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.category {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.category-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 10px;
}

.category strong {
    font-size: 0.92rem;
}

/* CARDS */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.card-body {
    padding: 18px;
}

.card-title {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.card-subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
}

.badge {
    padding: 5px 9px;
    background: #f3f4f6;
    border-radius: 999px;
    font-size: 0.78rem;
}

.status-open {
    color: #15803d;
    font-weight: 700;
}

.price {
    font-weight: 800;
    font-size: 1.05rem;
    margin-top: 12px;
}

/* BUSINESS */

.business-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    align-items: center;
}

.business-logo {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 16px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.business-info {
    flex: 1;
}

.business-info h3 {
    margin-bottom: 4px;
}

.business-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

.business-meta {
    font-size: 0.85rem;
    color: #4b5563;
}

/* CTA SELL */

.sell-box {
    padding: clamp(32px, 6vw, 64px) 0;
}

.sell-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.sell-badge {
    align-items: center;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(24, 189, 141, .30);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
    color: #047857;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: .86rem;
    font-weight: 900;
    gap: 10px;
    letter-spacing: .03em;
    margin-bottom: 24px;
    padding: 8px 12px 8px 16px;
    text-transform: uppercase;
}

.sell-badge-dot {
    background: #008F69;
    border-radius: 999px;
    height: 9px;
    width: 9px;
}

.sell-badge strong {
    background: #01a271;
    border-radius: 999px;
    color: #ffffff;
    font-size: .78rem;
    letter-spacing: 0;
    padding: 6px 12px;
    text-transform: none;
}

.sell-box h2 {
    color: #181a1f;
    font-size: clamp(2.2rem, 5vw, 3.55rem);
    letter-spacing: -2px;
    line-height: 1.04;
    margin-bottom: 18px;
    max-width: 800px;
}

.sell-box h2 span {
    color: #01a271;
}

.sell-box p {
    color: #667085;
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.45;
    margin-bottom: 28px;
    max-width: 760px;
}

.sell-benefits {
    color: #374151;
    display: grid;
    gap: 14px;
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
}

.sell-benefits li {
    align-items: flex-start;
    display: flex;
    font-size: 1rem;
    gap: 14px;
}

.sell-benefits i {
    align-items: center;
    background: #01a271;
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    margin-top: 1px;
    width: 24px;
}

.sell-benefits strong {
    color: #1f2937;
}

.sell-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.sell-actions > span {
    color: #6b7280;
    font-size: .95rem;
}

.primary-button {
    align-items: center;
    background: #008F69;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 12px 22px rgba(24, 189, 141, .25);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    padding: 16px 28px;
    white-space: nowrap;
}

/* CTA DELIVERY */

.delivery-subscription-section {
    padding-top: 0;
}

.delivery-subscription-box {
    background: #434e60;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(14, 107, 98, .18);
    color: #ffffff;
    display: grid;
    gap: clamp(32px, 6vw, 76px);
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    overflow: hidden;
    padding: clamp(30px, 5vw, 58px);
    position: relative;
}


.delivery-subscription-intro,
.delivery-steps-wrap {
    position: relative;
    z-index: 1;
}

.delivery-price-badge {
    align-items: center;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    display: inline-flex;
    font-size: .84rem;
    font-weight: 800;
    gap: 8px;
    margin-bottom: 20px;
    padding: 7px 11px 7px 14px;
    text-transform: uppercase;
}

.delivery-price-badge-dot {
    background: #7cf1c8;
    border-radius: 50%;
    height: 8px;
    width: 8px;
}

.delivery-price-badge strong {
    background: #09a271;
    border-radius: 999px;
    color: #ffffff;
    font-size: .8rem;
    padding: 5px 10px;
    text-transform: none;
}

.delivery-subscription-intro h2,
.delivery-subscription-intro h3,
.delivery-steps-wrap h3,
.delivery-steps h4,
.delivery-subscription-intro p,
.delivery-steps p {
    margin: 0;
}

.delivery-subscription-intro h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -1.7px;
    line-height: 1.04;
}

.delivery-subscription-intro h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    margin-top: 7px;
}

.delivery-subscription-intro h3 span {
    color: #2dd6a0;
}

.delivery-subscription-intro > p {
    font-size: 1.08rem;
    line-height: 1.5;
    margin-top: 22px;
    max-width: 570px;
}

.delivery-subscription-intro .delivery-subscription-detail {
    color: rgba(255, 255, 255, .8);
    font-size: .96rem;
    margin-top: 14px;
}

.delivery-registration-link {
    align-items: center;
    background: #09a271;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 800;
    gap: 9px;
    margin-top: 26px;
    padding: 13px 20px;
}

.delivery-steps-wrap {
    background: #ffffff;
    border-radius: 20px;
    color: #1f2937;
    padding: 26px;
}

.delivery-steps-wrap > h3 {
    font-size: 1.25rem;
    margin-bottom: 19px;
}

.delivery-steps {
    display: grid;
    gap: 18px;
    list-style: none;
}

.delivery-steps li {
    align-items: flex-start;
    display: flex;
    gap: 13px;
}

.delivery-step-number {
    align-items: center;
    background: #09a271;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: .88rem;
    font-weight: 900;
    height: 28px;
    justify-content: center;
}

.delivery-steps h4 {
    font-size: .98rem;
    line-height: 1.25;
}

.delivery-steps p {
    color: #667085;
    font-size: .88rem;
    line-height: 1.4;
    margin-top: 3px;
}

/* FOOTER */

footer {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 34px 0 90px;
    color: #6b7280;
    font-size: 0.88rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* MOBILE NAV */

.mobile-nav {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .topbar {
        grid-template-columns: auto 1fr auto;
        gap: 16px;
    }

    .brand img {
        height: 42px;
    }

    .hero {
        padding: 48px 0 38px;
    }

    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sell-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .delivery-subscription-box {
        grid-template-columns: 1fr;
    }

    .mobile-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        z-index: 1000;
    }

    .mobile-nav a {
        padding: 11px 4px 9px;
        text-align: center;
        font-size: 0.72rem;
        color: #6b7280;
    }

    .mobile-nav span {
        display: block;
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .mobile-nav .active {
        color: #111827;
        font-weight: 700;
    }
}

@media (max-width: 600px) {

    .container {
        width: min(100% - 24px, 1180px);
    }

    .topbar {
        grid-template-columns: auto auto;
        min-height: 64px;
        row-gap: 10px;
    }


    .header-search-wrap {
        grid-column: 1 / -1;
        grid-row: 2;
        max-width: none;
        order: 3;
    }

    .access-button {
        font-size: .86rem;
        min-height: 42px;
        padding: 0 14px;
    }

    .access-menu {
        inset: 64px 0 auto;
        padding: 0 12px;
    }

    .access-menu-panel {
        border-radius: 0 0 24px 24px;
        padding: 24px 16px;
    }

    .access-profile-option {
        gap: 13px;
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 15px;
    }

    .access-profile-icon {
        font-size: 1.45rem;
        height: 58px;
        width: 58px;
    }

    .access-profile-copy small {
        font-size: .9rem;
    }

    .access-profile-tag {
        display: none;
    }

    .header-search {
        min-height: 44px;
        padding-left: 14px;
    }

    .header-search button {
        padding: 9px 14px;
    }

    .proximity-button {
        height: 44px;
        width: 44px;
    }

    .hero-content {
        text-align: left;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero p {
        font-size: 0.96rem;
    }

    section {
        padding: 10px 0;
    }

    .categories {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 4px;
    }

    .category {
        min-width: 105px;
        padding: 18px 12px;
    }

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

    .section-header {
        align-items: center;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .sell-box {
        padding: 26px;
    }

    .delivery-subscription-box {
        border-radius: 22px;
        padding: 28px 22px;
    }

    .delivery-steps-wrap {
        padding: 22px 18px;
    }

}

/* NEARBY BUSINESSES */


.nearby-status {
    background: #ecfdf5;
    border: 1px solid rgba(24, 189, 141, .24);
    border-radius: 16px;
    color: #047857;
    font-size: .94rem;
    margin-bottom: 18px;
    padding: 12px 16px;
}

.nearby-status[hidden] {
    display: none;
}

.nearby-business-card {
    border-color: #e5e7eb;
    height: 100%;
}

.nearby-business-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nearby-business-promo-wrap {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: transparent;
    border: 0 !important;
    display: flex;
    justify-content: center;
    outline: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.nearby-business-promo {
    border: 0 !important;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.nearby-business-promo[hidden] {
    display: none;
}

.nearby-business-promo-wrap .logo-fallback-icon {
    color: #008F69;
    font-size: 2.5rem;
}

.nearby-business-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.nearby-business-distance {
    background: #ecfdf5;
    border-radius: 999px;
    color: #047857;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 800;
    padding: 5px 9px;
    white-space: nowrap;
}

.nearby-business-slogan {
    color: #111827;
    font-size: .92rem;
    font-weight: 800;
    margin: 12px 0 6px;
}

.nearby-business-description {
    color: #6b7280;
    font-size: .8rem;
    margin-bottom: 14px;
}

.nearby-business-location {
    margin-top: auto;
}

/* PROXIMITY MODAL */

.proximity-modal[hidden] {
    display: none;
}

.proximity-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 2000;
}

.proximity-modal-backdrop {
    background: rgba(15, 23, 42, .58);
    inset: 0;
    position: absolute;
}

.proximity-modal-dialog {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .22);
    max-width: 860px;
    overflow: hidden;
    position: relative;
    width: min(100%, 860px);
    z-index: 1;
}

.proximity-modal-head {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 24px 26px 16px;
}

.proximity-modal-head h2 {
    color: #111827;
    font-size: 1.45rem;
    margin-bottom: 4px;
}

.proximity-modal-head p {
    color: #6b7280;
    font-size: .94rem;
}

.proximity-modal-close {
    align-items: center;
    background: #f3f4f6;
    border: 0;
    border-radius: 999px;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.5rem;
    height: 40px;
    justify-content: center;
    line-height: 1;
    width: 40px;
}

.proximity-modal-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 26px 16px;
}

.proximity-modal-controls label {
    color: #374151;
    font-size: .9rem;
    font-weight: 800;
}

.proximity-modal-controls select {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    color: #111827;
    min-height: 42px;
    padding: 0 12px;
}

.proximity-secondary-button {
    background: #ecfdf5;
    border: 1px solid rgba(24, 189, 141, .25);
    border-radius: 999px;
    color: #047857;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 0 16px;
}

.proximity-map {
    min-height: 320px;
    width: 100%;
}

.proximity-modal-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 18px 26px 24px;
}

body.proximity-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .proximity-modal {
        padding: 12px;
    }

    .proximity-modal-head,
    .proximity-modal-controls,
    .proximity-modal-actions {
        padding-left: 18px;
        padding-right: 18px;
    }

    .proximity-modal-actions {
        align-items: stretch;
        flex-direction: row;
        gap: 8px;
    }

    .proximity-modal-actions .primary-button,
    .proximity-modal-actions .proximity-secondary-button {
        flex: 1 1 0;
        min-height: 44px;
        min-width: 0;
        width: auto;
    }

    .topbar-actions {
        gap: 12px;
    }

    .my-order-button {
        font-size: .86rem;
    }
}

/* SEGUIMIENTO PÚBLICO DE PEDIDOS */
.order-tracking-page {
    background: #f6f8fb;
    color: #172033;
    min-height: 100vh;
}

.tracking-main {
    padding: 28px 20px 80px;
}

.tracking-content {
    margin: auto;
    max-width: 720px;
}

.tracking-heading {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.tracking-heading h1, .tracking-result-head h2 {
    color: #1b2535;
    font-size: 1.45rem;
    margin: 0;
}

.tracking-heading p, .tracking-result-head p {
    color: #778196;
    font-size: .92rem;
    margin: 4px 0 0;
}

.tracking-form {
    padding-bottom: 4px;
}

.tracking-form label {
    display: block;
    font-size: .84rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tracking-form-row {
    display: flex;
    gap: 10px;
}

.tracking-form input {
    border: 1px solid #d9e0e8;
    border-radius: 12px;
    flex: 1;
    font: inherit;
    min-width: 0;
    padding: 12px 14px;
}

.tracking-form input:focus {
    border-color: #008F69;
    box-shadow: 0 0 0 3px rgba(24, 189, 141, .14);
    outline: 0;
}

.tracking-form button {
    background: #101a30;
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    padding: 0 18px;
    white-space: nowrap;
}

.tracking-form button:hover {
    background: #172846;
}

.tracking-empty {
    background: #fff8e8;
    border: 1px solid #f6dfab;
    border-radius: 12px;
    color: #87620e;
    margin: 24px 0 0;
    padding: 13px 15px;
}

.tracking-result {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 18px;
    margin-top: 24px;
    padding: 24px;
}

.tracking-result-head {
    margin-bottom: 22px;
}

.tracking-business {
    align-items: center;
    display: flex;
    gap: 12px;
}

.tracking-business img, .tracking-business-fallback {
    background: #eafff5;
    border: 1px solid #bdf1dc;
    border-radius: 12px;
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    object-fit: cover;
    overflow: hidden;
    width: 48px;
}

.tracking-business-fallback {
    align-items: center;
    color: #0b8a63;
    font-weight: 900;
    justify-content: center;
}

.tracking-business h2 {
    color: #1b2535;
    font-size: 1.08rem;
    margin: 0;
}

.tracking-business p {
    color: #778196;
    font-size: .88rem;
    margin: 4px 0 0;
}

.tracking-courier {
    align-items: center;
    background: #f4fbf7;
    border: 1px solid #c9f1dd;
    border-radius: 16px;
    display: flex;
    gap: 14px;
    margin-top: 18px;
    padding: 14px;
}

.tracking-courier-photo {
    border: 2px solid #10b981;
    border-radius: 50%;
    flex: 0 0 54px;
    height: 54px;
    object-fit: cover;
    width: 54px;
}

.tracking-courier-fallback {
    align-items: center;
    color: #008f69;
    display: flex;
    font-size: 1.5rem;
    justify-content: center;
}

.tracking-courier-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.tracking-courier-copy strong, .tracking-courier-copy > span {
    display: block;
}

.tracking-courier-copy strong {
    color: #172033;
}

.tracking-courier-copy > span {
    color: #71819a;
    font-size: .83rem;
}

.tracking-courier-copy .tracking-courier-label {
    color: #087253;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.tracking-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tracking-timeline li {
    display: grid;
    gap: 12px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    min-height: 62px;
    position: relative;
}

.tracking-timeline li:not(:last-child)::before {
    background: #d9e0e8;
    content: '';
    height: calc(100% - 27px);
    left: 14px;
    position: absolute;
    top: 27px;
    width: 2px;
}

.tracking-marker {
    align-items: center;
    background: #eef1f5;
    border-radius: 50%;
    color: #a4adba;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 30px;
    z-index: 1;
}

.tracking-timeline strong {
    display: block;
    font-size: .98rem;
    line-height: 1.2;
    padding-top: 5px;
}

.tracking-timeline small {
    color: #798396;
    display: block;
    margin-top: 5px;
}

.tracking-timeline li.completada .tracking-marker, .tracking-timeline li.actual .tracking-marker {
    background: #10996e;
    color: #fff;
}

.tracking-timeline li.completada::before {
    background: #10996e;
}

.tracking-timeline li.actual strong {
    color: #117a5c;
}

.tracking-timeline.is-cancelled li.actual .tracking-marker {
    background: #d34b4b;
}

.tracking-timeline.is-cancelled li.actual strong {
    color: #c13d3d;
}

@media (max-width: 560px) {
    .topbar-actions {
        gap: 9px;
    }

    .my-order-button {
        height: 42px;
        width: 42px;
    }

    .access-button {
        height: 42px;
        min-height: 42px;
        padding: 0 15px;
    }

    .tracking-main {
        padding: 28px 14px 48px;
    }

    .tracking-result {
        padding: 20px 18px;
    }

    .tracking-form-row {
        flex-direction: column;
    }

    .tracking-form button {
        min-height: 44px;
    }

    .tracking-result-head {
        gap: 12px;
    }
}

.business-link {
    align-items: center;
    display: flex;
    gap: 16px;
    width: 100%;
}

.business-logo {
    overflow: hidden;
}

.business-logo-image {
    height: 100%;
    max-height: 46px;
    max-width: 46px;
    object-fit: contain;
    width: 100%;
}

.logo-fallback-icon {
    color: #008F69;
    font-size: 1.6rem;
    line-height: 1;
}

.business-logo-fallback {
    align-items: center;
    display: inline-flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.business-slogan {
    color: #111827 !important;
    font-weight: 800;
    margin-bottom: 4px;
}

.business-description {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .business-link {
        align-items: flex-start;
    }
}

/* BUSINESSES PAGE */

.businesses-page-hero {
    padding: 28px 0 4px;
}

.businesses-page-heading {
    align-items: center;
    display: flex;
    gap: 12px;
}

.businesses-page-hero h1 {
    color: #101a30;
    font-size: clamp(1.45rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin: 0;
}

.businesses-page-hero p {
    color: #64748b;
    font-size: .95rem;
    margin: 3px 0 0;
}

.businesses-back-link {
    align-items: center;
    background: #fff;
    border: 1px solid #dceee5;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    color: #10b981;
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 1.2rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.businesses-back-link:hover,
.businesses-back-link:focus-visible {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #059669;
}

.businesses-page-list {
    padding-top: 26px;
}

.businesses-page-list .grid {
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 980px;
}

.businesses-page-list .business-card {
    align-items: stretch;
    border: 1px solid #dfe5ea;
    border-radius: 22px;
    box-shadow: 0 10px 26px rgba(17, 24, 39, .07);
    display: block;
    padding: 0;
}

.business-card-shell {
    padding: 34px;
}

.business-card-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.businesses-page-list .business-logo {
    background: #eafff5;
    border: 1px solid #bdf1dc;
    border-radius: 14px;
    flex: 0 0 58px;
    height: 58px;
    width: 58px;
}

.businesses-page-list .business-logo:has(.business-logo-image) {
    background: transparent;
    border-color: transparent;
}

.businesses-page-list .business-logo-image {
    height: 100%;
    object-fit: cover;
    transform: scale(1.18);
    width: 100%;
}

.business-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3px;
}

.business-title-row h3 {
    color: #1f2937;
    font-size: 1.38rem;
    line-height: 1.1;
    margin: 0;
}

.business-branch-count {
    background: #eef2f4;
    border-radius: 999px;
    color: #687383;
    font-size: .78rem;
    font-weight: 800;
    padding: 5px 10px;
}

.businesses-page-list .business-slogan {
    color: #17a977 !important;
    font-size: .98rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1.28;
    margin: 0 0 4px;
}

.businesses-page-list .business-description {
    color: #7b8492;
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
}

.business-card-section {
    border-top: 1px solid #edf0f2;
    margin-top: 22px;
    padding-top: 20px;
}

.business-section-title {
    color: #a3abb7;
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.business-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.business-chip {
    align-items: center;
    background: #f5f7f9;
    border: 1px solid #e3e7eb;
    border-radius: 999px;
    color: #4b5563;
    display: inline-flex;
    font-size: .80rem;
    gap: 6px;
    min-height: 34px;
    padding: 7px 13px;
}

.business-chip:hover {
    transform: translateY(-1px);
}

.business-chip.contact-facebook {
    background: #eef4ff;
    border-color: #d5e4ff;
    color: #2563eb;
}

.business-chip.contact-instagram {
    background: #fff0f7;
    border-color: #ffd5e8;
    color: #db2777;
}

.business-chip.contact-whatsapp {
    background: #eafff5;
    border-color: #bdf1dc;
    color: #16835f;
}

.business-chip.contact-phone {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #4b5563;
}

.business-branch-list {
    display: grid;
    gap: 10px;
}

.business-branch-card {
    align-items: center;
    background: #fcfcfd;
    border: 1px solid #e8ecef;
    border-radius: 14px;
    display: grid;
    gap: 12px;
    grid-template-columns: auto 1fr auto;
    padding: 16px;
}

.business-branch-card:hover {
    border-color: #bdf1dc;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
    transform: translateY(-1px);
}

.business-branch-pin {
    align-items: center;
    background: #eafff5;
    border: 1px solid #bdf1dc;
    border-radius: 10px;
    color: #14b87f;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.business-branch-copy {
    color: #6b7280;
    display: grid;
    gap: 2px;
    min-width: 0;
}

.business-branch-copy strong {
    color: #242933;
    font-size: .98rem;
}

.business-branch-copy span,
.business-branch-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-branch-copy span {
    white-space: nowrap;
}

.business-branch-copy small {
    white-space: normal;
}

.business-branch-copy small {
    color: #a3abb7;
    font-weight: 700;
}

.business-branch-badge {
    background: #eafff5;
    border: 1px solid #bdf1dc;
    border-radius: 999px;
    color: #16835f;
    font-size: .8rem;
    font-weight: 900;
    padding: 6px 12px;
}

.business-category-chip {
    background: #f7f9fc;
    border-color: #bdf1dc;
    color: #344054;
}

.business-empty-detail {
    color: #8b95a1;
    font-size: .92rem;
    font-weight: 700;
}

@media (max-width: 700px) {
    .business-card-shell {
        padding: 22px;
    }

    .business-card-head {
        gap: 12px;
    }

    .businesses-page-list .business-logo {
        flex-basis: 52px;
        height: 52px;
        width: 52px;
    }

    .business-title-row h3 {
        font-size: 1.15rem;
    }

    .business-branch-card {
        align-items: flex-start;
        grid-template-columns: auto 1fr;
    }

    .business-branch-badge {
        grid-column: 2;
        justify-self: start;
    }
}

/* BUSINESS CAROUSEL */

.business-carousel {
    position: relative;
}

.business-carousel-track {
    display: grid;
    gap: 20px;
    grid-auto-columns: minmax(300px, calc((100% - 40px) / 3));
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 2px 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.business-carousel-track::-webkit-scrollbar {
    display: none;
}

.business-carousel-track .business-card {
    box-sizing: border-box;
    min-height: 170px;
    min-width: 0;
    scroll-snap-align: start;
    width: 100%;
}

.business-carousel-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, .12);
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    position: static;
    width: 42px;
}

.carousel-bottom-controls {
    align-items: center;
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    padding: 0 0.15rem;
}

@media (max-width: 768px) {
    .carousel-bottom-controls {
        display: none;
    }
}

.carousel-bottom-controls:has(.business-carousel-button[hidden] + .business-carousel-button[hidden]) {
    display: none;
}

.business-carousel-button:disabled {
    cursor: default;
    opacity: .4;
}

.business-carousel-button[hidden] {
    display: none;
}


@media (max-width: 900px) {
    .business-carousel-track {
        grid-auto-columns: minmax(280px, calc((100% - 20px) / 2));
    }
}

@media (max-width: 600px) {
    .business-carousel-track {
        grid-auto-columns: minmax(260px, 88%);
        padding-left: 1px;
        padding-right: 1px;
    }

}

/* BUSINESS CAROUSEL CARD LAYOUT */

.businesses-section .business-card {
    align-items: stretch;
    box-sizing: border-box;
    overflow: hidden;
    padding: 18px;
}

.businesses-section .business-card-content {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-width: 0;
    width: 100%;
}

.businesses-section .business-card-top {
    align-items: flex-start;
    display: flex;
    min-width: 0;
    padding-right: 62px;
    width: 100%;
}

.businesses-section .business-link {
    align-items: flex-start;
    color: inherit;
    display: flex;
    text-align: left;
    text-decoration: none;
}

.businesses-section .business-logo-link {
    flex: 0 0 auto;
}

.businesses-section .business-info-link {
    flex: 1 1 auto;
    min-width: 0;
}

.businesses-section .business-logo {
    flex: 0 0 auto;
    height: 72px;
    width: 72px;
}

.businesses-section .business-logo:has(.business-logo-image:not([hidden])) {
    background: transparent;
}

.businesses-section .business-logo-image {
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

.businesses-section .business-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.businesses-section .business-info h3,
.businesses-section .business-slogan,
.businesses-section .business-description,
.businesses-section .business-meta {
    overflow-wrap: normal;
    text-align: left;
    word-break: normal;
}

.businesses-section .business-info h3 {
    line-height: 1.18;
    margin-bottom: 1px;
}

.businesses-section .business-description {
    font-size: .8rem;
    line-height: 1.35;
    margin-bottom: 1px;
}

.businesses-section .business-meta {
    margin-bottom: 0;
}

.businesses-section .business-slogan {
    line-height: 1.35;
}

/* NEARBY CAROUSEL */

.nearby-carousel {
    position: relative;
}

.nearby-carousel-track {
    display: grid;
    gap: 20px;
    grid-auto-columns: minmax(300px, calc((100% - 40px) / 3));
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 2px 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.nearby-carousel-track::-webkit-scrollbar {
    display: none;
}

.nearby-carousel-track .nearby-business-card {
    scroll-snap-align: start;
}


@media (max-width: 900px) {
    .nearby-carousel-track {
        grid-auto-columns: minmax(280px, calc((100% - 20px) / 2));
    }
}

@media (max-width: 600px) {
    .nearby-carousel-track {
        grid-auto-columns: minmax(260px, 88%);
        padding-left: 1px;
        padding-right: 1px;
    }

}

/* NEARBY LOCATION BUTTON */

.nearby-section-copy {
    min-width: 0;
    width: 100%;
}

.nearby-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nearby-title-row h2 {
    margin: 0;
}


/* PROXIMITY MAP SEARCH */

.proximity-search-control {
    flex: 1 1 340px;
    min-width: 240px;
}

.proximity-range-control {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.proximity-search-control label,
.proximity-range-control label {
    color: #374151;
    display: block;
    font-size: .9rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.proximity-search-box {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    display: flex;
    min-height: 44px;
    overflow: hidden;
}

.proximity-search-box input {
    border: 0;
    color: #111827;
    flex: 1;
    min-width: 0;
    outline: none;
    padding: 0 14px;
}

.proximity-search-box button {
    align-items: center;
    background: #008F69;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
}

.proximity-map .leaflet-bottom.leaflet-right {
    bottom: 14px;
    right: 14px;
}

@media (max-width: 600px) {
    .proximity-search-control,
    .proximity-range-control {
        flex: 1 1 100%;
        width: 100%;
    }

    .proximity-modal-controls select {
        width: 100%;
    }

    .proximity-search-box {
        align-items: stretch;
        flex-direction: column;
    }

    .proximity-search-box input,
    .proximity-search-box button {
        width: 100%;
    }
}

/* NEARBY DISTANCE BADGE */

.nearby-distance-badge {
    align-items: center;
    color: #047857;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 900;
    min-height: 34px;
    padding: 0 13px;
    white-space: nowrap;
}

/* PROXIMITY SEARCH OVER MAP */

.proximity-map-wrap {
    margin-top: 4px;
    position: relative;
}

.proximity-map-wrap .proximity-search-control {
    left: 16px;
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 500;
}

.proximity-map-wrap .proximity-search-box {
    border: 1px solid rgba(209, 213, 219, .9);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .18);
    min-height: 48px;
}

.proximity-map-wrap .proximity-search-box input {
    font-size: .98rem;
    min-height: 48px;
}

.proximity-map-wrap .proximity-search-box button {
    min-height: 48px;
    padding: 0 18px;
}

.proximity-map-wrap .proximity-search-box button span {
    display: none;
}

.proximity-map-wrap .proximity-search-box button i {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .proximity-map-wrap .proximity-search-control {
        left: 12px;
        right: 12px;
        top: 12px;
    }

    .proximity-map-wrap .proximity-search-box {
        align-items: center;
        flex-direction: row;
    }

    .proximity-map-wrap .proximity-search-box input {
        width: auto;
    }

    .proximity-map-wrap .proximity-search-box button {
        flex: 0 0 auto;
        width: auto;
    }
}

/* PROXIMITY SEARCH ACTION BUTTONS */

.proximity-map-wrap .proximity-search-button,
.proximity-map-wrap .proximity-current-icon-button {
    align-items: center;
    border: 0;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    min-height: 48px;
    padding: 0;
    width: 48px;
}

.proximity-map-wrap .proximity-search-button {
    background: #008F69;
}

.proximity-map-wrap .proximity-current-icon-button {
    background: #111827;
}

.proximity-map-wrap .proximity-current-icon-button i {
    font-size: 1.55rem;
}

/* Selector y búsqueda de proximidad */
.proximity-range-control {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.proximity-range-control legend {
    color: #475569;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.proximity-range-control legend i {
    color: #008f69;
    margin-right: 5px;
}

.proximity-range-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proximity-modal-controls .proximity-range-options label {
    cursor: pointer;
    font-size: .88rem;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.proximity-range-options input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.proximity-range-options span {
    align-items: center;
    background: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #475569;
    display: inline-flex;
    justify-content: center;
    min-height: 30px;
    min-width: 64px;
    padding: 0 14px;
}

.proximity-range-options input:checked + span {
    background: #008f69;
    box-shadow: 0 2px 6px rgba(0, 143, 105, .25);
    color: #fff;
    font-weight: 800;
}

.proximity-range-options input:checked + span::after {
    content: '★';
    margin-left: 4px;
}

.proximity-range-options input:focus-visible + span {
    outline: 3px solid #7dd3b0;
    outline-offset: 2px;
}

.proximity-map-wrap .proximity-search-control {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
    width: auto;
}

.proximity-map-wrap .proximity-search-box {
    flex: 1 1 auto;
    min-width: 0;
    padding: 4px;
}

.proximity-map-wrap .proximity-search-box:focus-within {
    border-color: #008f69;
    box-shadow: 0 0 0 3px rgba(0, 143, 105, .18);
}

.proximity-map-wrap .proximity-search-leading {
    color: #94a3b8;
    flex: 0 0 auto;
    font-size: 1.05rem;
    padding-left: 10px;
}

.proximity-map-wrap .proximity-search-box input {
    background: transparent;
    min-height: 44px;
    padding: 0 10px;
}

.proximity-map-wrap .proximity-search-box .proximity-search-button {
    border-radius: 12px;
    flex: 0 0 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    width: 44px;
}

.proximity-map-wrap .proximity-current-icon-button {
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .2);
}

.proximity-map-wrap .proximity-search-button:focus-visible,
.proximity-map-wrap .proximity-current-icon-button:focus-visible {
    outline: 3px solid #7dd3b0;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .proximity-modal-dialog {
        max-height: calc(100dvh - 24px);
        overflow-y: auto;
    }

    .proximity-range-options {
        gap: 6px;
    }

    .proximity-range-options span {
        min-width: 58px;
        padding: 0 10px;
    }

    .proximity-map {
        min-height: 240px;
    }
}

/* BUSINESS CATEGORIES */

.business-category-carousel {
    position: relative;
}

.business-category-list {
    display: grid;
    gap: 20px;
    grid-auto-columns: minmax(300px, calc((100% - 40px) / 3));
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 4px 2px 4px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.business-category-list::-webkit-scrollbar {
    display: none;
}

.business-category-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .04);
    overflow: hidden;
    padding: 20px;
    position: relative;
    scroll-snap-align: start;
}

.business-category-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    width: 100%;
}


@media (max-width: 900px) {
    .business-category-list {
        grid-auto-columns: minmax(280px, calc((100% - 20px) / 2));
    }
}

@media (max-width: 600px) {
    .business-category-list {
        grid-auto-columns: minmax(260px, 88%);
        padding-left: 1px;
        padding-right: 1px;
    }

}

.business-category-heading,
.business-category-logo-link {
    color: inherit;
    text-decoration: none;
}

.business-category-heading {
    align-items: flex-start;
    display: flex;
    min-width: 0;
}

.business-category-logo-link,
.business-category-chips .business-category-chip {
    position: relative;
    z-index: 1;
}

.business-category-card:focus-within {
    outline: 2px solid #008f69;
    outline-offset: 2px;
}

.business-category-logo {
    align-items: center;
    background: #008F69;
    border-radius: 14px;
    display: inline-flex;
    flex: 0 0 50px;
    height: 50px;
    justify-content: center;
    overflow: hidden;
    width: 50px;
}

.business-category-logo-image {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.business-category-logo .logo-fallback-icon {
    color: #ffffff;
}

.business-category-logo-fallback {
    color: #047857;
    font-weight: 900;
}

.business-category-copy h3 {
    color: #111827;
    font-size: 1.08rem;
    line-height: 1.2;
    margin: 0 0 4px;
}

.business-category-copy p {
    color: #667085;
    font-size: .92rem;
    margin: 0;
}

.business-category-copy [data-business-category-description] {
    font-size: .8rem;
}

.business-category-divider {
    background: #eef2f7;
    height: 1px;
    margin: 5px 0 5px;
}

.business-category-label {
    color: #98a2b3;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.business-category-chips {
    background: #fff;
    display: flex;
    gap: 5px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.business-category-chips::-webkit-scrollbar {
    display: none;
}

.business-category-chips .business-category-chip {
    background: #f3f4f6;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #344054;
    flex: 0 0 auto;
    font-size: .80rem;
    padding: 3px 9px;
    scroll-snap-align: start;
    white-space: nowrap;
}

.business-category-chips .business-category-chip:hover {
    background: #e5e7eb;
}

/* SHARE BUTTONS */

.card-share-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .10);
    color: #047857;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 38px;
    height: 38px;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    width: 38px;
}

.card-share-button:hover,
.card-share-button:focus-visible {
    background: #008F69;
    border-color: #008F69;
    color: #ffffff;
    transform: translateY(-1px);
}

.card-share-button[hidden] {
    display: none;
}

.card-share-button-floating {
    position: absolute;
    right: 14px;
    top: 14px;
}

.nearby-business-card {
    position: relative;
}

.businesses-section .business-card {
    position: relative;
}

.businesses-section .card-share-button {
    margin: 0;
    position: absolute;
    right: 24px;
    top: 18px;
    z-index: 2;
}

.business-category-top {
    align-items: flex-start;
    display: flex;
    min-width: 0;
    padding-right: 62px;
    width: 100%;
}

.business-categories-section .card-share-button {
    margin: 0;
    position: absolute;
    right: 24px;
    top: 20px;
    z-index: 2;
}

.business-category-heading {
    flex: 1;
    min-width: 0;
}

.share-feedback-toast {
    background: #111827;
    border-radius: 999px;
    bottom: 22px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .22);
    color: #ffffff;
    font-size: .9rem;
    font-weight: 800;
    left: 50%;
    padding: 11px 16px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 2200;
}

.proximity-selected-status {
    background: #ecfdf5;
    border: 1px solid rgba(16, 185, 129, .24);
    border-radius: 14px;
    color: #047857;
    font-size: .9rem;
    font-weight: 700;
    margin: 14px 26px 0;
    padding: 10px 14px;
}

.proximity-selected-status[hidden] {
    display: none;
}

.category-discovery {
    padding-top: 1rem;
    padding-bottom: 0rem;
}

.category-discovery h2 {
    margin-bottom: 1rem;
}

.category-discovery-list {
    display: flex;
    flex-wrap: nowrap;
    gap: .6rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.category-discovery-list::-webkit-scrollbar {
    display: none;
}

.category-discovery-list .business-category-chip {
    background: #f7f9fc;
    border: 1px solid #dfe6ef;
    color: #344054;
    padding: .3rem 0.8rem;
    border-radius: 1.8rem;
    flex: 0 0 auto;
    scroll-snap-align: start;
    text-decoration: none;
    white-space: nowrap;
}

.category-discovery-list .business-category-chip:hover {
    background: #edf1f6;
}

.category-discovery-list [hidden] {
    display: none;
}

.category-more {
    margin-top: 1rem;
    border: 0;
    background: none;
    color: #087f5b;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.category-results {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.category-results h1 {
    margin: 1.5rem 0;
}

.category-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
}

.category-result {
    padding: 1.5rem;
    border: 1px solid #dce8e2;
    border-radius: 1rem;
    background: white;
}

.category-result h2 {
    margin: 0 0 .75rem;
}

.business-category-actions {
    display: flex;
    gap: 5px;
    padding: 5px;
    margin: 10px 0;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f1f4f8;
}

.business-category-actions a {
    align-items: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(16, 24, 40, .1);
    display: flex;
    flex: 1;
    gap: 3px;
    justify-content: center;
    min-width: 0;
    padding: 8px 3px;
    color: #101828;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 9px;
}

.business-category-actions a i {
    font-size: 1.1rem;
    line-height: 1;
}

.business-category-actions a[hidden] {
    display: none;
}
