.mh5-app-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 197, 155, 0.42), transparent 28%),
        radial-gradient(circle at top right, rgba(255, 230, 182, 0.5), transparent 24%),
        linear-gradient(180deg, #fff7f1 0%, #fffdf9 44%, #fff5ef 100%);
    color: #21150f;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.mh5-app-shell * {
    box-sizing: border-box;
}

.mh5-app-shell a {
    color: inherit;
    text-decoration: none;
}

.mh5-app-shell button,
.mh5-app-shell input {
    font: inherit;
}

.mh5-shell {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 12px 12px 102px;
}

.mh5-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin: -12px -12px 12px;
    padding: 12px 12px 10px;
    background: linear-gradient(180deg, rgba(255, 241, 232, 0.98) 0%, rgba(255, 247, 242, 0.9) 74%, rgba(255, 247, 242, 0) 100%);
    backdrop-filter: blur(18px);
}

.mh5-location-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.mh5-location-copy {
    min-width: 0;
}

.mh5-location-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.52rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mh5-location-subtitle {
    margin-top: 4px;
    color: rgba(97, 69, 52, 0.76);
    font-size: 0.9rem;
    line-height: 1.35;
}

.mh5-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mh5-icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 187, 150, 0.56);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 26px rgba(113, 71, 39, 0.12);
}

.mh5-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    color: #c95a38;
    font-size: 1.15rem;
}

.mh5-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px;
    border-radius: 26px;
    border: 1px solid rgba(233, 191, 160, 0.44);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(117, 71, 36, 0.12);
}

.mh5-search input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    border-radius: 18px;
    background: rgba(255, 247, 242, 0.9);
    color: #2a1b12;
}

.mh5-search-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, #ff8354 0%, #ef5d34 100%);
    color: #fff;
    box-shadow: 0 12px 20px rgba(239, 93, 52, 0.26);
}

.mh5-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 2px;
    scrollbar-width: none;
}

.mh5-strip::-webkit-scrollbar {
    display: none;
}

.mh5-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(233, 191, 160, 0.42);
    background: rgba(255, 255, 255, 0.95);
    color: #6f4f3a;
    padding: 11px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(111, 73, 46, 0.08);
}

.mh5-chip.is-active {
    background: linear-gradient(135deg, #ff7c52 0%, #f16239 100%);
    color: #fff;
    border-color: transparent;
}

.mh5-category-chip {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 78px;
    padding: 12px 10px;
    border-radius: 24px;
    text-align: center;
    white-space: normal;
    gap: 8px;
}

.mh5-category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff6ef 0%, #ffe8d6 100%);
    font-size: 1.18rem;
    overflow: hidden;
}

.mh5-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh5-filter-strip {
    margin-top: 12px;
}

.mh5-filter-chip {
    min-height: 44px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.82rem;
}

