/* ── Portal theme variables (defaults — overridden by PortalThemeService) ── */
:root {
    --portal-primary: #FF6A00;
    --portal-secondary: #0B1F3B;
    --portal-accent: #FFB800;
    --portal-bg: #F5F6F8;
    --portal-surface: #FFFFFF;
    --portal-surface-soft: #F9FAFB;
    --portal-text: #1F2937;
    --portal-text-muted: #667085;
    --portal-border: rgba(11, 31, 59, 0.08);
    --portal-btn: #FF6A00;
    --portal-btn-text: #FFFFFF;
    --portal-radius: 12px;
    --portal-radius-sm: 12px;
    --portal-radius-md: 20px;
    --portal-radius-lg: 28px;
    --portal-space: 0.85rem;
    --portal-content-max: 1640px;
    --portal-font: inherit;
    --portal-header-h: 56px;
    --portal-header-sticky-h: var(--portal-header-h);
    --portal-category-nav-h: 0px;
    --portal-sticky-offset: calc(var(--portal-header-h) + 4.75rem);
    --portal-shadow-sm: 0 1px 3px rgba(11, 31, 59, 0.08);
    --portal-shadow-md: 0 4px 16px rgba(11, 31, 59, 0.12);
    --portal-shadow-lg: 0 8px 32px rgba(11, 31, 59, 0.16);
    --portal-shadow-soft: 0 16px 38px rgba(11, 31, 59, 0.10);
}

.portal-shell {
    font-family: var(--portal-font);
}

/* ── Shell ── */
.portal-shell {
    min-height: 100vh;
    background: var(--portal-bg);
    color: var(--portal-text);
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.portal-store-page.has-mobile-cart-bar {
    padding-bottom: calc(104px + env(safe-area-inset-bottom, 0));
}

@media (min-width: 992px) {
    .portal-store-page.has-mobile-cart-bar {
        padding-bottom: 0;
    }
}

.portal-footer {
    text-align: center;
    padding: 1rem 1.5rem 1.5rem;
    color: #6b7280;
    font-size: 0.8rem;
}

/* ── Header ── */
.portal-header {
    background: var(--portal-secondary);
    color: #fff;
    padding: 0.5rem 0.75rem;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: var(--portal-shadow-md);
}

.portal-header-inner {
    max-width: var(--portal-content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: var(--portal-header-h);
}

.portal-header-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    flex-shrink: 0;
}

.portal-header-brand img,
.portal-header-sb-icon {
    width: 36px;
    height: 36px;
    border-radius: calc(var(--portal-radius) * 0.5);
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #fff;
    padding: 2px;
}

.portal-header-brand img {
    object-fit: cover;
}

.portal-header-brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

@media (min-width: 576px) {
    .portal-header-brand-name {
        max-width: 220px;
    }
}

.portal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}

.portal-search-wrap {
    flex: 1;
    max-width: 420px;
    position: relative;
}

.portal-search-wrap .mud-input-root {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: calc(var(--portal-radius) * 0.75) !important;
}

.portal-search-wrap .mud-input-root:hover,
.portal-search-wrap .mud-input-root.mud-input-root-focused {
    background: rgba(255, 255, 255, 0.18) !important;
}

.portal-search-wrap input,
.portal-search-wrap .mud-input-label,
.portal-search-wrap .mud-input-adornment .mud-icon-root {
    color: #fff !important;
}

.portal-search-wrap fieldset {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.portal-search-hint {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none;
    display: none;
    padding: 0.15rem 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .portal-search-hint {
        display: block;
    }
}

.portal-header-cart-btn {
    color: #fff !important;
}

.portal-header-cart-btn .mud-badge-root {
    --mud-badge-background: var(--portal-primary);
}

/* ── Content layout ── */
.portal-content {
    max-width: var(--portal-content-max);
    margin: 0 auto;
    padding: 0 0.75rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) {
    .portal-content {
        grid-template-columns: minmax(0, 1fr) var(--public-cart-column, 480px);
        align-items: start;
        padding: 0 1rem 1.5rem;
    }

    .portal-cart-panel-wrap {
        position: sticky;
        top: calc(var(--portal-header-h) + 12px);
    }
}

@media (min-width: 992px) {
    .portal-content.portal-content-no-cart {
        max-width: var(--portal-content-max);
        grid-template-columns: minmax(0, 1fr);
    }
}

.portal-main-column {
    min-width: 0;
}

/* ── State banner ── */
.portal-state-banner {
    border-radius: var(--portal-radius-md);
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--portal-shadow-sm);
}

