/* Custom additions on top of the menurite Next.js bundles.
   Uses the same design tokens defined in :root by the Next.js CSS. */

/* Force pure-white background instead of the orange-tinted color-mix
   the menurite global stylesheet sets. */
html, body {
    background: #ffffff !important;
}

/* Banner fallback: orange gradient when no banner image is set. */
.banner-fallback {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
    height: 17rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 97%;
    margin: 0 auto 0;
    position: relative;
    overflow: hidden;
}
.banner-fallback::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.25) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.18) 0%, transparent 40%);
}

/* Status pills inside the info cards */
.NomaMenuHero-module__ruDxNG__statusOpen {
    color: #047857;
    font-weight: 700;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.NomaMenuHero-module__ruDxNG__statusOpen .NomaMenuHero-module__ruDxNG__statusDot {
    width: 0.8rem; height: 0.8rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.page-module__pDnOBW__content {
    padding-bottom: 12rem;
}

.empty-state {
    background: var(--theme-bg-card);
    margin: 4rem 2rem;
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px var(--theme-shadow);
}
.empty-state h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--theme-text-primary); }
.empty-state p { color: var(--theme-text-secondary); }
.empty-state a { color: var(--flow-orange); font-weight: 600; }

.img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-bg-tertiary);
    color: var(--theme-text-muted);
    font-size: 4rem;
}

/* ─── Search bar (hidden until toggled by search icon) ──────────────────── */
.search-bar {
    display: none;
}
.search-bar.open {
    display: block;
    padding: 1rem 1.6rem 1.2rem;
    background: var(--theme-bg-card);
    border-bottom: 1px solid var(--theme-border);
    animation: searchSlideDown .22s ease both;
}
@keyframes searchSlideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-inner {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    color: var(--theme-text-muted);
    pointer-events: none;
    flex-shrink: 0;
    transition: color .2s;
}

.search-bar input {
    width: 100%;
    padding: 1.15rem 4rem 1.15rem 3.8rem;
    border: 1.5px solid var(--theme-border);
    border-radius: 999px;
    font-size: 1.45rem;
    font-family: inherit;
    background: var(--theme-bg-card);
    color: var(--theme-text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: border-color .2s, box-shadow .2s;
    /* remove the browser default search clear button */
    -webkit-appearance: none;
    appearance: none;
}
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-bar input::-ms-clear { display: none; }

.search-bar input:focus {
    outline: none;
    border-color: var(--flow-orange);
    box-shadow: 0 0 0 3px rgba(255,100,39,.12), 0 2px 8px rgba(0,0,0,.06);
}
.search-bar input:focus ~ .search-icon-inner,
.search-input-wrap:focus-within .search-icon-inner {
    color: var(--flow-orange);
}

.search-clear {
    position: absolute;
    right: 1rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    border: 0;
    background: var(--theme-text-muted);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.7);
    transition: opacity .18s, transform .18s;
    flex-shrink: 0;
}
.search-clear svg { width: 1.3rem; height: 1.3rem; }
.search-clear.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.search-clear:hover { background: var(--theme-text-secondary); }

/* ─── No-results empty state ────────────────────────────────────────────── */
.search-no-results {
    margin: 3.2rem 2rem 1.6rem;
    padding: 3.6rem 2rem;
    background: var(--theme-bg-card);
    border-radius: 1.8rem;
    text-align: center;
    border: 1.5px dashed var(--theme-border);
    animation: fadeUp .22s ease both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.search-no-results-icon { font-size: 3.2rem; margin-bottom: 1rem; opacity: .6; }
.search-no-results p {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: .5rem;
}
.search-no-results p strong { color: var(--flow-orange); }
.search-no-results span {
    font-size: 1.35rem;
    color: var(--theme-text-secondary);
}

/* === Floating cart FAB === */
.cart-fab {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background: var(--flow-orange);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 1.4rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(254, 101, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 60;
    font-family: inherit;
    transition: transform .15s, box-shadow .15s;
}
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(254, 101, 0, 0.5); }
.cart-fab:active { transform: translateY(0); }
.cart-fab span {
    background: rgba(255,255,255,.25);
    padding: 0.2rem 0.9rem;
    border-radius: 999px;
    font-size: 1.3rem;
    min-width: 2.4rem;
    text-align: center;
}

/* === Cart drawer === */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(42rem, 100%);
    height: 100%;
    background: var(--theme-bg-card);
    box-shadow: -4px 0 24px var(--theme-shadow-heavy);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
    z-index: 80;
    display: flex;
    flex-direction: column;
    font-family: var(--brand-font-family);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
    padding: 1.8rem 2rem;
    border-bottom: 1px solid var(--theme-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer-head h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-text-primary);
}
.cart-drawer-head button {
    background: var(--theme-bg-secondary);
    border: 0;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--theme-text-primary);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.cart-drawer-head button:hover { background: var(--theme-bg-tertiary); }