.mh5-promo {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    border-radius: 30px;
    padding: 24px 22px;
    margin: 14px 0 18px;
    background: linear-gradient(135deg, #ffcfb9 0%, #ffb084 48%, #ff9460 100%);
    box-shadow: 0 22px 40px rgba(214, 108, 54, 0.24);
    color: #4b2412;
}

.mh5-promo::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -40px;
    top: -40px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.mh5-promo-title {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.mh5-promo-copy {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    max-width: 220px;
    font-size: 0.94rem;
    line-height: 1.48;
    color: rgba(75, 36, 18, 0.82);
}

.mh5-promo-badges,
.mh5-promo-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mh5-promo-foot {
    margin-top: 20px;
}

.mh5-promo-metric {
    min-width: 96px;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

.mh5-promo-metric strong,
.mh5-promo-metric span {
    display: block;
}

.mh5-promo-metric strong {
    font-size: 1.1rem;
    font-weight: 900;
}

.mh5-promo-metric span {
    margin-top: 4px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mh5-section {
    margin-top: 14px;
}

.mh5-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mh5-section-title {
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.mh5-section-kicker {
    color: rgba(116, 81, 57, 0.72);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.mh5-grid {
    display: grid;
    gap: 16px;
}

.mh5-section-rail .mh5-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.mh5-section-rail .mh5-grid::-webkit-scrollbar {
    display: none;
}

.mh5-section-rail .mh5-card[data-nav] {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
}

.mh5-section-rail .mh5-collapsible-list {
    min-width: min(82vw, 300px);
}

.mh5-discovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mh5-discovery-card {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 246, 239, 0.98) 100%);
    border: 1px solid rgba(242, 204, 177, 0.36);
    box-shadow: 0 16px 30px rgba(111, 74, 45, 0.1);
}

.mh5-discovery-value {
    margin-top: 8px;
    color: #241711;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.mh5-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 242, 0.98) 100%);
    border: 1px solid rgba(242, 204, 177, 0.36);
    box-shadow: 0 18px 38px rgba(111, 74, 45, 0.12);
}

.mh5-simple-card {
    padding: 14px;
}

.mh5-account-hero {
    padding: 22px;
}

.mh5-account-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.mh5-profile-editor-card,
.mh5-address-form-card,
.mh5-checkout-summary-card,
.mh5-tracking-card,
.mh5-wallet-hero,
.mh5-order-card,
.mh5-address-card,
.mh5-wallet-entry,
.mh5-account-link-card,
.mh5-payment-option,
.mh5-checkout-address {
    padding: 16px;
}

.mh5-orders-stack,
.mh5-address-stack,
.mh5-wallet-history,
.mh5-checkout-stack {
    display: grid;
    gap: 10px;
}

.mh5-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.mh5-order-id {
    margin-top: 6px;
    color: #241711;
    font-size: 1.16rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.mh5-order-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff0e5 0%, #ffd8c0 100%);
    color: #cf5a33;
    font-size: 0.76rem;
    font-weight: 900;
    text-align: center;
}

.mh5-order-pin {
    margin-top: 8px;
    color: #9b532f;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.4;
}

.mh5-order-pin strong {
    color: #3a1f13;
    font-size: 0.92rem;
}

.mh5-order-meta {
    margin-top: 14px;
}

.mh5-order-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(218, 174, 142, 0.52);
    color: #654534;
    font-size: 0.95rem;
}

.mh5-order-total-row strong {
    color: #241711;
    font-size: 1.08rem;
    font-weight: 900;
}

.mh5-order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mh5-order-actions .mh5-menu-action,
.mh5-order-actions .mh5-back-btn {
    position: static;
}

.mh5-timeline {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.mh5-timeline-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 249, 245, 0.92);
    border: 1px solid rgba(236, 196, 164, 0.34);
}

.mh5-timeline-step.is-active {
    background: linear-gradient(135deg, rgba(255, 239, 230, 0.98) 0%, rgba(255, 247, 240, 0.98) 100%);
    border-color: rgba(239, 93, 52, 0.26);
    box-shadow: 0 14px 24px rgba(239, 93, 52, 0.08);
}

.mh5-timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #fff;
    color: #d85e35;
    font-size: 0.92rem;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(111, 74, 45, 0.1);
}

.mh5-timeline-title {
    margin-top: 6px;
    color: #281a12;
    font-size: 1.02rem;
    font-weight: 900;
}

.mh5-account-link-card {
    text-decoration: none;
    color: inherit;
}

.mh5-account-link-card .mh5-restaurant-subtitle {
    margin-top: 10px;
}

.mh5-address-card.is-default {
    border-color: rgba(239, 93, 52, 0.2);
    box-shadow: 0 18px 34px rgba(239, 93, 52, 0.08);
}

.mh5-wallet-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.mh5-wallet-summary-tile {
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 248, 243, 0.84);
    border: 1px solid rgba(240, 202, 174, 0.44);
}

.mh5-wallet-summary-tile span {
    display: block;
    color: rgba(102, 72, 52, 0.76);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.mh5-wallet-summary-tile strong {
    display: block;
    margin-top: 8px;
    color: #241711;
    font-size: 1.02rem;
    font-weight: 900;
}

.mh5-wallet-amount {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 900;
}

.mh5-wallet-amount.is-credit {
    color: #1f9c56;
}

.mh5-wallet-amount.is-debit {
    color: #d85e35;
}

.mh5-location-hero {
    padding: 22px;
}

.mh5-location-current-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8f3 0%, #ffefe2 100%);
    border: 1px solid rgba(240, 202, 174, 0.44);
}

.mh5-location-current-text {
    margin-top: 6px;
    color: #2a1b12;
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.45;
}

.mh5-payment-option,
.mh5-checkout-address {
    width: 100%;
    border: 1px solid rgba(242, 204, 177, 0.36);
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mh5-payment-option.is-active,
.mh5-checkout-address.is-active {
    border-color: rgba(239, 93, 52, 0.34);
    box-shadow: 0 18px 34px rgba(239, 93, 52, 0.12);
    transform: translateY(-1px);
}

.mh5-payment-option:hover,
.mh5-checkout-address:hover {
    transform: translateY(-1px);
}

.mh5-checkout-address-panel {
    display: grid;
    gap: 12px;
}

.mh5-checkout-address-featured {
    padding: 16px;
}

.mh5-checkout-address-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh5-checkout-address-more {
    border: 1px solid rgba(242, 204, 177, 0.32);
    border-radius: 18px;
    background: rgba(255, 250, 245, 0.9);
    overflow: hidden;
}

.mh5-checkout-address-more summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #6f4b37;
    font-size: 0.92rem;
    font-weight: 800;
}

.mh5-checkout-address-more summary::-webkit-details-marker {
    display: none;
}

.mh5-checkout-address-mini-list {
    display: grid;
    gap: 10px;
    padding: 0 12px 12px;
}

.mh5-checkout-address-mini {
    padding: 14px;
}

.mh5-checkout-address-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mh5-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff8d5a 0%, #ef5d34 100%);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(239, 93, 52, 0.24);
}

.mh5-auth-prompt {
    padding: 20px;
}

.mh5-auth-shell {
    padding: 28px 22px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 244, 236, 0.98) 100%);
}

.mh5-auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff0e8 0%, #ffd9c1 100%);
    box-shadow: 0 14px 28px rgba(111, 74, 45, 0.12);
    font-size: 1.5rem;
}

.mh5-auth-copy {
    max-width: 310px;
}