.portal-state-banner.warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.portal-state-banner.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Hero ── */
.portal-hero {
    position: relative;
    border-radius: var(--portal-radius);
    overflow: hidden;
    margin: 0.75rem 0 1rem;
    min-height: 200px;
    box-shadow: var(--portal-shadow-md);
}

@media (min-width: 768px) {
    .portal-hero {
        min-height: 240px;
    }
}

.portal-hero-cover {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.portal-hero-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 31, 59, 0.35) 0%,
        rgba(11, 31, 59, 0.75) 55%,
        rgba(11, 31, 59, 0.92) 100%
    );
}

.portal-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--portal-secondary) 0%, #1e3a5f 50%, var(--portal-primary) 100%);
}

.portal-hero-body {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1rem 1rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .portal-hero-body {
        padding: 1.5rem 1.25rem 1.25rem;
        min-height: 240px;
    }
}

.portal-hero-top {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.portal-hero-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--portal-radius);
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--portal-shadow-md);
    flex-shrink: 0;
}

.portal-hero-logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--portal-radius);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.portal-hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.portal-hero-slogan {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0.25rem 0 0;
}

.portal-hero-badges,
.portal-hero-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.portal-hero-status-row .portal-hero-meta-item {
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portal-hero-status-row .portal-modality-toggle {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    max-width: none;
}

.portal-hero-status-row .portal-modality-btn {
    flex: 0 0 auto;
    min-width: 0;
}

.portal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portal-status-badge.open {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.portal-status-badge.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.portal-status-badge.paused {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.portal-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
    opacity: 0.92;
}

.portal-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.portal-modality-toggle {
    display: inline-flex;
    gap: 0.45rem;
    flex-wrap: nowrap;
}

.portal-modality-btn {
    flex: 0 0 auto;
    min-width: 0;
    border-radius: calc(var(--portal-radius) * 0.75) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.portal-modality-btn.active {
    background: var(--portal-btn) !important;
    color: var(--portal-btn-text) !important;
    border-color: var(--portal-btn) !important;
}

.portal-modality-btn.inactive {
    background: #f3f4f6 !important;
    color: var(--portal-text) !important;
    border: 1px solid rgba(11, 31, 59, 0.08) !important;
}

.portal-hero-status-row .portal-modality-btn.inactive {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* ── Banner carousel ── */
.portal-banner-carousel {
    margin-bottom: 1rem;
    border-radius: var(--portal-radius);
    overflow: hidden;
    box-shadow: var(--portal-shadow-sm);
    position: relative;
}

.portal-banner-slide {
    position: relative;
    min-height: 120px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-radius: var(--portal-radius);
    overflow: hidden;
}

.portal-banner-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.portal-banner-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 31, 59, 0.85) 0%, rgba(11, 31, 59, 0.45) 100%);
}

.portal-banner-slide-content {
    position: relative;
    z-index: 1;
}

.portal-banner-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.portal-banner-subtitle {
    font-size: 0.875rem;
    opacity: 0.92;
    margin: 0;
}

.portal-banner-coupon {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.portal-banner-controls {
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.portal-banner-nav {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.portal-banner-dots {
    display: flex;
    gap: 0.35rem;
}

.portal-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    position: relative;
}

.portal-banner-dot::before {
    content: "";
    position: absolute;
    inset: -18px;
}

.portal-banner-dot.active {
    background: #fff;
    transform: scale(1.15);
}

/* ── Menu toolbar ── */
.portal-menu-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.portal-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--portal-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portal-sort-select {
    min-width: 160px;
}

/* ── Category chips ── */
.portal-category-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portal-category-scroll::-webkit-scrollbar {
    display: none;
}

.portal-tag-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 0 0.25rem;
    margin-bottom: 0.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portal-tag-scroll::-webkit-scrollbar {
    display: none;
}

.portal-category-chip {
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 999px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.15s ease;
}

.portal-category-chip.mud-chip-selected,
.portal-category-chip.selected {
    background: var(--portal-primary) !important;
    color: #fff !important;
}

.portal-tag-chip {
    flex-shrink: 0;
    cursor: pointer;
    font-size: 0.8rem !important;
}

.portal-tag-chip.selected {
    background: var(--portal-secondary) !important;
    color: #fff !important;
}

/* ── Menu sections (browse by category) ── */
.portal-menu-start-anchor {
    scroll-margin-top: var(--portal-sticky-offset);
    height: 0;
}

.portal-menu-section {
    scroll-margin-top: var(--portal-sticky-offset);
    margin-bottom: 1.75rem;
}

.portal-menu-section--featured {
    margin-bottom: 1.25rem;
}

.portal-menu-section-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid color-mix(in srgb, var(--portal-primary) 28%, transparent);
}

.portal-menu-toolbar--sections {
    margin-top: 0.15rem;
    margin-bottom: 1rem;
}

.portal-menu-sections-hint {
    flex: 1;
    min-width: 140px;
    line-height: 1.35;
}

.portal-menu-section-filter-btn {
    flex-shrink: 0;
    text-transform: none !important;
    font-weight: 600 !important;
    color: var(--portal-primary) !important;
    white-space: nowrap;
}

@media (max-width: 599px) {
    .portal-menu-section-header {
        flex-wrap: wrap;
    }

    .portal-menu-section-filter-btn {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
}

.portal-menu-section-thumb {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(11, 31, 59, 0.12);
}

.portal-menu-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix(in srgb, var(--portal-primary) 12%, #fff);
    color: var(--portal-primary);
}

.portal-menu-section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.portal-menu-section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--portal-text);
    line-height: 1.15;
}

.portal-menu-section-count {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

/* ── Product grid ── */
.portal-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .portal-product-grid {
        gap: 1rem;
    }
}

@media (min-width: 992px) {
    .portal-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .portal-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portal-product-card {
    background: var(--portal-surface);
    border-radius: var(--portal-radius-md);
    overflow: hidden;
    box-shadow: var(--portal-shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    position: relative;
}

.portal-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--portal-shadow-md);
}

.portal-product-card.unavailable {
    opacity: 0.65;
    cursor: not-allowed;
}

.portal-product-card.unavailable:hover {
    transform: none;
}

.portal-product-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
    overflow: hidden;
}