.cart-drawer-list {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem 0;
}
.cart-drawer-list li {
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--theme-border-light);
}
.cart-drawer-list .item-info { flex: 1; min-width: 0; }
.cart-drawer-list .item-name { font-weight: 600; font-size: 1.4rem; color: var(--theme-text-primary); margin-bottom: 0.2rem; }
.cart-drawer-list .item-meta { font-size: 1.2rem; color: var(--theme-text-secondary); }

.cart-drawer-list .qty {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    background: var(--theme-bg-secondary);
    border-radius: 999px;
    padding: 0.3rem;
}
.cart-drawer-list .qty button {
    width: 2.8rem; height: 2.8rem;
    border-radius: 50%;
    border: 0;
    background: var(--theme-bg-card);
    cursor: pointer;
    line-height: 1;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s;
}
.cart-drawer-list .qty button:hover { background: var(--flow-orange-light); color: var(--brand-primary-darker); }
.cart-drawer-list .qty span { min-width: 2rem; text-align: center; font-weight: 700; font-size: 1.4rem; }

.cart-empty {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--theme-text-muted);
    font-size: 1.4rem;
}

.cart-drawer-foot {
    padding: 2rem;
    border-top: 1px solid var(--theme-border);
    background: var(--theme-bg-secondary);
}
.cart-drawer-total {
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.7rem;
    color: var(--theme-text-primary);
    display: flex;
    justify-content: space-between;
}
.cart-drawer-checkout {
    width: 100%;
    background: #25D366;
    color: #fff;
    border: 0;
    padding: 1.4rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, box-shadow .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.cart-drawer-checkout:disabled { background: var(--theme-bg-tertiary); color: var(--theme-text-muted); cursor: not-allowed; }
.cart-drawer-checkout:not(:disabled):hover { background: #128C7E; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35); }

.cart-fields {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-bottom: 1.2rem;
}
.cart-field {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--theme-border);
    border-radius: .8rem;
    font-size: 1.35rem;
    font-family: var(--brand-font-family);
    background: var(--theme-bg-primary, #fff);
    color: var(--theme-text-primary, #111);
    outline: none;
    resize: none;
    transition: border-color .15s;
}
.cart-field:focus { border-color: var(--flow-orange, #fe6500); }
.cart-field::placeholder { color: var(--theme-text-muted, #9ca3af); }
.cart-field-error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.18); animation: cartFieldShake .35s; }
@keyframes cartFieldShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.cart-backdrop {
    position: fixed;
    inset: 0;
    background: var(--theme-bg-overlay);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    z-index: 70;
}
.cart-backdrop.open { opacity: 1; pointer-events: auto; }

/* === Add-to-cart pop animation === */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.add-to-cart.popped { animation: pop .3s ease; }

/* === Hidden category (when filter active) === */
.NomaCategoryCard-module__ROZSMW__card.cat-hidden,
.NomaMenuItemCard-module__YmOa5q__card.item-hidden {
    display: none !important;
}

/* ==========================================================================
   Item detail modal — opens when an item card is tapped
   ========================================================================== */
/* ============================================================
   Lightbox
   ============================================================ */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .22s ease;
}
#lightbox.open { opacity: 1; }
#lightboxBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    cursor: pointer;
}
#lightboxImg {
    position: relative;
    z-index: 1;
    max-width: min(90vw, 72rem);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 1rem;
    display: block;
    user-select: none;
    box-shadow: 0 2.4rem 6rem rgba(0,0,0,.7);
}
#lightboxClose {
    position: fixed;
    top: 1.6rem;
    right: 1.6rem;
    z-index: 2;
    background: rgba(255,255,255,.15);
    border: 0;
    color: #fff;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    backdrop-filter: blur(4px);
}
#lightboxClose:hover { background: rgba(255,255,255,.3); }
#lightboxPrev, #lightboxNext {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,.15);
    border: 0;
    color: #fff;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    backdrop-filter: blur(4px);
}
#lightboxPrev { left: 1.2rem; }
#lightboxNext { right: 1.2rem; }
#lightboxPrev:hover, #lightboxNext:hover { background: rgba(255,255,255,.3); }
#lightboxDots {
    position: fixed;
    bottom: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: .7rem;
}
.lb-dot {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.lb-dot.active { background: #fff; transform: scale(1.25); }

.item-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
}
.item-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.item-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.item-modal-card {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 56rem;
    max-height: calc(100dvh - 4rem);
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
    transform: translateY(2rem) scale(0.97);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
    overflow-y: auto;
}
.item-modal.open .item-modal-card {
    transform: translateY(0) scale(1);
}

.item-modal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    background: var(--theme-bg-tertiary);
    flex-shrink: 0;
}
.item-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}
.item-modal-image-placeholder {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--theme-text-muted);
}
.item-modal[data-no-image="1"] .item-modal-image-placeholder {
    display: flex;
}
.item-modal[data-no-image="1"] .item-modal-image img {
    display: none;
}