.mh5-auth-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mh5-auth-feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.mh5-auth-secondary-btn,
.mh5-auth-resend-btn {
    border: 1px solid rgba(227, 172, 136, 0.5);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 241, 0.96) 100%);
    color: #7a4f37;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    border-radius: 18px;
    min-height: 48px;
    padding: 0 18px;
    box-shadow: 0 12px 24px rgba(111, 74, 45, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.mh5-auth-resend-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 14px;
}

.mh5-auth-resend-wait {
    color: rgba(97, 69, 52, 0.78);
    font-size: 0.88rem;
    font-weight: 700;
}

.mh5-auth-shell .mh5-form-stack input[data-auth-phone] {
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 56px, rgba(234, 193, 160, 0.34) 56px, rgba(234, 193, 160, 0.34) 57px, rgba(255, 255, 255, 0) 57px);
    padding-left: 74px;
}

.mh5-auth-shell .mh5-form-stack {
    position: relative;
}

.mh5-auth-shell .mh5-form-stack::before {
    content: "+91";
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 1;
    color: #8b5a39;
    font-size: 0.95rem;
    font-weight: 800;
}

.mh5-form-stack {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.mh5-collapsible-list {
    border: 1px solid rgba(235, 194, 163, 0.34);
    border-radius: 18px;
    background: rgba(255, 250, 245, 0.94);
    overflow: hidden;
}

.mh5-collapsible-list summary {
    list-style: none;
    cursor: pointer;
    padding: 13px 16px;
    color: #7a4f37;
    font-size: 0.9rem;
    font-weight: 800;
}

.mh5-collapsible-list summary::-webkit-details-marker {
    display: none;
}

.mh5-collapsible-list-body {
    display: grid;
    gap: 10px;
    padding: 0 10px 10px;
}

.mh5-menu-more {
    margin-top: 10px;
}

.mh5-menu-more .mh5-collapsible-list-body {
    padding-top: 4px;
}

.mh5-menu-more .mh5-menu-grid {
    margin-top: 4px;
}

.mh5-page-link-card {
    text-decoration: none;
    color: inherit;
}

.mh5-page-body {
    color: #4d3426;
    font-size: 0.95rem;
    line-height: 1.7;
}

.mh5-page-body h1,
.mh5-page-body h2,
.mh5-page-body h3,
.mh5-page-body h4 {
    color: #241711;
    margin: 0 0 10px;
}

.mh5-page-body p,
.mh5-page-body ul,
.mh5-page-body ol {
    margin: 0 0 12px;
}

.mh5-form-stack input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border-radius: 18px;
    border: 1px solid rgba(236, 196, 164, 0.46);
    background: rgba(255, 255, 255, 0.96);
    color: #2a1b12;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mh5-form-stack input[readonly] {
    background: rgba(255, 247, 242, 0.94);
    color: rgba(86, 60, 44, 0.86);
}

.mh5-card[data-nav] {
    cursor: pointer;
}

.mh5-restaurant-card-media {
    position: relative;
    min-height: 214px;
    background: linear-gradient(180deg, rgba(58, 30, 16, 0.08), rgba(58, 30, 16, 0.35));
}

.mh5-restaurant-card-media img {
    display: block;
    width: 100%;
    height: 214px;
    object-fit: cover;
}

.mh5-card-topline {
    position: absolute;
    inset: 14px 14px auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    z-index: 2;
}

.mh5-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #4f3525;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.mh5-badge.featured {
    background: linear-gradient(135deg, #ffe4a1 0%, #ffc96c 100%);
    color: #724300;
}

.mh5-badge.distance {
    margin-left: auto;
}

.mh5-offer-ribbon {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 11px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(20, 16, 13, 0.92) 0%, rgba(65, 38, 23, 0.82) 100%);
    color: #fff8f2;
    font-size: 0.84rem;
    font-weight: 800;
}

.mh5-restaurant-card-body {
    padding: 18px 18px 20px;
}

.mh5-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
}

.mh5-meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255, 243, 235, 0.9);
    border: 1px solid rgba(236, 198, 167, 0.44);
    color: #8c5834;
    font-size: 0.7rem;
    font-weight: 800;
}