.portal-product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background:
        radial-gradient(circle at 30% 24%, color-mix(in srgb, var(--portal-primary) 16%, transparent), transparent 42%),
        linear-gradient(145deg, #f3f4f6, #e5e7eb);
}

.portal-product-featured-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--portal-accent);
    color: var(--portal-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal-product-promo-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portal-product-unavailable-badge {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.portal-product-body {
    padding: 0.625rem 0.75rem 0.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.35rem;
}

.portal-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.portal-product-desc {
    font-size: 0.75rem;
    color: var(--portal-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.portal-product-meta {
    font-size: 0.7rem;
    color: var(--portal-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.portal-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.portal-product-price {
    color: var(--portal-primary);
    font-weight: 800;
    font-size: 0.95rem;
}

.portal-product-price-old {
    color: #9ca3af;
    font-size: 0.75rem;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 0.25rem;
}

.portal-product-add-btn {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--portal-btn) !important;
    color: var(--portal-btn-text) !important;
}

/* ── Cart panel ── */
.portal-cart-panel {
    background: #fff;
    border-radius: var(--portal-radius);
    padding: 1rem;
    box-shadow: var(--portal-shadow-md);
}

.portal-cart-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    position: relative;
}

.portal-cart-steps::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.portal-cart-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.portal-cart-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.portal-cart-step.active .portal-cart-step-dot {
    background: var(--portal-primary);
    color: #fff;
}

.portal-cart-step-label {
    font-size: 0.65rem;
    color: #6b7280;
    text-align: center;
    max-width: 64px;
}

.portal-cart-step.active .portal-cart-step-label {
    color: var(--portal-primary);
    font-weight: 600;
}

.portal-cart-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.portal-cart-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(11, 31, 59, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--portal-primary);
}

.portal-cart-empty-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.portal-cart-empty-text {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.portal-cart-item {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.portal-cart-item.unavailable {
    opacity: 0.7;
}

.portal-total {
    color: var(--portal-primary);
    font-size: 1.35rem;
    font-weight: 800;
}

.portal-min-order-alert {
    border-radius: calc(var(--portal-radius) * 0.75);
    padding: 0.75rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.portal-checkout-btn {
    background: var(--portal-btn) !important;
    color: var(--portal-btn-text) !important;
    border-radius: calc(var(--portal-radius) * 0.75) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    padding: 0.75rem 1rem !important;
}

.portal-alert {
    border-radius: calc(var(--portal-radius) * 0.75);
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
}

.portal-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.portal-alert-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.portal-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.portal-alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.portal-coupon-banner a {
    margin-left: 0.5rem;
    font-weight: 700;
    color: var(--portal-primary);
}

.portal-toast {
    position: fixed;
    left: 50%;
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0));
    transform: translateX(-50%);
    z-index: 400;
    background: #0b1f3b;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(11, 31, 59, 0.25);
    font-size: 0.9rem;
    max-width: min(92vw, 420px);
    text-align: center;
    animation: portal-fade-in 0.2s ease;
}

@media (min-width: 992px) {
    .portal-toast {
        bottom: 2rem;
    }
}

.portal-price {
    color: var(--portal-primary);
    font-weight: 700;
}

/* ── Mobile cart bar ── */
.portal-mobile-cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 190;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -4px 16px rgba(11, 31, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.portal-mobile-cart-total-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

.portal-mobile-cart-total-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--portal-primary);
    margin: 0;
}

.portal-mobile-cart-btn {
    background: var(--portal-btn) !important;
    color: var(--portal-btn-text) !important;
    border-radius: calc(var(--portal-radius) * 0.75) !important;
    font-weight: 700 !important;
    text-transform: none !important;
    min-width: 140px;
}

/* ── Trust bar ── */
.portal-trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 0.5rem;
    padding: 1rem;
    background: var(--portal-surface);
    border-radius: var(--portal-radius-lg);
    box-shadow: var(--portal-shadow-sm);
}

@media (min-width: 576px) {
    .portal-trust-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.portal-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.portal-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.1);
    color: var(--portal-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-trust-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--portal-text);
}

.portal-trust-sublabel {
    font-size: 0.65rem;
    color: #6b7280;
}

/* ── Customize dialog mobile ── */
.portal-customize-dialog .mud-dialog-content {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

@media (max-width: 599px) {
    .portal-customize-dialog .mud-dialog {
        margin: 0;
        max-height: 100vh;
    }

    .portal-customize-dialog .mud-dialog-content {
        max-height: calc(100vh - 140px);
    }
}

.portal-customize-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
}

.portal-customize-price-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

/* ── Timeline (order track) ── */
.portal-timeline-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.portal-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    margin-top: 4px;
    flex-shrink: 0;
}

