/* Public Resto — mobile-first menu (fixed mobile width) */

.public-resto-page {
    --resto-mobile-width: 420px;
    --resto-accent: #2563eb;
    --resto-accent-soft: rgba(37, 99, 235, 0.08);
    --resto-surface: #ffffff;
    --resto-muted: #64748b;
    --resto-border: rgba(148, 163, 184, 0.2);
    --resto-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    --resto-radius: 16px;
    --resto-bottom-nav-height: 4.25rem;
    min-height: 100vh;
    background: #e2e8f0;
    color: #0f172a;
}

.public-resto-shell {
    width: 100%;
    max-width: var(--resto-mobile-width);
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 1rem calc(var(--resto-bottom-nav-height) + 1.5rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 240px);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12), 0 12px 40px rgba(15, 23, 42, 0.08);
}

.public-resto-hero__banner-wrap {
    position: relative;
    margin: 0 -1rem 2.75rem;
}

.public-resto-hero__banner {
    position: relative;
    border-radius: 0 0 var(--resto-radius) var(--resto-radius);
    overflow: hidden;
    background: #e2e8f0;
}

.public-resto-hero__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 30%,
        rgba(255, 255, 255, 0.55) 62%,
        rgba(255, 255, 255, 0.92) 82%,
        #ffffff 100%
    );
    pointer-events: none;
    z-index: 1;
}

.public-resto-hero__banner-image {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.public-resto-hero__banner-profile {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: calc(-2.25rem + 30px);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    z-index: 2;
}

.public-resto-hero__banner-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
    flex: 1;
    padding-top: 0.15rem;
}

.public-resto-hero__meta--banner {
    justify-content: flex-start;
    gap: 0.85rem;
    margin-top: 0.1rem;
}

.public-resto-hero__banner-avatar {
    position: relative;
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: var(--resto-shadow);
    background: #fff;
}

.public-resto-hero__banner-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-resto-hero__banner-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    font-size: 1.5rem;
}

.public-resto-hero {
    position: relative;
    padding: 2.5rem 0 1.75rem;
    text-align: center;
}

.public-resto-hero--has-banner {
    padding: 0.25rem 0 1.75rem;
    text-align: left;
}

.public-resto-hero--has-banner .public-resto-hero__title {
    justify-content: flex-start;
}
.public-resto-hero--has-banner .public-resto-hero__table,
.public-resto-hero--has-banner .public-resto-hero__desc,
.public-resto-hero--has-banner .public-resto-hero__meta {
    text-align: left;
}

.public-resto-hero--has-banner .public-resto-hero__meta {
    justify-content: flex-start;
}

.public-resto-hero__logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 1rem;
    box-shadow: var(--resto-shadow);
    border: 3px solid #fff;
}

.public-resto-hero__logo--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #fff;
    font-size: 1.75rem;
}

.public-resto-hero__title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
    line-height: 1.15;
}

.public-resto-hero__verified {
    color: var(--resto-accent);
    font-size: 0.95em;
    flex-shrink: 0;
    line-height: 1;
}

.public-resto-hero__title--banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.85);
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-resto-hero__table {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: var(--resto-accent-soft);
    color: var(--resto-accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.public-resto-hero__desc {
    max-width: 36rem;
    margin: 0 auto 1.25rem;
    color: var(--resto-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.public-resto-hero__desc--banner {
    margin: 0;
    padding: 0;
    color: var(--resto-muted);
    font-size: 0.82rem;
    line-height: 1.45;
    max-width: 100%;
}

.public-resto-hero__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.public-resto-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--resto-border);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
}

.public-resto-hero__chip--plain {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    color: var(--resto-muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.public-resto-hero__chip:hover {
    color: var(--resto-accent);
    border-color: rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

.public-resto-hero__chip--plain:hover {
    color: var(--resto-accent);
    border: none;
    background: transparent;
    text-decoration: none;
}

.public-resto-section {
    margin-bottom: 2rem;
}

.public-resto-section__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.public-resto-section__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--resto-accent-soft);
    color: var(--resto-accent);
    font-size: 1rem;
}

.public-resto-section__title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.public-resto-section__subtitle {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: var(--resto-muted);
}

.public-resto-category {
    margin-bottom: 1.35rem;
}

.public-resto-category__title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--resto-muted);
    margin: 0 0 0.75rem;
    padding-left: 0.15rem;
}

.public-resto-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.public-resto-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: var(--resto-radius);
    background: var(--resto-surface);
    border: 1px solid var(--resto-border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-resto-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--resto-shadow);
}

.public-resto-card__media {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
}

.public-resto-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.public-resto-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.35rem;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.public-resto-card__body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.public-resto-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.public-resto-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    color: #0f172a;
}

.public-resto-card__price {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--resto-accent);
    white-space: nowrap;
}

.public-resto-card__desc {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--resto-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.public-resto-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.45rem;
}