.mh5-restaurant-name {
    font-size: 1.48rem;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.mh5-restaurant-subtitle {
    margin-top: 8px;
    color: rgba(102, 75, 58, 0.78);
    font-size: 0.9rem;
    line-height: 1.5;
}

.mh5-restaurant-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.mh5-stat-pill {
    padding: 11px 10px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(239, 203, 176, 0.44);
    font-size: 0.73rem;
    font-weight: 900;
    text-align: center;
}

.mh5-stat-pill.rating {
    color: #197046;
    background: linear-gradient(180deg, #edf9ef 0%, #e2f7e8 100%);
}

.mh5-stat-pill.time {
    color: #b86524;
    background: linear-gradient(180deg, #fff4ea 0%, #ffeddf 100%);
}

.mh5-stat-pill.price {
    color: #6b52b5;
    background: linear-gradient(180deg, #f5f1ff 0%, #eee7ff 100%);
}

.mh5-store-hero {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 243, 0.98) 100%);
    box-shadow: 0 18px 38px rgba(111, 74, 45, 0.12);
}

.mh5-store-cover {
    position: relative;
    height: 250px;
}

.mh5-store-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh5-store-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 64px 18px 18px;
    background: linear-gradient(180deg, rgba(28, 18, 12, 0) 0%, rgba(28, 18, 12, 0.78) 100%);
    color: #fff8f3;
}

.mh5-store-body {
    padding: 18px;
}

.mh5-store-name {
    font-size: 1.86rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.mh5-store-copy {
    margin-top: 10px;
    color: rgba(88, 65, 50, 0.76);
    line-height: 1.5;
}

.mh5-store-meta {
    margin-bottom: 12px;
}

.mh5-store-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.mh5-store-info-tile {
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff9f4 0%, #fff0e4 100%);
    border: 1px solid rgba(240, 202, 174, 0.42);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 52px;
}

.mh5-store-info-tile span,
.mh5-store-info-tile strong {
    display: inline-block;
}

.mh5-store-info-tile span {
    color: rgba(103, 77, 59, 0.72);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mh5-store-info-tile strong {
    color: #2b1c14;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: right;
}

.mh5-menu-search {
    margin: 16px 0 12px;
}

.mh5-menu-search input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(236, 196, 164, 0.46);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 26px rgba(113, 71, 39, 0.08);
    outline: 0;
}

.mh5-category-pills {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
    scrollbar-width: none;
}

.mh5-category-pills::-webkit-scrollbar {
    display: none;
}

.mh5-menu-section {
    margin-top: 22px;
}

.mh5-menu-section-title {
    margin-bottom: 12px;
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.mh5-menu-grid {
    display: grid;
    gap: 14px;
}

.mh5-menu-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 18px 176px 18px 18px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 248, 243, 0.99) 100%);
    border: 1px solid rgba(240, 202, 174, 0.36);
    box-shadow: 0 16px 34px rgba(111, 74, 45, 0.1);
}

.mh5-menu-card[data-nav] {
    cursor: pointer;
}

.mh5-menu-card-title {
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.mh5-menu-card-copy {
    margin-top: 8px;
    color: rgba(103, 77, 59, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 96%;
}

.mh5-menu-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.mh5-menu-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 236, 227, 0.94);
    color: #cd5e39;
    font-size: 0.68rem;
    font-weight: 900;
}

.mh5-menu-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 900;
}

.mh5-menu-card-price del {
    color: rgba(132, 99, 78, 0.7);
    font-size: 0.84rem;
}

.mh5-menu-card-media {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 142px;
    height: 132px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(70, 40, 22, 0.18);
}

.mh5-menu-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh5-item-detail-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.mh5-item-detail-actions .mh5-menu-action,
.mh5-item-detail-actions .mh5-menu-qty {
    position: static;
}

.mh5-menu-action {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    height: 48px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff8d57 0%, #ff6d3d 52%, #ef5d34 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 16px 30px rgba(239, 93, 52, 0.28);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mh5-menu-qty {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 18px;
    background: rgba(255, 248, 244, 0.98);
    border: 1px solid rgba(236, 132, 84, 0.22);
    box-shadow: 0 14px 24px rgba(111, 74, 45, 0.12);
}

.mh5-qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff8d57 0%, #ff6e45 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(239, 93, 52, 0.2);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.mh5-qty-value {
    min-width: 18px;
    text-align: center;
    color: #2f1c12;
    font-size: 0.95rem;
    font-weight: 900;
}

.mh5-back-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mh5-back-btn {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(227, 172, 136, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 246, 239, 0.95) 100%);
    color: #2a1b12;
    box-shadow: 0 12px 22px rgba(111, 74, 45, 0.08);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.mh5-loading,
.mh5-error,
.mh5-empty {
    padding: 28px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(240, 202, 174, 0.36);
    box-shadow: 0 14px 30px rgba(111, 74, 45, 0.08);
    color: #6e5140;
}

.mh5-state-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 24px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 245, 237, 0.98) 100%);
    border: 1px solid rgba(242, 204, 177, 0.38);
    box-shadow: 0 24px 44px rgba(111, 74, 45, 0.14);
    text-align: center;
}

.mh5-state-card::before,
.mh5-state-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.mh5-state-card::before {
    width: 200px;
    height: 200px;
    top: -90px;
    right: -70px;
    background: rgba(255, 173, 118, 0.16);
}

.mh5-state-card::after {
    width: 160px;
    height: 160px;
    bottom: -70px;
    left: -60px;
    background: rgba(255, 221, 192, 0.28);
}