.item-modal-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.item-modal-close:hover { background: rgba(0, 0, 0, 0.75); transform: scale(1.05); }

.item-modal-body {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.item-modal-body h2 {
    color: var(--brand-primary, #fe6500);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.item-modal-body #modalDesc {
    color: var(--theme-text-secondary);
    font-size: 1.6rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 600;
}
.item-modal-body #modalDesc:empty {
    display: none;
}
.item-modal-price {
    color: var(--brand-primary, #fe6500);
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0.4rem;
}

.item-modal-divider {
    height: 1px;
    background: var(--theme-border);
    margin: 0.8rem 0;
}

.item-modal-actions {
    display: flex;
    gap: 1.2rem;
    align-items: stretch;
}

.qty-stepper {
    display: flex;
    align-items: center;
    background: var(--theme-bg-secondary);
    border-radius: 999px;
    padding: 0.5rem;
    flex-shrink: 0;
}
.qty-stepper button {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 2rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: background .12s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-stepper button:hover { background: var(--flow-orange-light); color: var(--brand-primary-darker); }
.qty-stepper button:active { transform: scale(0.95); }
.qty-stepper span {
    min-width: 4rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--theme-text-primary);
}

.add-to-cart-big {
    flex: 1;
    background: var(--brand-primary, #fe6500);
    color: #fff;
    border: 0;
    border-radius: 1.4rem;
    padding: 0 2rem;
    font-size: 1.7rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: inherit;
    transition: background .15s, transform .12s, box-shadow .15s;
    min-height: 5.6rem;
    box-shadow: 0 6px 18px rgba(254, 101, 0, 0.35);
}
.add-to-cart-big:hover { background: var(--brand-primary-dark, #d64f00); box-shadow: 0 8px 22px rgba(254, 101, 0, 0.45); }
.add-to-cart-big:active { transform: scale(0.98); }

/* Lock body scroll while modal is open */
body.modal-open { overflow: hidden; }

/* ==========================================================================
   Responsive — Tablet (≤1024)
   ========================================================================== */
@media (max-width: 1024px) {
    /* Make tablet view use the full screen — the menurite container is
       capped at 60rem which feels cramped on iPad. */
    .page-module__pDnOBW__mainContainer {
        max-width: 100% !important;
    }
    .page-module__pDnOBW__container {
        border-radius: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .banner-fallback { height: 14rem; max-width: 100%; border-radius: 1.2rem; }
    .cart-fab { padding: 1.2rem 1.8rem; font-size: 1.4rem; }
}

/* ==========================================================================
   Responsive — Mobile (≤600)
   ========================================================================== */
@media (max-width: 600px) {
    .banner-fallback {
        height: 11rem;
        border-radius: 0.8rem;
        max-width: calc(100% - 1.6rem);
    }

    /* Cart FAB — sits comfortably in thumb reach */
    .cart-fab {
        right: 1.4rem;
        bottom: 1.4rem;
        padding: 1.2rem 1.6rem;
        font-size: 1.4rem;
    }
    .cart-fab svg { width: 2rem; height: 2rem; }

    /* Cart drawer takes near full-width on phone, with a comfy peek */
    .cart-drawer { width: 100%; max-width: 100%; }
    .cart-drawer-head, .cart-drawer-foot { padding: 1.6rem; }
    .cart-drawer-list li { padding: 1.2rem 1.6rem; gap: 1.2rem; }
    .cart-drawer-list .qty button { width: 3rem; height: 3rem; font-size: 1.6rem; }

    /* Search bar */
    .search-bar { padding: 0.4rem 1.2rem 1.2rem; }
    .search-bar.open { padding: 0.8rem 1.2rem 1.1rem; }
    .search-bar.open input { font-size: 1.55rem; padding: 1.2rem 4rem 1.2rem 3.8rem; }
    .search-no-results { margin: 2rem 1.2rem; padding: 2.8rem 1.6rem; }

    /* Empty state slimmer */
    .empty-state { margin: 2rem 1rem; padding: 3rem 1.6rem; }
    .empty-state h2 { font-size: 1.7rem; }
}

/* Modal sizing on phones: full-bleed sheet that slides up from bottom */
@media (max-width: 600px) {
    .item-modal { padding: 0; align-items: flex-end; }
    .item-modal-card {
        max-width: 100%;
        max-height: 92dvh;
        border-radius: 2rem 2rem 0 0;
    }
    .item-modal.open .item-modal-card { transform: translateY(0); }
    .item-modal-card { transform: translateY(100%); }

    .item-modal-image { aspect-ratio: 16 / 10; }
    .item-modal-body { padding: 2rem 1.8rem 2.4rem; }
    .item-modal-body h2 { font-size: 2.2rem; }
    .item-modal-price { font-size: 2rem; }
    .item-modal-close { width: 3.6rem; height: 3.6rem; top: 1.2rem; right: 1.2rem; }

    .item-modal-actions { flex-direction: row; }
    .qty-stepper button { width: 3.6rem; height: 3.6rem; font-size: 1.8rem; }
    .qty-stepper span { min-width: 3rem; font-size: 1.6rem; }
    .add-to-cart-big { font-size: 1.5rem; min-height: 5rem; padding: 0 1.4rem; }
    .add-to-cart-big svg { width: 2rem; height: 2rem; }
}

/* ==========================================================================
   Responsive — Tiny phones (≤380)
   ========================================================================== */
@media (max-width: 380px) {
    .cart-fab { padding: 1rem 1.4rem; }
    .cart-fab span { font-size: 1.2rem; }
    .banner-fallback { height: 9rem; }
}

/* ==========================================================================
   Touch-device polish
   ========================================================================== */
@media (hover: none) {
    .cart-fab:hover { transform: none; box-shadow: 0 8px 24px rgba(254, 101, 0, 0.4); }
    .NomaMenuItemCard-module__YmOa5q__card:active { opacity: 0.85; }
}

/* Item card add-to-cart button — make sure it's a comfy tap target */
.QuantityControl-module___Dpe2G__addToCartBtn {
    min-width: 3.6rem;
    min-height: 3.6rem;
}

/* ==========================================================================
   Info modal
   ========================================================================== */
.info-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0,0,0,.55);
    opacity: 0;
    transition: opacity .25s;
}
.info-modal[hidden] { display: none; }
.info-modal.open    { opacity: 1; }

.info-modal-sheet {
    background: #fff;
    border-radius: 2rem;
    width: 100%;
    max-width: 52rem;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(1.6rem) scale(.97);
    transition: transform .25s;
}
.info-modal.open .info-modal-sheet { transform: translateY(0) scale(1); }

.info-modal-x {
    position: sticky;
    top: 1.6rem;
    float: right;
    margin: 1.6rem 1.6rem 0 0;
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 0;
    background: #e5e7eb;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
    z-index: 1;
    flex-shrink: 0;
}
.info-modal-x:hover { background: #d1d5db; }

.info-modal-body { padding: 0 2.8rem 2.8rem; }

.info-modal-name {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brand-primary, #fe6500);
    margin: 0 0 .6rem;
    padding-right: 1rem;
    line-height: 1.2;
}
.info-modal-desc {
    font-size: 1.45rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 .4rem;
}

.info-row {
    padding: 1.5rem 0;
    border-top: 1px solid #f3f4f6;
}
.info-row-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.info-row-label {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand-primary, #fe6500);
    margin-bottom: .5rem;
}
.info-row-hd .info-row-label { margin-bottom: 0; }
.info-row-val {
    font-size: 1.4rem;
    color: #111827;
    margin: .4rem 0 0;
    line-height: 1.5;
}
.info-row-val a { color: #111827; }

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}
.info-badge.open   { background: #dcfce7; color: #166534; }
.info-badge.closed { background: #fee2e2; color: #991b1b; }
.info-badge-dot { width: .7rem; height: .7rem; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.info-social { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: .8rem; }
.info-social-btn {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary, #fe6500);
    text-decoration: none;
    transition: background .15s, transform .12s;
}
.info-social-btn:hover { background: #e5e7eb; transform: scale(1.1); }

@media (max-width: 600px) {
    .info-modal { padding: 0; align-items: flex-end; }
    .info-modal-sheet { max-width: 100%; max-height: 90dvh; border-radius: 2rem 2rem 0 0; }
}

/* ==========================================================================
   Share toast
   ========================================================================== */
#epicToast {
    position: fixed;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%) translateY(1.4rem);
    background: #111827;
    color: #fff;
    padding: 1.2rem 2.4rem;
    border-radius: 10rem;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: calc(100vw - 3.2rem);
    text-align: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
#epicToast.epic-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