.portal-timeline-dot.active {
    background: var(--portal-primary);
}

/* ── Load more ── */
.portal-load-more-btn {
    border-color: var(--portal-primary) !important;
    color: var(--portal-primary) !important;
    border-radius: var(--portal-radius) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

/* ── Card style variants ── */
.portal-cards-sharp .portal-product-card {
    border-radius: 4px;
}

.portal-cards-default .portal-product-card {
    box-shadow: var(--portal-shadow-md);
}

/* ── Banner actions ── */
.portal-banner-slide.clickable {
    cursor: pointer;
}

button.portal-banner-slide.portal-banner-slide-btn {
    appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: inherit;
    font: inherit;
    background: transparent;
}

button.portal-banner-slide.portal-banner-slide-btn:focus-visible {
    outline: 2px solid var(--portal-primary, #FF6A00);
    outline-offset: 2px;
}

.portal-banner-slide.clickable:hover .portal-banner-action-btn {
    background: rgba(255, 255, 255, 0.25);
}

.portal-banner-action-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ── Mobile bottom sheet cart ── */
.portal-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 59, 0.45);
    z-index: 300;
    animation: portal-fade-in 0.2s ease;
}

.portal-cart-bottom-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 88vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 301;
    display: flex;
    flex-direction: column;
    animation: portal-slide-up 0.25s ease;
    box-shadow: 0 -8px 32px rgba(11, 31, 59, 0.2);
}