.mh5-state-orb {
    position: relative;
    width: 94px;
    height: 94px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mh5-state-orb-ring,
.mh5-state-orb-core {
    position: absolute;
    border-radius: 999px;
}

.mh5-state-orb-ring {
    inset: 0;
    border: 2px solid rgba(239, 93, 52, 0.18);
}

.mh5-state-card-loading .mh5-state-orb-ring {
    animation: mh5StateSpin 1.3s linear infinite;
    border-top-color: rgba(239, 93, 52, 0.82);
    border-right-color: rgba(255, 166, 100, 0.62);
}

.mh5-state-orb-core {
    width: 68px;
    height: 68px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff925b 0%, #ef5d34 100%);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    box-shadow: 0 16px 28px rgba(239, 93, 52, 0.26);
}

.mh5-state-card-error .mh5-state-orb-core {
    background: linear-gradient(135deg, #ffb36e 0%, #e8663b 100%);
}

.mh5-state-card-empty .mh5-state-orb-core {
    background: linear-gradient(135deg, #ffd3b3 0%, #f4a06f 100%);
}

.mh5-state-copy {
    position: relative;
    z-index: 1;
    max-width: 280px;
}

.mh5-state-title {
    color: #241711;
    font-size: 1.46rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.mh5-state-subtitle {
    margin-top: 10px;
    color: rgba(101, 71, 52, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
}

.mh5-state-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 80%);
    transform: translateX(-120%);
    animation: mh5StateShimmer 2.2s ease-in-out infinite;
}

@keyframes mh5StateSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mh5StateShimmer {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(120%);
    }
}

.mh5-inline-notice {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 140, 66, 0.12);
    border: 1px solid rgba(239, 93, 52, 0.18);
    color: #a54824;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
}

.mh5-inline-notice.is-error {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    color: #b42318;
}

.mh5-inline-notice.is-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.2);
    color: #166534;
}

.mh5-bottom-space {
    height: 176px;
}

.mh5-float-cart {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 88px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2c1d16 0%, #4d2f22 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(35, 18, 10, 0.28);
}

.mh5-float-cart-count {
    font-size: 0.82rem;
    color: rgba(255, 232, 220, 0.84);
    font-weight: 700;
}

.mh5-float-cart-total {
    margin-top: 4px;
    font-size: 1.05rem;
    font-weight: 900;
}

.mh5-float-cart-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 102px;
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff874b 0%, #ef5d34 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 900;
}

.mh5-shortcut-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 18px;
    z-index: 58;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    padding: 9px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(240, 202, 174, 0.4);
    box-shadow: 0 18px 36px rgba(111, 74, 45, 0.14);
    backdrop-filter: blur(12px);
    max-width: 540px;
    margin: 0 auto;
    min-height: 72px;
}

.mh5-shortcut-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 54px;
    gap: 5px;
    padding: 8px 4px;
    border-radius: 18px;
    color: #705141;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    background: transparent;
    line-height: 1;
}

.mh5-shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-bottom: 0;
    font-size: 1.02rem;
    line-height: 1;
    flex: 0 0 auto;
}

.mh5-shortcut-link.is-active {
    background: linear-gradient(135deg, rgba(255, 142, 79, 0.16), rgba(239, 93, 52, 0.12));
    color: #d85e35;
}

.mh5-shortcut-label {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
}

.mh5-shortcut-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(18px);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff874b 0%, #ef5d34 100%);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
}

.mh5-cart-header-card,
.mh5-cart-summary-card,
.mh5-cart-item-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(240, 202, 174, 0.36);
    box-shadow: 0 16px 34px rgba(111, 74, 45, 0.1);
}

.mh5-cart-header-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border-radius: 28px;
}

.mh5-cart-total-pill {
    flex-shrink: 0;
    min-width: 92px;
    padding: 10px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff0e8 0%, #ffd9bf 100%);
    color: #d35a31;
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
}

.mh5-cart-list {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

.mh5-cart-item-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 26px;
}

.mh5-cart-item-media {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff6ef 0%, #ffe4d3 100%);
}

.mh5-cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mh5-cart-item-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mh5-cart-item-top,
.mh5-cart-item-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh5-cart-item-copy {
    margin-top: 0;
    -webkit-line-clamp: 2;
}

.mh5-cart-item-line-total {
    flex-shrink: 0;
    color: #2d1c14;
    font-size: 1rem;
    font-weight: 900;
}

.mh5-cart-item-price {
    margin-top: 0;
}

.mh5-cart-qty-wrap {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff7f0 0%, #fff0e3 100%);
    border: 1px solid rgba(240, 202, 174, 0.5);
}

.mh5-cart-qty-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #fff4ed 100%);
    color: #d85e35;
    font-size: 1.15rem;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(111, 74, 45, 0.12);
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.mh5-cart-qty-value {
    min-width: 18px;
    text-align: center;
    color: #2f1c12;
    font-size: 1rem;
    font-weight: 900;
}

.mh5-cart-summary-card {
    padding: 20px;
    border-radius: 28px;
}

.mh5-compact-head {
    margin-bottom: 0;
}

.mh5-mini-title {
    margin-top: 6px;
    font-size: 1.02rem;
}

.mh5-checkout-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.mh5-checkout-top-card {
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8f2 0%, #fff0e3 100%);
    border: 1px solid rgba(236, 196, 164, 0.4);
}

.mh5-cart-summary-block + .mh5-cart-summary-block {
    margin-top: 16px;
}

.mh5-cart-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.mh5-cart-input-wrap input,
.mh5-cart-coupon-row input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(236, 196, 164, 0.46);
    background: rgba(255, 255, 255, 0.96);
    color: #2a1b12;
    font-size: 0.95rem;
    outline: none;
}