.public-resto-card__meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.public-resto-card__serving-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.6rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.public-resto-card__serving-btn:hover:not(.is-active) {
    border-color: #94a3b8;
    background: #fff;
    color: #475569;
}

.public-resto-card__serving-btn.is-active,
.public-resto-card__serving-btn.is-active:hover {
    background: var(--resto-accent, #2563eb);
    border-color: var(--resto-accent, #2563eb);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.22);
}

.public-resto-qty {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid var(--resto-border);
    border-radius: 999px;
    background: #f8fafc;
    overflow: hidden;
}

.public-resto-qty.has-qty {
    background: var(--resto-accent-soft);
    border-color: rgba(37, 99, 235, 0.28);
}

.public-resto-qty__btn {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--resto-accent);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.public-resto-qty__btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.public-resto-qty__value {
    min-width: 1.35rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    user-select: none;
}

.public-resto-qty--out {
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.3rem 0.65rem;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
}

.public-resto-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border-radius: var(--resto-radius);
    background: #fff;
    border: 1px dashed var(--resto-border);
}

.public-resto-empty__icon {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 0.75rem;
}

.public-resto-empty__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.public-resto-empty__text {
    margin: 0;
    color: var(--resto-muted);
    font-size: 0.88rem;
}

.public-resto-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 50;
    width: 100%;
    max-width: var(--resto-mobile-width);
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--resto-border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}

.public-resto-bottom-nav__inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.public-resto-bottom-nav__tabs {
    display: flex;
    flex: 1 1 auto;
    gap: 0.2rem;
    min-width: 0;
}

.public-resto-bottom-nav__tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
    padding: 0.35rem 0.15rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--resto-muted);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.public-resto-bottom-nav__tab span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-resto-bottom-nav__tab i {
    font-size: 1.1rem;
}

.public-resto-bottom-nav__tab.is-active,
.public-resto-bottom-nav__tab:hover {
    color: var(--resto-accent);
    background: var(--resto-accent-soft);
}

.public-resto-bottom-nav__cart {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.65rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--resto-muted);
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.public-resto-bottom-nav__cart.has-items {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    border: 0;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.public-resto-bottom-nav__cart:hover {
    text-decoration: none;
    color: var(--resto-accent);
    background: var(--resto-accent-soft);
}

.public-resto-bottom-nav__cart.has-items:hover {
    color: #fff;
    filter: brightness(1.03);
}

.public-resto-bottom-nav__cart--full {
    flex: 1 1 auto;
    min-height: 48px;
}

.public-resto-bottom-nav__cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
}

.public-resto-bottom-nav__cart-badge {
    position: absolute;
    top: -0.45rem;
    right: -0.55rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.public-resto-bottom-nav__cart.has-items .public-resto-bottom-nav__cart-badge {
    background: #fff;
    color: var(--resto-accent);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.public-resto-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

.public-resto-footer a {
    color: inherit;
    text-decoration: none;
}

.public-resto-section.is-hidden {
    display: none;
}

body.public-resto-cart-open {
    overflow: hidden;
}

body.public-resto-cart-open .public-resto-bottom-nav {
    visibility: hidden;
    pointer-events: none;
}

.public-resto-cart-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}

.public-resto-cart-modal[hidden] {
    display: none !important;
}

.public-resto-cart-modal.is-open {
    pointer-events: auto;
}

.public-resto-cart-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.public-resto-cart-modal.is-open .public-resto-cart-modal__backdrop {
    opacity: 1;
}

.public-resto-cart-modal__sheet {
    position: relative;
    width: 100%;
    max-width: var(--resto-mobile-width);
    max-height: min(92vh, 100dvh);
    margin-bottom: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.16);
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.public-resto-cart-modal.is-open .public-resto-cart-modal__sheet {
    transform: translateY(0);
}

.public-resto-cart-modal__handle {
    width: 2.5rem;
    height: 0.28rem;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: #cbd5e1;
}

.public-resto-cart-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.5rem;
}

.public-resto-cart-modal__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.public-resto-cart-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.public-resto-cart-modal__contact {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.65rem 1rem 0.75rem;
    border-bottom: 1px solid var(--resto-border);
}

.public-resto-cart-modal__contact .public-resto-cart-field {
    margin: 0;
}

.public-resto-cart-modal__contact-error {
    margin: 0 1rem 0.5rem;
}

.public-resto-cart-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 0.85rem 1rem 0.75rem;
}

.public-resto-cart-step__label {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--resto-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.public-resto-cart-lines {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.public-resto-cart-line {
    display: grid;
    gap: 0.45rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--resto-border);
}

.public-resto-cart-line__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.public-resto-cart-line__info {
    min-width: 0;
    flex: 1 1 auto;
}

.public-resto-cart-line__name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.public-resto-cart-line__meta {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: var(--resto-muted);
}

.public-resto-cart-line__price {
    flex-shrink: 0;
    font-size: 0.88rem;
    color: var(--resto-accent);
}

.public-resto-cart-line__note-block {
    margin-top: 0.2rem;
}

.public-resto-cart-line__note-toggle,
.public-resto-cart-line__note-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 1.55rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.public-resto-cart-line__note-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    background: var(--resto-accent-soft);
    color: var(--resto-accent);
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
}