.portal-cart-sheet-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

.portal-cart-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem 0;
}

.portal-cart-sheet-body {
    overflow-y: auto;
    padding: 0 0.75rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

@keyframes portal-slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes portal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Error / empty states ── */
.portal-error-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.public-error-panel,
.public-loading,
.public-tracking {
    width: min(100% - 1.5rem, 720px);
    margin: clamp(2rem, 8vh, 5rem) auto;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: var(--portal-radius-lg);
    background: var(--portal-surface);
    border: 1px solid var(--portal-border);
    box-shadow: var(--portal-shadow-soft);
    color: var(--portal-text);
}

.public-error-panel {
    text-align: center;
}

.public-error-panel::before {
    content: "restaurant_menu";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 0.9rem;
    border-radius: 22px;
    background: color-mix(in srgb, var(--portal-primary) 12%, #fff);
    color: var(--portal-primary);
    font-family: "Material Icons";
    font-size: 2rem;
    line-height: 1;
}

.public-error-panel h1,
.public-tracking h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 4vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.public-error-panel p,
.public-tracking p {
    margin: 0.35rem 0;
    color: var(--portal-text-muted);
    line-height: 1.55;
}

.public-error-request {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.75rem !important;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: var(--portal-surface-soft);
    border: 1px solid var(--portal-border);
    font-size: 0.82rem;
}

.public-error-request code {
    color: var(--portal-secondary);
    font-size: 0.78rem;
}

.public-error-panel a,
.public-tracking a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--portal-btn);
    color: var(--portal-btn-text);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--portal-btn) 28%, transparent);
}

.public-loading {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--portal-text-muted);
}

.public-tracking-status {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--portal-primary) 12%, #fff);
    color: var(--portal-primary) !important;
    font-weight: 800;
}

.public-timeline {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    border-left: 2px solid color-mix(in srgb, var(--portal-primary) 20%, #e5e7eb);
}

.public-timeline li {
    position: relative;
    padding: 0 0 0.85rem 1rem;
}

.public-timeline li::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--portal-primary);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--portal-primary) 12%, #fff);
}

.public-timeline strong,
.public-timeline span {
    display: block;
}

.public-timeline span {
    color: var(--portal-text-muted);
    font-size: 0.85rem;
}

.portal-error-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
    color: var(--portal-text);
}

.portal-error-text {
    color: #6b7280;
    margin-bottom: 1.25rem;
}

.portal-state-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.portal-whatsapp-btn {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    text-transform: none !important;
}

.portal-cart-secure-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

.portal-trust-link {
    color: var(--portal-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-trust-link:hover {
    text-decoration: underline;
}

/* ── Visual refresh: app de delivery moderno ── */
.portal-shell {
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--portal-primary) 16%, transparent) 0, transparent 34rem),
        radial-gradient(circle at top right, color-mix(in srgb, var(--portal-secondary) 18%, transparent) 0, transparent 30rem),
        linear-gradient(180deg, #fff7f1 0, var(--portal-bg) 18rem, #f7f8fb 100%);
}