.mh5-cart-input-wrap {
    display: block;
    margin-top: 10px;
}

.mh5-cart-coupon-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    gap: 10px;
    margin-top: 10px;
}

.mh5-cart-coupon-btn,
.mh5-cart-link-btn {
    border: 0;
    background: none;
    color: #d85e35;
    font-size: 0.92rem;
    font-weight: 900;
    transition: transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background 0.16s ease;
    cursor: pointer;
}

.mh5-cart-coupon-btn {
    height: 48px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff8d57 0%, #ff6d3d 52%, #ef5d34 100%);
    color: #fff;
    box-shadow: 0 16px 28px rgba(239, 93, 52, 0.24);
}

.mh5-cart-link-btn {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(255, 243, 235, 0.92);
    border: 1px solid rgba(236, 196, 164, 0.44);
}

.mh5-app-shell button,
.mh5-app-shell [role="button"],
.mh5-float-cart-cta,
.mh5-shortcut-link,
.mh5-icon-bubble {
    -webkit-tap-highlight-color: transparent;
}

.mh5-app-shell button:focus-visible,
.mh5-app-shell [role="button"]:focus-visible,
.mh5-float-cart-cta:focus-visible,
.mh5-shortcut-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(255, 149, 99, 0.22);
}

.mh5-menu-action:hover,
.mh5-menu-action:active,
.mh5-cart-coupon-btn:hover,
.mh5-cart-coupon-btn:active,
.mh5-float-cart-cta:hover,
.mh5-float-cart-cta:active {
    transform: translateY(-1px);
    filter: saturate(1.04);
    box-shadow: 0 18px 32px rgba(239, 93, 52, 0.26);
}

.mh5-auth-secondary-btn:hover,
.mh5-auth-secondary-btn:active,
.mh5-auth-resend-btn:hover,
.mh5-auth-resend-btn:active,
.mh5-back-btn:hover,
.mh5-back-btn:active,
.mh5-cart-link-btn:hover,
.mh5-cart-link-btn:active {
    transform: translateY(-1px);
    border-color: rgba(226, 145, 97, 0.56);
    box-shadow: 0 16px 28px rgba(111, 74, 45, 0.1);
}

.mh5-qty-btn:hover,
.mh5-qty-btn:active,
.mh5-cart-qty-btn:hover,
.mh5-cart-qty-btn:active {
    transform: scale(0.97);
    box-shadow: 0 12px 22px rgba(111, 74, 45, 0.16);
}

.mh5-icon-bubble,
.mh5-float-cart-cta {
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mh5-icon-bubble:hover,
.mh5-icon-bubble:active,
.mh5-shortcut-link:hover,
.mh5-shortcut-link:active {
    transform: translateY(-1px);
}

.mh5-app-shell button[disabled],
.mh5-app-shell button.is-disabled,
.mh5-float-cart-cta[disabled] {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.08);
}

.mh5-cart-bill-card {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff8f3 0%, #fff2e7 100%);
}

.mh5-cart-bill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #614333;
    font-size: 0.95rem;
}

.mh5-cart-bill-row + .mh5-cart-bill-row {
    margin-top: 12px;
}

.mh5-cart-bill-row strong {
    color: #2b1c13;
    font-weight: 900;
}

.mh5-cart-bill-row .is-discount {
    color: #1f9c56;
}

.mh5-cart-bill-row.is-total {
    padding-top: 12px;
    border-top: 1px dashed rgba(214, 168, 135, 0.5);
    font-size: 1.02rem;
}

.mh5-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.mh5-cart-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.mh5-cart-footer-total {
    margin-top: 4px;
    color: #2d1c14;
    font-size: 1.28rem;
    font-weight: 900;
}

.mh5-cart-checkout-btn {
    position: static;
    right: auto;
    bottom: auto;
    flex: 1 1 220px;
    min-width: 188px;
    width: 100%;
    max-width: 280px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.mh5-checkout-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.route-cart .mh5-bottom-space,
body.route-checkout .mh5-bottom-space {
    height: 258px;
}

body.route-cart .mh5-cart-footer,
body.route-checkout .mh5-checkout-cta-row {
    padding-bottom: 116px;
}

body.route-cart .mh5-cart-footer-actions,
body.route-checkout .mh5-checkout-cta-row {
    width: 100%;
}

body.route-cart .mh5-cart-footer {
    flex-direction: column;
    align-items: stretch;
}

body.route-cart .mh5-cart-footer-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
    justify-content: stretch;
}

body.route-cart .mh5-cart-footer-actions .mh5-cart-link-btn,
body.route-cart .mh5-cart-checkout-btn,
body.route-checkout .mh5-checkout-cta-row .mh5-menu-action {
    position: static;
    right: auto;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    height: 56px;
    max-height: 56px;
    width: 100%;
    max-width: none;
    border-radius: 22px;
    font-size: 1rem;
    padding: 0 18px;
    text-align: center;
    flex: 0 0 auto;
    overflow: hidden;
}

body.route-cart .mh5-shortcut-nav,
body.route-checkout .mh5-shortcut-nav {
    bottom: max(env(safe-area-inset-bottom), 12px);
}