.public-resto-cart-line__note-toggle:hover,
.public-resto-cart-line__note-edit:hover {
    border-color: rgba(37, 99, 235, 0.22);
    background: #fff;
    color: var(--resto-accent);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    text-decoration: none;
}

.public-resto-cart-line__note-toggle:active,
.public-resto-cart-line__note-edit:active {
    transform: translateY(1px);
}

.public-resto-cart-line__note-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.public-resto-cart-line__note-preview-text {
    min-width: 0;
    font-size: 0.72rem;
    color: #64748b;
    font-style: italic;
    line-height: 1.35;
}

.public-resto-cart-line__note-edit {
    flex-shrink: 0;
    padding-inline: 0.5rem;
}

.public-resto-cart-line__note-panel {
    display: grid;
    gap: 0.35rem;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

.public-resto-cart-line__note-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--resto-muted);
    letter-spacing: 0.02em;
}

.public-resto-cart-line__note-input {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    padding: 0.48rem 0.62rem;
    font-size: 0.78rem;
    color: #0f172a;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.public-resto-cart-line__note-input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.public-resto-cart-line__note-text {
    margin: 0;
    font-size: 0.78rem;
    color: var(--resto-muted);
    font-style: italic;
}

.public-resto-cart-empty {
    margin: 0 0 0.75rem;
    color: var(--resto-muted);
    font-size: 0.88rem;
}

.public-resto-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--resto-border);
    font-size: 0.92rem;
    font-weight: 700;
}

.public-resto-cart-total strong {
    font-size: 1rem;
    color: var(--resto-accent);
}

.public-resto-cart-payment-summary {
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--resto-border);
}

.public-resto-cart-payment-summary .public-resto-cart-step__label {
    margin-bottom: 0.65rem;
}

.public-resto-cart-total--payment {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
}

.public-resto-cart-table-locked {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: var(--resto-accent-soft);
    color: var(--resto-accent);
}

.public-resto-cart-table-locked i {
    font-size: 1.35rem;
}

.public-resto-cart-table-locked__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.public-resto-cart-fulfillment__tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0.2rem;
    border-radius: 12px;
    background: #f1f5f9;
}

.public-resto-cart-fulfillment__tab {
    flex: 1 1 0;
    border: 0;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    background: transparent;
    color: var(--resto-muted);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.public-resto-cart-fulfillment__tab.is-active {
    background: #fff;
    color: var(--resto-accent);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.public-resto-cart-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.public-resto-cart-field span {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.public-resto-cart-field__input,
.public-resto-cart-field__textarea {
    width: 100%;
    border: 1px solid var(--resto-border);
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    color: #0f172a;
    background: #fff;
}

.public-resto-cart-field__input:focus,
.public-resto-cart-field__textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.public-resto-cart-payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}

.public-resto-cart-payment-option {
    margin: 0;
    cursor: pointer;
}

.public-resto-cart-payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.public-resto-cart-payment-option__box {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--resto-border);
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.public-resto-cart-payment-option input:checked + .public-resto-cart-payment-option__box {
    border-color: rgba(37, 99, 235, 0.45);
    background: var(--resto-accent-soft);
    color: var(--resto-accent);
}

.public-resto-cart-accounts__title {
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--resto-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.public-resto-cart-accounts__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.public-resto-cart-account {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--resto-border);
}

.public-resto-cart-account__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    flex-shrink: 0;
}

.public-resto-cart-account__icon--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--resto-accent);
    font-size: 1rem;
}

.public-resto-cart-account__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.82rem;
    color: #334155;
}

.public-resto-cart-account__body strong {
    font-size: 0.88rem;
    color: #0f172a;
}

.public-resto-cart-account__body small {
    color: var(--resto-muted);
}

.public-resto-cart-error {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    color: #dc2626;
}

.public-resto-cart-modal__foot {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--resto-border);
    background: #fff;
}

.public-resto-cart-modal__btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    border-radius: 12px;
    border: 0;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.public-resto-cart-modal__btn--ghost {
    flex: 0 0 auto;
    padding: 0 1rem;
    background: #f1f5f9;
    color: #475569;
}

.public-resto-cart-modal__btn--primary {
    background: var(--resto-accent);
    color: #fff;
}

.public-resto-cart-modal__btn--primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.public-resto-cart-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding: 1.5rem 0.5rem 0.75rem;
}

.public-resto-cart-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-size: 2rem;
}

.public-resto-cart-success__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.public-resto-cart-success__text {
    margin: 0;
    max-width: 18rem;
    color: var(--resto-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}