.portal-header {
    background: color-mix(in srgb, var(--portal-secondary) 92%, #000 8%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 35px rgba(11, 31, 59, 0.16);
    backdrop-filter: blur(18px);
}

.portal-header-inner {
    min-height: 62px;
}

.portal-header-brand img,
.portal-header-brand > .mud-icon-root {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.portal-header-brand-name {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.portal-header-cart-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 14px !important;
}

.portal-search-wrap .mud-input-root,
.d-sm-none .mud-input-root {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.portal-content {
    padding-top: 0.85rem;
}

@media (min-width: 992px) {
    .portal-content {
        grid-template-columns: minmax(0, 1fr) var(--public-cart-column, 480px);
        gap: 1.15rem;
    }

    .portal-content.portal-content-no-cart {
        max-width: var(--portal-content-max);
        grid-template-columns: minmax(0, 1fr);
    }
}

.portal-hero {
    min-height: 168px;
    border-radius: clamp(22px, calc(var(--portal-radius) + 12px), 34px);
    margin: 0.35rem 0 1.15rem;
    box-shadow: 0 24px 58px rgba(11, 31, 59, 0.2);
    isolation: isolate;
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.28), transparent 18rem),
        linear-gradient(90deg, rgba(11, 31, 59, 0.92) 0%, rgba(11, 31, 59, 0.62) 46%, rgba(11, 31, 59, 0.18) 100%);
    pointer-events: none;
}

.portal-hero-cover,
.portal-hero-gradient {
    transform: scale(1.02);
}

.portal-hero-cover::after {
    background:
        linear-gradient(180deg, rgba(11, 31, 59, 0.08) 0%, rgba(11, 31, 59, 0.66) 72%, rgba(11, 31, 59, 0.9) 100%);
}

.portal-hero-body {
    z-index: 2;
    min-height: 168px;
    max-width: 760px;
    padding: 1.15rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .portal-hero-body {
        min-height: 168px;
        padding: 1.25rem;
        gap: 0.62rem;
    }
}

.portal-hero-top {
    align-items: center;
    padding: 0.6rem 0.7rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.portal-hero-logo,
.portal-hero-logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 3px solid rgba(255, 255, 255, 0.92);
}

.portal-hero-title {
    font-size: clamp(1.15rem, 3vw, 1.65rem);
    letter-spacing: -0.045em;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}

.portal-hero-slogan {
    max-width: 30rem;
    font-size: clamp(0.85rem, 2vw, 1rem);
    opacity: 0.94;
}

.portal-status-badge,
.portal-hero-meta-item {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.38rem 0.68rem;
    backdrop-filter: blur(12px);
}

.portal-hero-meta {
    gap: 0.55rem;
    opacity: 1;
}

.portal-modality-toggle {
    gap: 0.45rem;
}

.portal-hero-status-row .portal-modality-toggle {
    max-width: none;
    order: unset;
}

.portal-modality-btn {
    flex: 0 0 auto;
    min-width: 0;
    border-radius: 999px !important;
    padding: 0.32rem 0.56rem !important;
    font-size: 0.74rem !important;
    backdrop-filter: blur(12px);
}

.portal-hero-status-row {
    order: 1;
}

.portal-hero-meta {
    order: 2;
}

.portal-modality-btn .mud-button-label {
    white-space: nowrap;
}

.portal-modality-btn.active {
    box-shadow: 0 14px 30px color-mix(in srgb, var(--portal-btn) 38%, transparent);
}

.portal-banner-carousel {
    margin: 0.25rem 0 1.15rem;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(11, 31, 59, 0.14);
}

.portal-banner-slide {
    min-height: 124px;
    padding: 1.15rem;
    border-radius: 24px;
}

.portal-banner-slide::after {
    content: "";
    position: absolute;
    inset: auto -4rem -7rem auto;
    width: 15rem;
    height: 15rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--portal-primary) 42%, transparent);
    filter: blur(1px);
    opacity: 0.72;
}

.portal-banner-slide-overlay {
    background: linear-gradient(90deg, rgba(11, 31, 59, 0.92) 0%, rgba(11, 31, 59, 0.58) 55%, rgba(11, 31, 59, 0.22) 100%);
}

.portal-banner-title {
    max-width: 70%;
    font-size: clamp(1.1rem, 2.35vw, 1.55rem);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.portal-banner-subtitle {
    max-width: 72%;
    font-size: 0.98rem;
}

.portal-banner-action-btn,
.portal-banner-coupon {
    margin-top: 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
}

.portal-category-scroll {
    position: sticky;
    top: var(--portal-header-sticky-h, var(--portal-header-h));
    z-index: 20;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    padding: 0.2rem 0.75rem 0.7rem;
    background: linear-gradient(180deg, rgba(247, 248, 251, 0.94), rgba(247, 248, 251, 0.72));
    backdrop-filter: blur(14px);
}

.portal-category-chip {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(11, 31, 59, 0.08) !important;
    box-shadow: 0 8px 20px rgba(11, 31, 59, 0.08);
}

.portal-category-chip.mud-chip-selected,
.portal-category-chip.selected {
    background: var(--portal-secondary) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(11, 31, 59, 0.18);
}

.portal-menu-toolbar {
    margin-top: 0.25rem;
    margin-bottom: 0.95rem;
}

.portal-section-title {
    font-size: 1.35rem;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.portal-product-grid {
    gap: 0.85rem;
}

@media (min-width: 1400px) {
    .portal-product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    .portal-product-grid {
        gap: 1.15rem;
    }
}

.portal-product-card {
    border-radius: var(--portal-radius-md);
    border: 1px solid var(--portal-border);
    box-shadow: 0 10px 28px rgba(11, 31, 59, 0.08);
}

.portal-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(11, 31, 59, 0.16);
}

.portal-product-image-wrap {
    aspect-ratio: 1 / 0.82;
}

.portal-product-image-wrap img {
    transition: transform 0.35s ease;
}

.portal-product-card:hover .portal-product-image-wrap img {
    transform: scale(1.055);
}

.portal-product-featured-badge {
    top: 0.65rem;
    left: 0.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--portal-accent), #fff3a3);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.portal-product-body {
    padding: 0.85rem;
}