@media (max-width: 430px) {
    .mh5-shell {
        max-width: none;
        padding-left: 12px;
        padding-right: 12px;
    }

    .mh5-store-cover {
        height: 224px;
    }

    .mh5-menu-card {
        min-height: 208px;
        padding-right: 154px;
    }

    .mh5-menu-card-media {
        width: 124px;
        height: 116px;
    }

    .mh5-menu-action {
        min-width: 106px;
    }

    .mh5-shortcut-nav {
        left: 10px;
        right: 10px;
        gap: 6px;
        padding: 8px 7px;
        min-height: 68px;
    }

    .mh5-shortcut-link {
        min-height: 50px;
        font-size: 0.72rem;
        padding: 7px 2px;
    }

    .mh5-checkout-address-top {
        flex-direction: column;
        align-items: stretch;
    }

    .mh5-cart-item-card {
        grid-template-columns: 88px minmax(0, 1fr);
        padding: 12px;
    }

    .mh5-cart-item-media {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .mh5-cart-item-top,
    .mh5-cart-item-bottom,
    .mh5-cart-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .mh5-checkout-top-grid {
        grid-template-columns: 1fr;
    }

    .mh5-cart-footer-actions,
    .mh5-checkout-cta-row {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    body.route-cart .mh5-cart-footer,
    body.route-checkout .mh5-checkout-cta-row {
        padding-bottom: 124px;
    }

    .mh5-cart-coupon-row {
        grid-template-columns: 1fr;
    }

    .mh5-cart-checkout-btn {
        min-width: 100%;
        width: 100%;
    }

    .mh5-order-head,
    .mh5-order-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mh5-wallet-summary-grid {
        grid-template-columns: 1fr;
    }

    .mh5-discovery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mh5-discovery-card {
        padding: 14px;
        border-radius: 18px;
    }

    .mh5-discovery-value {
        font-size: 1.38rem;
        margin-top: 6px;
    }

    .mh5-discovery-card .mh5-restaurant-subtitle {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .mh5-store-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .mh5-store-info-tile {
        padding: 9px 10px;
        min-height: 48px;
    }

    .mh5-store-info-tile span {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .mh5-store-info-tile strong {
        font-size: 0.8rem;
    }

    .mh5-item-detail-actions {
        align-items: stretch;
    }
}

@media (max-width: 340px) {
    .mh5-shell {
        padding-left: 10px;
        padding-right: 10px;
    }

    .mh5-card {
        border-radius: 20px;
    }

    .mh5-simple-card,
    .mh5-profile-editor-card,
    .mh5-address-form-card,
    .mh5-checkout-summary-card,
    .mh5-tracking-card,
    .mh5-wallet-hero,
    .mh5-order-card,
    .mh5-address-card,
    .mh5-wallet-entry,
    .mh5-account-link-card,
    .mh5-payment-option,
    .mh5-checkout-address {
        padding: 12px;
    }

    .mh5-section-title {
        font-size: 1.24rem;
    }

    .mh5-section-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .mh5-discovery-grid {
        gap: 6px;
    }

    .mh5-discovery-card {
        padding: 12px;
    }

    .mh5-discovery-card .mh5-section-kicker {
        font-size: 0.66rem;
        letter-spacing: 0.14em;
    }

    .mh5-discovery-value {
        font-size: 1.18rem;
    }

    .mh5-discovery-card .mh5-restaurant-subtitle {
        font-size: 0.72rem;
        line-height: 1.34;
    }

    .mh5-meta-strip {
        gap: 6px;
        margin: 6px 0 10px;
    }

    .mh5-meta-chip,
    .mh5-badge,
    .mh5-order-status {
        font-size: 0.64rem;
        padding: 7px 9px;
    }

    .mh5-restaurant-name {
        font-size: 1.2rem;
    }

    .mh5-store-name {
        font-size: 1.46rem;
    }

    .mh5-restaurant-subtitle,
    .mh5-store-copy,
    .mh5-page-body {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .mh5-restaurant-stats {
        gap: 6px;
        margin-top: 10px;
    }

    .mh5-stat-pill {
        padding: 9px 7px;
        font-size: 0.66rem;
    }

    .mh5-order-head {
        gap: 10px;
    }

    .mh5-order-id {
        font-size: 1rem;
    }

    .mh5-order-total-row {
        margin-top: 10px;
        padding-top: 10px;
        font-size: 0.86rem;
    }

    .mh5-order-total-row strong {
        font-size: 0.96rem;
    }

    .mh5-menu-card {
        min-height: 190px;
        padding: 14px 132px 14px 14px;
        border-radius: 22px;
    }

    .mh5-menu-card-media {
        width: 108px;
        height: 102px;
        right: 14px;
        top: 14px;
    }

    .mh5-menu-card-title {
        font-size: 0.96rem;
    }

    .mh5-menu-card-copy {
        font-size: 0.8rem;
        line-height: 1.38;
    }

    .mh5-menu-card-price {
        margin-top: 10px;
        font-size: 0.9rem;
    }

    .mh5-menu-action,
    .mh5-back-btn,
    .mh5-cart-link-btn,
    .mh5-auth-secondary-btn,
    .mh5-auth-resend-btn {
        min-height: 42px;
        height: 42px;
        padding-left: 12px;
        padding-right: 12px;
        font-size: 0.82rem;
        border-radius: 14px;
    }

    .mh5-shortcut-nav {
        left: 8px;
        right: 8px;
        padding: 7px 6px;
        gap: 4px;
        border-radius: 20px;
    }

    .mh5-shortcut-link {
        min-height: 48px;
        font-size: 0.68rem;
        padding: 6px 1px;
        border-radius: 14px;
    }

    .mh5-shortcut-label {
        white-space: nowrap;
    }

    .mh5-shortcut-icon {
        width: 20px;
        height: 20px;
        font-size: 0.96rem;
    }

    .mh5-shortcut-badge {
        transform: translateX(15px);
    }
}

.mh5-delivery-live-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 127, 80, 0.12) 0%, rgba(255, 236, 223, 0.92) 100%);
    border: 1px solid rgba(244, 148, 104, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.mh5-delivery-live-title {
    color: #2d1c14;
    font-size: 1.05rem;
    font-weight: 900;
    margin-top: 4px;
}

.mh5-delivery-live-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.mh5-delivery-live-map {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(244, 148, 104, 0.18);
    background: #fff7f1;
    min-height: 220px;
}

.mh5-delivery-live-map iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.mh5-tracking-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mh5-tracking-actions .mh5-menu-action,
.mh5-tracking-actions .mh5-back-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.mh5-address-hero-compact {
    padding: 18px;
}

.mh5-address-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh5-address-hero-subtitle {
    margin-top: 8px;
    line-height: 1.45;
}

.mh5-address-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.mh5-compact-btn {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
    min-height: 44px;
    border-radius: 16px;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
}

.mh5-address-editor summary {
    list-style: none;
    cursor: pointer;
}

.mh5-address-editor summary::-webkit-details-marker {
    display: none;
}

.mh5-address-editor-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mh5-address-form-compact {
    margin-top: 14px;
}

.mh5-address-card.is-selected {
    border-color: rgba(255, 122, 80, 0.42);
    box-shadow: 0 18px 36px rgba(255, 140, 84, 0.16);
}

.mh5-address-statuses {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.mh5-back-btn.is-danger {
    color: #c94831;
    border-color: rgba(201, 72, 49, 0.22);
    background: rgba(255, 243, 239, 0.92);
}

@media (max-width: 430px) {
    .mh5-delivery-live-card {
        flex-direction: column;
        align-items: stretch;
    }

    .mh5-delivery-live-map {
        min-height: 200px;
    }

    .mh5-delivery-live-map iframe {
        height: 200px;
    }

    .mh5-address-action-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mh5-tracking-actions {
        grid-template-columns: 1fr;
    }
}

.mh5-addon-price-note {
    display: block;
    margin-top: 6px;
    color: #b35d33;
    font-size: 0.82rem;
    font-weight: 700;
}

.mh5-customization-panel {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 247, 241, 0.92);
    border: 1px solid rgba(244, 148, 104, 0.18);
}

.mh5-addon-group + .mh5-addon-group {
    margin-top: 14px;
}

.mh5-addon-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    color: #7a4b2d;
    font-size: 0.82rem;
}

.mh5-addon-group-head strong {
    color: #2d1c14;
    font-size: 0.94rem;
}

.mh5-addon-options {
    display: grid;
    gap: 10px;
}

.mh5-addon-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 1px solid rgba(226, 180, 149, 0.7);
    background: #fff;
    border-radius: 16px;
    padding: 12px 14px;
    color: #2d1c14;
    font-weight: 700;
    font-size: 0.9rem;
}

.mh5-addon-option strong {
    color: #ff6f3d;
    font-size: 0.88rem;
}

.mh5-addon-option.is-active {
    border-color: rgba(255, 111, 61, 0.5);
    background: linear-gradient(135deg, rgba(255, 122, 69, 0.14) 0%, rgba(255, 247, 241, 0.98) 100%);
    box-shadow: 0 12px 24px rgba(255, 122, 69, 0.12);
}

.mh5-customization-summary {
    flex: 1 1 100%;
    color: #7a4b2d;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
}

.mh5-cart-addon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.mh5-cart-addon-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 122, 69, 0.12);
    color: #9b572f;
    font-size: 0.72rem;
    font-weight: 700;
}

.mh5-rating-card {
    margin-bottom: 16px;
}

.mh5-rating-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.mh5-rating-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(37, 21, 13, 0.52);
    backdrop-filter: blur(6px);
}

.mh5-rating-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    max-height: min(78vh, 720px);
    overflow-y: auto;
    margin-bottom: 0;
}

.mh5-rating-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mh5-rating-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.mh5-rating-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    color: #7a4b2d;
    font-size: 0.82rem;
    font-weight: 700;
}

.mh5-rating-field select,
.mh5-rating-field textarea {
    width: 100%;
    border: 1px solid rgba(226, 180, 149, 0.7);
    border-radius: 16px;
    background: #fff;
    padding: 12px 14px;
    color: #2d1c14;
    font: inherit;
}

@media (max-width: 430px) {
    .mh5-rating-grid {
        grid-template-columns: 1fr;
    }
}