.portal-product-name {
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.portal-product-desc {
    color: #667085;
}

.portal-product-price {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.portal-product-add-btn {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: var(--portal-btn) !important;
    color: var(--portal-btn-text) !important;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--portal-btn) 32%, transparent);
    flex: 0 0 auto;
}

@media (max-width: 575px) {
    .portal-product-add-btn {
        width: 38px !important;
        padding: 0 !important;
        min-width: 38px !important;
    }

    .portal-product-add-btn .mud-button-label {
        font-size: 0;
    }

    .portal-product-add-btn .mud-button-start-icon {
        margin: 0 !important;
    }
}

.portal-cart-panel {
    border: 1px solid rgba(11, 31, 59, 0.08);
    border-radius: 26px;
    box-shadow: 0 24px 54px rgba(11, 31, 59, 0.16);
}

.portal-cart-panel-wrap .portal-cart-panel {
    max-height: calc(100vh - var(--portal-header-h) - 2rem);
    overflow-y: auto;
}

.portal-cart-item {
    padding: 0.75rem;
    border: 1px solid rgba(11, 31, 59, 0.06);
    border-radius: 18px;
    background: #fbfcfe;
}

.portal-cart-steps::before {
    background: linear-gradient(90deg, var(--portal-primary), #e5e7eb);
}

.portal-mobile-cart-bar {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    border: 1px solid rgba(11, 31, 59, 0.08);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(11, 31, 59, 0.2);
    padding: 0.78rem;
    padding-bottom: calc(0.78rem + env(safe-area-inset-bottom, 0));
}

.portal-mobile-cart-btn {
    border-radius: 999px !important;
    min-height: 44px;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--portal-btn) 30%, transparent);
}

.portal-cart-overlay {
    background: rgba(11, 31, 59, 0.58);
    backdrop-filter: blur(6px);
}

.portal-cart-bottom-sheet {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    max-height: 90vh;
    border-radius: 28px;
    overflow: hidden;
}

.portal-cart-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0;
}

.portal-cart-sheet-body {
    padding: 0 1rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.portal-trust-bar {
    border: 1px solid rgba(11, 31, 59, 0.06);
    box-shadow: 0 14px 34px rgba(11, 31, 59, 0.08);
}

@media (max-width: 575px) {
    .portal-content {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .portal-hero {
        min-height: 148px;
        border-radius: 0 0 28px 28px;
        margin: -0.85rem -0.65rem 1rem;
    }

    .portal-hero-body {
        min-height: 148px;
        padding: 0.85rem;
    }

    .portal-hero-status-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portal-hero-status-row::-webkit-scrollbar {
        display: none;
    }

    .portal-hero-top {
        align-items: center;
        width: 100%;
        padding: 0.55rem 0.65rem;
    }

    .portal-hero-logo,
    .portal-hero-logo-placeholder {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .portal-banner-slide {
        min-height: 118px;
        padding: 1rem;
    }

    .portal-banner-title,
    .portal-banner-subtitle {
        max-width: 82%;
    }

    .portal-product-grid {
        gap: 0.7rem;
    }

    .portal-product-body {
        padding: 0.7rem;
    }

    .digital-menu-product-card .portal-product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .digital-menu-product-card .digital-menu-details-btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 359px) {
    .portal-product-grid {
        grid-template-columns: 1fr;
    }

    .portal-product-footer {
        flex-direction: column;
        align-items: stretch;
    }
}
